public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: gregory.clement@free-electrons•com (Gregory CLEMENT)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/3] ARM64: dts: marvell: armada37xx: add address and size property for i2c cells
Date: Wed, 08 Mar 2017 10:20:51 +0100	[thread overview]
Message-ID: <87tw74m8ek.fsf@free-electrons.com> (raw)
In-Reply-To: <20170222173146.30993-2-gregory.clement@free-electrons.com> (Gregory CLEMENT's message of "Wed, 22 Feb 2017 18:31:44 +0100")

Hi,
 
 On mer., f?vr. 22 2017, Gregory CLEMENT <gregory.clement@free-electrons•com> wrote:

> These property were missing when the nodes were added and their lack
> generate warning messages when adding i2c device in the subnodes.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons•com>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index b48d668a6ab6..cf0c2f9ebd7d 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -112,6 +112,8 @@
>  			i2c0: i2c at 11000 {
>  				compatible = "marvell,armada-3700-i2c";
>  				reg = <0x11000 0x24>;
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				clocks = <&nb_periph_clk 10>;
>  				interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
>  				mrvl,i2c-fast-mode;
> @@ -121,6 +123,8 @@
>  			i2c1: i2c at 11080 {
>  				compatible = "marvell,armada-3700-i2c";
>  				reg = <0x11080 0x24>;
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				clocks = <&nb_periph_clk 9>;
>  				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
>  				mrvl,i2c-fast-mode;
> -- 
> 2.11.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2017-03-08  9:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 17:31 [PATCH 0/3] Improving I2C related support on Armada 3720 DB Gregory CLEMENT
2017-02-22 17:31 ` [PATCH 1/3] ARM64: dts: marvell: armada37xx: add address and size property for i2c cells Gregory CLEMENT
2017-03-08  9:20   ` Gregory CLEMENT [this message]
2017-02-22 17:31 ` [PATCH 2/3] ARM64: dts: marvell: armada-3720-db: add gpio expander Gregory CLEMENT
2017-03-08  9:21   ` Gregory CLEMENT
2017-02-22 17:31 ` [PATCH 3/3] arm64: defconfig: enable I2C_PXA Gregory CLEMENT
2017-03-07 17:59   ` Gregory CLEMENT

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=87tw74m8ek.fsf@free-electrons.com \
    --to=gregory.clement@free-electrons$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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