Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: convert cs2000-cp bindings to yaml

The original author of the file was added as maintainer.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220125093336.226787-2-daniel@zonque.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Daniel Mack and committed by
Stephen Boyd
8e972afb e783362e

+63 -22
+63
Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Binding CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 8 + 9 + maintainers: 10 + - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 11 + 12 + description: | 13 + The CS2000-CP is an extremely versatile system clocking device that 14 + utilizes a programmable phase lock loop. 15 + 16 + Link: https://www.cirrus.com/products/cs2000/ 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - cirrus,cs2000-cp 22 + 23 + clocks: 24 + description: 25 + Common clock binding for CLK_IN, XTI/REF_CLK 26 + minItems: 2 27 + maxItems: 2 28 + 29 + clock-names: 30 + items: 31 + - const: clk_in 32 + - const: ref_clk 33 + 34 + '#clock-cells': 35 + const: 0 36 + 37 + reg: 38 + maxItems: 1 39 + 40 + required: 41 + - compatible 42 + - reg 43 + - clocks 44 + - clock-names 45 + - '#clock-cells' 46 + 47 + additionalProperties: false 48 + 49 + examples: 50 + - | 51 + i2c@0 { 52 + reg = <0x0 0x100>; 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + 56 + clock-controller@4f { 57 + #clock-cells = <0>; 58 + compatible = "cirrus,cs2000-cp"; 59 + reg = <0x4f>; 60 + clocks = <&rcar_sound 0>, <&x12_clk>; 61 + clock-names = "clk_in", "ref_clk"; 62 + }; 63 + };
-22
Documentation/devicetree/bindings/clock/cs2000-cp.txt
··· 1 - CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 2 - 3 - Required properties: 4 - 5 - - compatible: "cirrus,cs2000-cp" 6 - - reg: The chip select number on the I2C bus 7 - - clocks: common clock binding for CLK_IN, XTI/REF_CLK 8 - - clock-names: CLK_IN : clk_in, XTI/REF_CLK : ref_clk 9 - - #clock-cells: must be <0> 10 - 11 - Example: 12 - 13 - &i2c2 { 14 - ... 15 - cs2000: clk_multiplier@4f { 16 - #clock-cells = <0>; 17 - compatible = "cirrus,cs2000-cp"; 18 - reg = <0x4f>; 19 - clocks = <&rcar_sound 0>, <&x12_clk>; 20 - clock-names = "clk_in", "ref_clk"; 21 - }; 22 - };