]> git.baikalelectronics.ru Git - kernel.git/commitdiff
clk: sprd: add dt-bindings include for mipi_csi_xx clocks
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Wed, 27 May 2020 05:36:37 +0000 (13:36 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 06:41:14 +0000 (23:41 -0700)
mipi_csi_xx clocks are used by camera sensors.

Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lkml.kernel.org/r/20200527053638.31439-4-zhang.lyra@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/clock/sprd,sc9863a-clk.h

index 901ba59676c2debc135eef9873a52e0e4fac4a33..4e030421641f262d211e097a7e88da10a2b4aca0 100644 (file)
 #define CLK_MCPHY_CFG_EB       14
 #define CLK_MM_GATE_NUM                (CLK_MCPHY_CFG_EB + 1)
 
+#define CLK_MIPI_CSI           0
+#define CLK_MIPI_CSI_S         1
+#define CLK_MIPI_CSI_M         2
+#define CLK_MM_CLK_NUM         (CLK_MIPI_CSI_M + 1)
+
 #define CLK_SIM0_EB            0
 #define CLK_IIS0_EB            1
 #define CLK_IIS1_EB            2