| Message ID | 20261104-staging-ltc4284-v1-3-49fce67ebc48@analog.com |
|---|---|
| State | New |
| Headers | show |
| Series | Supporting LTC4284 which is a negative voltage hotswap controller | expand |
On Wed, Nov 04, 2026 at 11:30:02AM +0800, Alexis Czezar Torreno wrote: > Similar to LTC4283, LTC4284 has up to 8 pins that can be configured > as GPIOs and behaves the same. > > Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> > --- > drivers/gpio/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 55e4280029d86e7701d9a043c89537f60bb70c6e..de9226619ef2f77fdded123657a14c15cbba07b1 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -1864,11 +1864,11 @@ config GPIO_AD7768 > called gpio-ad7768. > > config GPIO_LTC4283 > - tristate "Analog Devices LTC4283 GPIO support" > + tristate "Analog Devices LTC4283 and similar devices GPIO support" > depends on SENSORS_LTC4283 > help > If you say yes here you want the GPIO function available in Analog > - Devices LTC4283 Negative Voltage Hot Swap Controller. > + Devices LTC4283 and similar devices Negative Voltage Hot Swap Controller. > > This driver can also be built as a module. If so, the module will > be called gpio-ltc4283. > > -- > 2.34.1 > Is there something missing from this commit? The commit message suggests there would be some code changes? Bart
> > On Wed, Nov 04, 2026 at 11:30:02AM +0800, Alexis Czezar Torreno wrote: > > Similar to LTC4283, LTC4284 has up to 8 pins that can be configured as > > GPIOs and behaves the same. > > > > Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> > > --- > > drivers/gpio/Kconfig | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index > > > 55e4280029d86e7701d9a043c89537f60bb70c6e..de9226619ef2f77fdded12365 > 7a1 > > 4c15cbba07b1 100644 > > --- a/drivers/gpio/Kconfig > > +++ b/drivers/gpio/Kconfig > > @@ -1864,11 +1864,11 @@ config GPIO_AD7768 > > called gpio-ad7768. > > > > config GPIO_LTC4283 > > - tristate "Analog Devices LTC4283 GPIO support" > > + tristate "Analog Devices LTC4283 and similar devices GPIO support" > > depends on SENSORS_LTC4283 > > help > > If you say yes here you want the GPIO function available in Analog > > - Devices LTC4283 Negative Voltage Hot Swap Controller. > > + Devices LTC4283 and similar devices Negative Voltage Hot Swap > Controller. > > > > This driver can also be built as a module. If so, the module will > > be called gpio-ltc4283. > > > > -- > > 2.34.1 > > > > Is there something missing from this commit? The commit message suggests > there would be some code changes? > LTC4284, at least in regards with the gpio stuff, is the same as the current LTC4283 -- same number of pins, names, and registers. The commit simply edits the description in Kconfig to add LTC4284 as "similar devices". Will update the commit message to be clearer on this.
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 55e4280029d86e7701d9a043c89537f60bb70c6e..de9226619ef2f77fdded123657a14c15cbba07b1 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1864,11 +1864,11 @@ config GPIO_AD7768 called gpio-ad7768. config GPIO_LTC4283 - tristate "Analog Devices LTC4283 GPIO support" + tristate "Analog Devices LTC4283 and similar devices GPIO support" depends on SENSORS_LTC4283 help If you say yes here you want the GPIO function available in Analog - Devices LTC4283 Negative Voltage Hot Swap Controller. + Devices LTC4283 and similar devices Negative Voltage Hot Swap Controller. This driver can also be built as a module. If so, the module will be called gpio-ltc4283.
Similar to LTC4283, LTC4284 has up to 8 pins that can be configured as GPIOs and behaves the same. Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> --- drivers/gpio/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)