All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Jaedon Shin <jaedon.shin@gmail.com>,
	Wolfram Sang <wsa@the-dreams.de>,
	Kamal Dasu <kdasu.kdev@gmail.com>,
	Ralf Baechle <ralf@linux-mips.org>
Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
	linux-mips@linux-mips.org
Subject: Re: [PATCH 9/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7362
Date: Wed, 21 Oct 2015 18:57:28 -0700	[thread overview]
Message-ID: <56284288.8060505@gmail.com> (raw)
In-Reply-To: <1445395021-4204-10-git-send-email-jaedon.shin@gmail.com>

Le 20/10/2015 19:37, Jaedon Shin a écrit :
> Add I2C device nodes to BMIPS based BCM7362 platform.
> 
> Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

> ---
>  arch/mips/boot/dts/brcm/bcm7362.dtsi     | 52 ++++++++++++++++++++++++++++++--
>  arch/mips/boot/dts/brcm/bcm97362svmb.dts | 12 ++++++++
>  2 files changed, 62 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/brcm/bcm7362.dtsi b/arch/mips/boot/dts/brcm/bcm7362.dtsi
> index 6e65db86fc61..5f817be2553c 100644
> --- a/arch/mips/boot/dts/brcm/bcm7362.dtsi
> +++ b/arch/mips/boot/dts/brcm/bcm7362.dtsi
> @@ -87,14 +87,32 @@
>  			compatible = "brcm,bcm7120-l2-intc";
>  			reg = <0x406600 0x8>;
>  
> -			brcm,int-map-mask = <0x44>;
> +			brcm,int-map-mask = <0x44>, <0x7000000>;
>  			brcm,int-fwd-mask = <0x70000>;
>  
>  			interrupt-controller;
>  			#interrupt-cells = <1>;
>  
>  			interrupt-parent = <&periph_intc>;
> -			interrupts = <56>;
> +			interrupts = <56>, <54>;
> +			interrupt-names = "upg_main", "upg_bsc";
> +		};
> +
> +		upg_aon_irq0_intc: upg_aon_irq0_intc@408b80 {
> +			compatible = "brcm,bcm7120-l2-intc";
> +			reg = <0x408b80 0x8>;
> +
> +			brcm,int-map-mask = <0x40>, <0x8000000>, <0x100000>;
> +			brcm,int-fwd-mask = <0>;
> +			brcm,irq-can-wake;
> +
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +
> +			interrupt-parent = <&periph_intc>;
> +			interrupts = <57>, <55>, <59>;
> +			interrupt-names = "upg_main_aon", "upg_bsc_aon",
> +					  "upg_spi";
>  		};
>  
>  		sun_top_ctrl: syscon@404000 {
> @@ -144,6 +162,36 @@
>  			status = "disabled";
>  		};
>  
> +		bsca: i2c@406200 {
> +		      clock-frequency = <390000>;
> +		      compatible = "brcm,brcmstb-i2c";
> +		      interrupt-parent = <&upg_irq0_intc>;
> +		      reg = <0x406200 0x58>;
> +		      interrupts = <24>;
> +		      interrupt-names = "upg_bsca";
> +		      status = "disabled";
> +		};
> +
> +		bscb: i2c@406280 {
> +		      clock-frequency = <390000>;
> +		      compatible = "brcm,brcmstb-i2c";
> +		      interrupt-parent = <&upg_irq0_intc>;
> +		      reg = <0x406280 0x58>;
> +		      interrupts = <25>;
> +		      interrupt-names = "upg_bscb";
> +		      status = "disabled";
> +		};
> +
> +		bscd: i2c@408980 {
> +		      clock-frequency = <390000>;
> +		      compatible = "brcm,brcmstb-i2c";
> +		      interrupt-parent = <&upg_aon_irq0_intc>;
> +		      reg = <0x408980 0x58>;
> +		      interrupts = <27>;
> +		      interrupt-names = "upg_bscd";
> +		      status = "disabled";
> +		};
> +
>  		enet0: ethernet@430000 {
>  			phy-mode = "internal";
>  			phy-handle = <&phy1>;
> diff --git a/arch/mips/boot/dts/brcm/bcm97362svmb.dts b/arch/mips/boot/dts/brcm/bcm97362svmb.dts
> index 739c2ef5663b..9c99bfd1e781 100644
> --- a/arch/mips/boot/dts/brcm/bcm97362svmb.dts
> +++ b/arch/mips/boot/dts/brcm/bcm97362svmb.dts
> @@ -29,6 +29,18 @@
>  	status = "okay";
>  };
>  
> +&bsca {
> +	status = "okay";
> +};
> +
> +&bscb {
> +	status = "okay";
> +};
> +
> +&bscd {
> +	status = "okay";
> +};
> +
>  &enet0 {
>  	status = "okay";
>  };
> 


-- 
Florian

      reply	other threads:[~2015-10-22  1:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21  2:36 [PATCH 0/9] i2c: brcmstb: add support for BMIPS_GENERIC Jaedon Shin
2015-10-21  2:36 ` Jaedon Shin
2015-10-21  2:36 ` [PATCH 1/9] i2c: brcmstb: make the driver buildable on BMIPS_GENERIC Jaedon Shin
2015-10-22  1:56   ` Florian Fainelli
2015-10-21  2:36 ` [PATCH 3/9] i2c: brcmstb: add missing parenthesis Jaedon Shin
2015-10-22  1:56   ` Florian Fainelli
2015-11-30 15:36     ` Wolfram Sang
2015-10-21  2:36 ` [PATCH 4/9] i2c: brcmstb: enable ACK condition Jaedon Shin
2015-11-30 15:37   ` Wolfram Sang
2016-07-14  4:15     ` Jaedon Shin
2016-07-14 17:14       ` Kamal Dasu
2016-07-15  5:57         ` Wolfram Sang
     [not found] ` <1445395021-4204-1-git-send-email-jaedon.shin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-21  2:36   ` [PATCH 2/9] i2c: brcmstb: fix typo in i2c-brcmstb Jaedon Shin
2015-10-21  2:36     ` Jaedon Shin
2015-10-22  1:56     ` Florian Fainelli
2015-10-21  2:36   ` [PATCH 5/9] i2c: brcmstb: fix start and stop conditions Jaedon Shin
2015-10-21  2:36     ` Jaedon Shin
2015-11-30 15:41     ` Wolfram Sang
2015-10-21  2:36   ` [PATCH 6/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7346 Jaedon Shin
2015-10-21  2:36     ` Jaedon Shin
     [not found]     ` <1445395021-4204-7-git-send-email-jaedon.shin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-22  1:57       ` Florian Fainelli
2015-10-22  1:57         ` Florian Fainelli
2015-10-21  2:36 ` [PATCH 7/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7358 Jaedon Shin
2015-10-22  1:57   ` Florian Fainelli
2015-10-21  2:37 ` [PATCH 8/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7360 Jaedon Shin
2015-10-22  1:57   ` Florian Fainelli
2015-10-21  2:37 ` [PATCH 9/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7362 Jaedon Shin
2015-10-22  1:57   ` Florian Fainelli [this message]

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=56284288.8060505@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jaedon.shin@gmail.com \
    --cc=kdasu.kdev@gmail.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=wsa@the-dreams.de \
    /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.