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>
MT6397/MT6323 is a multifunction device with the following sub modules:
- Regulators
- RTC
+ - ADC
- Audio codec
- GPIO
- Clock
- enum:
- mediatek,mt6323-regulator
- mediatek,mt6358-regulator
+ - mediatek,mt6359-regulator
- mediatek,mt6397-regulator
- items:
- enum:
required:
- compatible
+ adc:
+ type: object
+ $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml#
+ unevaluatedProperties: false
+
audio-codec:
type: object
description:
oneOf:
- enum:
- mediatek,mt6358-sound
+ - mediatek,mt6359-codec
- mediatek,mt6397-codec
- items:
- enum: