Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1993368rwb; Wed, 26 Jul 2023 23:49:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFywK3I453BwW7lmMPQP1YZAGqCCKeddPMQb3pSgwuJ1VIvElbgi2tnwakVBV9+GHxUkBdE X-Received: by 2002:a17:906:109c:b0:99b:445d:45d0 with SMTP id u28-20020a170906109c00b0099b445d45d0mr1274663eju.66.1690440595246; Wed, 26 Jul 2023 23:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690440595; cv=none; d=google.com; s=arc-20160816; b=jciIqXq4VQ1D1X4Ii20YuS7rCfTJeR1Olc7116MS5UjejjpRO8UL4HgaVCIeo+St8w CtizPMWSDI5x4J0AWbndyqWFAnwQ8RiXvyNQOi9YJGieNRfHEtWypAibzDWlhr8+01FM 5ot6PMBv5jQmZMldHdmQrVWz8vmWfmcKC6jHBoRuEnNgwzOPRZWLyrxWJ3anV0owg70J cs9i7Uw7YFd5iWmE6fHoB3DnLQtm0jF6efHchuBah4vwhKZu/IBM2jdr/0axI+gTb7IY jhnxkt8YytEe6tkdofin5FJze80kYXCt8XijervigpwKd+0g8oGTj7k3L3xia16SdQBD IR+w== 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:to:from :dkim-signature; bh=6CKATzv0G8sbjDaxb4lDXf4tA5pU2fqAwEA8flKJmLI=; fh=6h1Wj1mbqxcS7PNl0ctUGwtLQi5JQvLvrrK1KLcalrs=; b=Akuz/p6oYgUv3ot86D4qzK5+e1cHQoQ3MP92hIUG7fuHiXOmIel1nb1ycP2+6MxN5s OburOdH3yUYAnBFjE7X05JOoWzqtrxFPeSqAMTcD+UueRn8FENEWtgko5XVULvhh4j+H ZztOtvfC7MORCxDcpowpomW29XqcFi15Vr59jXemp1S5oPOXJzrQ5v0e5HdT4Pg5RZzG 3Qtw6pb1TtC53w5t3d/FLF/rumXvYLvtix0wbf+Kl14mgM3HgqONjvs2EnusNTaAKlgl jR1GPNEJ6whhKIlhUMxmkoNo2kfsEqomanc6rol2frQhUlTcPLf/oNcnr1Mxvs0lFBE8 a9IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ItJxkeoQ; 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 gl23-20020a170906e0d700b0099bcf69f506si608414ejb.202.2023.07.26.23.49.31; Wed, 26 Jul 2023 23:49:55 -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=ItJxkeoQ; 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 S232473AbjG0GfX (ORCPT + 99 others); Thu, 27 Jul 2023 02:35:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232363AbjG0GfR (ORCPT ); Thu, 27 Jul 2023 02:35:17 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 977742D73; Wed, 26 Jul 2023 23:35:03 -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 36R4wbop021720; Thu, 27 Jul 2023 06:34:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=6CKATzv0G8sbjDaxb4lDXf4tA5pU2fqAwEA8flKJmLI=; b=ItJxkeoQwmzKynprAKIs7q3xE/54dGEdPoA3w0Xy9iCb1b0+jZnEFDWhcm885dYqv9rs jyrmzaQsM3Yj3yDy7J2IEahv91JaNUizkZCNSTQqNPtfRkhOvhz1aXINvyB8VVDWfl/M T2fpkVxwwl4ZeveK+KWVodkuHcB2Tg/71xfpN26gkT8gsKhuWCTbhiMTkFM/KPnTS5mE 9ifx+n1mVbX9Zz9aJT8jqhbG63fxf5exBhN1OtiHNIhhkBF5B5X+hHsQLZTI/J4bXn/B 83XSG75A/iTHyFSKGCgpVB8/sweUtY7rYdeZcnSzxjfQL+05nIpesyX4lX3v9jA+/ZYD Tw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s34x6hnrh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 06:34:24 +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 36R6Xusj023060 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 06:33:56 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, 26 Jul 2023 23:33:49 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v6 0/5] Enable IPQ5332 USB2 Date: Thu, 27 Jul 2023 12:03:13 +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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: xPRBMIhZmcLiTXoTRtSWlP2ZVZd8BxDW X-Proofpoint-ORIG-GUID: xPRBMIhZmcLiTXoTRtSWlP2ZVZd8BxDW 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-26_08,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=367 lowpriorityscore=0 malwarescore=0 adultscore=0 impostorscore=0 mlxscore=0 bulkscore=0 spamscore=0 clxscore=1015 phishscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307270059 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 This patch series adds the relevant phy and controller configurations for enabling USB2 on IPQ5332 v6: Binding and dts:- Dropped the qcom,dwc3.yaml patch as it has been picked up for linux-next Add const to compatible, vdd-supply Move nodes per register address Driver:- Add vdd-supply Cleanup error paths in probe with dev_err_probe v5: Binding and dts:- Fix email id Removed 'Reviewed-by: Krzysztof Kozlowski ' as had to change bindings file to be able to use generic phy instead of usb-phy Driver:- Remove unused definition Use generic phy instead of usb-phy 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 (5): 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 | 59 +++++ arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 23 ++ arch/arm64/boot/dts/qcom/ipq5332.dtsi | 55 +++++ arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 11 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-m31.c | 248 +++++++++++++++++++++ 7 files changed, 398 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