Message ID | 20241004030148.13366-1-macpaul.lin@mediatek.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2,1/2] dt-bindings: mfd: mediatek: mt6397: add adc, codec and regulators for mt6359 | expand |
On Fri, Oct 04, 2024 at 11:01:47AM +0800, Macpaul Lin wrote: > Since MT6359 PMIC has been added as one of the compatibles of > "mediatek,mt6397.yaml", the sub-device node of "MT6359 PMIC AUXADC", > "MT6359 Audio Codec" and "MT6359 PMIC Regulators" should also be > contained in this DT Schema as well. > > This patch includes: > - add 'adc' property and $ref for 'mediatek,mt6359-auxadc'. > - add 'mt6359-regulator' to the compatibles of regulators. > - add 'mt6359-codec' to the compatibles of audio-codec. > > Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com> > --- > .../devicetree/bindings/mfd/mediatek,mt6397.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > Changes for v2: > - Rebase on top of the DT schema conversion patch V8 (should be final version) > without adc, audio-codec, and regulator. > [1] https://lore.kernel.org/all/20241001104145.24054-3-macpaul.lin@mediatek.com/ > - Add 'mt6359-codec' to the compatibles of 'audio-codec' property. > Please help to review it again. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Fri, 04 Oct 2024 11:01:47 +0800, Macpaul Lin wrote: > Since MT6359 PMIC has been added as one of the compatibles of > "mediatek,mt6397.yaml", the sub-device node of "MT6359 PMIC AUXADC", > "MT6359 Audio Codec" and "MT6359 PMIC Regulators" should also be > contained in this DT Schema as well. > > This patch includes: > - add 'adc' property and $ref for 'mediatek,mt6359-auxadc'. > - add 'mt6359-regulator' to the compatibles of regulators. > - add 'mt6359-codec' to the compatibles of audio-codec. > > [...] Applied, thanks! [1/2] dt-bindings: mfd: mediatek: mt6397: add adc, codec and regulators for mt6359 commit: 5bcecfcaa6d1d4ea1b29082ed1fd077ba4cccb55 -- Lee Jones [李琼斯]
Il 04/10/24 05:01, Macpaul Lin ha scritto: > Since MT6359 PMIC has been added as one of the compatibles of > "mediatek,mt6397.yaml", the sub-device node of "MT6359 PMIC AUXADC", > "MT6359 Audio Codec" and "MT6359 PMIC Regulators" should also be > contained in this DT Schema as well. > > This patch includes: > - add 'adc' property and $ref for 'mediatek,mt6359-auxadc'. > - add 'mt6359-regulator' to the compatibles of regulators. > - add 'mt6359-codec' to the compatibles of audio-codec. > > Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com
diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml index 95e9566fc535..35c4bc199b4e 100644 --- a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml +++ b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml @@ -17,6 +17,7 @@ description: | MT6397/MT6323 is a multifunction device with the following sub modules: - Regulators - RTC + - ADC - Audio codec - GPIO - Clock @@ -86,6 +87,7 @@ properties: - enum: - mediatek,mt6323-regulator - mediatek,mt6358-regulator + - mediatek,mt6359-regulator - mediatek,mt6397-regulator - items: - enum: @@ -95,6 +97,11 @@ properties: required: - compatible + adc: + type: object + $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml# + unevaluatedProperties: false + audio-codec: type: object description: @@ -106,6 +113,7 @@ properties: oneOf: - enum: - mediatek,mt6358-sound + - mediatek,mt6359-codec - mediatek,mt6397-codec - items: - enum:
Since MT6359 PMIC has been added as one of the compatibles of "mediatek,mt6397.yaml", the sub-device node of "MT6359 PMIC AUXADC", "MT6359 Audio Codec" and "MT6359 PMIC Regulators" should also be contained in this DT Schema as well. This patch includes: - add 'adc' property and $ref for 'mediatek,mt6359-auxadc'. - add 'mt6359-regulator' to the compatibles of regulators. - add 'mt6359-codec' to the compatibles of audio-codec. Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com> --- .../devicetree/bindings/mfd/mediatek,mt6397.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) Changes for v2: - Rebase on top of the DT schema conversion patch V8 (should be final version) without adc, audio-codec, and regulator. [1] https://lore.kernel.org/all/20241001104145.24054-3-macpaul.lin@mediatek.com/ - Add 'mt6359-codec' to the compatibles of 'audio-codec' property. Please help to review it again.