mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: meson8b: add the I2C clocks
@ 2018-02-17 16:06 Martin Blumenstingl
  2018-03-08  1:14 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Blumenstingl @ 2018-02-17 16:06 UTC (permalink / raw)
  To: linus-amlogic

Add the I2C clocks so the I2C busses can be used. The clock input is not
device specific (the AO I2C bus uses clk81 as input, while the two I2C
busses in CBUS have a separate "CLKID_I2C" gate, provided by the clock
controller.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson8b.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index 1a7c16640ea5..5f7841b2d163 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -250,6 +250,18 @@
 	clock-names = "core";
 };
 
+&i2c_AO {
+	clocks = <&clkc CLKID_CLK81>;
+};
+
+&i2c_A {
+	clocks = <&clkc CLKID_I2C>;
+};
+
+&i2c_B {
+	clocks = <&clkc CLKID_I2C>;
+};
+
 &L2 {
 	arm,data-latency = <3 3 3>;
 	arm,tag-latency = <2 2 2>;
-- 
2.16.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: meson8b: add the I2C clocks
  2018-02-17 16:06 [PATCH] ARM: dts: meson8b: add the I2C clocks Martin Blumenstingl
@ 2018-03-08  1:14 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2018-03-08  1:14 UTC (permalink / raw)
  To: linus-amlogic

Martin Blumenstingl <martin.blumenstingl@googlemail.com> writes:

> Add the I2C clocks so the I2C busses can be used. The clock input is not
> device specific (the AO I2C bus uses clk81 as input, while the two I2C
> busses in CBUS have a separate "CLKID_I2C" gate, provided by the clock
> controller.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Applied to v4.17/dt,

Thanks,

Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-08  1:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 16:06 [PATCH] ARM: dts: meson8b: add the I2C clocks Martin Blumenstingl
2018-03-08  1:14 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®