[openbmc-kernel]: How to make pinctrl not affect pass-through function?

www ouyangxuan10 at 163.com
Tue Nov 26 12:00:06 AEDT 2019


hi Andrew,


This suggestion is my personal imperfect idea. It's also the easiest way to do it. It may not match the requirements of the kernel organization, and it may be necessary to find a more perfect method.


thanks,
Byron






At 2019-11-25 06:10:37, "Andrew Jeffery" <andrew at aj.id.au> wrote:
>
>
>On Fri, 22 Nov 2019, at 17:20, www wrote:
>> Dear Andrew,
>> 
>> Thank you. I got it.
>> Pass-through function is only a small and special part of GPIO 
>> function. 
>> If the entire pinctrl and ****/sys/class/gpio **** are changed due to 
>> this function, I am not sure whether it is appropriate.
>> 
>
>I'm not suggesting you change pinctrl at all, so I'm not sure where you
>got the idea that we'd need something so drastic as changing entire
>subsystems. What I'm proposing should boil down to a new
>configuration option to pass through the gpio userspace interface,
>then adding appropriate support to the GPIO driver. We might need
>to tinker with pinctrl a little to get the interfaces right, but nothing more.
>
>Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191126/f9fbae0b/attachment.htm>


More information about the openbmc mailing list