pinctrl: rockchip: rk3568 GPIO0_D3/4/5/6 pull up value 2b'11
For GPIO0_D3/4/5/6 in RK3568 SoCs, the pull setting special: 2'b00: Z(Normal operation); 2'b01: Z(Normal operation); 2'b10: Weak 0(pull-down); 2'b11: Weak 1(pull-up); Change-Id: I7216063aa393104495d39436a84b9ccd1eedf466 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
parent
79fb532528
commit
ffbfbb30d8
1 changed files with 5 additions and 0 deletions
|
|
@ -3020,6 +3020,11 @@ static int rockchip_set_pull(struct rockchip_pin_bank *bank,
|
|||
}
|
||||
}
|
||||
|
||||
if (ctrl->type == RK3568 && bank->bank_num == 0 && pin_num >= 27 && pin_num <= 30) {
|
||||
if (ret == 1)
|
||||
ret = 3;
|
||||
}
|
||||
|
||||
if (ret < 0) {
|
||||
dev_err(info->dev, "unsupported pull setting %d\n",
|
||||
pull);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue