* [PATCH] ARM: dts: sunxi: Add de_be0 clk parent pll to simplefb node
@ 2014-11-16 10:22 Hans de Goede
[not found] ` <1416133347-10459-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2014-11-16 10:22 UTC (permalink / raw)
To: Maxime Ripard
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Avoid the parent pll for the mod-clk for de_be0 getting disabled when non of
the other users are enabled (which can happens on boards when non of i2c, spi
and mmc are in use).
Note for now we point directly to the parent rather then to the de_be0 mod-clk
as that is not modelled in our devicetree yet.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 3 ++-
arch/arm/boot/dts/sun5i-a10s.dtsi | 3 ++-
arch/arm/boot/dts/sun6i-a31.dtsi | 1 +
arch/arm/boot/dts/sun7i-a20.dtsi | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index cdb4708..92d8aa6 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -34,7 +34,8 @@
framebuffer0-hdmi {
compatible = "simple-framebuffer";
- clocks = <&ahb_gates 36>, <&ahb_gates 43>, <&ahb_gates 44>;
+ clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
+ <&ahb_gates 44>;
status = "disabled";
};
};
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index aee7f25..c678e56 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -31,7 +31,8 @@
framebuffer0-hdmi {
compatible = "simple-framebuffer";
- clocks = <&ahb_gates 36>, <&ahb_gates 43>, <&ahb_gates 44>;
+ clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
+ <&ahb_gates 44>;
status = "disabled";
};
};
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 04a5cb3..ccc03f3 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -69,6 +69,7 @@
framebuffer0-hdmi {
compatible = "simple-framebuffer";
+ clocks = <&pll6>;
status = "disabled";
};
};
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 58c1573..89766cb 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -71,7 +71,8 @@
framebuffer0-hdmi {
compatible = "simple-framebuffer";
- clocks = <&ahb_gates 36>, <&ahb_gates 43>, <&ahb_gates 44>;
+ clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
+ <&ahb_gates 44>;
status = "disabled";
};
};
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: sunxi: Add de_be0 clk parent pll to simplefb node
[not found] ` <1416133347-10459-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2014-11-16 10:45 ` Andreas Färber
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Färber @ 2014-11-16 10:45 UTC (permalink / raw)
To: Hans de Goede
Cc: Maxime Ripard, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi,
Am 16.11.2014 um 11:22 schrieb Hans de Goede:
> Avoid the parent pll for the mod-clk for de_be0 getting disabled when non of
"none"
> the other users are enabled (which can happens on boards when non of i2c, spi
"can happen", "none"
> and mmc are in use).
>
> Note for now we point directly to the parent rather then to the de_be0 mod-clk
"than"
> as that is not modelled in our devicetree yet.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
> arch/arm/boot/dts/sun4i-a10.dtsi | 3 ++-
> arch/arm/boot/dts/sun5i-a10s.dtsi | 3 ++-
> arch/arm/boot/dts/sun6i-a31.dtsi | 1 +
> arch/arm/boot/dts/sun7i-a20.dtsi | 3 ++-
> 4 files changed, 7 insertions(+), 3 deletions(-)
Patch itself looks okay. Maybe Maxime can fix up when applying.
Cheers,
Andreas
--
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 21284 AG Nürnberg
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-16 10:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-16 10:22 [PATCH] ARM: dts: sunxi: Add de_be0 clk parent pll to simplefb node Hans de Goede
[not found] ` <1416133347-10459-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-16 10:45 ` Andreas Färber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).