From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Johan Jonker" <jbx6244@yandex.com>
Cc: Thierry Reding <thierry.reding@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
linux-pwm@vger.kernel.org, linux-rockchip@lists.infradead.org,
kernel@pengutronix.de, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: pwm: rockchip: Allow "interrupts" prooperty
Date: Sun, 7 Jan 2024 11:30:14 +0100 [thread overview]
Message-ID: <210132de-a46b-4f9f-8546-0c36d8a34665@linaro.org> (raw)
In-Reply-To: <cvvifoctmgdsgqfadqbhgywfw2ff57fz33w26hghf5kyo5j5sw@mj75xtvczr2h>
On 07/01/2024 00:25, Uwe Kleine-König wrote:
> Hello,
>
> On Sat, Jan 06, 2024 at 10:25:10PM +0100, Johan Jonker wrote:
>> On 1/6/24 18:10, Krzysztof Kozlowski wrote:
>>> On 06/01/2024 15:26, Uwe Kleine-König wrote:
>>>> This fixes the dtbs_check error
>>>>
>>>> arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb: pwm@10280030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'
>>>> from schema $id: http://devicetree.org/schemas/pwm/pwm-rockchip.yaml#
>>>>
>>>> in several device trees.
>>>>
>>>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>>
>>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> NAK
>>
>> There's a reason why this isn't implemented before:
>>
>> [RFC PATCH v1 1/2] dt-bindings: pwm: rockchip: add interrupts property <https://lore.kernel.org/linux-rockchip/ed3df2c8-ffb5-1723-0ed7-3a2721972852@gmail.com/#r>
>>
>> https://lore.kernel.org/linux-rockchip/ed3df2c8-ffb5-1723-0ed7-3a2721972852@gmail.com/
>>
>> [PATCH 1/1] dt-bindings: pwm: rockchip: Add description for rk3588 <https://lore.kernel.org/linux-rockchip/20220901135523.52151-1-sebastian.reichel@collabora.com/#r>
>>
>> https://lore.kernel.org/linux-rockchip/66b5b616-ae9f-a1aa-e2b5-450f570cfcdd@gmail.com/
>>
>> [PATCH v1 03/11] dt-bindings: pwm: rockchip: add rockchip,rk3128-pwm <https://lore.kernel.org/linux-rockchip/f5dd0ee4-d97e-d878-ffde-c06e9b233e38@gmail.com/>
>>
>> https://lore.kernel.org/linux-rockchip/946d8ac2-6ff2-093a-ad3c-aa755e00d1dd@arm.com/
>>
>>
>> On how to correctly model the DT with common interrupts , PWM and one shot as a sort of MFD etc there's no consensus yet.
>>
>> Leaf it as it is till someone made a working driver demo, so that the coder is free to model a DT solution that fits to him/her.
>
> Having the warnings until this happens is bad though. If describing the
> irqs in the schema is considered wrong, we should remove the interrupts
> properties from the device tree sources.
I think the previous thread mixes bindings with driver. Does the
hardware have interrupt? Yes? Add it to the bindings. No? Don't add it.
However Johan's reply is saying something about driver, so how is it
related?
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-01-07 10:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-06 14:26 [PATCH] dt-bindings: pwm: rockchip: Allow "interrupts" prooperty Uwe Kleine-König
2024-01-06 16:57 ` Uwe Kleine-König
2024-01-06 17:10 ` Krzysztof Kozlowski
2024-01-06 21:25 ` Johan Jonker
2024-01-06 23:25 ` Uwe Kleine-König
2024-01-07 10:30 ` Krzysztof Kozlowski [this message]
2024-01-24 8:26 ` Uwe Kleine-König
2024-01-24 9:40 ` Johan Jonker
2024-01-29 11:41 ` Uwe Kleine-König
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=210132de-a46b-4f9f-8546-0c36d8a34665@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jbx6244@yandex.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).