Message ID | 20200513141134.25819-1-lars.povlsen@microchip.com |
---|---|
Headers | show |
Series | pinctrl: Adding support for Microchip serial GPIO controller | expand |
On 5/13/20 7:11 AM, Lars Povlsen wrote: > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > index 834c59950d1cf..2b0e9021fd7e0 100644 > --- a/drivers/pinctrl/Kconfig > +++ b/drivers/pinctrl/Kconfig > @@ -396,6 +396,23 @@ config PINCTRL_OCELOT > select OF_GPIO > select REGMAP_MMIO > > +config PINCTRL_MSCC_SGPIO > + bool "Pinctrl driver for Microsemi Serial GPIO" > + depends on OF > + depends on HAS_IOMEM > + select GPIOLIB > + select GENERIC_PINCONF > + select GENERIC_PINCTRL_GROUPS > + select GENERIC_PINMUX_FUNCTIONS > + select OF_GPIO > + help > + Support for the VCoreIII SoC serial GPIO device. By using a Line above should be indented with one tab + 2 spaces... like the lines below. > + serial interface, the SIO controller significantly extends > + the number of available GPIOs with a minimum number of > + additional pins on the device. The primary purpose of the > + SIO controller is to connect control signals from SFP > + modules and to act as an LED controller. > + thanks.
Randy Dunlap writes: > On 5/13/20 7:11 AM, Lars Povlsen wrote: >> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig >> index 834c59950d1cf..2b0e9021fd7e0 100644 >> --- a/drivers/pinctrl/Kconfig >> +++ b/drivers/pinctrl/Kconfig >> @@ -396,6 +396,23 @@ config PINCTRL_OCELOT >> select OF_GPIO >> select REGMAP_MMIO >> >> +config PINCTRL_MSCC_SGPIO >> + bool "Pinctrl driver for Microsemi Serial GPIO" >> + depends on OF >> + depends on HAS_IOMEM >> + select GPIOLIB >> + select GENERIC_PINCONF >> + select GENERIC_PINCTRL_GROUPS >> + select GENERIC_PINMUX_FUNCTIONS >> + select OF_GPIO >> + help >> + Support for the VCoreIII SoC serial GPIO device. By using a > > Line above should be indented with one tab + 2 spaces... > like the lines below. > Well spotted... >> + serial interface, the SIO controller significantly extends >> + the number of available GPIOs with a minimum number of >> + additional pins on the device. The primary purpose of the >> + SIO controller is to connect control signals from SFP >> + modules and to act as an LED controller. >> + > > thanks. Thank you for your comments.