Skip to contentSkip to conversation

ARM: dts: meson8b: add the I2C clocks

PATCH New Martin Blumenstingl 2 participants 2 messages Feb 17, 2018 – Mar 8, 2018

Subsystems (2)
lore
Share & tools
lore

Martin Blumenstingl

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: meson8b: add the I2C clocks

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.

---
 arch/arm/boot/dts/meson8b.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/meson8b.dtsi +12 -0
index 1a7c16640ea5..5f7841b2d163 100644
@@ -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>;
Signature · 1 line
2.16.1
maintainer Applied
#1 lore raw

PATCH 1/1 ARM: dts: meson8b: add the I2C clocks

Quoted 6 lines · Martin Blumenstingl

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.

Applied to v4.17/dt,

Thanks,

Kevin