2016-03-24 19:52:31

by Priit Laes

[permalink] [raw]
Subject: [PATCH v2 0/2] ARM: sunxi: dt: Add missing DRAM gate clock for simplefb TV output

DRAM gating driver commit for sun[47]i seems to be missing DRAM gate bit 5 for
simplefb TV output node. Add it.

v2 changes:
- Added Cc:stable and Fixes tags

Priit Laes (2):
ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output
ARM: sun7i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
arch/arm/boot/dts/sun7i-a20.dtsi | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)

--
2.5.0


2016-03-24 19:52:34

by Priit Laes

[permalink] [raw]
Subject: [PATCH v2 1/2] ARM: sun4i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

Seems like dram_gate 5 was forgotten when DRAM gate driver was added.

Enable it.

Cc: [email protected]
Fixes: 82f8582feef4 (ARM: dts: sun4i: Add DRAM gates)
Signed-off-by: Priit Laes <[email protected]>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 2c8f5e6..bf70d0a 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -96,7 +96,7 @@
allwinner,pipeline = "de_fe0-de_be0-lcd0-tve0";
clocks = <&pll5 1>, <&ahb_gates 34>, <&ahb_gates 36>,
<&ahb_gates 44>, <&ahb_gates 46>,
- <&dram_gates 25>, <&dram_gates 26>;
+ <&dram_gates 5>, <&dram_gates 25>, <&dram_gates 26>;
status = "disabled";
};
};
--
2.5.0

2016-03-24 19:52:36

by Priit Laes

[permalink] [raw]
Subject: [PATCH v2 2/2] ARM: sun7i: dt: Enable dram gate 5 (tve0 clock) for simplefb TV output

Seems like dram_gate 5 was forgotten when DRAM gating driver was added.

Add it.

Cc: [email protected]
Fixes: 0b4bf5a5200b (ARM: dts: sun7i: Add DRAM gates)
Signed-off-by: Priit Laes <[email protected]>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 0940a78..ee4e8e7 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -85,8 +85,9 @@
compatible = "allwinner,simple-framebuffer",
"simple-framebuffer";
allwinner,pipeline = "de_be0-lcd0-tve0";
- clocks = <&pll5 1>, <&ahb_gates 34>, <&ahb_gates 36>,
- <&ahb_gates 44>, <&dram_gates 26>;
+ clocks = <&pll5 1>,
+ <&ahb_gates 34>, <&ahb_gates 36>, <&ahb_gates 44>,
+ <&dram_gates 5>, <&dram_gates 26>;
status = "disabled";
};
};
--
2.5.0

2016-03-24 19:58:29

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] ARM: sunxi: dt: Add missing DRAM gate clock for simplefb TV output

On Thu, Mar 24, 2016 at 09:52:15PM +0200, Priit Laes wrote:
> DRAM gating driver commit for sun[47]i seems to be missing DRAM gate bit 5 for
> simplefb TV output node. Add it.

Applied both, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


Attachments:
(No filename) (314.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments