mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs
[ Upstream commit b0a4ce81f327eae06c1088f1a437edc48a94a3e8 ] 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> Stable-dep-of: 76ab2ae0ab9e ("arm64: dts: mediatek: mt6358: fix dtbs_check error") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a67ebf6dcc
commit
dbcba9b110
@@ -10,6 +10,11 @@
|
||||
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";
|
||||
|
||||
@@ -12,6 +12,11 @@
|
||||
interrupts = <182 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#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 */
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
pmic_adc: adc {
|
||||
compatible = "mediatek,mt6359-auxadc";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
mt6359codec: mt6359codec {
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user