Re: [PATCH net-next v2 2/2] net: dsa: mt7530: MT7530 optional GPIO support

2021-01-26 Thread Andrew Lunn
On Mon, Jan 25, 2021 at 12:43:22PM +0800, DENG Qingfang wrote: > MT7530's LED controller can drive up to 15 LED/GPIOs. > > Add support for GPIO control and allow users to use its GPIOs by > setting gpio-controller property in device tree. > > Signed-off-by: DENG Qingfang Reviewed-by: Andrew Lun

Re: [PATCH net-next v2 2/2] net: dsa: mt7530: MT7530 optional GPIO support

2021-01-25 Thread Linus Walleij
On Mon, Jan 25, 2021 at 5:43 AM DENG Qingfang wrote: > MT7530's LED controller can drive up to 15 LED/GPIOs. > > Add support for GPIO control and allow users to use its GPIOs by > setting gpio-controller property in device tree. > > Signed-off-by: DENG Qingfang Reviewed-by: Linus Walleij Your

[PATCH net-next v2 2/2] net: dsa: mt7530: MT7530 optional GPIO support

2021-01-24 Thread DENG Qingfang
MT7530's LED controller can drive up to 15 LED/GPIOs. Add support for GPIO control and allow users to use its GPIOs by setting gpio-controller property in device tree. Signed-off-by: DENG Qingfang --- Changes v1 -> v2: Set Output Enable after changing direction to output to avoid signal glitch.