NAK: [PATCH 0/2][SRU][J] Add ODM driver gpio-m058ssan

Tim Gardner tim.gardner at canonical.com
Wed Jan 3 17:31:54 UTC 2024


On 12/27/23 8:23 PM, AceLan Kao wrote:
> From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/2045386
> 
> [ Impact ]
> gpio-m058ssan driver needed for ODM partner
> 
> [ Test Plan ]
> Connect the loopback GPIO connector to the ReliaCOR-40-13 system and
> connect the power supply of the GPIO connector.
> 
> insert the "m058ssan" module:
> modprobe m058ssan
> 
> create GPIOchip:
> echo "m058ssan 0x40" > /sys/bus/i2c/devices/i2c-0/new_device
> 
> get the GPIO chip base and export 16 GPIOs. The former 8 are GPOs,
> the latter 8 are GPIs.
> 
> Set and reset all of the GPOs one at a time and check that the
> corresponding GPI is set and reset accordingly.
> 
> [ Where problems could occur ]
> Make sure that the power supply of the GPIO connector is correctly
> connected, otherwise the GPI will always report 0.
> Events could occur on the i2c bus communication that may cause
> miss-behavior of the driver.
> 
> Chia-Lin Kao (AceLan) (1):
>    UBUNTU: [Config] updateconfigs for ODM drivers CONFIG_GPIO_M058SSAN
> 
> Filippo Copetti (1):
>    UBUNTU: SAUCE: ODM: gpio: add M058SSAN gpio driver
> 
>   MAINTAINERS                      |   5 +
>   debian.master/config/annotations |   1 +
>   drivers/gpio/Kconfig             |   6 +
>   drivers/gpio/Makefile            |   1 +
>   drivers/gpio/gpio-m058ssan.c     | 192 +++++++++++++++++++++++++++++++
>   5 files changed, 205 insertions(+)
>   create mode 100644 drivers/gpio/gpio-m058ssan.c
> 

This driver has the same problem as rtc-pcf85263, i.e., sketchy 
provenance, adding an out of tree driver to a stable kernel without 
first merging it into newer kernels.
-- 
-----------
Tim Gardner
Canonical, Inc




More information about the kernel-team mailing list