ARM: dts: exynos5420: add mali dt bindings and enable mali on Odroid XU3/4
Subsystems (4)
PATCH 1/1 ARM: dts: exynos5420: add mali dt bindings and enable mali on Odroid XU3/4
From: memeka <[email protected]>
Add device tree bindings and nodes for Mali GPU for Exynos 542x SoC. GPU is disabled by default, and is enabled for each board after the regulator is defined. Tested on Odroid-XU4.
Changes since v1:
- used generic node and label for GPU
- added bindings for compatible
- fixed irq indentation
- fixed interrupt-names to match bindings
- added cooling cells for future TMU connection
- used generic node and label for GPU opp table
- removed always-on from SoC GPU regulator
--- .../devicetree/bindings/gpu/arm,mali-midgard.yaml | 5 ++- arch/arm/boot/dts/exynos5420.dtsi | 50 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 6 ++- 3 files changed, 59 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +4 -1
@@ -38,9 +38,12 @@ properties: - enum: - samsung,exynos5433-mali - const: arm,mali-t760 + - items: + - enum: + - samsung,exynis5420-mali + - const: arm,mali-t628 # "arm,mali-t624" - # "arm,mali-t628" # "arm,mali-t830" # "arm,mali-t880"
arch/arm/boot/dts/exynos5420.dtsi +50 -0
56 lines not on this page · raw message
arch/arm/boot/dts/exynos5422-odroid-core.dtsi +5 -1
@@ -522,7 +522,6 @@ regulator-name = "vdd_g3d"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; - regulator-always-on; regulator-boot-on; regulator-state-mem {
@@ -659,6 +658,11 @@ status = "okay"; }; +&gpu { + mali-supply = <&buck4_reg>; + status = "okay"; +}; + &rtc { status = "okay"; clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
Signature · 1 line
2.14.1
Quoted 16 lines · Marian Mihailescu
From: memeka <[email protected]>
Add device tree bindings and nodes for Mali GPU for Exynos 542x SoC. GPU is disabled by default, and is enabled for each board after the regulator is defined. Tested on Odroid-XU4.
Changes since v1:
- used generic node and label for GPU
- added bindings for compatible
- fixed irq indentation
- fixed interrupt-names to match bindings
- added cooling cells for future TMU connection
- used generic node and label for GPU opp table
- removed always-on from SoC GPU regulator
Quoted 3 lines
Signed-off-by Marian Mihailescu <[email protected]>--- .../devicetree/bindings/gpu/arm,mali-midgard.yaml | 5 ++-
Split to a separate patch.
Quoted 9 lines
arch/arm/boot/dts/exynos5420.dtsi | 50 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 6 ++- 3 files changed, 59 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +0
-0
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml properties: · line 43
Quoted 6 lines
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +3
-0@@ -38,9 +38,12 @@ properties: - enum: - samsung,exynos5433-mali - const: arm,mali-t760 + - items: + - enum: + - samsung,exynis5420-mali
exynis?
Quoted 7 lines
Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +1
-1+ - const: arm,mali-t628 # "arm,mali-t624" - # "arm,mali-t628" # "arm,mali-t830" # "arm,mali-t880"