[PATCH v5 0/6] gpio: rockchip: support acpi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fix driver to support acpi.

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

Jianqun Xu (5):
  ARM: dts: rockchip: add gpio alias for gpio dt nodes
  ARM: dts: rockchip: add 'clock-names' for gpio dt nodes
  arm64: dts: rockchip: add gpio alias for gpio dt nodes
  arm64: dts: rockchip: add 'clock-names' for gpio dt nodes
  gpio: rockchip: support acpi

 arch/arm/boot/dts/rk3036.dtsi            |   6 +
 arch/arm/boot/dts/rk3066a.dtsi           |  12 ++
 arch/arm/boot/dts/rk3188.dtsi            |   4 +
 arch/arm/boot/dts/rk322x.dtsi            |   8 +
 arch/arm/boot/dts/rk3288.dtsi            |   9 ++
 arch/arm/boot/dts/rk3xxx.dtsi            |   4 +
 arch/arm64/boot/dts/rockchip/rk3308.dtsi |  10 ++
 arch/arm64/boot/dts/rockchip/rk3328.dtsi |   8 +
 arch/arm64/boot/dts/rockchip/rk3368.dtsi |   8 +
 arch/arm64/boot/dts/rockchip/rk3399.dtsi |  10 ++
 arch/arm64/boot/dts/rockchip/rk356x.dtsi |   5 +
 drivers/acpi/utils.c                     |  24 +++
 drivers/gpio/gpio-rockchip.c             | 197 ++++++++++++++---------
 include/acpi/acpi_bus.h                  |   1 +
 include/linux/acpi.h                     |   5 +
 15 files changed, 236 insertions(+), 75 deletions(-)

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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux