Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38215337rwd; Wed, 12 Jul 2023 04:56:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzFE+5WK+SbfourpTws10+XPFtVNh5TWiUHbYqfOFG2sSibBpOmeS88N6e+CFMl1s710uJ X-Received: by 2002:a17:906:64d8:b0:988:815c:ba09 with SMTP id p24-20020a17090664d800b00988815cba09mr16500939ejn.4.1689162982750; Wed, 12 Jul 2023 04:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689162982; cv=none; d=google.com; s=arc-20160816; b=UR+NUsBfej5NhPq7q0HarfooNZllFqbZS7ebWJnnsrTI+cFGXL/SO9FG4EqTkHKYjv abIEUkacDCwJR+a8nGZjHsnTJxU3r1Cv/wGS2zXTXZMBjp3c0nPhNR7nl+09cjc72IN6 kUBYKsVDgl8+ADa2Ii7807NwTqFye+qUg6r8nxFOJq3S2KmRmUv6IwMzoxwNtEqAkoKU P4CKpLKVWNjmA897mxUq2ja26pt5LYxUhXuExI26VEXeeN4bY78zZ2+HMgYEJYUsvhso JKrnyGfyzb8ExZQx2W3F2tD4tI80x7hGnJKA2zLerVcZ9Dv+Ckxe7SpnddAgPjOxH/b6 sX6w== 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=OnwlJdUYQVuoZRGlusai7hMzlLMdP2IuMcarNsL788E=; fh=5k38RZtG+6HomFK06DPIqaSvDTnJ/15hPHIK1s7dPN4=; b=t/bcHKbekoNheiGcVwAqdT/Bt2X01F+IOuAkoyHrG1o1r5Ks7oUg3e8A4vIeEXHwyZ 28iRRYpqEDXqMi7CCtLApC788foP/xRy2pnw6tJEzjT8Pf5bHEOldV2AKnf+qQsdpD8z HCKgb8w9Z6UA+M8HR1iZqQzXuX6EM7z9tql+NLbU17U1MTqvIfFF32W75GjaI3MZTw8W KIDlBpfJMeT8it6JGaJ1CniR/oxcuoN6YYqpzteG79kFoKUdakDTjIqGbRz2V/In5AUi cGfjGYl8YiYchckG9KiPbjbnyOXRP8kkRwk1ZaY8/LfV6F3YgcytkRrlsXsKemH/XgUu xXDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VWeP6V+T; 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 h6-20020a170906590600b009882f2a8aabsi4524442ejq.551.2023.07.12.04.55.58; Wed, 12 Jul 2023 04:56:22 -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=VWeP6V+T; 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 S231642AbjGLLji (ORCPT + 99 others); Wed, 12 Jul 2023 07:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbjGLLjd (ORCPT ); Wed, 12 Jul 2023 07:39:33 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4658DF5; Wed, 12 Jul 2023 04:39:17 -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 36C8dgb8029585; Wed, 12 Jul 2023 11:38:53 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=OnwlJdUYQVuoZRGlusai7hMzlLMdP2IuMcarNsL788E=; b=VWeP6V+TzTcV+eepvs3cMxP006cEtODRMpg4sRbH+ypnFrLC7EBveSE9fbH/K0RIbnDp h9ErjqAzFpVGMySQ8j8GJ3P9a5q+NfZrGID5N0XbMOBNsSoYcsJXZvkarEXIbz/2TSbJ 6yqQqRBIyuxovdGNUoj+zAT56NvwouGk69tm309c7HJZLPtQZ9OQwGxrqqxQmdLZPrmM 9X52b5d8fFBO/elCJIRWkxDS58etDre3gUn2cOiLFwzyRtVvMieO4IdQmhnT7UwuFnQN u2iPght778u4if7VHPAIEr2KMDespJxEkgEydShuKpGGArXKSILKQT5Mb+4zXXo3Z9mx XQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rshyu92y7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:38:52 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36CBcpf8013182 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jul 2023 11:38:51 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.1118.30; Wed, 12 Jul 2023 04:38:43 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v4 0/6] Enable IPQ5332 USB2 Date: Wed, 12 Jul 2023 17:08:17 +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: cc5tv1kTx82OqU53rLfd2oyYOn2odixc X-Proofpoint-ORIG-GUID: cc5tv1kTx82OqU53rLfd2oyYOn2odixc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_06,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 bulkscore=0 spamscore=0 mlxlogscore=315 phishscore=0 clxscore=1015 mlxscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120103 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,URIBL_BLOCKED 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 This patch series adds the relevant phy and controller configurations for enabling USB2 on IPQ5332 v4: Binding and dts:- Change node name (bindings & dts) Driver:- Remove unused enum static const for '.data' Error handling for devm_clk_get v3: Fix bindings file based on review comments v1: Cleanup DTS Combine driver, kconfig and makefile patches Remove unused functions from M31 driver Drop the clock driver changes Varadarajan Narayanan (6): dt-bindings: usb: dwc3: Add IPQ5332 compatible dt-bindings: phy: qcom,m31: Document qcom,m31 USB phy phy: qcom-m31: Introduce qcom,m31 USB phy driver arm64: dts: qcom: ipq5332: Add USB related nodes arm64: dts: qcom: ipq5332: Enable USB arm64: defconfig: Enable M31 USB phy driver .../bindings/phy/qcom,ipq5332-usb-hsphy.yaml | 48 ++++ .../devicetree/bindings/usb/qcom,dwc3.yaml | 3 + arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 53 +++++ arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 11 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-m31.c | 256 +++++++++++++++++++++ 8 files changed, 385 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml create mode 100644 drivers/phy/qualcomm/phy-qcom-m31.c -- 2.7.4