[PATCH v4 1/4] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D
Xianwei Zhao
xianwei.zhao at amlogic.com
Mon Nov 30 02:10:28 PST 2026
Hi Uwe,
Thanks for your reveiw.
On 2026/11/30 16:34, Uwe Kleine-König wrote:
> On Thu, Aug 27, 2026 at 08:40:10AM +0000, Xianwei Zhao via B4 Relay wrote:
>> From: Junyi Zhao<junyi.zhao at amlogic.com>
>>
>> Amlogic S7/S7D/S6 different from the previous SoCs, a controller
>> includes one pwm, at the same time, the controller has only one
>> input clock source.
>>
>> Signed-off-by: Junyi Zhao<junyi.zhao at amlogic.com>
>> Reviewed-by: Krzysztof Kozlowski<krzysztof.kozlowski at oss.qualcomm.com>
>> Reviewed-by: Martin Blumenstingl<martin.blumenstingl at googlemail.com>
>> Reviewed-by: Alexandre Mergnat<amergnat at baylibre.com>
>> Signed-off-by: Xianwei Zhao<xianwei.zhao at amlogic.com>
>> ---
>> .../devicetree/bindings/pwm/pwm-amlogic.yaml | 19 +++++++++++++++++++
>> 1 file changed, 19 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
>> index c337d85da40f..93fa97f4011b 100644
>> --- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
>> +++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
>> @@ -37,6 +37,7 @@ properties:
>> - enum:
>> - amlogic,meson8-pwm-v2
>> - amlogic,meson-s4-pwm
>> + - amlogic,s7-pwm
>> - items:
>> - enum:
>> - amlogic,a4-pwm
>> @@ -45,6 +46,11 @@ properties:
>> - amlogic,t7-pwm
>> - amlogic,meson-a1-pwm
>> - const: amlogic,meson-s4-pwm
>> + - items:
>> + - enum:
>> + - amlogic,s6-pwm
>> + - amlogic,s7d-pwm
>> + - const: amlogic,s7-pwm
>> - items:
>> - enum:
>> - amlogic,meson8b-pwm-v2
>> @@ -146,6 +152,19 @@ allOf:
>> clock-names: false
>> required:
>> - clocks
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + enum:
>> + - amlogic,s7-pwm
>> + then:
>> + properties:
>> + clocks:
>> + maxItems: 1
>> + clock-names: false
> The clock doesn't have a name? It's fine for me to keep as suggested in
> this patch, but maybe it would be cleaner to state a name just to make
> it easier to match to the reference for a human?!
>
I get the impression that the maintainer prefers not to specify a clock
name when there is only one clock input.
https://lore.kernel.org/all/20230612092611.12385-1-krzysztof.kozlowski@linaro.org/
> Best regards
> Uwe
More information about the linux-arm-kernel
mailing list