lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 4 Feb 2018 11:53:58 -0800 From: Florian Fainelli <f.fainelli@...il.com> To: Andrew Lunn <andrew@...n.ch>, netdev <netdev@...r.kernel.org> Cc: Vivien Didelot <vivien.didelot@...oirfairelinux.com>, sean.wang@...iatek.com, Woojung.Huh@...rochip.com, john@...ozen.org, jbe@...gutronix.de, richardcochran@...il.com, Brandon Streiff <brandon.streiff@...com> Subject: Re: [RFC PATCH 05/10] net: dsa: mv88e6xxx: add support for GPIO configuration On 02/03/2018 01:40 PM, Andrew Lunn wrote: > From: Brandon Streiff <brandon.streiff@...com> > > MV88E6352 and later switches support GPIO control through the "Scratch > & Misc" global2 register. (Older switches do too, though with a slightly > different register interface. Only the 6352-style is implemented here.) > > Add a new file, global2_scratch.c, for operations in the Scratch & Misc > space. Additionally, add a GPIO operations structure to present an > abstract view over GPIO manipulation. > > Reverse Christmas tree and unsigned has been replaced with unsigned > int by Andrew Lunn. I thought one of the comments made on Brian's original submission was to expose GPIO pins as a proper gpiochip which incidentally might help with GPIOs on the switch being used for other purposes (e.g; LEDs, etc.), is that an option here? -- Florian
Powered by blists - more mailing lists