]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-ufs: Remove -always-on property
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 22 Jan 2017 21:17:48 +0000 (13:17 -0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 27 Jan 2017 07:36:52 +0000 (13:06 +0530)
commit6e95acfd0bef001fd325ba0d663f85f25a3b29c2
tree3fa73fc166d6545aee0163e781fd2b037d2a1aaf
parent9077ca41d4cd6891c74a1e90f65831228fa3c9be
phy: qcom-ufs: Remove -always-on property

The fact that a regulator is always-on is a property of the regulator,
not a specific consumer. Implementing this in the driver leads to a
system behaviour that is dependent on if the Qualcomm UFS PHY was ever
(partially) probed.

If the specific regulator should be always on in a particular device,
mark it so by specifying "regulator-always-on" in the regulator node.

Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/ufs/ufs-qcom.txt
drivers/phy/phy-qcom-ufs-i.h
drivers/phy/phy-qcom-ufs.c