Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3801329rdh; Fri, 29 Sep 2023 02:45:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFkzhtJd/cvdDE4qvWqswFb4+UQm/qbicwME03B0rvmZvet1ESg2AmUuY1e8wM3o0z6yC73 X-Received: by 2002:a17:903:2452:b0:1c3:6e38:3943 with SMTP id l18-20020a170903245200b001c36e383943mr4252576pls.56.1695980755885; Fri, 29 Sep 2023 02:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695980755; cv=none; d=google.com; s=arc-20160816; b=UI77PcvrmLWIB1aTIav3G98sQxsFHhGn9aTu2/vBk8qRlGCZag1nXKWAJcYrWgS8G6 rczTyGZ5ES+KmPUhsToLhPEAZ9xiEEznjfv8cX11XQKcdtLCPLpUzWCEGsUZMGt1fA40 MZso/Z4iWDo3zgsN4N5ZR9obK/Bk27y0tFGYEjw+s4PxqHyNuK0/kWoAJTBPu85C17+J 6tc/Z5oyeY3+/XbYfConXqWqMw01SwfYPhjzrkLY88YxNQLn2q2j1ITIVjk/tG2uEYSw 3pLc59BibSL7KnjA8kz1gxuC/Jt/eXECHbzvmDGj4o64fRHASJutmttH36WO+FrocnBX VyUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uSMLX75mWCZNaKWjpTPvmVN0X1WE4yDzVcF62/BNJ4Q=; fh=/y3C3YtKy84M5cSpQOYdVWwJq454ogwAI2SrqSRafB8=; b=vw01peZQfh1fT3FFv2aPy6wedUMvTWMt279pVJyNG+6Ha10TJO/aFtIemcWj8q3K2X nHwEAsg+WJyRPVTaI5HrbsBEfC/n+OueuEcpROGWCAYBFxVy+moMWrvOsdLQlxjeArDG URqK+hsv4ygf47OvcWVKW/+AhDXV2I/9sIyzJ1/ZPP44fQMqfKLkBkXDcq/t50DPdYRm Zabk0/5UL9S3MJWvhXgf82CmbkCqZyLqcEAqmR9YsC225Ez5Z6ViGqc0sjZEuKsdDAGK w+d2zsfOTIXk5es8QXy/P71VtMb+B776HnY4wNjizeP8QbIpqBWhhQcTzSFMrt600Nts vRiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IwDDx3NA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e8-20020a170902cf4800b001bde9e8a29fsi18570773plg.183.2023.09.29.02.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:45:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IwDDx3NA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9D83981142C0; Fri, 29 Sep 2023 01:43:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232813AbjI2InD (ORCPT + 99 others); Fri, 29 Sep 2023 04:43:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbjI2InB (ORCPT ); Fri, 29 Sep 2023 04:43:01 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2691192; Fri, 29 Sep 2023 01:42:59 -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 38T8ePCd020771; Fri, 29 Sep 2023 08:42:34 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-transfer-encoding : content-type; s=qcppdkim1; bh=uSMLX75mWCZNaKWjpTPvmVN0X1WE4yDzVcF62/BNJ4Q=; b=IwDDx3NANBUvWYjZ9poDz5ulec1XKS8AOT368aVE+ccbfcI4TfFe1tvqyGBkkoP7rWOe +XWy2ia7PKZ8pLYkeFUVa/U7h/fusomXKoX2whDKcaohT3cCGPUgf/mvyNLTbv5DJqyL xmOHrU9Bsz3Yb7xu2lrBqdCnhZW56xHYRHVh7dEjTBW2VQjhM9q/x/gYY0/Ubs3rWV+p fZ2gVsHIBfIPtWMg6/i2hMTTJJdzFj/zil8h/5E/y1S1F6lqOziBBXO+pnWVm1Iln5BG +h7G6nZxsq/UZ+gxvPct6YKDDfswTcEp1SIA5NI0/dqzCItJ+UEU3Z8OjlH2vjeJpPpE lQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3td24uaw07-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:34 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38T8gXpJ026997 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Sep 2023 08:42:33 GMT Received: from hu-ipkumar-blr.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 29 Sep 2023 01:42:23 -0700 From: Praveenkumar I To: , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , Subject: [PATCH 0/8] Enable USB3 for Qualcomm IPQ5332 Date: Fri, 29 Sep 2023 14:12:01 +0530 Message-ID: <20230929084209.3033093-1-quic_ipkumar@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zCnb6Lekb27uVrJ1pV3Nm1Ks_1SeRTRe X-Proofpoint-ORIG-GUID: zCnb6Lekb27uVrJ1pV3Nm1Ks_1SeRTRe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-29_07,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=15 clxscore=1011 malwarescore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 spamscore=15 priorityscore=1501 mlxscore=15 mlxlogscore=77 adultscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290074 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:43:13 -0700 (PDT) Patch series adds Qualcomm 22ull Super-Speed USB UNIPHY driver support present in Qualcomm IPQ5332 SoC which is required to enable the USB3. This PHY is interfaced with SNPS DWC3 USB and SNPS DWC PCIe. Either one of the interface can use it via the mux selection present in the TCSR register. Current patch series adds the support for UNIPHY with DWC3 USB. Discards the first patch series as adding a new driver. https://lore.kernel.org/all/20230829135818.2219438-1-quic_ipkumar@quicinc.com/ Praveenkumar I (8): dt-bindings: phy: qcom,uniphy-usb: Document qcom,uniphy-usb phy phy: qcom: Introduce Super-Speed USB UNIPHY driver arm64: dts: qcom: ipq5332: Add USB Super-Speed PHY node dt-bindings: usb: dwc3: Add clocks on Qualcomm IPQ5332 arm64: dts: qcom: ipq5332: Add clocks for USB Super-Speed arm64: dts: qcom: ipq5332: Add Super-Speed UNIPHY in USB node arm64: dts: qcom: ipq5332: Enable USB Super-Speed PHY arm64: defconfig: Enable qcom USB UNIPHY driver .../bindings/phy/qcom,ipq5332-usb-uniphy.yaml | 83 +++++ .../devicetree/bindings/usb/qcom,dwc3.yaml | 20 +- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 6 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 40 ++- arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 11 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-uniphy-usb.c | 322 ++++++++++++++++++ 8 files changed, 476 insertions(+), 8 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-uniphy.yaml create mode 100644 drivers/phy/qualcomm/phy-qcom-uniphy-usb.c -- 2.34.1