diff options
author | Min Li <min.li.xe@renesas.com> | 2020-02-21 22:48:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 22:08:12 +0100 |
commit | 04eed745615244525fb918fa7c0a86e811371536 (patch) | |
tree | a980b33cb86dd1fdf9553ad118ad5c44ece669be /Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml | |
parent | tcp: ipv4: Pass lockdep expression to RCU lists (diff) | |
download | linux-04eed745615244525fb918fa7c0a86e811371536.tar.xz linux-04eed745615244525fb918fa7c0a86e811371536.zip |
dt-bindings: ptp: Add device tree binding for IDT 82P33 based PTP clock
Add device tree binding doc for the PTP clock based on IDT 82P33
Synchronization Management Unit (SMU).
Changes since v1:
- As suggested by Rob Herring:
1. Drop reg description for i2c
2. Replace i2c@1 with i2c
3. Add addtionalProperties: false
Signed-off-by: Min Li <min.li.xe@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml b/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml new file mode 100644 index 000000000000..9bc664f414a1 --- /dev/null +++ b/Documentation/devicetree/bindings/ptp/ptp-idt82p33.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ptp/ptp-idt82p33.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 82P33 PTP Clock Device Tree Bindings + +description: | + IDT 82P33XXX Synchronization Management Unit (SMU) based PTP clock + +maintainers: + - Min Li <min.li.xe@renesas.com> + +properties: + compatible: + enum: + - idt,82p33810 + - idt,82p33813 + - idt,82p33814 + - idt,82p33831 + - idt,82p33910 + - idt,82p33913 + - idt,82p33914 + - idt,82p33931 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + phc@51 { + compatible = "idt,82p33810"; + reg = <0x51>; + }; + }; |