diff mbox

ARM: DT: STiH410: Add bdisp dt nodes

Message ID 1434461440-3965-1-git-send-email-fabien.dessenne@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabien DESSENNE June 16, 2015, 1:30 p.m. UTC
Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the
first of the two bdisp devices, defining register address, interrupt and
clock.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
---
 arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Maxime Coquelin June 17, 2015, 12:13 p.m. UTC | #1
Hi Fabien,

On 06/16/2015 03:30 PM, Fabien Dessenne wrote:
> Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the
> first of the two bdisp devices, defining register address, interrupt and
> clock.
>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
> ---
>   arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi
> index 208b5e8..6f40bc9 100644
> --- a/arch/arm/boot/dts/stih410.dtsi
> +++ b/arch/arm/boot/dts/stih410.dtsi
> @@ -10,6 +10,10 @@
>   #include "stih407-family.dtsi"
>   #include "stih410-pinctrl.dtsi"
>   / {
> +	aliases {
> +		bdisp0 = &bdisp0;
> +	};
> +
>   	soc {
>   		usb2_picophy1: phy2 {
>   			compatible = "st,stih407-usb2-phy";
> @@ -218,5 +222,13 @@
>   				};
>   			};
>   		};
> +
> +		bdisp0:bdisp@9f10000 {
> +			compatible = "st,stih407-bdisp";
> +			reg = <0x9f10000 0x1000>;
> +			interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
> +			clock-names = "bdisp";
> +			clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
> +		};

Isn't the bdisp also present on STiH407 SoC?
If so, could you please move this node to stih407-family file?

Thanks,
Maxime
Fabien DESSENNE June 17, 2015, 1:52 p.m. UTC | #2
Hi Maxime,

> -----Original Message-----
> From: Maxime COQUELIN
> Sent: mercredi 17 juin 2015 14:13
> To: Fabien DESSENNE; Srinivas Kandagatla; Patrice CHOTARD; Rob Herring;
> Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Russell King; linux-arm-
> kernel@lists.infradead.org; kernel@stlinux.com;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Benjamin Gaignard
> Subject: Re: [PATCH] ARM: DT: STiH410: Add bdisp dt nodes
> 
> Hi Fabien,
> 
> On 06/16/2015 03:30 PM, Fabien Dessenne wrote:
> > Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the
> > first of the two bdisp devices, defining register address, interrupt
> > and clock.
> >
> > Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
> > ---
> >   arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++
> >   1 file changed, 12 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/stih410.dtsi
> > b/arch/arm/boot/dts/stih410.dtsi index 208b5e8..6f40bc9 100644
> > --- a/arch/arm/boot/dts/stih410.dtsi
> > +++ b/arch/arm/boot/dts/stih410.dtsi
> > @@ -10,6 +10,10 @@
> >   #include "stih407-family.dtsi"
> >   #include "stih410-pinctrl.dtsi"
> >   / {
> > +	aliases {
> > +		bdisp0 = &bdisp0;
> > +	};
> > +
> >   	soc {
> >   		usb2_picophy1: phy2 {
> >   			compatible = "st,stih407-usb2-phy"; @@ -218,5
> +222,13 @@
> >   				};
> >   			};
> >   		};
> > +
> > +		bdisp0:bdisp@9f10000 {
> > +			compatible = "st,stih407-bdisp";
> > +			reg = <0x9f10000 0x1000>;
> > +			interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
> > +			clock-names = "bdisp";
> > +			clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
> > +		};
> 
> Isn't the bdisp also present on STiH407 SoC?
> If so, could you please move this node to stih407-family file?
> 
> Thanks,
> Maxime

For the time being, it is not planned to be supported on STiH407. Maybe one day...

Fabien
Maxime Coquelin July 22, 2015, 1:08 p.m. UTC | #3
Hi Fabien,

On 06/16/2015 03:30 PM, Fabien Dessenne wrote:
> Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the
> first of the two bdisp devices, defining register address, interrupt and
> clock.
>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
> ---
>   arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
>

Patch applied to sti-dt-for-v4.3.

Thanks!
Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi
index 208b5e8..6f40bc9 100644
--- a/arch/arm/boot/dts/stih410.dtsi
+++ b/arch/arm/boot/dts/stih410.dtsi
@@ -10,6 +10,10 @@ 
 #include "stih407-family.dtsi"
 #include "stih410-pinctrl.dtsi"
 / {
+	aliases {
+		bdisp0 = &bdisp0;
+	};
+
 	soc {
 		usb2_picophy1: phy2 {
 			compatible = "st,stih407-usb2-phy";
@@ -218,5 +222,13 @@ 
 				};
 			};
 		};
+
+		bdisp0:bdisp@9f10000 {
+			compatible = "st,stih407-bdisp";
+			reg = <0x9f10000 0x1000>;
+			interrupts = <GIC_SPI 38 IRQ_TYPE_NONE>;
+			clock-names = "bdisp";
+			clocks = <&clk_s_c0_flexgen CLK_IC_BDISP_0>;
+		};
 	};
 };