[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260112104536.83309-2-m-shah@ti.com>
Date: Mon, 12 Jan 2026 16:15:34 +0530
From: Moteen Shah <m-shah@...com>
To: <krzk+dt@...nel.org>, <robh@...nel.org>, <conor+dt@...nel.org>,
<nm@...com>, <vigneshr@...com>, <kristo@...nel.org>
CC: <devicetree@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <u-kumar1@...com>, <gehariprasath@...com>,
<y-abhilashchandra@...com>, <m-shah@...com>
Subject: [PATCH 1/3] ti,j721e-system-controller.yaml: Allow audio-refclk as clock-controller child
The ti,j721e-system-controller binding currently only allows
clock-controller@ child nodes to reference the ti,am654-ehrpwm-tbclk
schema. However, the system controller on J721S2 also contains audio
reference clock controllers (ti,am62-audio-refclk) that use the same
clock-controller@...X naming pattern.
Hence, extend the clock-controller pattern to accept either ehrpwm-tbclk
or audio-refclk schemas using a oneOf constraint.
Signed-off-by: Moteen Shah <m-shah@...com>
---
.../bindings/soc/ti/ti,j721e-system-controller.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/ti/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/soc/ti/ti,j721e-system-controller.yaml
index f3bd0be3b279..d5d84a8f1257 100644
--- a/Documentation/devicetree/bindings/soc/ti/ti,j721e-system-controller.yaml
+++ b/Documentation/devicetree/bindings/soc/ti/ti,j721e-system-controller.yaml
@@ -53,9 +53,11 @@ patternProperties:
"^clock-controller@[0-9a-f]+$":
type: object
- $ref: /schemas/clock/ti,am654-ehrpwm-tbclk.yaml#
+ oneOf:
+ - $ref: /schemas/clock/ti,am654-ehrpwm-tbclk.yaml#
+ - $ref: /schemas/clock/ti,am62-audio-refclk.yaml#
description:
- Clock provider for TI EHRPWM nodes.
+ Clock provider for TI EHRPWM or Audio Reference Clock nodes.
"phy@[0-9a-f]+$":
type: object
--
2.34.1
Powered by blists - more mailing lists