Message ID | 1550246316-9747-2-git-send-email-pierre-yves.mordret@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add Vivante GPU support on STM32MP157c | expand |
Hi Pierre-Yves, Am Freitag, den 15.02.2019, 16:58 +0100 schrieb Pierre-Yves MORDRET: > Append Vivante GPU DT configuration. > > Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi > index f8bbfff..29540bc 100644 > --- a/arch/arm/boot/dts/stm32mp157c.dtsi > +++ b/arch/arm/boot/dts/stm32mp157c.dtsi > @@ -1106,6 +1106,16 @@ > > status = "disabled"; > > }; > > + gpu: gpu@59000000 { > + compatible = "vivante,gc"; > + reg = <0x59000000 0x800>; > + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&rcc GPU>, <&rcc GPU_K>; > + clock-names = "bus" ,"core"; Is this a 2D only core? If it is also 3D capable the binding says you need to specify the shader clock (may be the same clock feeding the core). Regards, Lucas > + resets = <&rcc GPU_R>; > + status = "disabled"; > + }; > + > dsi: dsi@5a000000 { > compatible = "st,stm32-dsi"; > reg = <0x5a000000 0x800>;
Hi Lucas sorry for the delay : winter season :) On 2/15/19 5:11 PM, Lucas Stach wrote: > Hi Pierre-Yves, > > Am Freitag, den 15.02.2019, 16:58 +0100 schrieb Pierre-Yves MORDRET: >> Append Vivante GPU DT configuration. >> >> Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> >> --- >> arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi >> index f8bbfff..29540bc 100644 >> --- a/arch/arm/boot/dts/stm32mp157c.dtsi >> +++ b/arch/arm/boot/dts/stm32mp157c.dtsi >> @@ -1106,6 +1106,16 @@ >>> status = "disabled"; >>> }; >> >> + gpu: gpu@59000000 { >> + compatible = "vivante,gc"; >> + reg = <0x59000000 0x800>; >> + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&rcc GPU>, <&rcc GPU_K>; >> + clock-names = "bus" ,"core"; > > Is this a 2D only core? If it is also 3D capable the binding says you > need to specify the shader clock (may be the same clock feeding the > core). Yes, this is a 3D core. As for "shader" clock both "core" and "shader" are connected internally. This is why no "shader" input clock is seen. Nonetheless we may add it for bindings compliance but from STM32MP1 pov this won't make any changes. Hope it clarifies. Regards > > Regards, > Lucas > >> + resets = <&rcc GPU_R>; >> + status = "disabled"; >> + }; >> + >> dsi: dsi@5a000000 { >> compatible = "st,stm32-dsi"; >> reg = <0x5a000000 0x800>;
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index f8bbfff..29540bc 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -1106,6 +1106,16 @@ status = "disabled"; }; + gpu: gpu@59000000 { + compatible = "vivante,gc"; + reg = <0x59000000 0x800>; + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&rcc GPU>, <&rcc GPU_K>; + clock-names = "bus" ,"core"; + resets = <&rcc GPU_R>; + status = "disabled"; + }; + dsi: dsi@5a000000 { compatible = "st,stm32-dsi"; reg = <0x5a000000 0x800>;
Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)