Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-17 Thread Ian Campbell
On Wed, 2015-09-16 at 15:40 +0100, Ian Campbell wrote: > > The intend of the symlink was that the conversion script would copy the > > target, > > rather then follow the symlink. This sorta assumes that there are will be > > not > > symlinks under dt-bindings which link to files inside

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-17 Thread Hans de Goede
Hi, On 09/17/2015 07:00 AM, Ian Campbell wrote: On Wed, 2015-09-16 at 15:40 +0100, Ian Campbell wrote: The intend of the symlink was that the conversion script would copy the target, rather then follow the symlink. This sorta assumes that there are will be not symlinks under dt-bindings which

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-17 Thread Rob Herring
On 09/17/2015 02:35 PM, Hans de Goede wrote: > Hi, > > On 09/17/2015 07:00 AM, Ian Campbell wrote: >> On Wed, 2015-09-16 at 15:40 +0100, Ian Campbell wrote: The intend of the symlink was that the conversion script would copy the target, rather then follow the symlink. This sorta

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-17 Thread Hans de Goede
Hi, On 09/17/2015 04:00 PM, Rob Herring wrote: On 09/17/2015 02:35 PM, Hans de Goede wrote: Hi, On 09/17/2015 07:00 AM, Ian Campbell wrote: On Wed, 2015-09-16 at 15:40 +0100, Ian Campbell wrote: The intend of the symlink was that the conversion script would copy the target, rather then

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-16 Thread Hans de Goede
Hi, On 09/15/2015 07:24 AM, Ian Campbell wrote: On Sat, 2015-09-12 at 15:26 +0200, Hans de Goede wrote: Add a symlink to uapi/linux/input-event-codes.h, and include that instead of (re)defining all the evdev type and code values in dt-bindings/input/input.h. This way we do not need to keep all

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-16 Thread Ian Campbell
On Wed, 2015-09-16 at 10:27 -0400, Hans de Goede wrote: > Hi, > > On 09/15/2015 07:24 AM, Ian Campbell wrote: > > On Sat, 2015-09-12 at 15:26 +0200, Hans de Goede wrote: > > > Add a symlink to uapi/linux/input-event-codes.h, and include that > > > instead > > > of (re)defining all the evdev type

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-16 Thread Hans de Goede
Hi, On 09/16/2015 10:40 AM, Ian Campbell wrote: On Wed, 2015-09-16 at 10:27 -0400, Hans de Goede wrote: Hi, On 09/15/2015 07:24 AM, Ian Campbell wrote: On Sat, 2015-09-12 at 15:26 +0200, Hans de Goede wrote: Add a symlink to uapi/linux/input-event-codes.h, and include that instead of

Re: [PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-15 Thread Ian Campbell
On Sat, 2015-09-12 at 15:26 +0200, Hans de Goede wrote: > Add a symlink to uapi/linux/input-event-codes.h, and include that instead > of (re)defining all the evdev type and code values in > dt-bindings/input/input.h. This way we do not need to keep all the > event codes synced manually. > >

[PATCH 2/3] devicetree: bindings: use input-event-codes.h for evdev codes

2015-09-12 Thread Hans de Goede
Add a symlink to uapi/linux/input-event-codes.h, and include that instead of (re)defining all the evdev type and code values in dt-bindings/input/input.h. This way we do not need to keep all the event codes synced manually. Signed-off-by: Hans de Goede ---