Skip to content

gpio: rockchip: support acpi

Jianqun Xu linux-gpio linux-rockchip 9 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 0 repliesNew
  2. v72 patches 1 replySuperseded
  3. v63 patches 2 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v56 patches7 repliesSuperseded
v41 patch2 repliesSuperseded
v3 posting 2/21 patch2 repliesSuperseded
v3 posting 1/21 patch0 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch0 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integerdrivers/acpi/utils.c include/acpi/acpi_bus.h include/linux/acpi.h+30 -00 replies
2/3gpio: rockchip: support acpidrivers/gpio/gpio-rockchip.c+182 -1440 replies
3/3gpiolib: make gpiochip_find_by_name to be common functiondrivers/gpio/gpiolib.c include/linux/gpio/driver.h+14 -140 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchHans de Goede
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/3] gpio: rockchip: support acpi

This patch fix driver to support acpi. A patch to pinctrl-rockchip.c will be pushed together.

Andy Shevchenko (1):
ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as
integer

Jianqun Xu (2):
gpio: rockchip: support acpi
gpiolib: make gpiochip_find_by_name to be common function

 drivers/acpi/utils.c         |  24 +++
 drivers/gpio/gpio-rockchip.c | 326 +++++++++++++++++++----------------
 drivers/gpio/gpiolib.c       |  16 +-
 include/acpi/acpi_bus.h      |   1 +
 include/linux/acpi.h         |   5 +
 include/linux/gpio/driver.h  |  12 ++
 6 files changed, 226 insertions(+), 158 deletions(-)
Signature · 34 lines
v8:
 - fix clk put in error path, acked by Andy Shevchenko
 - add pinconf set for pull and drive-strength
 - add a gpiochip_find_by_name patch, used by pinctrl

v7:
 - drop pinctrl related codes to make gpio work without pinctrl, for acpi.

v6:
 - remove dt patches from this serial patchset
 - fix clock get to only with index 0 for apb and 1 for debounce
 - move get iomem and irq first, suggested by Johan

v5:
 - add patches to add gpio alias and clock-names
 - get clock by devm_clk_get()
 - restore gpio range add comment
 - other codingstyle

v4: suggested by Andy Shevchenko
 - use dev_fwnode and to_of_node(fwnode) to replace dev->of_node
 - split to a separate rockchip_gpio_get_clocks
 - handle fail for clk_prepare_enable
 - other codingstyle

v3: suggested by Andy Shevchenko
 - fix irq size (32) to GPIO_MAX_PINS
 - fix to use is_of_node or is_acpi_node
 - use standard pattern for error handle
 - remove redundant assignment

v2:
 - fix rockchip_pin_output_deferred to rockchip_pin_deferred
2.25.1