All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <javier@osg.samsung.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	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>, Kukjin Kim <kgene@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH 04/11] ARM: dts: exynos: Fix DTC unit name warnings in Trats2 board
Date: Fri, 1 Apr 2016 10:35:40 -0400	[thread overview]
Message-ID: <56FE873C.2090503@osg.samsung.com> (raw)
In-Reply-To: <1459493874-2366-4-git-send-email-k.kozlowski@samsung.com>

Hello Krzysztof,

On 04/01/2016 02:57 AM, Krzysztof Kozlowski wrote:
> Fix following DTC warnings in Trats2 board:
> 
> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693@66/regulators/ESAFEOUT1@1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693@66/regulators/ESAFEOUT2@2 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693@66/regulators/CHARGER@0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /thermistor-ap@0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /thermistor-battery@1 has a unit name, but no reg property
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
> index 2bf363c3bf62..523627003738 100644
> --- a/arch/arm/boot/dts/exynos4412-trats2.dts
> +++ b/arch/arm/boot/dts/exynos4412-trats2.dts
> @@ -29,7 +29,7 @@
>  		i2c12 = &i2c_max77693_fuel;
>  	};
>  
> -	memory {
> +	mmemory@40000000 {
>  		reg =  <0x40000000 0x40000000>;
>  	};
> 

Besides this creating duplicated memory nodes as you said, plain memory
should be allowed according to Rob and he plans to add an exception to dtc:

http://www.spinics.net/lists/arm-kernel/msg494038.html
 
Rest of the patch looks good so after removing the memory node change:

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

WARNING: multiple messages have this Message-ID (diff)
From: javier@osg.samsung.com (Javier Martinez Canillas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/11] ARM: dts: exynos: Fix DTC unit name warnings in Trats2 board
Date: Fri, 1 Apr 2016 10:35:40 -0400	[thread overview]
Message-ID: <56FE873C.2090503@osg.samsung.com> (raw)
In-Reply-To: <1459493874-2366-4-git-send-email-k.kozlowski@samsung.com>

Hello Krzysztof,

On 04/01/2016 02:57 AM, Krzysztof Kozlowski wrote:
> Fix following DTC warnings in Trats2 board:
> 
> Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693 at 66/regulators/ESAFEOUT1 at 1 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693 at 66/regulators/ESAFEOUT2 at 2 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693 at 66/regulators/CHARGER at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /thermistor-ap at 0 has a unit name, but no reg property
> Warning (unit_address_vs_reg): Node /thermistor-battery at 1 has a unit name, but no reg property
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
> index 2bf363c3bf62..523627003738 100644
> --- a/arch/arm/boot/dts/exynos4412-trats2.dts
> +++ b/arch/arm/boot/dts/exynos4412-trats2.dts
> @@ -29,7 +29,7 @@
>  		i2c12 = &i2c_max77693_fuel;
>  	};
>  
> -	memory {
> +	mmemory at 40000000 {
>  		reg =  <0x40000000 0x40000000>;
>  	};
> 

Besides this creating duplicated memory nodes as you said, plain memory
should be allowed according to Rob and he plans to add an exception to dtc:

http://www.spinics.net/lists/arm-kernel/msg494038.html
 
Rest of the patch looks good so after removing the memory node change:

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

  parent reply	other threads:[~2016-04-01 14:35 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  6:57 [PATCH 01/11] ARM: dts: exynos: Fix DTC unit name warnings in cros-adc-thermistors Krzysztof Kozlowski
2016-04-01  6:57 ` Krzysztof Kozlowski
2016-04-01  6:57 ` Krzysztof Kozlowski
2016-04-01  6:57 ` [PATCH 02/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos3250 Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
     [not found]   ` <1459493874-2366-2-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-01 14:27     ` Javier Martinez Canillas
2016-04-01 14:27       ` Javier Martinez Canillas
2016-04-01 14:27       ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 03/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos4 Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
2016-04-01 14:30   ` Javier Martinez Canillas
2016-04-01 14:30     ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 04/11] ARM: dts: exynos: Fix DTC unit name warnings in Trats2 board Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
2016-04-01  8:17   ` Krzysztof Kozlowski
2016-04-01  8:17     ` Krzysztof Kozlowski
2016-04-01 14:35   ` Javier Martinez Canillas [this message]
2016-04-01 14:35     ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 05/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos4x12 Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
2016-04-01 14:38   ` Javier Martinez Canillas
2016-04-01 14:38     ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 06/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos5250 Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
     [not found]   ` <1459493874-2366-6-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-01 17:21     ` Javier Martinez Canillas
2016-04-01 17:21       ` Javier Martinez Canillas
2016-04-01 17:21       ` Javier Martinez Canillas
2016-04-03  2:56       ` Krzysztof Kozlowski
2016-04-03  2:56         ` Krzysztof Kozlowski
     [not found]       ` <56FEAE29.6010405-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2016-04-03  2:56         ` Krzysztof Kozlowski
2016-04-03  4:08       ` Krzysztof Kozlowski
2016-04-03  4:08         ` Krzysztof Kozlowski
2016-04-01  6:57 ` [PATCH 07/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos542x Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
     [not found]   ` <1459493874-2366-7-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-01 17:25     ` Javier Martinez Canillas
2016-04-01 17:25       ` Javier Martinez Canillas
2016-04-01 17:25       ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 08/11] ARM: dts: exynos: Fix DTC unit name warnings in Peach Pit Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
2016-04-01 17:27   ` Javier Martinez Canillas
2016-04-01 17:27     ` Javier Martinez Canillas
     [not found] ` <1459493874-2366-1-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-01  6:57   ` [PATCH 09/11] ARM: dts: exynos: Fix DTC unit name warnings in SMDK5420 Krzysztof Kozlowski
2016-04-01  6:57     ` Krzysztof Kozlowski
2016-04-01  6:57     ` Krzysztof Kozlowski
2016-04-01 17:30     ` Javier Martinez Canillas
2016-04-01 17:30       ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 10/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos5440 Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
2016-04-01 17:46   ` Javier Martinez Canillas
2016-04-01 17:46     ` Javier Martinez Canillas
2016-04-01  6:57 ` [PATCH 11/11] ARM: dts: s5p: Fix DTC unit name warnings in S5Pv210 boards Krzysztof Kozlowski
2016-04-01  6:57   ` Krzysztof Kozlowski
     [not found]   ` <1459493874-2366-11-git-send-email-k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-01 17:50     ` Javier Martinez Canillas
2016-04-01 17:50       ` Javier Martinez Canillas
2016-04-01 17:50       ` Javier Martinez Canillas
2016-04-01 14:24 ` [PATCH 01/11] ARM: dts: exynos: Fix DTC unit name warnings in cros-adc-thermistors Javier Martinez Canillas
2016-04-01 14:24   ` Javier Martinez Canillas
2016-04-01 15:31 ` Rob Herring
2016-04-01 15:31   ` Rob Herring
2016-04-03  3:46   ` Krzysztof Kozlowski
2016-04-03  3:46     ` Krzysztof Kozlowski

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=56FE873C.2090503@osg.samsung.com \
    --to=javier@osg.samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=k.kozlowski@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mark.rutland@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.