From 75f09556956c0fb5a63b6a708c10ab1544cd4ccc Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Thu, 28 Dec 2017 18:39:51 -0500 Subject: 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. --- skey.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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>; -- cgit v1.1