Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-09 Thread Linus Walleij
On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and

Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-08 Thread Kevin Hilman
Axel Haslam writes: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and for drivers > to use the gpiod

Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-08 Thread Sekhar Nori
On Tuesday 08 November 2016 07:01 PM, Linus Walleij wrote: > On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > >> The gpiod framework uses the chip label to match a specific chip. >> The davinci gpio driver, creates several chips using always the same >> label, which is not compatible with gp

Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-08 Thread Linus Walleij
On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and

[PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-03 Thread Axel Haslam
The gpiod framework uses the chip label to match a specific chip. The davinci gpio driver, creates several chips using always the same label, which is not compatible with gpiod. To allow platform data to declare gpio lookup tables, and for drivers to use the gpiod framework, allocate unique label