From: Chen-Yu Tsai <wens@csie.org>
To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Russell King <linux@arm.linux.org.uk>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai <wens@csie.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] regulators: axp20x: Rename AXP221 DC1SW and DC5LDO supply names
Date: Wed, 16 Sep 2015 11:05:29 +0800 [thread overview]
Message-ID: <1442372732-27434-1-git-send-email-wens@csie.org> (raw)
Hi everyone,
This series renames regulator supply names for DC1SW and DC5LDO for
the AXP221. These 2 are secondary outputs for DCDC1 and DCDC5 buck
regulators, respectively, so they are connected to them internally.
There's no external input pin to name the supplies after.
When I originally did the support, I used the parent regulator's name
for the supply name. However this results in a misleading dts:
axp221: pmic@68 {
dcdc1-supply = <&dcdc1>;
dcdc5-supply = <&dcdc5>;
dcdc1: dcdc1 {
...
};
...
};
At first glance, one might interpret it as "DCDC1 supplies itself".
Indeed, Maxime raised this issue.
This series renames the supply names to the regulator names themselves,
or "dc1sw-supply" and "dc5ldo-supply" respectively:
axp221: pmic@68 {
dc1sw-supply = <&dcdc1>;
dc5ldo-supply = <&dcdc5>;
...
};
Renaming these shouldn't result in any problems in the real world.
All the board designs we've seen have DCDC1 supplying a common 3/3.3V
rail, and DCDC5 supplying 1.5V for DDR3 SDRAM. These 2 would have
"always-on" set, so even if the rename results in the secondary
regulator outputs being decoupled from the primary in the software
implementation, it would just be a representation issue. Function-wise,
it would function as before. On the Linux side, no one is actually
using the secondary outputs yet.
Patch 1 renames the supply names in the axp20x DT bindings.
Patch 2 updates the axp20x regulator driver.
Patch 3 updates the only dts, the Hummingbird A31, that uses these
bindings.
If everything's ok, could we merge the first 2 patches through the
regulator tree, and the 3rd through the sunxi tree?
Thanks.
Regards,
ChenYu
Chen-Yu Tsai (3):
mfd: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO
regulators
regulators: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO
ARM: dts: sun6i: hummingbird: Rename AXP221 DC1SW and DC5LDO supply
names
Documentation/devicetree/bindings/mfd/axp20x.txt | 4 ++--
arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 4 ++--
drivers/regulator/axp20x-regulator.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
--
2.5.1
next reply other threads:[~2015-09-16 3:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 3:05 Chen-Yu Tsai [this message]
2015-09-16 3:05 ` [PATCH 1/3] mfd: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO regulators Chen-Yu Tsai
2015-09-16 10:03 ` Maxime Ripard
2015-09-19 18:06 ` Mark Brown
2015-09-20 4:17 ` Lee Jones
2015-09-20 10:17 ` Chen-Yu Tsai
2015-09-22 22:06 ` Lee Jones
2015-09-16 3:05 ` [PATCH 2/3] regulators: axp20x: Rename supply names for AXP221 DC1SW and DC5LDO Chen-Yu Tsai
2015-09-16 10:04 ` Maxime Ripard
2015-09-16 3:05 ` [PATCH 3/3] ARM: dts: sun6i: hummingbird: Rename AXP221 DC1SW and DC5LDO supply names Chen-Yu Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442372732-27434-1-git-send-email-wens@csie.org \
--to=wens@csie.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®