pinctrl: rockchip: rk3328: Fix pinmux for GPIO2-B

Since the iomux type for GPIO2-B has been fixed to IOMUX_WIDTH_2BIT, the
registers for pins 8 to 14 can now be calculated correctly. Therefore,
pins 8 to 14 have been removed from rk3328_mux_recalced_data.

Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I0af399d1fed813934e753bd08842b2ab182dce92
This commit is contained in:
Ye Zhang 2025-01-10 10:08:08 +08:00
parent 96900fe2fe
commit 5c3cf57fce

View file

@ -719,49 +719,7 @@ static struct rockchip_mux_recalced_data rk3308_mux_recalced_data[] = {
static struct rockchip_mux_recalced_data rk3328_mux_recalced_data[] = {
{
.num = 2,
.pin = 8,
.reg = 0x24,
.bit = 0,
.mask = 0x3
}, {
.num = 2,
.pin = 9,
.reg = 0x24,
.bit = 2,
.mask = 0x3
}, {
.num = 2,
.pin = 10,
.reg = 0x24,
.bit = 4,
.mask = 0x3
}, {
.num = 2,
.pin = 11,
.reg = 0x24,
.bit = 6,
.mask = 0x3
}, {
.num = 2,
.pin = 12,
.reg = 0x24,
.bit = 8,
.mask = 0x3
}, {
/* gpio2_b7_sel */
.num = 2,
.pin = 13,
.reg = 0x24,
.bit = 10,
.mask = 0x3
}, {
.num = 2,
.pin = 14,
.reg = 0x24,
.bit = 12,
.mask = 0x3
}, {
.num = 2,
.pin = 15,
.reg = 0x28,