From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Kiseok Jo <kiseok.jo@irondevice.com>
Subject: Re: [PATCH] ASoC: dt-bindings: Drop broken irondevice,sma1303 binding
Date: Wed, 1 Feb 2023 15:43:12 +0100 [thread overview]
Message-ID: <6491d6fb-2a10-1c80-d422-8300d5a75ce4@linaro.org> (raw)
In-Reply-To: <Y9pxGUMWyMeXQpZM@sirena.org.uk>
On 01/02/2023 15:03, Mark Brown wrote:
> On Wed, Feb 01, 2023 at 02:13:46PM +0100, Krzysztof Kozlowski wrote:
>> On 01/02/2023 14:10, Krzysztof Kozlowski wrote:
>
>>> Because the binding:
>>> 1. Was never tested,
>>> 2. Was never sent to Devicetree maintainers,
>>> 3. Is entirely broken and wrong, so it would have to be almost rewritten
>>> from scratch,
>>> 4. It does not match the driver, IOW, the binding is fake.
>
>> I understand that in general we tend to fix, not just to revert. But the
>> poor quality of this binding and the next patch, which was suppose to
>> fix it, plus complete lack of testing, means I do not believe the author
>> will send correct binding.
>
>> More over, fixing binding might require dropping incorrect properties,
>> thus changing the driver. I am not willing to do that, I doubt that
>> anyone has the time for it.
>
> It is an absolutely trivial binding as is, it is utterly
> disproportionate to delete both the binding and the driver to fix
> whatever it is that the issues you're seeing are (I can't really tell
> TBH). Undocumented properties are a separate thing but again a revert
> is obviously disproportionate here, glancing at the driver the code is
> all well enough separated and can have default values. Looking again I
> did miss the sysclk selection which should be dropped, clocks should use
> the clock bindings.
>
>> It's the job of submitter to work on it.
>
> It's also not the end of the world if we have a driver that isn't
> perfect.
>
> Please, try to keep things constructive.
I tried. I started writing patch to fix few things in this binding and
then noticed that it is entirely empty and documents nothing.
The trouble is that soon you will send it to Linus and then it becomes
the ABI even though no one ever approved or reviewed the actual ABI.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-02-01 14:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 13:10 [PATCH] ASoC: dt-bindings: Drop broken irondevice,sma1303 binding Krzysztof Kozlowski
2023-02-01 13:13 ` Krzysztof Kozlowski
2023-02-01 14:03 ` Mark Brown
2023-02-01 14:43 ` Krzysztof Kozlowski [this message]
2023-02-01 15:00 ` Mark Brown
2023-02-02 1:54 ` Ki-Seok Jo
2023-02-02 5:28 ` Ki-Seok Jo
2023-02-02 8:44 ` Krzysztof Kozlowski
2023-02-02 8:58 ` Ki-Seok Jo
2023-02-02 9:03 ` Krzysztof Kozlowski
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=6491d6fb-2a10-1c80-d422-8300d5a75ce4@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kiseok.jo@irondevice.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=tiwai@suse.com \
/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).