lkml.org 
[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 20/20] ARM: dts: sun9i: Change node names to remove underscores
On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
<maxime.ripard@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@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.

ChenYu

\
 
 \ /
  Last update: 2017-10-05 18:00    [W:0.203 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site