Skip to content

pinctrl: rockchip: fix RK3328 pinmux bits

Huang-Huang Bao linux-arm-kernel linux-gpio linux-rockchip lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- split commits for GPIO2-B pins and GPIO3-B pins each
- add a missing Fixes as suggested by Heiko
- add Reviewed-by to last 2 patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pinsdrivers/pinctrl/pinctrl-rockchip.c+1 -72 replies
2/4pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pinsdrivers/pinctrl/pinctrl-rockchip.c+51 -05 replies
3/4pinctrl: rockchip: use dedicated pinctrl type for RK3328drivers/pinctrl/pinctrl-rockchip.c drivers/pinctrl/pinctrl-rockchip.h+5 -10 replies
4/4pinctrl: rockchip: fix pinmux reset in rockchip_pmx_setdrivers/pinctrl/pinctrl-rockchip.c+3 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchHeiko Stuebner
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] pinctrl: rockchip: fix RK3328 pinmux bits

The pinmux settings for RK3328 is incomplete, correct the pin bank settings and recalced mux data according to RK3328 TRM[1].

There was a patch[2] in rockchip-linux kernel repo that cover part of missing mux settings, unfortunatly it never got into upstream kernel source.

The last patch fixes an issue in rockchip_pmx_set which is general for all rockchip platforms that might cause unexpected pinmux to be set to 0.

[1]: https://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf
[2]: https://github.com/rockchip-linux/kernel/commit/d69af8ab6534bb28c1556076f08d2a5ab4935d95

v2:
- split commits for GPIO2-B pins and GPIO3-B pins each
- add a missing Fixes as suggested by Heiko
- add Reviewed-by to last 2 patches

Huang-Huang Bao (4):
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins
pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins
pinctrl: rockchip: use dedicated pinctrl type for RK3328
pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set

 drivers/pinctrl/pinctrl-rockchip.c | 68 ++++++++++++++++++++++++++----
 drivers/pinctrl/pinctrl-rockchip.h |  1 +
 2 files changed, 60 insertions(+), 9 deletions(-)

base-commit: 2df0193e62cf887f373995fb8a91068562784adc --
2.45.2