Skip to content

Rockchip pinctrl/GPIO support ACPI

Jianqun Xu linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20ACPI: 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/20pinctrl/rockchip: populate GPIO platform earlydrivers/pinctrl/pinctrl-rockchip.c+4 -40 replies
3/20pinctrl/rockchip: use fwnode instead of of_nodedrivers/pinctrl/pinctrl-rockchip.c+8 -60 replies
4/20pinctrl/rockchip: switch to use device_get_match_datadrivers/pinctrl/pinctrl-rockchip.c+1 -61 reply
5/20pinctrl/rockchip: of_populate_platform for gpio only for of nodedrivers/pinctrl/pinctrl-rockchip.c+5 -60 replies
6/20pinctrl/rockchip: parse dt only if the fwnode is of nodedrivers/pinctrl/pinctrl-rockchip.c+3 -00 replies
7/20pinctrl/rockchip: print a message if driver probed successfullydrivers/pinctrl/pinctrl-rockchip.c+1 -00 replies
8/20gpiolib: make gpiochip_find_by_name to be common functiondrivers/gpio/gpiolib.c include/linux/gpio/driver.h+14 -140 replies
9/20gpio/rockchip: drop 'bank->name' from the driverdrivers/gpio/gpio-rockchip.c+6 -60 replies
10/20gpio/rockchip: revert deferred output settings on probedrivers/gpio/gpio-rockchip.c drivers/pinctrl/pinctrl-rockchip.c drivers/pinctrl/pinctrl-rockchip.h+27 -690 replies
11/20gpio/rockchip: add of_node for gpiochipdrivers/gpio/gpio-rockchip.c+4 -05 replies
12/20gpio/rockchip: add return check for clock rate setdrivers/gpio/gpio-rockchip.c+3 -02 replies
13/20gpio/rockchip: disable and put clocks when removedrivers/gpio/gpio-rockchip.c+3 -01 reply
14/20gpio/rockchip: switch to use irq_domain_create_lineardrivers/gpio/gpio-rockchip.c+6 -30 replies
15/20gpio/rockchip: disable and put clocks when gpiolib register faileddrivers/gpio/gpio-rockchip.c+9 -22 replies
16/20gpio/rockchip: try to get gpio id from uid when ACPI enableddrivers/gpio/gpio-rockchip.c+31 -90 replies
17/20gpio/rockchip: print device with fwnode name when probe successfuldrivers/gpio/gpio-rockchip.c+1 -11 reply
18/20gpio/rockchip: make use of device propertydrivers/gpio/gpio-rockchip.c+10 -150 replies
19/20gpio/rockchip: make GPIO module work well under ACPI enableddrivers/gpio/gpio-rockchip.c+120 -850 replies
20/20pinctrl/rockchip: find existed gpiochip by gpio labeldrivers/pinctrl/pinctrl-rockchip.c drivers/pinctrl/pinctrl-rockchip.h+22 -40 replies

Reviews trailers per patch

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

PatchHans de Goede
1/20R-b
2/20
3/20
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

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

Read the v1 thread

Cover letter [PATCH 00/20] Rockchip pinctrl/GPIO support ACPI

The patchset will fix the pinctrl and GPIO driver to support ACPI enabled. There are several patches sent seperated for pinctrl and gpio branch, now let send them together make it easy to review.

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

Jianqun Xu (19):
pinctrl/rockchip: populate GPIO platform early pinctrl/rockchip: use fwnode instead of of_node pinctrl/rockchip: switch to use device_get_match_data pinctrl/rockchip: of_populate_platform for gpio only for of node pinctrl/rockchip: parse dt only if the fwnode is of node pinctrl/rockchip: print a message if driver probed successfully
gpiolib: make gpiochip_find_by_name to be common function gpio/rockchip: drop 'bank->name' from the driver gpio/rockchip: revert deferred output settings on probe gpio/rockchip: add of_node for gpiochip
gpio/rockchip: add return check for clock rate set gpio/rockchip: disable and put clocks when remove gpio/rockchip: switch to use irq_domain_create_linear gpio/rockchip: disable and put clocks when gpiolib register failed gpio/rockchip: try to get gpio id from uid when ACPI enabled gpio/rockchip: print device with fwnode name when probe successful gpio/rockchip: make use of device property gpio/rockchip: make GPIO module work well under ACPI enabled pinctrl/rockchip: find existed gpiochip by gpio label

 drivers/acpi/utils.c               |  24 +++
 drivers/gpio/gpio-rockchip.c       | 325 ++++++++++++++++-------------
 drivers/gpio/gpiolib.c             |  16 +-
 drivers/pinctrl/pinctrl-rockchip.c | 108 +++++-----
 drivers/pinctrl/pinctrl-rockchip.h |   9 +-
 include/acpi/acpi_bus.h            |   1 +
 include/linux/acpi.h               |   5 +
 include/linux/gpio/driver.h        |  12 ++
 8 files changed, 289 insertions(+), 211 deletions(-)
Signature · 4 lines
v1:
 - continue with the suggestion from Andy and Johan

2.25.1