Message ID | 20200302155808.11273-2-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] dt-bindings: gpu: mali-bifrost: Add Rockchip PX30 compatible | expand |
Hi Miquel, Am Montag, 2. März 2020, 16:58:08 CET schrieb Miquel Raynal: > PX30 SoCs feature an ARM Bifrost GPU. > > Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> > --- > > Hello, this change is just adding basic GPU support, more work is > needed on the devfreq/opp side to be sure everything works and is > properly described. Hence, this proposal aims at describing the HW > block only, not its hability to change voltages/frequencies. please check mainline for existing patches ;-) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a07f34a083f211c5f2f9b073a9b499accee078a2 Heiko
diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index f99988b08244..7780e532d31b 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -997,6 +997,19 @@ status = "disabled"; }; + gpu: gpu@ff400000 { + compatible = "rockchip,px30-mali", "arm,mali-bifrost"; + reg = <0x0 0xff400000 0x0 0x4000>; + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "gpu", "mmu", "job"; + clocks = <&cru SCLK_GPU>; + clock-names = "clk_mali"; + power-domains = <&power PX30_PD_GPU>; + status = "disabled"; + }; + vopb: vop@ff460000 { compatible = "rockchip,px30-vop-big"; reg = <0x0 0xff460000 0x0 0xefc>;
PX30 SoCs feature an ARM Bifrost GPU. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> --- Hello, this change is just adding basic GPU support, more work is needed on the devfreq/opp side to be sure everything works and is properly described. Hence, this proposal aims at describing the HW block only, not its hability to change voltages/frequencies. Thanks, Miquèl arch/arm64/boot/dts/rockchip/px30.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)