mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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:
parent
2317d018b8
commit
b0a4ce81f3
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ pmic: pmic {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
pmic_adc: adc {
|
||||
compatible = "mediatek,mt6359-auxadc";
|
||||
#io-channel-cells = <1>;
|
||||
};
|
||||
|
||||
mt6359codec: mt6359codec {
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user