[PATCH v2 2/5] dt-bindings: clock: Add missing clocks for Ingenic SoCs.

From: 周琰杰 (Zhou Yanjie)
Date: Tue Dec 15 2020 - 15:04:43 EST


Add MACPHY, CIM, AIC, DMIC, I2S clocks bindings for the X1000 SoC
and the X1830 SoC from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>
Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Acked-by: Rob Herring <robh@xxxxxxxxxx>
---

Notes:
v1->v2:
1.Add MACPHY and I2S for X1000, and add MACPHY for X1830.
2.Add Paul Cercueil's Reviewed-by and Rob Herring's Acked-by.

include/dt-bindings/clock/x1000-cgu.h | 5 +++++
include/dt-bindings/clock/x1830-cgu.h | 5 +++++
2 files changed, 10 insertions(+)

diff --git a/include/dt-bindings/clock/x1000-cgu.h b/include/dt-bindings/clock/x1000-cgu.h
index f187e07..3e79f36 100644
--- a/include/dt-bindings/clock/x1000-cgu.h
+++ b/include/dt-bindings/clock/x1000-cgu.h
@@ -50,5 +50,10 @@
#define X1000_CLK_PDMA 35
#define X1000_CLK_EXCLK_DIV512 36
#define X1000_CLK_RTC 37
+#define X1000_CLK_MACPHY 38
+#define X1000_CLK_CIM 39
+#define X1000_CLK_AIC 40
+#define X1000_CLK_DMIC 41
+#define X1000_CLK_I2S 42

#endif /* __DT_BINDINGS_CLOCK_X1000_CGU_H__ */
diff --git a/include/dt-bindings/clock/x1830-cgu.h b/include/dt-bindings/clock/x1830-cgu.h
index 8845537..8da2997 100644
--- a/include/dt-bindings/clock/x1830-cgu.h
+++ b/include/dt-bindings/clock/x1830-cgu.h
@@ -53,5 +53,10 @@
#define X1830_CLK_OST 38
#define X1830_CLK_EXCLK_DIV512 39
#define X1830_CLK_RTC 40
+#define X1830_CLK_MACPHY 41
+#define X1830_CLK_CIM 42
+#define X1830_CLK_AIC 43
+#define X1830_CLK_DMIC 44
+#define X1830_CLK_I2S 45

#endif /* __DT_BINDINGS_CLOCK_X1830_CGU_H__ */
--
2.7.4