mbox series

[v2,0/2] rockchip pinctrl for acpi

Message ID 20220917033239.626597-1-jay.xu@rock-chips.com (mailing list archive)
Headers show
Series rockchip pinctrl for acpi | expand

Message

Jianqun Xu Sept. 17, 2022, 3:32 a.m. UTC
These patch fixes to support acpi by:
1. populate gpio platform before pinctrl to probe
2. get gpiochip by finding from gpiochip list
3. get match data by device api

Jianqun Xu (2):
  pinctrl: rockchip: find gpiochip by name from gpio module
  pinctrl: rockchip: get match data by device_get_match_data

 drivers/pinctrl/pinctrl-rockchip.c | 62 +++++++++++++++++++++---------
 drivers/pinctrl/pinctrl-rockchip.h |  2 +-
 2 files changed, 45 insertions(+), 19 deletions(-)