Skip to content

Commit 7226b28

Browse files
Michal Wilczynskistorulf
authored andcommitted
dt-bindings: firmware: thead,th1520: Add resets for GPU clkgen
Extend the TH1520 AON to describe the GPU clkgen reset line, required for proper GPU clock and reset sequencing. The T-HEAD TH1520 GPU requires coordinated management of two clocks (core and sys) and two resets (GPU core reset and GPU clkgen reset). Only the clkgen reset is exposed at the AON level, to support SoC specific initialization handled through a dedicated auxiliary power sequencing driver. The GPU core reset remains described in the GPU device node, as from the GPU driver's perspective, there is only a single reset line [1]. This follows upstream maintainers' recommendations [2] to abstract SoC specific details into the PM domain layer rather than exposing them to drivers directly. Link: https://lore.kernel.org/all/[email protected]/ - [1] Link: https://lore.kernel.org/all/[email protected]/ - [2] Reviewed-by: Ulf Hansson <[email protected]> Reviewed-by: Drew Fustini <[email protected]> Reviewed-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Michal Wilczynski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent 233eda0 commit 7226b28

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/firmware/thead,th1520-aon.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ properties:
3232
items:
3333
- const: aon
3434

35+
resets:
36+
maxItems: 1
37+
38+
reset-names:
39+
items:
40+
- const: gpu-clkgen
41+
3542
"#power-domain-cells":
3643
const: 1
3744

0 commit comments

Comments
 (0)