Message ID | 1455521613-27340-9-git-send-email-wxt@rock-chips.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Am Montag, 15. Februar 2016, 15:33:33 schrieb Caesar Wang: > This patch enables the tsadc for rk3228 evb board. > > The rk3228 evb board uses the CRU to reset the chip since it hasn't the > PMIC to connect it, and TSHUT is low active on evb board. > > Signed-off-by: Caesar Wang <wxt@rock-chips.com> applied to my dts32 branch for 4.6 Thanks Heiko -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts index e3898b8..c75cc41 100644 --- a/arch/arm/boot/dts/rk3228-evb.dts +++ b/arch/arm/boot/dts/rk3228-evb.dts @@ -61,6 +61,13 @@ status = "okay"; }; +&tsadc { + status = "okay"; + + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ +}; + &uart2 { status = "okay"; };
This patch enables the tsadc for rk3228 evb board. The rk3228 evb board uses the CRU to reset the chip since it hasn't the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Caesar Wang <wxt@rock-chips.com> --- arch/arm/boot/dts/rk3228-evb.dts | 7 +++++++ 1 file changed, 7 insertions(+)