[PATCH 20/20] ARM: dts: sun9i: Change node names to remove underscores

Maxime Ripard maxime.ripard at free-electrons.com
Fri Oct 6 02:34:48 PDT 2017


On Thu, Oct 05, 2017 at 03:59:29PM +0000, Chen-Yu Tsai wrote:
> On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
> <maxime.ripard at free-electrons.com> wrote:
> > Some boards have had node names with underscores. Remove them in favour of
> > hyphens in order to reduce the DTC warnings.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> > ---
> >  arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 8 ++++----
> >  arch/arm/boot/dts/sun9i-a80-optimus.dts     | 8 ++++----
> >  2 files changed, 8 insertions(+), 8 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
> > index cb337e08adab..fa09186bc6d7 100644
> > --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
> > +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
> > @@ -74,7 +74,7 @@
> >                 };
> >         };
> >
> > -       wifi_pwrseq: wifi_pwrseq {
> > +       wifi_pwrseq: wifi-pwrseq {
> >                 compatible = "mmc-pwrseq-simple";
> >                 clocks = <&ac100_rtc 1>;
> >                 clock-names = "ext_clock";
> > @@ -241,20 +241,20 @@
> >                                 regulator-name = "vcc-pm-codec-io1";
> >                         };
> >
> > -                       reg_ldo_io0: ldo_io0 {
> > +                       reg_ldo_io0: ldo-io0 {
> 
> We can't change these. They are part of the device tree binding.
> The regulator code matches against the node names.

Ah, right...

I'll drop this part then.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171006/df4cec7a/attachment.sig>


More information about the linux-arm-kernel mailing list