* [PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: add adc and led for mt6360
@ 2024-10-23 8:50 Macpaul Lin
2024-10-23 10:50 ` AngeloGioacchino Del Regno
0 siblings, 1 reply; 2+ messages in thread
From: Macpaul Lin @ 2024-10-23 8:50 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno, devicetree, linux-kernel,
linux-arm-kernel, linux-mediatek, Alexandre Mergnat
Cc: Bear Wang, Pablo Sun, Macpaul Lin, Macpaul Lin,
Project_Global_Chrome_Upstream_Group, linux-usb, Chris-qj chen,
Yu-wen Fang, Simon Sun
From: Yu-wen Fang <yu-wen.fang@mediatek.com>
Enable ADC and LED of MT6360 for MT8395 Genio-1200-EVK board.
Signed-off-by: Yu-wen Fang <yu-wen.fang@mediatek.com>
Signed-off-by: Simon Sun <simon.sun@yunjingtech.com>
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
.../arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts b/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts
index 4c11c100e7b6..6aa6fa64044e 100644
--- a/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts
@@ -264,6 +264,11 @@ mt6360: pmic@34 {
#interrupt-cells = <1>;
pinctrl-0 = <&mt6360_pins>;
+ adc {
+ compatible = "mediatek,mt6360-adc";
+ #io-channel-cells = <1>;
+ };
+
charger {
compatible = "mediatek,mt6360-chg";
richtek,vinovp-microvolt = <14500000>;
@@ -275,6 +280,12 @@ otg_vbus_regulator: usb-otg-vbus-regulator {
};
};
+ led {
+ compatible = "mediatek,mt6360-led";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
regulator {
compatible = "mediatek,mt6360-regulator";
LDO_VIN3-supply = <&mt6360_buck2>;
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: add adc and led for mt6360
2024-10-23 8:50 [PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: add adc and led for mt6360 Macpaul Lin
@ 2024-10-23 10:50 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-10-23 10:50 UTC (permalink / raw)
To: Macpaul Lin, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Matthias Brugger, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek, Alexandre Mergnat
Cc: Bear Wang, Pablo Sun, Macpaul Lin,
Project_Global_Chrome_Upstream_Group, linux-usb, Chris-qj chen,
Yu-wen Fang, Simon Sun
Il 23/10/24 10:50, Macpaul Lin ha scritto:
> From: Yu-wen Fang <yu-wen.fang@mediatek.com>
>
> Enable ADC and LED of MT6360 for MT8395 Genio-1200-EVK board.
>
> Signed-off-by: Yu-wen Fang <yu-wen.fang@mediatek.com>
> Signed-off-by: Simon Sun <simon.sun@yunjingtech.com>
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-23 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 8:50 [PATCH] arm64: dts: mediatek: mt8395-genio-1200-evk: add adc and led for mt6360 Macpaul Lin
2024-10-23 10:50 ` AngeloGioacchino Del Regno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).