From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Ding, Shenghao" <shenghao-ding@ti.com>
Cc: "conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"andriy.shevchenko@linux.intel.com"
<andriy.shevchenko@linux.intel.com>,
"Lu, Kevin" <kevin-lu@ti.com>, "Xu, Baojun" <baojun.xu@ti.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"P O, Vijeth" <v-po@ti.com>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"perex@perex.cz" <perex@perex.cz>,
"pierre-louis.bossart@linux.intel.com"
<pierre-louis.bossart@linux.intel.com>,
"13916275206@139.com" <13916275206@139.com>,
"Chawla, Mohit" <mohit.chawla@ti.com>,
"linux-sound@vger.kernel.org" <linux-sound@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"liam.r.girdwood@intel.com" <liam.r.girdwood@intel.com>,
"soyer@irl.hu" <soyer@irl.hu>,
"Huang, Jonathan" <jkhuang3@ti.com>,
"tiwai@suse.de" <tiwai@suse.de>,
"Djuandi, Peter" <pdjuandi@ti.com>,
"McPherson, Jeff" <j-mcpherson@ti.com>,
"Navada Kanyana, Mukund" <navada@ti.com>,
Mark Brown <broonie@kernel.org>
Subject: Re: [EXTERNAL] Re: [PATCH v2 4/4] ASoc: dt-bindings: PCM6240: Add initial DT binding
Date: Tue, 30 Jan 2024 17:18:14 +0100 [thread overview]
Message-ID: <dc867ca4-e579-47f5-8490-ebefbc3c2875@linaro.org> (raw)
In-Reply-To: <015abf2c43a44c478726c270bfa17fc0@ti.com>
On 29/01/2024 05:43, Ding, Shenghao wrote:
>>
>> On Fri, Jan 26, 2024 at 09:27:47AM +0100, Krzysztof Kozlowski wrote:
>>> On 26/01/2024 04:58, Shenghao Ding wrote:
>>
>>>> + - if:
>>>> + properties:
>>>> + compatible:
>>>> + contains:
>>>> + enum:
>>>> + - ti,pcm1690
>>>> + then:
>>>> + properties:
>>>> + reg:
>>>> + items:
>>>> + minimum: 0x4c
>>>> + maximum: 0x4f
>>
>>> Nothing improved.
>>
>> Shenghao explained what what this is doing - I'm not sure what the actual
>> problem is here? It's an actual restriction on the values that are valid.
>
> Hi, Krzysztof. May I have the privilege to petition on behalf of my customers? They
> want to keep these if branches and the i2c address in yaml file. As you know, most
> of my customers used to make mistakes and confuse with the i2c address. Listing
> them here can help them to get the information easily.
To which cases this exception will apply? Your patches, all TI?
Bindings are not supposed to be so detailed to create DTS out if it,
because it makes them more difficult to maintain. Such amount of
if:then: makes it trickier, for no real gain.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-01-30 16:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 3:58 [PATCH v2 1/4] ASoc: PCM6240: Create PCM6240 Family driver code Shenghao Ding
2024-01-26 3:58 ` [PATCH v2 2/4] ASoc: PCM6240: Create header file for " Shenghao Ding
2024-01-26 3:58 ` [PATCH v2 3/4] ASoc: PCM6240: Add compile item for PCM6240 Family driver Shenghao Ding
2024-01-26 3:58 ` [PATCH v2 4/4] ASoc: dt-bindings: PCM6240: Add initial DT binding Shenghao Ding
2024-01-26 8:27 ` Krzysztof Kozlowski
2024-01-26 13:49 ` Mark Brown
2024-01-29 4:43 ` [EXTERNAL] " Ding, Shenghao
2024-01-30 16:18 ` Krzysztof Kozlowski [this message]
2024-01-31 12:17 ` Ding, Shenghao
2024-01-26 14:33 ` [PATCH v2 1/4] ASoc: PCM6240: Create PCM6240 Family driver code Mark Brown
2024-01-29 5:03 ` [EXTERNAL] " Ding, Shenghao
2024-01-29 13:40 ` Mark Brown
2024-01-28 15:23 ` Andy Shevchenko
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=dc867ca4-e579-47f5-8490-ebefbc3c2875@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=13916275206@139.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=baojun.xu@ti.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j-mcpherson@ti.com \
--cc=jkhuang3@ti.com \
--cc=kevin-lu@ti.com \
--cc=lgirdwood@gmail.com \
--cc=liam.r.girdwood@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mohit.chawla@ti.com \
--cc=navada@ti.com \
--cc=pdjuandi@ti.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=robh+dt@kernel.org \
--cc=shenghao-ding@ti.com \
--cc=soyer@irl.hu \
--cc=tiwai@suse.de \
--cc=v-po@ti.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