Re: Add GPIO support for mcp251x driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/19 2:57 PM, Schlüßler, Timo wrote:
> I will, sorry for the inconvenience.

np

>>> 1. How to handle power management? Does the driver have to restore the 
>>> previous gpio state?
>> I'm not sure if a framework takes care of this. Have you had a look at other GPIO drivers in drivers/gpio:
> 
>> gpio-74x164.c	
>> gpio-max3191x.c
>> gpio-max7301.c
>> gpio-mc33880.c
>> gpio-xra1403.c
> 
> All of these seem to not handle power management at all, but others
> do a complete register bank restore, e.g. gpio-brcmstb.c or
> gpio-pxa.c. So I think it would be best to support this in the
> mcp251x driver as well.

ACK

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux