Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6: phycore-som: add da9062 gpio support

The pmic is a mfd device and supports gpios. Those gpios are not routed
to the SoM baseboard pin header but they are connected to the i.MX6. We
need the GPIO's to configure the pmic to select between the
suspend/resume arm and soc voltages

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Marco Felsch and committed by
Shawn Guo
50f5b89a 1f4e29d2

+3 -1
+3 -1
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi
··· 88 88 reg = <0x50>; 89 89 }; 90 90 91 - pmic@58 { 91 + pmic: pmic@58 { 92 92 compatible = "dlg,da9062"; 93 93 pinctrl-names = "default"; 94 94 pinctrl-0 = <&pinctrl_pmic>; ··· 96 96 interrupt-parent = <&gpio1>; 97 97 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 98 98 interrupt-controller; 99 + gpio-controller; 100 + #gpio-cells = <2>; 99 101 100 102 da9062_rtc: rtc { 101 103 compatible = "dlg,da9062-rtc";