public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node
@ 2014-08-19 14:03 Ian Campbell
  2014-08-19 14:08 ` Chen-Yu Tsai
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Campbell @ 2014-08-19 14:03 UTC (permalink / raw)
  To: linux-arm-kernel

This fixes:
  DTC     arch/arm/boot/dts/sun6i-a31-hummingbird.dtb
Warning (reg_format): "reg" property in /soc at 01c00000/i2c at 01c2b400/rtc at 51 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 44b07e5..5bc769f 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -680,6 +680,8 @@
 			clock-frequency = <100000>;
 			resets = <&apb2_rst 2>;
 			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
 		};
 
 		i2c3: i2c at 01c2b800 {
-- 
2.0.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node
  2014-08-19 14:03 [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node Ian Campbell
@ 2014-08-19 14:08 ` Chen-Yu Tsai
  0 siblings, 0 replies; 2+ messages in thread
From: Chen-Yu Tsai @ 2014-08-19 14:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Tue, Aug 19, 2014 at 10:03 PM, Ian Campbell <ijc@hellion.org.uk> wrote:
> This fixes:
>   DTC     arch/arm/boot/dts/sun6i-a31-hummingbird.dtb
> Warning (reg_format): "reg" property in /soc at 01c00000/i2c at 01c2b400/rtc at 51 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51
> Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51

I submitted a fix for this just before the merge window.
I don't know why it didn't get into 3.17. Maxime did send a pull request for it.

See: https://patchwork.kernel.org/patch/4595851/

>
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Chen-Yu Tsai <wens@csie.org>
> Cc: linux-arm-kernel at lists.infradead.org
> ---
>  arch/arm/boot/dts/sun6i-a31.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
> index 44b07e5..5bc769f 100644
> --- a/arch/arm/boot/dts/sun6i-a31.dtsi
> +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
> @@ -680,6 +680,8 @@
>                         clock-frequency = <100000>;
>                         resets = <&apb2_rst 2>;
>                         status = "disabled";
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
>                 };
>
>                 i2c3: i2c at 01c2b800 {
> --
> 2.0.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-19 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 14:03 [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node Ian Campbell
2014-08-19 14:08 ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox