Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp635791ybl; Fri, 10 Jan 2020 04:22:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyLJS24NLtr6GxZ0Od3xwpiM71Q+FdtNLr21v2dG1TJqq8NTFCZlv7XGSeVtjSMbsxIYkwk X-Received: by 2002:aca:1c0d:: with SMTP id c13mr1922129oic.44.1578658938222; Fri, 10 Jan 2020 04:22:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578658938; cv=none; d=google.com; s=arc-20160816; b=Ei3JotEOS8fO+egQvo51MxR0mDyhqIC0MUPEY+FfR1GFjg2HuwLfvw32cB6RcOtaHS 5dikoyJKr5iHtWZLjsXLB5IeTjBPYKB/SYT+RmT0+lMMkMyoacffG9RvJloanHvCfSFO 6lP4oiXwgW6PiVLEK9qfX2zzurfX7U6RaNFZBImSjAVKZMtBt7kmZOWEp5ht//tA/mec FifVmv5U5s17jfM0vFDUKidRFGYJ1wITLZxJ5uy2qEzdztDNEXfMvqAIhdrkoA62rEdn 6nWQ9uwfAIg1AfZoc3MiawnD8zslR8sXfJKhbSDth/XQCYiMS25svfa3bJ0FT3lx1ZTS GYGA== 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=pUDRm2nIlB5yME46XieGL05MGThlzJt8ZEgXhPaXc30=; b=0uwLZMC3c533Ffd7ZynOdhSAp039zPF2Qj00ai5T+gnba4huL4BHljr+tmn+DnNZgb tRGy20Lok1ZEnoJneuVXvcmf6m601fivKDLO8ZAkjfwxcweQIuaX3LhcXJS5C3V1TGrt aUXFEUkJKr+1kYY1gnb2NhxCgd8worL4gQkC1Jq7yBjf7trg05+hwqbamxTBFmIzNsmK UnS0IPCg4jKB6ZGyXdXTcYDUyAZkrVtTQedlEj0Q7mGTUT7FIbEDjfyI9/6PPjpbMX0M Un5LGTFxr6ppbv5FFReD2ccDBAuUAmB2cqtTHUHUyONcFO9TZHXI2O366jE+x3RkiWOG 4sig== 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 v67si1114409oia.26.2020.01.10.04.22.05; Fri, 10 Jan 2020 04:22:18 -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 S1728201AbgAJMUE (ORCPT + 99 others); Fri, 10 Jan 2020 07:20:04 -0500 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:5304 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbgAJMUD (ORCPT ); Fri, 10 Jan 2020 07:20:03 -0500 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 10 Jan 2020 17:49:07 +0530 Received: from c-sanm-linux.qualcomm.com ([10.206.25.31]) by ironmsg02-blr.qualcomm.com with ESMTP; 10 Jan 2020 17:48:57 +0530 Received: by c-sanm-linux.qualcomm.com (Postfix, from userid 2343233) id 2D48522B4; Fri, 10 Jan 2020 17:48:56 +0530 (IST) From: Sandeep Maheswaram To: Andy Gross , Bjorn Andersson , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Stephen Boyd , Doug Anderson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Manu Gautam , Sandeep Maheswaram Subject: [PATCH v3 3/5] dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters Date: Fri, 10 Jan 2020 17:48:17 +0530 Message-Id: <1578658699-30458-4-git-send-email-sanm@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578658699-30458-1-git-send-email-sanm@codeaurora.org> References: <1578658699-30458-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 --- .../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 83cd01d..df4e000 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml @@ -84,6 +84,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 @@ -122,6 +144,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