diff options
| author | Macpaul Lin <macpaul.lin@mediatek.com> | 2024-10-04 11:01:47 +0800 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2024-10-16 09:05:22 +0100 |
| commit | 5bcecfcaa6d1d4ea1b29082ed1fd077ba4cccb55 (patch) | |
| tree | c170c842a050b81304ab1c50ff59fa199cc7c7a1 /Documentation/devicetree | |
| parent | 0a98b711db1345687df995495ee1d097bba5a958 (diff) | |
dt-bindings: mfd: mediatek: mt6397: Add ADC, CODEC and Regulators for MT6359
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241004030148.13366-1-macpaul.lin@mediatek.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
| -rw-r--r-- | Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6397.yaml index 64d81e9aeb4b..86451f151a6a 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 @@ -88,6 +89,7 @@ properties: - enum: - mediatek,mt6323-regulator - mediatek,mt6358-regulator + - mediatek,mt6359-regulator - mediatek,mt6397-regulator - items: - enum: @@ -97,6 +99,11 @@ properties: required: - compatible + adc: + type: object + $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml# + unevaluatedProperties: false + audio-codec: type: object description: @@ -108,6 +115,7 @@ properties: oneOf: - enum: - mediatek,mt6358-sound + - mediatek,mt6359-codec - mediatek,mt6397-codec - items: - enum: |
