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)
commit2aecaf6ccda7012ab7fb4060ac49624ab18d42f8
tree0f90d290ec66497a7788b19ee166a09163b1b972
parentf86c1d0a58b1f63a176f537e2f6851be49c20ad4
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