Le 17/06/2015 17:55, Stephen Warren a écrit : > On 06/17/2015 06:38 AM, Ludovic Desroches wrote: [..] >> I have sent patches months ago trying to improve things by having >> something more flexible. I don't think I introduce too big changes. >> The only answers I got were from people thinking that pinctrl framework >> conception is not good to fit all kind of controllers. I re-sent the >> patch series to gain more expose and have no answer... > > I don't see anything in your description which implies pinctrl isn't > perfectly suitable for your HW. We are not talking about suitability, we are talking about some little changes to the generic part, just to have more accurate information and a little bit more flexibility with our controller. We read the drivers that Stephen pointed out and it seems that it even doesn't use the whole generic part of the pinconf. Moreover, we do think that the statement "one pin" == "one group" leads to a loss of information and ease of use. We are not talking about the use of defines, tables, macros to reach an usable pinctrl: let's say that we have different views. > Note that I'm on vacation for a couple weeks soon, and I don't expect to > follow this conversation during that time. Ultimately, LinusW owns the > pinctrl subsystem, and you need to convince him of any changes. Okay, so we are back at the same situation we had ended up with several months ago: - no agreement on 3 points: 1/ ways to use groups in generic pinctrl 2/ ways to describe a comprehensive configuration in device tree 3/ readability of a sysfs information - no way out on the generic pinctrl little changes that Ludovic proposed as Linus W. never gave his point of view (RFC posts on April the 2nd). Ludovic explained at length our point of view and gave detailed technical arguments. We don't intend to convince you, we just would like the harmless modifications to be integrated. As we preferred to give a chance to the generic pinconf/pinctrl for our use by adding a little bit of flexibility, we are now in a situation where we are nearly obliged to give up this approach and write a new driver without the use of the generic facilities: what a pity! We lost several months of useless work to match what we thought the maintainer would prefer. So Linus, do you confirm that we won't go further with this approach? We are pretty disappointed by the way this interaction with the pinctrl sub-system went. Best regards, -- Nicolas Ferre -- 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