Re: [RFC PATCH 05/10] net: dsa: mv88e6xxx: add support for GPIO configuration

2018-02-04 Thread Andrew Lunn
On Sun, Feb 04, 2018 at 11:53:58AM -0800, Florian Fainelli wrote: > On 02/03/2018 01:40 PM, Andrew Lunn wrote: > > From: Brandon Streiff > > > > MV88E6352 and later switches support GPIO control through the "Scratch > > & Misc" global2 register. (Older switches do too, though with a slightly > >

Re: [RFC PATCH 05/10] net: dsa: mv88e6xxx: add support for GPIO configuration

2018-02-04 Thread Florian Fainelli
On 02/03/2018 01:40 PM, Andrew Lunn wrote: > From: Brandon Streiff > > 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.) > > A

[RFC PATCH 05/10] net: dsa: mv88e6xxx: add support for GPIO configuration

2018-02-03 Thread Andrew Lunn
From: Brandon Streiff 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 S