Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp571340ybl; Wed, 29 Jan 2020 05:54:26 -0800 (PST) X-Google-Smtp-Source: APXvYqw3yTk2F+TcgzaGiiBa6S18BLrBlqbtKprtYTtI7RUyl/oB9dKSKW+IghZz+/k1EcPlOGy7 X-Received: by 2002:aca:60d7:: with SMTP id u206mr4514918oib.0.1580306066236; Wed, 29 Jan 2020 05:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580306066; cv=none; d=google.com; s=arc-20160816; b=tUgc7eYQd1Cwfi8gXpLyeggE5VTEV29WvWxhVCn0q2nYrQezgp3bk5ad79K2TKw6dN x5OPnL+cW7T4icyfPbHk4Ix1yHafL2pYA2UgY4ix3tiAs7kD1LbHREGeFvFdnWQPWD+K RVgcDH65IXKxCTmCBCg1THDau2tCCrmNB4NyeunPIqweu722xxu5opUUtNfGmGQrmwn3 Fa/+sLzXvYbPCWreKevjwaYaxFV62TkAsOOeEtGtX99nZWwxU3mXNipAJV1h5dxRv4A0 N7zhMh9BruqYSHT2xitUl2VctzQtwVxFDpoO/bRT25lRuuKTL2CpODVtaAOmOue/bIyw +fjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=jT2uJbBuC0NIJrRtSbv1apOeYfZ/17gZ7GguETr4N14=; b=QAw6xDvknoUigE440SGkjvstMY2HDVq7aain4of2+nACPElBi00Oy5QhHkyYFYy/P/ Bp9lZB7/EWvM7UmGR5pSM8x615t8spLOI8J4Ga2bbmFhW8LZEXn808th29OFXIH98rnM 0I4mHGYxwtYA+pLeowDdjauAcdgfYArLAE6jJW3P2J2fVdCeKckGI6Yu4ubUiqQfMxP8 6dw4Zv7dYvqZaMvNVIJskdTZcWoI0JMQPcl+IqEy4xPkR8XaolH1L0OTEwCVta8Yb8Fg l2MOuTL+WxJL4H+zvEdTwBmtsuNEt4oZRXl0KIs/LIo+segzYh2vgsMwOnlTcfOgOLn8 mwQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a143si1067630oii.179.2020.01.29.05.54.14; Wed, 29 Jan 2020 05:54:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727020AbgA2Nw6 (ORCPT + 99 others); Wed, 29 Jan 2020 08:52:58 -0500 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]:60060 "EHLO alexa-out-blr-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbgA2Nwc (ORCPT ); Wed, 29 Jan 2020 08:52:32 -0500 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 29 Jan 2020 19:22:26 +0530 Received: from c-sanm-linux.qualcomm.com ([10.206.25.31]) by ironmsg01-blr.qualcomm.com with ESMTP; 29 Jan 2020 19:22:08 +0530 Received: by c-sanm-linux.qualcomm.com (Postfix, from userid 2343233) id CBBA7257F; Wed, 29 Jan 2020 19:22:06 +0530 (IST) From: Sandeep Maheswaram To: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Stephen Boyd , Doug Anderson , Matthias Kaehlcke Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sandeep Maheswaram Subject: [PATCH v4 4/8] dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters Date: Wed, 29 Jan 2020 19:21:55 +0530 Message-Id: <1580305919-30946-5-git-send-email-sanm@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580305919-30946-1-git-send-email-sanm@codeaurora.org> References: <1580305919-30946-1-git-send-email-sanm@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for overriding QUSB2 V2 phy tuning parameters in device tree bindings. Signed-off-by: Sandeep Maheswaram Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/qcom,qusb2-phy.yaml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml index 43082c8..dfef356 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml @@ -80,6 +80,28 @@ properties: maximum: 63 default: 0 + qcom,bias-ctrl-value: + description: + It is a 6 bit value that specifies bias-ctrl-value. It is a PHY + tuning parameter that may vary for different boards of same SOC. + This property is applicable to only QUSB2 v2 PHY. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - minimum: 0 + maximum: 63 + default: 0 + + qcom,charge-ctrl-value: + description: + It is a 2 bit value that specifies charge-ctrl-value. It is a PHY + tuning parameter that may vary for different boards of same SOC. + This property is applicable to only QUSB2 v2 PHY. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - minimum: 0 + maximum: 3 + default: 0 + qcom,hstx-trim-value: description: It is a 4 bit value that specifies tuning for HSTX @@ -118,6 +140,17 @@ properties: maximum: 1 default: 0 + qcom,hsdisc-trim-value: + description: + It is a 2 bit value tuning parameter that control disconnect + threshold and may vary for different boards of same SOC. + This property is applicable to only QUSB2 v2 PHY. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - minimum: 0 + maximum: 3 + default: 0 + required: - compatible - reg -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation