dt-bindings: mediatek: infracfg: add support for MT8516
authorFabien Parent <fparent@baylibre.com>
Sat, 23 Mar 2019 21:16:00 +0000 (22:16 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 25 Apr 2019 21:34:34 +0000 (14:34 -0700)
Add binding documentation of infracfg for MT8516 SoC.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt
include/dt-bindings/clock/mt8516-clk.h

index 0b324d2..a909139 100644 (file)
@@ -16,6 +16,7 @@ Required Properties:
        - "mediatek,mt8135-infracfg", "syscon"
        - "mediatek,mt8173-infracfg", "syscon"
        - "mediatek,mt8183-infracfg", "syscon"
+       - "mediatek,mt8516-infracfg", "syscon"
 - #clock-cells: Must be 1
 - #reset-cells: Must be 1
 
index 8d44cb3..956ee2c 100644 (file)
@@ -8,6 +8,15 @@
 #ifndef _DT_BINDINGS_CLK_MT8516_H
 #define _DT_BINDINGS_CLK_MT8516_H
 
+/* INFRACFG */
+
+#define CLK_IFR_MUX1_SEL               0
+#define CLK_IFR_ETH_25M_SEL            1
+#define CLK_IFR_I2C0_SEL               2
+#define CLK_IFR_I2C1_SEL               3
+#define CLK_IFR_I2C2_SEL               4
+#define CLK_IFR_NR_CLK                 5
+
 /* TOPCKGEN */
 
 #define CLK_TOP_CLK_NULL               0