summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/mediatek/mt6359.dtsi
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2024-06-04 14:30:08 +0200
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2024-07-30 11:01:09 +0200
commitb0a4ce81f327eae06c1088f1a437edc48a94a3e8 (patch)
tree785f0e0391bc1ee14cae8737d935cb1e9ef55b95 /arch/arm64/boot/dts/mediatek/mt6359.dtsi
parent2317d018b835842df0501d8f9e9efa843068a101 (diff)
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>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek/mt6359.dtsi')
-rw-r--r--arch/arm64/boot/dts/mediatek/mt6359.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
index df3e822232d3..8e1b8c85c6ed 100644
--- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
@@ -9,6 +9,11 @@
interrupt-controller;
#interrupt-cells = <2>;
+ pmic_adc: adc {
+ compatible = "mediatek,mt6359-auxadc";
+ #io-channel-cells = <1>;
+ };
+
mt6359codec: mt6359codec {
};