]> git.baikalelectronics.ru Git - kernel.git/commit
phy: samsung: ufs: support secondary ufs phy
authorChanho Park <chanho61.park@samsung.com>
Tue, 7 Jun 2022 07:29:07 +0000 (16:29 +0900)
committerVinod Koul <vkoul@kernel.org>
Wed, 8 Jun 2022 16:21:33 +0000 (21:51 +0530)
commit11418e2dbf8594460fc37714443945e9fc25320d
tree0f90d290ec66497a7788b19ee166a09163b1b972
parent9690fd7944a1f2880932f2390cf657ad166bfaca
phy: samsung: ufs: support secondary ufs phy

To support secondary ufs phy device, we need to get an offset for phy
isolation from the syscon DT node. If the first index argument of the
node is existing, we can read the offset value and set it as isol->offset.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220607072907.127000-6-chanho61.park@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-samsung-ufs.c