linux/drivers/phy/rockchip
Michael Riesch 66bb2a020d phy: rockchip: phy-rockchip-inno-csidphy: allow writes to grf register 0
[ Upstream commit 8c7c19466c ]

The driver for the Rockchip MIPI CSI-2 DPHY uses GRF register offset
value 0 to sort out undefined registers. However, the RK3588 CSIDPHY GRF
this offset is perfectly fine (in fact, register 0 is the only one in
this register file).
Introduce a boolean variable to indicate valid registers and allow writes
to register 0.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Michael Riesch <michael.riesch@collabora.com>
Link: https://lore.kernel.org/r/20250616-rk3588-csi-dphy-v4-4-a4f340a7f0cf@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-13 15:34:22 -05:00
..
Kconfig phy: rockchip: fix Kconfig dependency more 2025-03-07 18:25:36 +01:00
Makefile phy: rockchip: add usbdp combo phy driver 2024-04-12 16:59:26 +05:30
phy-rockchip-dp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
phy-rockchip-dphy-rx0.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-rockchip-emmc.c phy: rockchip: emmc, add vendor prefix to dts properties 2021-01-13 17:28:24 +05:30
phy-rockchip-inno-csidphy.c phy: rockchip: phy-rockchip-inno-csidphy: allow writes to grf register 0 2025-11-13 15:34:22 -05:00
phy-rockchip-inno-dsidphy.c phy: rockchip: inno-dsidphy: Add rv1126 support 2023-08-22 19:28:11 +05:30
phy-rockchip-inno-hdmi.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-rockchip-inno-usb2.c phy: phy-rockchip-inno-usb2: Add RK3128 support 2023-11-27 18:36:29 +05:30
phy-rockchip-naneng-combphy.c phy: rockchip: naneng-combphy: Enable U3 OTG port for RK3568 2025-10-15 12:00:04 +02:00
phy-rockchip-pcie.c phy: rockchip-pcie: Properly disable TEST_WRITE strobe signal 2025-08-20 18:30:41 +02:00
phy-rockchip-samsung-hdptx.c phy: rockchip: samsung-hdptx: Do no set rk_hdptx_phy->rate in case of errors 2025-06-19 15:32:09 +02:00
phy-rockchip-snps-pcie3.c phy: rockchip-snps-pcie3: add support for rockchip,rx-common-refclk-mode 2024-04-13 11:36:15 +05:30
phy-rockchip-typec.c phy: rockchip: phy-rockchip-typec: Use devm_platform_get_and_ioremap_resource() 2023-07-12 22:27:40 +05:30
phy-rockchip-usb.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-rockchip-usbdp.c phy: rockchip: usbdp: Only verify link rates/lanes/voltage when the corresponding set flags are set 2025-05-29 11:02:21 +02:00