[PATCH v3 01/12] dt-bindings: clock: renesas,r8a78000-cpg: Add renesas,scmi-firmware property
Geert Uytterhoeven
geert+renesas at glider.be
Wed Sep 2 04:29:17 PDT 2026
On systems using the ARM System Control and Management Interface (SCMI),
the Clock Pulse Generator hardware registers must not be accessed
directly. Instead, the SCMI message protocol must be used for inquiry,
configuration, and control of clocks.
Add a "renesas,scmi-firmware" property to distinguish between systems
with and without SCMI, and to indicate which SCMI firmware interface
provider to communicate with.
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
v3:
- Add "renesas" vendor prefix to the property (I still think it
should be dropped, or replaced by "arm"),
- Add "scmi-" prefix to the property,
- Elaborate rationale,
- Move forward in series,
v2:
- Spin off from "dt-bindings: clock: Document Renesas R-Car X5H Clock
Pulse Generator".
---
.../devicetree/bindings/clock/renesas,r8a78000-cpg.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml b/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml
index 4e23bba334382346..d4123b1d1890c624 100644
--- a/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml
+++ b/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml
@@ -35,6 +35,14 @@ properties:
<dt-bindings/clock/renesas,r8a78000-cpg.h>.
const: 1
+ renesas,scmi-firmware:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ On systems where the CPG must not be accessed directly, but only through
+ an SCMI firmware interface provider, this property must be present and
+ reference the device node that describes the SCMI compliant firmware
+ interface provider to use instead.
+
required:
- compatible
- reg
@@ -52,4 +60,5 @@ examples:
clocks = <&extal_clk>, <&extalr_clk>;
clock-names = "extal", "extalr";
#clock-cells = <1>;
+ renesas,scmi-firmware = <&scmi>;
};
--
2.43.0
More information about the linux-arm-kernel
mailing list