mbox series

[v3,0/4] Devicetree support for Loongson-1 GPIO

Message ID 20230315110650.142577-1-keguang.zhang@gmail.com
Headers show
Series Devicetree support for Loongson-1 GPIO | expand

Message

Keguang Zhang March 15, 2023, 11:06 a.m. UTC
Update the driver to add DT support and dt-binding document,
along with other minor changes.

Changelog
V2 -> V3: Explain the reason for changing the author name in commit message
          Drop the patch "gpio: loongson1: Use readl() & writel()"
          Restore the calling of __raw_readl() & __raw_writel()
          Add Reviewed-by tag from Krzysztof Kozlowski
V1 -> V2: Keep GPLv2, just convert to SPDX identifier
          Split the change of calling readl() & writel() to a separate patch
          Let gpiolib parse ngpios property
          Remove unnecessary alias id parsing
          Remove superfluous initialization done by bgpio_init()
          Add MODULE_DEVICE_TABLE()
          Other minor fixes
          Use the same consistent quotes
          Delete superfluous examples

Keguang Zhang (4):
  gpio: loongson1: Convert to SPDX identifier
  gpio: loongson1: Introduce ls1x_gpio_chip struct
  gpio: loongson1: Add DT support
  dt-bindings: gpio: Add Loongson-1 GPIO

 .../bindings/gpio/loongson,ls1x-gpio.yaml     | 49 +++++++++++++
 drivers/gpio/gpio-loongson1.c                 | 71 +++++++++++--------
 2 files changed, 92 insertions(+), 28 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/loongson,ls1x-gpio.yaml


base-commit: 0c14f3aa388d3becd38923869e17f9947a5e5926