[PATCH 2/3] dt-bindings: mfd: mediatek: mt6397: add compatible for mt6359-codec
Krzysztof Kozlowski
krzk at kernel.org
Fri Sep 27 02:42:31 PDT 2024
On Fri, Sep 27, 2024 at 03:57:58PM +0800, Macpaul Lin wrote:
> On 9/27/24 00:04, Conor Dooley wrote:
> > On Thu, Sep 26, 2024 at 05:25:18PM +0800, Macpaul Lin wrote:
> > > This patch updates the audio-codec properties includes:
> > > - compatible:
> > > - Re-order the supported device items.
> > > - Add 'mt6359-codec' to compatible since MT6359 PMIC has been included
> > > in this DT Schema.
> >
> > > - Set 'additionalProperties: true' for 'mt6359-codec'.
> >
> > Why?
>
> The mt6359-codec support these 3 properties:
> mediatek,mic-type0, mediatek,mic-type-1, mediatek-mic-type2.
> While mt6358-sound and mt6397-codec don't (at least, I didn't find
> these 3 properties in driver codes.
>
> Set 'additionalProperties: true' is also required to fix the following
> dtbs_check errors:
> pmic: audio-codec: 'mediatek,mic-type-0', 'mediatek,mic-type-1',
> 'mediatek,mic-type-2' do not match any of the regexes:
> 'pinctrl-[0-9]+'
Why is this a correct fix? Aren't you allowing "pink-pony" property as
well?
>
> > >
> > > Signed-off-by: Macpaul Lin <macpaul.lin at mediatek.com>
> > > ---
> > > Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml | 5 +++--
There is no such file.
Best regards,
Krzysztof
More information about the Linux-mediatek
mailing list