Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-28 Thread Kevin Hilman
Neil Armstrong writes: > On 03/28/2017 11:30 AM, Linus Walleij wrote: >> On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong >> wrote: >> >> '> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges >>> is needed when gpiochip_add_data() is called but in the current >>> implem

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-28 Thread Linus Walleij
On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong wrote: > When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges > is needed when gpiochip_add_data() is called but in the current implementation > the ranges are added from the driver afterwards. > > A simple solution is to rely

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-28 Thread Linus Walleij
On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong wrote: '> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges > is needed when gpiochip_add_data() is called but in the current implementation > the ranges are added from the driver afterwards. > > A simple solution is to rely

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-28 Thread Neil Armstrong
On 03/28/2017 11:30 AM, Linus Walleij wrote: > On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong > wrote: > > '> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges >> is needed when gpiochip_add_data() is called but in the current >> implementation >> the ranges are added

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-24 Thread Neil Armstrong
On 03/23/2017 09:09 PM, Martin Blumenstingl wrote: > Hi Neil, > > On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong > wrote: >> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges >> is needed when gpiochip_add_data() is called but in the current >> implementation >> the ra

Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-23 Thread Martin Blumenstingl
Hi Neil, On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong wrote: > When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges > is needed when gpiochip_add_data() is called but in the current implementation > the ranges are added from the driver afterwards. > > A simple solution is

[RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT

2017-03-23 Thread Neil Armstrong
When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges is needed when gpiochip_add_data() is called but in the current implementation the ranges are added from the driver afterwards. A simple solution is to rely on the DR gpio-ranges attribute and remove the call to gpiochip_ad