projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rk3368: add tsadc for p9
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm64
/
boot
/
dts
/
rk3368-p9_818.dts
diff --git
a/arch/arm64/boot/dts/rk3368-p9_818.dts
b/arch/arm64/boot/dts/rk3368-p9_818.dts
index ef661fbffc985ef1d63300cf941bf3aaa0ad8f6d..3f7c523732080f998408a18505151e9dcc8510eb 100755
(executable)
--- a/
arch/arm64/boot/dts/rk3368-p9_818.dts
+++ b/
arch/arm64/boot/dts/rk3368-p9_818.dts
@@
-156,6
+156,12
@@
};
};
+&tsadc {
+ tsadc-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ //tsadc-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+ status = "okay";
+};
+
&pinctrl {
//used for init some gpio
init-gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;