Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp381348rwl; Wed, 5 Apr 2023 01:58:09 -0700 (PDT) X-Google-Smtp-Source: AKy350a+AURN0i2JuM7+trgM1pgVnvQaslxX2jaaSY3/SJlm0YqoTE9o7sxt0pTwhmXE5QUmVlPF X-Received: by 2002:a05:6a20:3b0a:b0:e6:fd73:e79b with SMTP id c10-20020a056a203b0a00b000e6fd73e79bmr3581070pzh.14.1680685089621; Wed, 05 Apr 2023 01:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680685089; cv=none; d=google.com; s=arc-20160816; b=EGg5M4qsi3IAEto1tz+Gh8xBltFgpEj772OgpstzouL1SCDigqE3Z+llztCRXXW3WE ExGBVmPTYtwO2//N9ErsXZvG4nkAt87k3DWg2CSPmkdGGVNIWI4Lo7PFhYX6ShpQlcFw 2qqPbjPTIC+Ixy6pgzs6wYUNA9nDAHz9QyAClGlyzyR+A/2FsjWICAKHCGltrwPIzYXI JiED+/bnpFI3yXCOVAomNWxYgadGlMdJaFDOY1cNPk76zDSlON4cYQk8mddaQUBBVrsu COpS0w/ovdKGfaC1I9y9pvgedPoyre3hi8mUOvDSOe8VQUvcBWVg0DnxhYp2WVrsCWNx i9gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=MR5oeKO6FH6O4seXNc7wjyNJ87NDngE4KlNL7Gp8Gvg=; b=0HD0lrWr9NAVqFiB7yp/ZTBMn+dpS0i5r7v7Fsye79tnHpTcmkUHTOWE9D7BRbmsWZ Ia+BVp2fR6Oel+jzFK1YJ1pcFOMz928qnxuE1vMhvB75yX5c3jpUjfs4L/JnMaBo5Yi7 HVZs+ghN54Su54u173dbPPCIzykSf9AisAeiMzzYkVLRFFMRTHBKKUDr41XUFZdVZU2b lx6iBCHFHuZnJt5CgCnmKSZBtYVS1jlUh+DcRIdvv3qJJBEv4DpsTOiCDPyXXHBSAdj+ suIAMtxRXu6vvw/rFroNByswkwKP66It+RukcXwpr1qHUx6g3pAyk7lmZhFEG61HUQhh JEBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=E1UgCKQj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k64-20020a632443000000b005006397721fsi12228843pgk.859.2023.04.05.01.57.56; Wed, 05 Apr 2023 01:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=E1UgCKQj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237569AbjDEI5m (ORCPT + 99 others); Wed, 5 Apr 2023 04:57:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237156AbjDEI5h (ORCPT ); Wed, 5 Apr 2023 04:57:37 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF98EF3; Wed, 5 Apr 2023 01:57:35 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3353P13X020986; Wed, 5 Apr 2023 08:57:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=MR5oeKO6FH6O4seXNc7wjyNJ87NDngE4KlNL7Gp8Gvg=; b=E1UgCKQjSFQ0R8UWQkMPiKmG+YeO3N/s1ZeUR5n859BFWtR/3U2PDe1sfGSOcLboMhMT BhyL77QfxWvOdbbbrDZG817EX79G08jxHnX/ycCNXO+upViMwfhx/pojv7NAHDN6sZfe ACy/tzvOtNPcQ2IKbdx/p05WTKN7zth54xCK0YajvFVyVVoSfKlv50kYFaNEA5WRO4T9 OKPulsvIv+F2wELWBs0n/b/QZLpm4lZzmnQTGTbfPXq/e+5fDJ30/8c/HozCHwQKhErV 58zQHuuMtxMxilueaQ3ydX8n+3P1JfITE1uHUOnnyCsPOTlqFWkxAgeIZ4D8IG19ouMB qw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3prmkmthjc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 08:56:59 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3358uwaN003859 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 08:56:58 GMT Received: from varda-linux.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 5 Apr 2023 01:56:53 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v6 0/8] Enable IPQ9754 USB Date: Wed, 5 Apr 2023 14:26:35 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IVWlfoKf75uUo2TlUnEOpW77F3cQ6rIp X-Proofpoint-ORIG-GUID: IVWlfoKf75uUo2TlUnEOpW77F3cQ6rIp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-05_04,2023-04-04_05,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 mlxlogscore=528 impostorscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050080 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds the relevant phy and controller configurations for enabling USB on IPQ9754 Depends on: https://lore.kernel.org/all/20230217142030.16012-1-quic_devipriy@quicinc.com/ [v6]: - Incorporated review comments - Resolve make dtbs_check messages - Fixed pcs_usb offset - Board dts file name changed [v5]: - Incorporated review comments - 'make dtbs_check' giving the following messages since ipq9574 doesn't have power domains. Hope this is ok /local/mnt/workspace/varada/varda-linux/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dtb: phy@7d000: 'power-domains' is a required property From schema: /local/mnt/workspace/varada/varda-linux/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml /local/mnt/workspace/varada/varda-linux/arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dtb: usb@8a00000: 'power-domains' is a required property From schema: /local/mnt/workspace/varada/varda-linux/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml - Move qmp phy DT node to newer specification [v4]: - Incorporated review comments - Address all 'make dtbs_check' errors [v3]: - Incorporated review comments regarding coding style [v2]: - Incorporated review comments regarding coding style, maintaining sorted order of entries and unused phy register offsets - Removed NOC clock entries from DT node (will be implemented later with interconnect support) - Fixed 'make dtbs_check' errors/warnings [v1]: https://lore.kernel.org/linux-arm-msm/5dac3aa4-8dc7-f9eb-5cf3-b361efdc9494@linaro.org/T/ Varadarajan Narayanan (8): dt-bindings: phy: qcom,qusb2: Document IPQ9574 compatible dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY dt-bindings: usb: dwc3: Add IPQ9574 compatible clk: qcom: gcc-ipq9574: Add USB related clocks phy: qcom-qusb2: add QUSB2 support for IPQ9574 phy: qcom: qmp: Update IPQ9574 USB Phy initialization Sequence arm64: dts: qcom: ipq9574: Add USB related nodes arm64: dts: qcom: ipq9574: Enable USB .../devicetree/bindings/phy/qcom,qusb2-phy.yaml | 3 +- .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 +- .../devicetree/bindings/usb/qcom,dwc3.yaml | 22 +++- arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 16 +++ arch/arm64/boot/dts/qcom/ipq9574.dtsi | 120 +++++++++++++++++++++ drivers/clk/qcom/gcc-ipq9574.c | 37 +++++++ drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 115 ++++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 + include/dt-bindings/clock/qcom,ipq9574-gcc.h | 2 + 9 files changed, 317 insertions(+), 3 deletions(-) -- 2.7.4