summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-28 18:39:51 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-28 18:39:51 -0500
commit75f09556956c0fb5a63b6a708c10ab1544cd4ccc (patch)
tree646b9f791e6feed937aaf776b591bbf612c563ca
parentba55cbff3a7abab2031db1436a26caf4c4d7388d (diff)
after some testing, the issues with bcmpins 4 and 15 were indeed that they were pull-up, this means that the issue lies with the device tree overlay not working as intended. two properties have been added to hopefully make this overlay load as intended. the compatible field has been uncommented as the driver is stable enough to be loaded automatically.
-rw-r--r--skey.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/skey.dts b/skey.dts
index 7e74aca..ed1eeef 100644
--- a/skey.dts
+++ b/skey.dts
@@ -8,7 +8,7 @@
target-path = "/";
__overlay__ {
skey: skey {
- //compatible = "skey";
+ compatible = "skey";
status = "okay";
gpios = <10 24 23 22 27 18 17 15 14 4 3 6 5>;
};
@@ -17,6 +17,8 @@
fragment@1 {
target = <&gpio>;
__overlay__ {
+ pinctrl-names = "default";
+ pinctrl-0 = <&skey_pins>;
skey_pins: skey_pins {
bcrm,pins = <10 24 23 22 27 18 17 15 14 4 3 6 5>;
bcrm,function = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x1 0x1>;