[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c107a70e42eb4327802748cda89d292f@ti.com>
Date: Thu, 25 Jan 2024 08:46:35 +0000
From: "Ding, Shenghao" <shenghao-ding@...com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
"broonie@...nel.org"
<broonie@...nel.org>,
"conor+dt@...nel.org" <conor+dt@...nel.org>
CC: "robh+dt@...nel.org" <robh+dt@...nel.org>,
"andriy.shevchenko@...ux.intel.com" <andriy.shevchenko@...ux.intel.com>,
"Lu,
Kevin" <kevin-lu@...com>, "Xu, Baojun" <baojun.xu@...com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"perex@...ex.cz"
<perex@...ex.cz>,
"pierre-louis.bossart@...ux.intel.com"
<pierre-louis.bossart@...ux.intel.com>,
"13916275206@....com"
<13916275206@....com>,
"linux-sound@...r.kernel.org"
<linux-sound@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"liam.r.girdwood@...el.com"
<liam.r.girdwood@...el.com>,
"soyer@....hu" <soyer@....hu>, "Huang, Jonathan"
<jkhuang3@...com>,
"tiwai@...e.de" <tiwai@...e.de>, "Djuandi, Peter"
<pdjuandi@...com>,
"McPherson, Jeff" <j-mcpherson@...com>,
"Navada Kanyana,
Mukund" <navada@...com>
Subject: RE: [EXTERNAL] Re: [PATCH v1 4/4] ASoc: dt-bindings: Create yaml file
for pcm6240 codec driver
> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> Sent: Thursday, January 25, 2024 3:50 PM
> To: Ding, Shenghao <shenghao-ding@...com>; broonie@...nel.org;
> conor+dt@...nel.org
> Cc: robh+dt@...nel.org; andriy.shevchenko@...ux.intel.com; Lu, Kevin
> <kevin-lu@...com>; Xu, Baojun <baojun.xu@...com>;
> devicetree@...r.kernel.org; lgirdwood@...il.com; perex@...ex.cz;
> pierre-louis.bossart@...ux.intel.com; 13916275206@....com; linux-
> sound@...r.kernel.org; linux-kernel@...r.kernel.org;
> liam.r.girdwood@...el.com; soyer@....hu; Huang, Jonathan
> <jkhuang3@...com>; tiwai@...e.de; Djuandi, Peter <pdjuandi@...com>;
> McPherson, Jeff <j-mcpherson@...com>; Navada Kanyana, Mukund
> <navada@...com>
> Subject: Re: [EXTERNAL] Re: [PATCH v1 4/4] ASoc: dt-bindings: Create yaml
> file for pcm6240 codec driver
>
> On 25/01/2024 08: 39, Ding, Shenghao wrote: >> >> Why do you repeat the
> reg constraints? This does not seem needed. >> >>> + interrupts: false >>>
> + >>> + - if: >>> + properties: >>> ZjQcmQRYFpfptBannerStart This message
> was sent from outside of Texas Instruments.
> Do not click links or open attachments unless you recognize the source of
> this email and know the content is safe.
>
> ZjQcmQRYFpfptBannerEnd
> On 25/01/2024 08:39, Ding, Shenghao wrote:
> >>
> >> Why do you repeat the reg constraints? This does not seem needed.
> >>
> >>> + interrupts: false
> >>> +
> >>> + - if:
> >>> + properties:
> >>> + compatible:
> >>> + contains:
> >>> + enum:
> >>> + - ti,pcm3140
> >>> + - ti,pcm5140
> >>> + - ti,pcm6140
> >>> + - ti,pcmd3180
> >>> + then:
> >>> + properties:
> >>> + reg:
> >>> + description:
> >>> + I2C address, in multiple pcmdevices case, all the i2c address
> >>> + aggregate as one Audio Device to support multiple audio slots.
> >>> + maxItems: 4
> >>> + minItems: 1
> >>
>
> You did not respond to any of other comments, therefore I assume you
> agree with them 100% and you will implement them fully.
>
>
> >> Drop entire if
> > How to convey ti,pcm1690 does not support interrupt, and others
> > support if I remove this if
>
> How? There is no pcm1690 here.
How can others know that pcm3140, pcm5140, pcm6140 and pcmd3180
Support i2c address from 0x4c to 0x4f, if this if branch was removed.
>
> BTW, add missing line breaks, especially before next blocks like
> additionalProperties.
Accepted
>
> >>
> >>> + items:
> >>> + minimum: 0x4c
> >>> + maximum: 0x4f
> >>> +
> >
> > BR
> > Shenghao Ding
> >
>
> Best regards,
> Krzysztof
Powered by blists - more mailing lists