All of lore.kernel.org
 help / color / mirror / Atom feed
* rockchip rk3328 pinctrl unable to change gpio function of pins defined in rk3328_mux_recalced_data
@ 2023-04-19 16:12 Kernel.org Bugbot
  2023-04-19 16:12 ` Kernel.org Bugbot
                   ` (13 more replies)
  0 siblings, 14 replies; 33+ messages in thread
From: Kernel.org Bugbot @ 2023-04-19 16:12 UTC (permalink / raw)
  To: bugs, linus.walleij, linux-gpio

antwain.schneider writes via Kernel.org Bugzilla:

rock64 exposes i2s1 on a secondary 22 pin header on the machine, this includes gpio2b7
since i don't care about i2s and those pins would be more valuable as gpios, i explicitly disabled i2s1 in the device tree
i set gpio2b7 as a cs-gpio but it wasn't working, eventually i got bold and actually started looking at the grf in memory

ma -k /dev/gpiomem dd 0x28 4
00000020  -------- --------  00000001

no matter how many i2s1 things i disabled or removed from the dtb, GRF_GPIO2BH_IOMUX always read 00000001, meaning i2s1_mclk seems hardcoded
eventually i found the description in commit 3818e4a7678ea70508b6b6e72a4cbf445e1e7dfa and realized gpio2b4 also gives me trouble
i feel this is a bug, but probably not important for a 6 year old chip

View: https://bugzilla.kernel.org/show_bug.cgi?id=217334#c0
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (peebz 0.1)


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2025-01-18 16:46 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 16:12 rockchip rk3328 pinctrl unable to change gpio function of pins defined in rk3328_mux_recalced_data Kernel.org Bugbot
2023-04-19 16:12 ` Kernel.org Bugbot
2023-04-21 10:32 ` Kernel.org Bugbot
2023-04-21 10:43 ` Kernel.org Bugbot
2023-04-22 21:08 ` rockchip rk3328 pinctrl overflow Kernel.org Bugbot
2023-04-22 21:08   ` Kernel.org Bugbot
2023-04-22 21:08   ` Kernel.org Bugbot
2023-05-04 11:01 ` [PATCH] pinctrl: rockchip: rk3328: rk3328_mux_recalced_data: fix bit alignment Kernel.org Bugbot
2023-05-04 11:01   ` Kernel.org Bugbot
2023-05-04 11:01   ` Kernel.org Bugbot
2023-05-19  7:10 ` Kernel.org Bugbot
2023-05-19  7:10   ` Kernel.org Bugbot
2023-05-19  7:10   ` Kernel.org Bugbot
2023-06-07 11:55 ` https://bugzilla.kernel.org/show_bug.cgi?id=217334 arm arm64 aarch64 pinctrl rockchip rk3328 rk3328_mux_recalced_data bits overflowing Kernel.org Bugbot
2023-06-07 11:55   ` Kernel.org Bugbot
2023-06-07 11:55   ` Kernel.org Bugbot
2023-06-28  9:20 ` rk3328_mux_recalced_data OVERFLOW noncontiguous CARRIED bits Kernel.org Bugbot
2023-06-28  9:20   ` Kernel.org Bugbot
2023-06-28  9:20   ` Kernel.org Bugbot
2023-08-27 14:52 ` linux rockchip gpio2b4 (gpio2b5) gpio2b7 broken GRF_GPIO2BL_IOMUX GRF_GPIO2BH_IOMUX 2bits 3bits pinctrl rk3328_mux_recalced_data (a fix exists, for a commiter brave enough to commit it) Kernel.org Bugbot
2023-08-27 14:52   ` Kernel.org Bugbot
2023-08-27 14:52   ` Kernel.org Bugbot
2024-01-29 14:15 ` Kernel.org Bugbot
2024-01-29 14:15   ` Kernel.org Bugbot
2024-01-29 14:15   ` Kernel.org Bugbot
2024-01-30 18:55 ` Kernel.org Bugbot
2024-01-30 18:55   ` Kernel.org Bugbot
2024-01-30 18:55   ` Kernel.org Bugbot
2024-01-31 21:05 ` inux ockchip pio2b4 (pio2b5) pio2b7 roken GRF_PIO2BL_IOMUX GRF_PIO2BH_IOMUX 2bits 3bits pinctrl rk332_mux_ecalced_data Kernel.org Bugbot
2024-07-05  4:30 ` RK3328 Kernel.org Bugbot
2024-07-05  4:30   ` RK3328 Kernel.org Bugbot
2025-01-18 16:45 ` RK3328 antwain.schneider via Bugspray Bot
2025-01-18 16:45   ` RK3328 antwain.schneider via Bugspray Bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.