mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 02:15:57 +00:00
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>
This commit is contained in:
parent
e783362eb5
commit
8e972afb3b
@ -0,0 +1,63 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Binding CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
The CS2000-CP is an extremely versatile system clocking device that
|
||||||
|
utilizes a programmable phase lock loop.
|
||||||
|
|
||||||
|
Link: https://www.cirrus.com/products/cs2000/
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
enum:
|
||||||
|
- cirrus,cs2000-cp
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
description:
|
||||||
|
Common clock binding for CLK_IN, XTI/REF_CLK
|
||||||
|
minItems: 2
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
items:
|
||||||
|
- const: clk_in
|
||||||
|
- const: ref_clk
|
||||||
|
|
||||||
|
'#clock-cells':
|
||||||
|
const: 0
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- clocks
|
||||||
|
- clock-names
|
||||||
|
- '#clock-cells'
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
i2c@0 {
|
||||||
|
reg = <0x0 0x100>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
clock-controller@4f {
|
||||||
|
#clock-cells = <0>;
|
||||||
|
compatible = "cirrus,cs2000-cp";
|
||||||
|
reg = <0x4f>;
|
||||||
|
clocks = <&rcar_sound 0>, <&x12_clk>;
|
||||||
|
clock-names = "clk_in", "ref_clk";
|
||||||
|
};
|
||||||
|
};
|
@ -1,22 +0,0 @@
|
|||||||
CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
|
|
||||||
- compatible: "cirrus,cs2000-cp"
|
|
||||||
- reg: The chip select number on the I2C bus
|
|
||||||
- clocks: common clock binding for CLK_IN, XTI/REF_CLK
|
|
||||||
- clock-names: CLK_IN : clk_in, XTI/REF_CLK : ref_clk
|
|
||||||
- #clock-cells: must be <0>
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
&i2c2 {
|
|
||||||
...
|
|
||||||
cs2000: clk_multiplier@4f {
|
|
||||||
#clock-cells = <0>;
|
|
||||||
compatible = "cirrus,cs2000-cp";
|
|
||||||
reg = <0x4f>;
|
|
||||||
clocks = <&rcar_sound 0>, <&x12_clk>;
|
|
||||||
clock-names = "clk_in", "ref_clk";
|
|
||||||
};
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user