linux/drivers/phy/rockchip
Alex Bee 2fda590994 phy: rockchip-inno-usb2: Split ID interrupt phy registers
Commit 51a9b2c03d ("phy: rockchip-inno-usb2: Handle ID IRQ") added ID
detection interrupt registers. However the current implementation assumes
that falling and rising edge interrupt are always enabled in registers
spanning over subsequent bits.
That is not the case for RK3128's version of the phy and this
implementation can't be used as-is, since there are bits with different
purpose in between.

This splits up the register definitions for id_det_en, id_det_en and
id_det_clr registers in rising and falling edge variants.
It's required as preparation to support RK3128's Innosilicon usb2 phy as
well in this driver and matches pretty much to what the vendor does, so I'm
not expecting issues for other SoCs with that change.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20231119121340.109025-2-knaerzche@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-11-27 18:36:29 +05:30
..
Kconfig phy: rockchip: Support PCIe v3 2022-09-04 20:35:48 +05:30
Makefile phy: rockchip: Support PCIe v3 2022-09-04 20:35:48 +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: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
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: rockchip-inno-usb2: Split ID interrupt phy registers 2023-11-27 18:36:29 +05:30
phy-rockchip-naneng-combphy.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-rockchip-pcie.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-rockchip-snps-pcie3.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +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