On 10/16/2015 2:04 PM, Linus Walleij wrote: > On Tue, Oct 13, 2015 at 10:31 PM, Ray Jui <rjui@xxxxxxxxxxxx> wrote: > >> One of the changes we made is to make use of the DT based gpio-ranges >> properly, i.e., we are setting GPIO->pinmux mapping in device tree >> instead of hardcoded in the driver. This feature is already supported by >> of_gpiochip_add_pin_range, called by of_gpiochip_add, called by >> gpiochip_add. >> >> Due to this, I'm not sure if the Cygnus GPIO driver is suitable as an >> example for this change. > (...) >> Linus, please advise how we should proceed with this. > > It is more important that you switch to fetching the ranges from the > device tree. That is a very important clean-up. > > Yours, > Linus Walleij > Okay. Thanks for the clarification. Pramod (CCed on this email) will likely be sending out various clean up patches early next week. Thanks, Ray -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html