[PATCH v2 1/2] dt-bindings: clock: sophgo: Allow protected gate clocks on SG2042
From: Han Gao via B4 Relay
Date: Sat Nov 21 2026 - 13:18:29 EST
From: Han Gao <gaohan@xxxxxxxxxxx>
Firmware may need some gates kept on for its runtime services, such as
the APB I2C gate for the EFI RTC and the AHB serial flash gate for EFI
variables. Which ones depends on the firmware, not the SoC, so let
firmware list them in protected-clocks.
Suggested-by: Yao Zi <me@xxxxxxxx>
Signed-off-by: Han Gao <gaohan@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/clock/sophgo,sg2042-clkgen.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/sophgo,sg2042-clkgen.yaml b/Documentation/devicetree/bindings/clock/sophgo,sg2042-clkgen.yaml
index e7a9255bcb58..76f123b84309 100644
--- a/Documentation/devicetree/bindings/clock/sophgo,sg2042-clkgen.yaml
+++ b/Documentation/devicetree/bindings/clock/sophgo,sg2042-clkgen.yaml
@@ -30,6 +30,8 @@ properties:
- const: dpll0
- const: dpll1
+ protected-clocks: true
+
'#clock-cells':
const: 1
description:
--
2.55.0