From: Xianwei Zhao <xianwei.zhao@amlogic.com>
To: "Uwe Kleine-König" <ukleinek@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiner Kallweit <hkallweit1@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org,
Junyi Zhao <junyi.zhao@amlogic.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
Alexandre Mergnat <amergnat@baylibre.com>
Subject: Re: [PATCH v4 1/4] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D
Date: Mon, 30 Nov 2026 18:10:28 +0800 [thread overview]
Message-ID: <39e70ac3-8fd6-4c22-821c-a27f3030be8d@amlogic.com> (raw)
In-Reply-To: <aw00y9WBIB2ZnMcR@monoceros>
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@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@amlogic.com>
>> Reviewed-by: Krzysztof Kozlowski<krzysztof.kozlowski@oss.qualcomm.com>
>> Reviewed-by: Martin Blumenstingl<martin.blumenstingl@googlemail.com>
>> Reviewed-by: Alexandre Mergnat<amergnat@baylibre.com>
>> Signed-off-by: Xianwei Zhao<xianwei.zhao@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
next prev parent reply other threads:[~2026-11-30 10:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 8:40 [PATCH v4 0/4] Add PWM support Amlogic S7 S7D S6 Xianwei Zhao via B4 Relay
2026-08-27 8:40 ` [PATCH v4 1/4] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D Xianwei Zhao via B4 Relay
2026-11-30 8:34 ` Uwe Kleine-König
2026-11-30 10:10 ` Xianwei Zhao [this message]
2026-11-30 11:16 ` Uwe Kleine-König
2026-11-30 11:29 ` Xianwei Zhao
2026-08-27 8:40 ` [PATCH v4 2/4] pwm: meson: add the PWM count driver data Xianwei Zhao via B4 Relay
2026-09-07 15:19 ` Alexandre Mergnat
2026-11-30 8:39 ` Uwe Kleine-König
2026-11-30 10:06 ` Xianwei Zhao
2026-08-27 8:40 ` [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks Xianwei Zhao via B4 Relay
2026-09-07 15:22 ` Alexandre Mergnat
2026-09-07 18:44 ` Uwe Kleine-König
2026-11-11 2:44 ` Xianwei Zhao
2026-11-30 8:53 ` Uwe Kleine-König
2026-08-27 8:40 ` [PATCH v4 4/4] pwm: meson: Add support for Amlogic S7 Xianwei Zhao via B4 Relay
2026-09-07 15:26 ` Alexandre Mergnat
2026-11-30 8:57 ` Uwe Kleine-König
2026-11-30 10:03 ` Xianwei Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39e70ac3-8fd6-4c22-821c-a27f3030be8d@amlogic.com \
--to=xianwei.zhao@amlogic.com \
--cc=amergnat@baylibre.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hkallweit1@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=junyi.zhao@amlogic.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®