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