linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable I2C on bcm28155-ap
@ 2013-12-06 23:45 Tim Kryger
  2013-12-06 23:45 ` [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses Tim Kryger
  2013-12-06 23:45 ` [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the " Tim Kryger
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Kryger @ 2013-12-06 23:45 UTC (permalink / raw)
  To: linux-arm-kernel

This series enables all the I2C busses on the bcm28155-ap board.

These patches appeared in another series that was partially accepted.
  https://lkml.org/lkml/2013/11/14/517

It depends on:  https://lkml.org/lkml/2013/12/5/508

Tim Kryger (2):
  ARM: dts: bcm281xx: Add i2c busses
  ARM: dts: bcm28155-ap: Enable all the i2c busses

 arch/arm/boot/dts/bcm11351.dtsi   | 40 +++++++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm28155-ap.dts | 20 ++++++++++++++++++++
 2 files changed, 60 insertions(+)

-- 
1.8.0.1

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

* [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses
  2013-12-06 23:45 [PATCH 0/2] Enable I2C on bcm28155-ap Tim Kryger
@ 2013-12-06 23:45 ` Tim Kryger
  2013-12-10  7:28   ` Christian Daudt
  2013-12-06 23:45 ` [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the " Tim Kryger
  1 sibling, 1 reply; 5+ messages in thread
From: Tim Kryger @ 2013-12-06 23:45 UTC (permalink / raw)
  To: linux-arm-kernel

Add the DTS nodes for all the i2c busses in the SoC.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Christian Daudt <csd@broadcom.com>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
---
 arch/arm/boot/dts/bcm11351.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index 1246885..4bfd7e3 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -146,6 +146,46 @@
 		status = "disabled";
 	};
 
+	i2c at 3e016000 {
+		compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
+		reg = <0x3e016000 0x80>;
+		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&bsc1_clk>;
+		status = "disabled";
+	};
+
+	i2c at 3e017000 {
+		compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
+		reg = <0x3e017000 0x80>;
+		interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&bsc2_clk>;
+		status = "disabled";
+	};
+
+	i2c at 3e018000 {
+		compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
+		reg = <0x3e018000 0x80>;
+		interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&bsc3_clk>;
+		status = "disabled";
+	};
+
+	i2c at 3500d000 {
+		compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
+		reg = <0x3500d000 0x80>;
+		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&pmu_bsc_clk>;
+		status = "disabled";
+	};
+
 	clocks {
 		bsc1_clk: bsc1 {
 			compatible = "fixed-clock";
-- 
1.8.0.1

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

* [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the i2c busses
  2013-12-06 23:45 [PATCH 0/2] Enable I2C on bcm28155-ap Tim Kryger
  2013-12-06 23:45 ` [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses Tim Kryger
@ 2013-12-06 23:45 ` Tim Kryger
  2013-12-10  7:07   ` Christian Daudt
  1 sibling, 1 reply; 5+ messages in thread
From: Tim Kryger @ 2013-12-06 23:45 UTC (permalink / raw)
  To: linux-arm-kernel

Enable all available i2c busses.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Christian Daudt <csd@broadcom.com>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
---
 arch/arm/boot/dts/bcm28155-ap.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index 08e47c2..bab302d 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -27,6 +27,26 @@
 		status = "okay";
 	};
 
+	i2c at 3e016000 {
+		status="okay";
+		clock-frequency = <400000>;
+	};
+
+	i2c at 3e017000 {
+		status="okay";
+		clock-frequency = <400000>;
+	};
+
+	i2c at 3e018000 {
+		status="okay";
+		clock-frequency = <400000>;
+	};
+
+	i2c at 3500d000 {
+		status="okay";
+		clock-frequency = <400000>;
+	};
+
 	sdio1: sdio at 3f180000 {
 		max-frequency = <48000000>;
 		status = "okay";
-- 
1.8.0.1

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

* [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the i2c busses
  2013-12-06 23:45 ` [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the " Tim Kryger
@ 2013-12-10  7:07   ` Christian Daudt
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Daudt @ 2013-12-10  7:07 UTC (permalink / raw)
  To: linux-arm-kernel

Applied to armsoc/for-3.14/dt
 thanks,
   csd


On Fri, Dec 6, 2013 at 3:45 PM, Tim Kryger <tim.kryger@linaro.org> wrote:
> Enable all available i2c busses.
>
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
> Reviewed-by: Christian Daudt <csd@broadcom.com>
> Reviewed-by: Matt Porter <matt.porter@linaro.org>
> Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
> ---
>  arch/arm/boot/dts/bcm28155-ap.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
> index 08e47c2..bab302d 100644
> --- a/arch/arm/boot/dts/bcm28155-ap.dts
> +++ b/arch/arm/boot/dts/bcm28155-ap.dts
> @@ -27,6 +27,26 @@
>                 status = "okay";
>         };
>
> +       i2c at 3e016000 {
> +               status="okay";
> +               clock-frequency = <400000>;
> +       };
> +
> +       i2c at 3e017000 {
> +               status="okay";
> +               clock-frequency = <400000>;
> +       };
> +
> +       i2c at 3e018000 {
> +               status="okay";
> +               clock-frequency = <400000>;
> +       };
> +
> +       i2c at 3500d000 {
> +               status="okay";
> +               clock-frequency = <400000>;
> +       };
> +
>         sdio1: sdio at 3f180000 {
>                 max-frequency = <48000000>;
>                 status = "okay";
> --
> 1.8.0.1
>

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

* [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses
  2013-12-06 23:45 ` [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses Tim Kryger
@ 2013-12-10  7:28   ` Christian Daudt
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Daudt @ 2013-12-10  7:28 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Dec 6, 2013 at 3:45 PM, Tim Kryger <tim.kryger@linaro.org> wrote:
> Add the DTS nodes for all the i2c busses in the SoC.
>
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
> Reviewed-by: Christian Daudt <csd@broadcom.com>
> Reviewed-by: Matt Porter <matt.porter@linaro.org>
> Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
> ---
>  arch/arm/boot/dts/bcm11351.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
> index 1246885..4bfd7e3 100644
> --- a/arch/arm/boot/dts/bcm11351.dtsi
> +++ b/arch/arm/boot/dts/bcm11351.dtsi
> @@ -146,6 +146,46 @@
>                 status = "disabled";
>         };
>
> +       i2c at 3e016000 {
> +               compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
> +               reg = <0x3e016000 0x80>;
> +               interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               clocks = <&bsc1_clk>;
> +               status = "disabled";
> +       };
> +
> +       i2c at 3e017000 {
> +               compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
> +               reg = <0x3e017000 0x80>;
> +               interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               clocks = <&bsc2_clk>;
> +               status = "disabled";
> +       };
> +
> +       i2c at 3e018000 {
> +               compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
> +               reg = <0x3e018000 0x80>;
> +               interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               clocks = <&bsc3_clk>;
> +               status = "disabled";
> +       };
> +
> +       i2c at 3500d000 {
> +               compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
> +               reg = <0x3500d000 0x80>;
> +               interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               clocks = <&pmu_bsc_clk>;
> +               status = "disabled";
> +       };
> +
>         clocks {
>                 bsc1_clk: bsc1 {
>                         compatible = "fixed-clock";
> --
> 1.8.0.1
>
Applied to armsoc/for-3.14/dt
 thanks,
  csd

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

end of thread, other threads:[~2013-12-10  7:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 23:45 [PATCH 0/2] Enable I2C on bcm28155-ap Tim Kryger
2013-12-06 23:45 ` [PATCH 1/2] ARM: dts: bcm281xx: Add i2c busses Tim Kryger
2013-12-10  7:28   ` Christian Daudt
2013-12-06 23:45 ` [PATCH 2/2] ARM: dts: bcm28155-ap: Enable all the " Tim Kryger
2013-12-10  7:07   ` Christian Daudt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).