aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2022-01-25 10:33:29 +0100
committerStephen Boyd <sboyd@kernel.org>2022-01-25 14:23:15 -0800
commit68643c3735102177139237fd6656085eac403b69 (patch)
treef91c4e0896ae33915aa236f234b3bb1768424dd4 /Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
parentdt-bindings: clock: convert cs2000-cp bindings to yaml (diff)
downloadlinux-dev-68643c3735102177139237fd6656085eac403b69.tar.xz
linux-dev-68643c3735102177139237fd6656085eac403b69.zip
dt-bindings: clock: cs2000-cp: document aux-output-source
This new optional property can be used to control the function of the auxiliary output pin. Introduce a new dt-bindings include file that contains the numerical values. Signed-off-by: Daniel Mack <daniel@zonque.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220125093336.226787-3-daniel@zonque.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
index 379a8bab49ca..79b90500f6ac 100644
--- a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
+++ b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
@@ -37,6 +37,17 @@ properties:
reg:
maxItems: 1
+ cirrus,aux-output-source:
+ description:
+ Specifies the function of the auxiliary clock output pin
+ $ref: /schemas/types.yaml#/definitions/uint32
+ enum:
+ - 0 # CS2000CP_AUX_OUTPUT_REF_CLK: ref_clk input
+ - 1 # CS2000CP_AUX_OUTPUT_CLK_IN: clk_in input
+ - 2 # CS2000CP_AUX_OUTPUT_CLK_OUT: clk_out output
+ - 3 # CS2000CP_AUX_OUTPUT_PLL_LOCK: pll lock status
+ default: 0
+
required:
- compatible
- reg
@@ -48,6 +59,8 @@ additionalProperties: false
examples:
- |
+ #include <dt-bindings/clock/cirrus,cs2000-cp.h>
+
i2c@0 {
reg = <0x0 0x100>;
#address-cells = <1>;
@@ -59,5 +72,6 @@ examples:
reg = <0x4f>;
clocks = <&rcar_sound 0>, <&x12_clk>;
clock-names = "clk_in", "ref_clk";
+ cirrus,aux-output-source = <CS2000CP_AUX_OUTPUT_CLK_OUT>;
};
};