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(-) -- 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