RE: [PATCH 0/2] GPIO joystick driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> > As far as I can tell, there is no way to specify values for ABS-"keys"
> > in the device tree binding.
> 
> It may not be present in device tree binding, but the driver does support it,
> so I would rather extend the binding than have a brand new driver.

All right, I find it a bit like whacking a round peg down a square hole, but I'll head down that path and see where it leads.

> > While both the device tree binding and the gpio-keys driver could
> > possibly be adapted to support this, it makes sense to me to describe
> > joysticks in a separate binding and keep the driver implementations apart.
> 
> Why? From the input core perspective there is no difference. It is just a
> device that emits set of events.
> 

>From a hardware-description/devicee-tree binding perspective its confusing (at least to me) to describe joysticks as keyboards.

> > In addition to this,  auto-repeat and the sys fs disable interface for
> > individual keys does not make sense for joysticks.
> 
> You do not need to use it when you describe the device (BTW autorepeat for
> trigger might be a good thing).

Ah, yes. autofire. 

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux