summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-01-17 16:04:23 +0200
committerVinod Koul <vkoul@kernel.org>2024-01-23 19:40:30 +0530
commitf2b2f86a8bd19feb70649abf8a63d639f4c838d8 (patch)
tree5eb106b8b6b0c61068217996bdb72893c59ab172
parentdfdaba27b4660ec26de955cf4459499ddb005e2d (diff)
dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: add TCSR registers
The QMP USB PHYs on msm8998, qcm2290 and some other platforms don't have the PCS_MISC_CLAMP_ENABLE register. Instead they need to toggle the register in the TCSR space. Declare the registers accessible through the TCSR space. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-2-a950c223f10f@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
index da5d4cbca24c..140843347d1e 100644
--- a/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
@@ -55,6 +55,14 @@ properties:
Flag the PHY as possible handler of USB Type-C orientation switching
type: boolean
+ qcom,tcsr-reg:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ - items:
+ - description: phandle to TCSR hardware block
+ - description: offset of the VLS CLAMP register
+ description: Clamp register present in the TCSR
+
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
@@ -78,6 +86,7 @@ required:
- "#clock-cells"
- clock-output-names
- "#phy-cells"
+ - qcom,tcsr-reg
allOf:
- if:
@@ -148,6 +157,8 @@ examples:
orientation-switch;
+ qcom,tcsr-reg = <&tcsr_regs_1 0x6b244>;
+
ports {
#address-cells = <1>;
#size-cells = <0>;