On Saturday, February 6, 2016 at 3:31:44 PM UTC-6, RobertCNelson wrote: > > On Sat, Feb 6, 2016 at 2:56 PM, pabigot <[email protected] <javascript:>> > wrote: > > I've got a custom cape for BeagleBone Black which has several > peripherals > > including a 5-switch joystick. I have device tree nodes for each > peripheral > > which I add to a copy of am335x-boneblack.dts and use as a fixed device > tree > > (no overlays) loaded by u-boot. The joystick pins are bound to > gpio-keys > > using the gpios property, but I don't specify the interrupts property. > > > > All peripherals work fine on 3.8.13-bone79, including the joystick > (using > > evtest). > > > > On 4.1.16-ti-rt-r44 the joystick does not work. The input device is > > created, and evtest displays the keys it supports, but does not generate > > events when the joystick is manipulated. > > The gpio#'s changed after 3.8, in your gpio-key property, for "gpio3 > use &gpio3" not "$gpio4" like was used on 3.8.x >
I knew that &uart2 from 3.8 needed to be &uart1 as of 3.12, and had fixed that. I hadn't realized the same issue affected the &gpioX aliases, because the applications using gpio-of-helper + sysfs "just worked". Shifting all the &gpioX aliases down one level fixes the problem. Many thanks for the solution, and all your work on BeagleBone. Peter -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
