Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp436240rwl; Wed, 5 Apr 2023 02:58:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bcfJA6WaHDJW3Zy3J9tGMa9oO7rf77NsQNp6ES7LWNwVpC3VNabX8xw8GU1ug54g3iN4ln X-Received: by 2002:a17:90a:4146:b0:237:99b8:4eef with SMTP id m6-20020a17090a414600b0023799b84eefmr6451216pjg.9.1680688725985; Wed, 05 Apr 2023 02:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680688725; cv=none; d=google.com; s=arc-20160816; b=UbGNufkg4IyPx9fyQHwub9kkTE5/B058W9ONQvz+ZxKt+Ydkw+Yq8dTmcdfhaAaG8P oCveUEOrVkrwwM6+cecwYCjbKCWEaU0jqCxUyhkO0tTQGhKOPx99dya7ythO+uVtrkKK hOzgf9/U++u7Z3Cx8LECeLkJiRZ67rnEelbXSTSDkWNcpJLKVkzdwXsueImfYpLy8HTS V9njooMCDkSj+NmM5BosIOhbNm6CBJ6aKNBHjOln0KqOggWFpYSH4MkBZs6ATXbAY56G cM45RTj/sRhpnHylk5S9uid2Ul4xoNsyXV+tFS3jFyvqCL8KRSgZRNNFqyhlazElvVKL 0XMg== 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=U3RjpZzG5jP0XnG5F++ZPO8sGVk1zH+LWUTE7a2f7vc=; b=fRb62k4NJluRffsPIRsumKz33PCOrAVU4ZCg8q85rHbr9R4j48nGVBEtI0D8qTrTbZ YllyzJ0rdn6hc0y7ZiLJNy6XB7j6fjsjxJqbBXwfeDLaG5GLqt/9Egthlu0LrFbZQIL6 sruIPXVGe1JhAxscbMAuVNUWs6XxeLTK1rPVO6ZgNwSwWqvEl4hrdftqRJYUqsZne+y4 fodvpUx2l8B6iRVv+Qgx6Vdhepto7bt9x4Zlv5Ig9zJpBidfbpwduAuZsA6SFRohv7Ul +Trq5FhEe0RuwjLbV/0QeZt9w8s1qHhLl0ipq3mRl2xHvizpPJgu/mUHw/GJen1Tv8GA 8Hzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hGZIBJPd; 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 h9-20020a631209000000b004fc2750a21bsi11709217pgl.643.2023.04.05.02.58.34; Wed, 05 Apr 2023 02:58:45 -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=hGZIBJPd; 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 S237193AbjDEJy7 (ORCPT + 99 others); Wed, 5 Apr 2023 05:54:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237740AbjDEJyz (ORCPT ); Wed, 5 Apr 2023 05:54:55 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F9FF90; Wed, 5 Apr 2023 02:54:54 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3359boCA029784; Wed, 5 Apr 2023 09:54:47 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=U3RjpZzG5jP0XnG5F++ZPO8sGVk1zH+LWUTE7a2f7vc=; b=hGZIBJPdDXEjYfDd2RqQOXk33MLenfGLLGBEX763GvefX//ZeA7SeewdApY+qCB0yiJz sdXhc7wlK9Wwx9f9KN2ybfd58nWoGV1X5Ssypa1HV5V16tIrPnYzk6u378a8I0zzyos0 cg72GNOso4nWUHSMQzUZ0nOB3IICdvZ5T+s+mNzSv4aZKd1tSAVmEx++79cIk7RQBOMi 8tq4+n6/2Fr78TCAHKATPrIoLMRIwm8W6Ksj9C4ZYZimIJBr3AYHP6TM6ZWv/Zb5wURV GYROmjIcLOBNqvHzIav60nFSvKAzT9h1OavEN626cilK1o0ykfRAqDjRUdzt8i7YQdAs Yw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3prg8wue1j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Apr 2023 09:54:47 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3359skGJ025348 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 09:54:46 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 02:54:41 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v7 0/8] Enable IPQ9754 USB Date: Wed, 5 Apr 2023 15:23:57 +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: sIvfJey9zWypwoKyIgPPFV1daGjoWgfj X-Proofpoint-ORIG-GUID: sIvfJey9zWypwoKyIgPPFV1daGjoWgfj 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_05,2023-04-04_05,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 spamscore=0 phishscore=0 mlxscore=0 mlxlogscore=550 adultscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304050091 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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/ [v7]: - com_aux -> cfg_ahb in patch 7 [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