On 3/3/25 09:52, Krzysztof Kozlowski wrote: > On 03/03/2025 09:42, Michal Wilczynski wrote: >>>> +allOf: >>>> + - if: >>>> + properties: >>>> + compatible: >>>> + contains: >>>> + const: thead,th1520-clk-vo >>>> + then: >>>> + required: >>>> + - resets >>> >>> else: >>> ? What's there? Also reset or no? >> >> If the else: case the reset is not required, as it's only required in >> the th1520clk-vo, so there is no need for else:. > That's not the question. I know it is not required, I can read code. > What is in the hardware? I noticed the register SW_GMAC1_GRST_N in section 5.4.2.2.66 of the manual (GMAC1_SWRST [2]), which indicates a GMAC1 CLKGEN soft reset. Although this could theoretically reset part of the AP clock, it is not actually used by the AP clock driver or needed for initialization. > > Best regards, > Krzysztof >
- [PATCH v5 08/21] clk: thead: Add support for cust... Michal Wilczynski
- [PATCH v5 17/21] drm/imagination: Enable PowerVR ... Michal Wilczynski
- [PATCH v5 12/21] reset: thead: Add TH1520 reset c... Michal Wilczynski
- Re: [PATCH v5 12/21] reset: thead: Add TH1520... Philipp Zabel
- Re: [PATCH v5 12/21] reset: thead: Add TH... Michal Wilczynski
- [PATCH v5 19/21] riscv: dts: thead: Introduce pow... Michal Wilczynski
- [PATCH v5 09/21] dt-bindings: clock: thead: Add G... Michal Wilczynski
- Re: [PATCH v5 09/21] dt-bindings: clock: thea... Krzysztof Kozlowski
- Re: [PATCH v5 09/21] dt-bindings: clock: ... Michal Wilczynski
- Re: [PATCH v5 09/21] dt-bindings: clo... Krzysztof Kozlowski
- Re: [PATCH v5 09/21] dt-bindings... Michal Wilczynski
- Re: [PATCH v5 09/21] dt-bind... Krzysztof Kozlowski
- [PATCH v5 11/21] dt-bindings: reset: Add T-HEAD T... Michal Wilczynski
- [PATCH v5 04/21] firmware: thead: Add AON firmwar... Michal Wilczynski
- [PATCH v5 16/21] drm/imagination: Add support for... Michal Wilczynski
- [PATCH v5 10/21] clk: thead: Add GPU clock gate c... Michal Wilczynski
- [PATCH v5 03/21] dt-bindings: firmware: thead,th1... Michal Wilczynski
- Re: [PATCH v5 00/21] Enable drm/imagination BXM-4-64 S... Krzysztof Kozlowski
- Re: [PATCH v5 00/21] Enable drm/imagination BXM-4... Michal Wilczynski
- Re: [PATCH v5 00/21] Enable drm/imagination B... Krzysztof Kozlowski
- Re: [PATCH v5 00/21] Enable drm/imaginati... Michal Wilczynski