mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 1/1] dt-bindings: ptp: Add device tree binding for IDT FemtoClock
@ 2024-04-10 18:41 Min Li
  2024-04-10 19:23 ` Krzysztof Kozlowski
  2024-04-10 19:32 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Min Li @ 2024-04-10 18:41 UTC (permalink / raw)
  To: richardcochran, robh+dt, krzysztof.kozlowski+dt, conor+dt
  Cc: devicetree, linux-kernel, netdev, Min Li

From: Min Li <min.li.xe@renesas.com>

Add device tree binding doc for the IDT FemtoClock Frequency
Clock Synthesizers.

Signed-off-by: Min Li <min.li.xe@renesas.com>
---
 .../devicetree/bindings/ptp/ptp-idtfc3.yaml   | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/ptp/ptp-idtfc3.yaml

diff --git a/Documentation/devicetree/bindings/ptp/ptp-idtfc3.yaml b/Documentation/devicetree/bindings/ptp/ptp-idtfc3.yaml
new file mode 100644
index 000000000000..3e1c3135df5a
--- /dev/null
+++ b/Documentation/devicetree/bindings/ptp/ptp-idtfc3.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/ptp/ptp-idtfc3.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: RENESAS FemtoClock (TM) Frequency Clock Synthesizers
+
+maintainers:
+  - Min Li <min.li.xe@renesas.com>
+
+properties:
+  compatible:
+    enum:
+      # For System Synchronizer
+      - idt,rc38xxx0
+      - idt,rc38xxx1
+      - idt,rc38xxx2
+      - idt,rc38xxx3
+      - idt,rc38xxx4
+      - idt,rc38xxx5
+      - idt,rc38xxx6
+      - idt,rc38xxx7
+      - idt,rc38xxx8
+      - idt,rc38xxx9
+
+  reg:
+    maxItems: 1
+    description:
+      I2C slave address of the device.
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+	phc@9 { /* FemtoClock3 */
+		compatible = "idt,rc38xxx0";
+		reg = <0x9>;
+	};
+    };
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-10 19:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 18:41 [PATCH net-next 1/1] dt-bindings: ptp: Add device tree binding for IDT FemtoClock Min Li
2024-04-10 19:23 ` Krzysztof Kozlowski
2024-04-10 19:32 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®