[v6,0/2] gpio: loongson: add more gpio chip support

Message ID 20230921015247.23478-1-zhuyinbo@loongson.cn
Headers
Series gpio: loongson: add more gpio chip support |

Message

Yinbo Zhu Sept. 21, 2023, 1:52 a.m. UTC
  This patch was to add loongson 2k0500, 2k2000 and 3a5000 gpio chip
driver support.

Change in v6:
		1. Add a reviewed-by for gpio driver.
		2. Rework the commit log.
		3. Replace changes to "u32" in loongson_gpio_chip_data.
Change in v5:
		1. Use boolean initializer for lgpio->chip.can_sleep.
		2. Remove the code that about io width gain from ngpios.
		3. Fixup the ls7a-gpio and ls2k-gpio items in yaml file.
		4. Add the reviewed-by information for dt-bindings patch.
		5. Add some comments in loongson_gpio_to_irq.
Change in v4:
		1. Reword the title and commit log information.
		2. Remove the offset parse in DT and add it in of_device_id and
		   acpi_device_id's data field.
		3. Add more gpio chip dt-bindings support in yaml file.
Change in v3:
		1. Reword the dt-bindings patch commit log information.
		2. Add "loongson,ls2k1000-gpio" compatible.
Change in v2:
		1. Reword the patch commit log information.
		2. Add some GPIO register offset description in yaml.

Yinbo Zhu (2):
  gpio: dt-bindings: add more loongson gpio chip support
  gpio: loongson: add more gpio chip support

 .../bindings/gpio/loongson,ls-gpio.yaml       |  21 +++-
 drivers/gpio/gpio-loongson-64bit.c            | 119 ++++++++++++++++--
 2 files changed, 127 insertions(+), 13 deletions(-)
  

Comments

Bartosz Golaszewski Sept. 27, 2023, 7:07 a.m. UTC | #1
On Thu, Sep 21, 2023 at 3:53 AM Yinbo Zhu <zhuyinbo@loongson.cn> wrote:
>
> This patch was to add loongson 2k0500, 2k2000 and 3a5000 gpio chip
> driver support.
>
> Change in v6:
>                 1. Add a reviewed-by for gpio driver.
>                 2. Rework the commit log.
>                 3. Replace changes to "u32" in loongson_gpio_chip_data.
> Change in v5:
>                 1. Use boolean initializer for lgpio->chip.can_sleep.
>                 2. Remove the code that about io width gain from ngpios.
>                 3. Fixup the ls7a-gpio and ls2k-gpio items in yaml file.
>                 4. Add the reviewed-by information for dt-bindings patch.
>                 5. Add some comments in loongson_gpio_to_irq.
> Change in v4:
>                 1. Reword the title and commit log information.
>                 2. Remove the offset parse in DT and add it in of_device_id and
>                    acpi_device_id's data field.
>                 3. Add more gpio chip dt-bindings support in yaml file.
> Change in v3:
>                 1. Reword the dt-bindings patch commit log information.
>                 2. Add "loongson,ls2k1000-gpio" compatible.
> Change in v2:
>                 1. Reword the patch commit log information.
>                 2. Add some GPIO register offset description in yaml.
>
> Yinbo Zhu (2):
>   gpio: dt-bindings: add more loongson gpio chip support
>   gpio: loongson: add more gpio chip support
>
>  .../bindings/gpio/loongson,ls-gpio.yaml       |  21 +++-
>  drivers/gpio/gpio-loongson-64bit.c            | 119 ++++++++++++++++--
>  2 files changed, 127 insertions(+), 13 deletions(-)
>
> --
> 2.20.1
>

Queued for v6.7. Thanks!

Bart