From patchwork Tue Aug 22 10:29:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 13360459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DF368EE4993 for ; Tue, 22 Aug 2023 10:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XNtxAuSwybrAF4xQlzyu2JkT65BJIIbyOiyaa+p2IS8=; b=DArguC4VMJTYST 3AWcaSvocA4Wi1qReODwFFenCZj18JR2XT/n8zZgUGzGD1IpXxg3gs+ugDzyuo2DeW5MKevzuk3BB OVJ8uPyHKTDOyp0ZAItLNtvyX2maA19E9f7JPOF3DXPUPntMmI6oOhJSwiMACSqbEYFllQR8Qz/IV J97lol9aU85ucN3+P5ZP+h8hljbvVb+L2FJh0xqKM4SbAJB8bthyRH35EBRdoPV4X6oUzw7M+JxaQ yUTeMfxyNZFnD5mjgfBlEitC7PFhYYhLN5/ZHv6CF/wcXQ62y7D5diTAsOB1lbSdxdnxknp7Nhg7H zl8OwOOPHmu8Jiko9J/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYOeP-00FgIg-1W; Tue, 22 Aug 2023 10:30:17 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYOeL-00FgDY-30; Tue, 22 Aug 2023 10:30:15 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37M4rWjt030192; Tue, 22 Aug 2023 10:29: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=kvYCf82jllt8N53t4jDI8+KY9HjIzpuC3xsuryVUhTw=; b=R+jLTWzT1h5ThemwWIwhI6Pxr2iFvF6CnuhhgharPJUDSSkcqtriRZMyx7QwU6VzQA1y t0R+JqI9Q3cCJQo2jsXiziz2n4KRJ1Mo90cS65UM53+WsOUE3m4pf4y3Ax01R2owKlFy Uhm6eGiVBpnVQbgy1uBT0zduLyPQU7punO6hz6UqHhwOlkR0tBo5f8l8GgHWqLufaGPA PZH9Pr3dC1L2Zo2OzUa9d+V7SWbvzSMnD9uEOsLyTqTTuqs5pMeC/KyywxScuu3ECuJW 1hRzCnp0mow7bfZ7tDsY7qbMe3TiTry9RGu4sXYz+3Wuzzb7bqkYlLOftDwC0bpyuJy+ UQ== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sm6f9tq9m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Aug 2023 10:29:53 +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 37MATpW2027700 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Aug 2023 10:29: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.36; Tue, 22 Aug 2023 03:29:45 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v9 0/4] Enable IPQ5332 USB2 Date: Tue, 22 Aug 2023 15:59:11 +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-GUID: UIdfSrUgYG6RtcvZeOvKcghm8WYQmlnD X-Proofpoint-ORIG-GUID: UIdfSrUgYG6RtcvZeOvKcghm8WYQmlnD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-22_10,2023-08-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=404 adultscore=0 bulkscore=0 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308220080 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230822_033013_980139_3B383C65 X-CRM114-Status: GOOD ( 16.07 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org This patch series adds the relevant phy and controller DT configurations for enabling USB2 on IPQ5332 v9: Driver: Since the driver code has been picked up for merge, (https://lore.kernel.org/linux-arm-msm/169226613917.81413.1200008047604336868.b4-ty@kernel.org/) adding the coding style fixes alone in this patch. Fix line break alignment Remove register success print DTS: usb2@8a00000 -> usb@8a00000 regulator_fixed_5p0: s0500 -> regulator_fixed_5p0: regulator v8: Driver:- Change commit subject and message per review comments Don't include of_platform.h Change struct initialization coding style GENMASK -> BIT for one of the defines v7: Binding:- Move 'compatible' to be the first entry In the example have 'usb-phy' instead of 'usb2-phy' Add 'Reviewed-by: Krzysztof Kozlowski' 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 (4): phy: qcom: m31: Fix indentation issues arm64: dts: qcom: ipq5332: Add USB related nodes arm64: dts: qcom: ipq5332: Enable USB arm64: defconfig: Enable M31 USB phy driver 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/phy-qcom-m31.c | 8 ++--- 4 files changed, 82 insertions(+), 5 deletions(-)