mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
pinctrl: rockchip: add support for rk3568 pull set
Change-Id: Icbd6baab7459db6488babcee1f594e0668c43cab Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -3121,6 +3121,7 @@ static int rockchip_get_pull(struct rockchip_pin_bank *bank, int pin_num)
|
||||
case RK3308:
|
||||
case RK3368:
|
||||
case RK3399:
|
||||
case RK3568:
|
||||
pull_type = bank->pull_type[pin_num / 8];
|
||||
data >>= bit;
|
||||
data &= (1 << RK3188_PULL_BITS_PER_PIN) - 1;
|
||||
@@ -3168,6 +3169,7 @@ static int rockchip_set_pull(struct rockchip_pin_bank *bank,
|
||||
case RK3308:
|
||||
case RK3368:
|
||||
case RK3399:
|
||||
case RK3568:
|
||||
pull_type = bank->pull_type[pin_num / 8];
|
||||
ret = -EINVAL;
|
||||
for (i = 0; i < ARRAY_SIZE(rockchip_pull_list[pull_type]);
|
||||
|
||||
Reference in New Issue
Block a user