Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp570684ybl; Wed, 29 Jan 2020 05:53:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxInL/Yz62r2yYg5bbSPG2gOlWsxoneNVDqG5SSzigYzVovmEYqxA93ZNwPhRc5j6QpIeAt X-Received: by 2002:a05:6830:1188:: with SMTP id u8mr21090345otq.274.1580306019183; Wed, 29 Jan 2020 05:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580306019; cv=none; d=google.com; s=arc-20160816; b=mYMZY9oR8lwWAhsJwA7nr7VteiPK32zBVIGFxGoqsbcTP27DhtxuK7+j+9QJEgFIWQ lVukyNXC+HOH5OQYzZEG4wrUTf22tkOBFArZAMROLAwg4OLuyNvw0iHA+RZPb2ay2Ra3 osaiGDAjMmm6m/BYMPrstJOK06XYnG/zdq1H2zMpzTqXV/HUC1Smp/URJ+XvS2SDCTks woVSBIfqlPTYem6F/E79G0aMzQlwtkcu/GQ7JtYwGEjr7gUnQx+rypEsexvxAHbvr8mV zI1ikkq8Oy0YRuJIWyN8Z3+w0DvmOqZ2gLHop86mJbAaeBLhDBs7AdmZrZlgqvSGX/Zz XVGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=zWwkI8WRRF7PcpXfu67SwUT/KdqDGMsOI3EOmDgCXaQ=; b=uTi0sWLD6aBuIhJEKye0Kt8zs54Nizd9WBTAc1D50C0+MUo/BXLfmiSorNMHlt5IcU qiCrV6bbvP8NbDJR7kc9y95RCy4jMnklBZGgQqMsDS2L2CTuME8iMI2ro5PIt6QPnN0a t/OqhvqfCUTJ6QyeSaTfczVa8jpjCdUs/VfDuMIbUzjDPGYZW0nRBRZfXyUEuYApV3Gl wdwhMqiNIMIp/p7/AHX4V8aw9DmDkl0pz1VVX+JBpijdF2fjygyUfwNZQY6NniH55mmC Wf9GsiwHvHeeCqCicZvtNBy1wxMnHpaSJuJELaheT+aDn3OCsMW6Py9ylMvZv4/EPQ9a tkvQ== 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 p3si1101872oih.186.2020.01.29.05.53.27; Wed, 29 Jan 2020 05:53:39 -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 S1726787AbgA2Nwb (ORCPT + 99 others); Wed, 29 Jan 2020 08:52:31 -0500 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]:11989 "EHLO alexa-out-blr-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbgA2Nwa (ORCPT ); Wed, 29 Jan 2020 08:52:30 -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:03 +0530 Received: by c-sanm-linux.qualcomm.com (Postfix, from userid 2343233) id BE94A257F; Wed, 29 Jan 2020 19:22:02 +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 0/8] Add QUSB2 PHY support for SC7180 Date: Wed, 29 Jan 2020 19:21:51 +0530 Message-Id: <1580305919-30946-1-git-send-email-sanm@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Converting dt binding to yaml. Adding compatible for SC7180 in dt bindings. Added generic QUSB2 V2 PHY support and using the same SC7180 and SDM845. Changes in v4: *Addressed Rob Herrings comments in dt bindings. *Added new structure for all the overriding tuning params. *Removed the sc7180 and sdm845 compatible from driver and added qusb2 v2 phy. *Added the qusb2 v2 phy compatible in device tree for sc7180 and sdm845. Changes in v3: *Using the generic phy cfg table for QUSB2 V2 phy. *Added support for overriding tuning parameters in QUSB2 V2 PHY from device tree. Changes in v2: Sorted the compatible in driver. Converted dt binding to yaml. Added compatible in yaml. Sandeep Maheswaram (8): dt-bindings: phy: qcom,qusb2: Convert QUSB2 phy bindings to yaml dt-bindings: phy: qcom,qusb2: Add compatibles for QUSB2 V2 phy and SC7180 phy: qcom-qusb2: Add generic QUSB2 V2 PHY support dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters phy: qcom-qusb2: Add support for overriding tuning parameters in QUSB2 V2 PHY arm64: dts: qcom: sc7180: Add generic QUSB2 V2 Phy compatible arm64: dts: qcom: sdm845: Add generic QUSB2 V2 Phy compatible arm64: dts: qcom: sc7180: Update QUSB2 V2 Phy params for SC7180 IDP device .../devicetree/bindings/phy/qcom,qusb2-phy.yaml | 182 +++++++++++++++++++++ .../devicetree/bindings/phy/qcom-qusb2-phy.txt | 68 -------- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 6 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +- drivers/phy/qualcomm/phy-qcom-qusb2.c | 143 +++++++++++----- 6 files changed, 291 insertions(+), 114 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/qcom-qusb2-phy.txt -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation