From patchwork Thu Jun 8 10:03:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 10474 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp171355vqr; Thu, 8 Jun 2023 03:14:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KDkpENMGEPM+Hab+BLiLacioY8o/JAmnKFSAYuofRWS1FHNF1ovcPRDTCjACbJby+di9R X-Received: by 2002:a05:6a00:182a:b0:646:6e40:b421 with SMTP id y42-20020a056a00182a00b006466e40b421mr1995085pfa.1.1686219248052; Thu, 08 Jun 2023 03:14:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686219248; cv=none; d=google.com; s=arc-20160816; b=a+Lnjuxh6wpYg7pz8steACHWDOVPdU/r/mXSQqt8CNy3Lvvdp+UV6cjB6UY7VUwF85 oObjdNK7mBcM+YSU+TD8T8KmsY09mXnOcpXP6FgCdFxp5g4s9rGqq5BR6+umHR1jolZ7 QhyURc/CcD7lf3vY1soly+TZiKZZX4YDuc4OkX81+nd/yHKo5m4jl5J9rF9dw6N4dWMm jDfNRJWtBdK+BCNgWYyZjESB46EwlH9ClmsV9kuUVc9yH845DTyLp3AI9393eEq/wyQL UkAKudRO/EiHbqvLm6ddmbALQXI/J7ds34x4pAR8yMX2oYg32bxCDkxNFL7mICrf7H0M NghQ== 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=hYi4QRt7+8AfMgtwISTJd2vlcpzdC4I45n3HgdloPg4=; b=Pb4W/jC3Gj/+a8CH89h5VbDWkJTg4/dLzgeDai8P2fGkAecOtRjki2zOd1ZUoxxgns FxDy5UHsnrZitrcIswGn9q3hSjxg00jdQ8ls0BkvAYK/dKuosL8C4apyw8nqF7ez1ktm STbANwn0B9ZTbcMMhMCB2ZjXfy7USADfCRZbAoBNzWt2TjEgX2S08CGwCukXPAQ6BBSg z/eHhOtMESkNWM4Terar5thh85fSBk2Vlfp8lP8EfOMv6QjlGIxMYbrUmh7ufT4kMcIi KfNCUsZhfdelGKMmvbOPybDjT+kLwNgG8kUXE/sh++Enri4R55ETDhCCL9EHszwChawY 3lGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FltJSGuk; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b0053f3b3eb6d2si774667pgb.867.2023.06.08.03.13.55; Thu, 08 Jun 2023 03:14:08 -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=FltJSGuk; 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 S234020AbjFHKER (ORCPT + 99 others); Thu, 8 Jun 2023 06:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235920AbjFHKEN (ORCPT ); Thu, 8 Jun 2023 06:04:13 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAD7C272A; Thu, 8 Jun 2023 03:04:03 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3586sk6W007089; Thu, 8 Jun 2023 10:03:58 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=hYi4QRt7+8AfMgtwISTJd2vlcpzdC4I45n3HgdloPg4=; b=FltJSGukdOIVPMPzIhGtk+SQaHjKB8/pGMpeHXQi4u4Spl6N3I5hSG7CBrXMXfvEllme DCk5uzasXKjrVLdD4V/DsqVTiCF5fvbwzNfCKDI4HRa/fijOWoTT2OmkKm5Yrl7c5ivu 0jC5/auklg/68+KxUhaymaSJ4W9tYA21Dgu4jQIzEbR3YpfPR4HR/xnZX9bODhLthy/o uQ8zezTkjucjVtvraUj09ey/XBYWfqFPWzMqCfB8dvLcj6oX8ojHiKv+88x3VGdcBhop 9Gvr6eC64EcNF2c1aaMoejnwmR7ErQxeV+9JRbbiB3CZ5Vx5eMYlEDUp5bO6m3KUqWIY FQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r341c0wqm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 10:03:58 +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 358A3vIx002027 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Jun 2023 10:03:57 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; Thu, 8 Jun 2023 03:03:52 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v14 0/5] Enable IPQ9754 USB Date: Thu, 8 Jun 2023 15:33:26 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 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-ORIG-GUID: H6FzfB8P5uOttRgBITKXOxMwDqX9ynkD X-Proofpoint-GUID: H6FzfB8P5uOttRgBITKXOxMwDqX9ynkD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_06,2023-06-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 malwarescore=0 mlxlogscore=756 mlxscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306080085 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768126271646310979?= X-GMAIL-MSGID: =?utf-8?q?1768129033881171469?= This patch series adds the relevant phy and controller configurations for enabling USB on IPQ9754 Portions of the patchset have been merged. Please see https://lore.kernel.org/lkml/ZGN9gchu7dRb6QwC@matsya/ [v14]: - Missed Konrad's comment. Switch order of regulator-boot-on & regulator-always-on in mp5496_l2 node [v13]: - Move fixed regulator definitions from SoC dtsi to board dts - Remove 'dr_mode' from SoC dtsi - Move 'status' property to the end [v12]: - In dtsi usb@8a00000 -> usb@8af8800 [v11]: - Rename dwc_0 -> usb_0_dwc3 - Minor change in qcom,sc8280xp-qmp-usb3-uni-phy.yaml to factor in latest updates to the file [v10]: - Fix regulator definitions - Address couple of other comments [v9]: - Update bindings to make power-domains as optional since IPQ9574 doesn't have GDSCs [v8]: - Update bindings for the clock name change [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 (5): dt-bindings: usb: dwc3: Add IPQ9574 compatible clk: qcom: gcc-ipq9574: Add USB related clocks arm64: dts: qcom: ipq9574: Add USB related nodes arm64: dts: qcom: ipq9574: Add LDO regulator node arm64: dts: qcom: ipq9574: Enable USB .../devicetree/bindings/usb/qcom,dwc3.yaml | 3 +- arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 48 ++++++++++++ arch/arm64/boot/dts/qcom/ipq9574.dtsi | 85 ++++++++++++++++++++++ drivers/clk/qcom/gcc-ipq9574.c | 37 ++++++++++ include/dt-bindings/clock/qcom,ipq9574-gcc.h | 2 + 5 files changed, 174 insertions(+), 1 deletion(-)