On Mon, Oct 05, 2015 at 11:47:04AM +0200, Markus Pargmann wrote: > On Sun, Oct 04, 2015 at 03:37:42PM +0200, Johan Hovold wrote: > > You also need to revert ddd5404007b8 ("gpio-sysfs: Use gpio descriptor > > name instead of gpiochip names array") however as this is an ABI change. > > Otherwise pins with a name in DT will now be exported using the gpio name > > rather than number as they used to be. [ The current behaviour is > > maintained by exporting names from chip->names for hard coded names > > only. ] > > Even for GPIOs from DT it is not a ABI change. The only GPIOs that have > a GPIO name at the moment are using the GPIO hogging mechanism. But > hogged GPIOs can't be exported to userspace so there is no difference > for these. Yes, but you're aiming at generalising the hogging mechanism so that such pins can be requested, and that would break the ABI. Let's keep the legacy chip->names and named-gpio exports separate from defining line names in DT for now. Thanks, Johan -- 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