arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs

Add support for the ADC on MT6357/8/9 and keep it default enabled
as this IP is always present on those PMICs.
Users may use different IIO channels depending on board-specific
routing.

Link: https://lore.kernel.org/r/20240604123008.327424-6-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
AngeloGioacchino Del Regno 2024-06-04 14:30:08 +02:00
parent 2317d018b8
commit b0a4ce81f3
No known key found for this signature in database
GPG Key ID: 9A3604CFAD978478
3 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,11 @@ &pwrap {
mt6357_pmic: pmic {
compatible = "mediatek,mt6357";
pmic_adc: adc {
compatible = "mediatek,mt6357-auxadc";
#io-channel-cells = <1>;
};
regulators {
mt6357_vproc_reg: buck-vproc {
regulator-name = "vproc";

View File

@ -10,6 +10,11 @@ pmic: pmic {
interrupt-controller;
#interrupt-cells = <2>;
pmic_adc: adc {
compatible = "mediatek,mt6358-auxadc";
#io-channel-cells = <1>;
};
mt6358codec: mt6358codec {
compatible = "mediatek,mt6358-sound";
mediatek,dmic-mode = <0>; /* two-wires */

View File

@ -9,6 +9,11 @@ pmic: pmic {
interrupt-controller;
#interrupt-cells = <2>;
pmic_adc: adc {
compatible = "mediatek,mt6359-auxadc";
#io-channel-cells = <1>;
};
mt6359codec: mt6359codec {
};