[PATCH v3 0/2] rockchip pinctrl for acpi
Jianqun Xu
jay.xu at rock-chips.com
Mon Sep 19 20:34:02 PDT 2022
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 gpio label
pinctrl: rockchip: get match data by device_get_match_data
drivers/pinctrl/pinctrl-rockchip.c | 55 ++++++++++++++++++++----------
drivers/pinctrl/pinctrl-rockchip.h | 2 +-
2 files changed, 38 insertions(+), 19 deletions(-)
--
v3:
- fix 'gpio' to 'GPIO', 'rockchip' to 'Rockchip'
- use gpiochip_find_by_name
v2:
- add a second patch to support acpi
2.25.1
More information about the Linux-rockchip
mailing list