Re: [beagleboard] DTS for keyboard Keys question

2015-05-19 Thread Bremenpl
I have just tested the dts again. My configruation is a tact switch connecting the line to ground. The line is internally pulled up. When i used: gpios = <&gpio3 9 0x0>; The letters apperead when i released the button, not when i pressed it. When i changed to: gpios = <&gpio3 9 0x1>; The lette

Re: [beagleboard] DTS for keyboard Keys question

2015-05-19 Thread Bremenpl
Thank you, gonna test it asap. On May 19, 2015 4:12:37 PM Robert Nelson wrote: On Tue, May 19, 2015 at 9:08 AM, Bremenpl wrote: > This is 3.8+. > So is gpio2 = &gpio3? Then in my case, if my button lines are internally > pulled up and the keys short them to gnd, should i use: > gpios = <&gpi

Re: [beagleboard] DTS for keyboard Keys question

2015-05-19 Thread Robert Nelson
On Tue, May 19, 2015 at 9:08 AM, Bremenpl wrote: > This is 3.8+. > So is gpio2 = &gpio3? Then in my case, if my button lines are internally > pulled up and the keys short them to gnd, should i use: > gpios = <&gpio3 9 0x0>; ? Correct Regards, -- Robert Nelson https://rcn-ee.com/ -- For more

Re: [beagleboard] DTS for keyboard Keys question

2015-05-19 Thread Bremenpl
This is 3.8+. So is gpio2 = &gpio3? Then in my case, if my button lines are internally pulled up and the keys short them to gnd, should i use: gpios = <&gpio3 9 0x0>; ? On May 19, 2015 4:04:30 PM Robert Nelson wrote: On Tue, May 19, 2015 at 8:51 AM, bremenpl wrote: > Hello there, > I am

Re: [beagleboard] DTS for keyboard Keys question

2015-05-19 Thread Robert Nelson
On Tue, May 19, 2015 at 8:51 AM, bremenpl wrote: > Hello there, > I am trying to create a dts file for an 8 buttons keyboard. The pins I am > using are: > P8_35, > P8_36, > P8_39, > P8_40, > P8_41, > P8_42, > P8_43, > P8_44 > > HDMI is turned off. Using Dereks molloy book, I have found an example

[beagleboard] DTS for keyboard Keys question

2015-05-19 Thread bremenpl
Hello there, I am trying to create a dts file for an 8 buttons keyboard. The pins I am using are: P8_35, P8_36, P8_39, P8_40, P8_41, P8_42, P8_43, P8_44 HDMI is turned off. Using Dereks molloy book, I have found an example dts file for P9_15 key: https://pastebin.com/kKp3ji7s There are 2 main p