Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10430831rwp; Thu, 20 Jul 2023 22:01:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlFMguBVo03p8jtBhq4xyhqrlDqluFlBpCA9qMlvAzsITfQX9a8/g8JTLtP+uWqLEIhE5Yob X-Received: by 2002:a05:6512:1150:b0:4f8:661f:60a4 with SMTP id m16-20020a056512115000b004f8661f60a4mr512456lfg.41.1689915682896; Thu, 20 Jul 2023 22:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689915682; cv=none; d=google.com; s=arc-20160816; b=MbWHRaiQUz9rkn4hHHhkpa6qCWdJ9+FdM/2+xOhSCTyyniba7ffsKH6pCgjnY3shql qCk2i+XbZn2C6QzNWgWQgN8D+V0pS48wUIpKu8e/LfwJbPF2tQ613BEdJLBCNXLMpl29 YmoPLr8tnclJAdIznE5E83CELGhx5q3JwwxdR6WTiGhEuC6m4TkysJp/pYxZ3J4WkVeV iMhmSb2zsDAaSZx7SQtjnfiRmvGnjqPdPW/MVlSBWJJeBoEi9lQX2HggKvASEtk8LaMN f1vs401+RKOtwrXtzPNYBfyIcBPISvf4wmYEQXzLOuPaDPyWIBj5C1ECIvQz7+SKD+kD ImrQ== 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=j2SnFwaS/EAMQDBoEDn5f5bpkQT9GmPnTSni9rl3kTA=; fh=/wa4tjgZbyz8kQOXlq/1xELhA/Jtj8VOHFTry8pEWlc=; b=mDjqe7oisrORH8Up44zRN/3MObuvBXugDuHvctxaLJh6TKxXL0BJg/5jwpEyChrtr2 K9+AyTDLP+9NpzT9UKymJzYdDdKf/ln0kVpkNWmgx0TPsmf0jtvib9mNgcWtrbVgeQK4 bDdVXH6pRIs294GXsvowijAjI2hyQ+grSYZr8TLYvnbjtAKCU5twMMl4CGS4wB2xhmOM u/5wV2MNV7ZpslM62QccltNJzHbSAwcwEnG64fmhK83i+Frcw0ZkL5+yiKY8XYaGIQwq ccMI5p/ybaT5tEk6oPbLdBKI2WhqkgiWEoo5GfoHSouDhsz4R9e8NGgyfxX5J0jVAbHD ZjAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GXE6AS97; 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 l24-20020a056402125800b0051e052dbb30si1746492edw.608.2023.07.20.22.00.26; Thu, 20 Jul 2023 22:01: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=GXE6AS97; 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 S230183AbjGUEgS (ORCPT + 99 others); Fri, 21 Jul 2023 00:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjGUEgQ (ORCPT ); Fri, 21 Jul 2023 00:36:16 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4204010E5; Thu, 20 Jul 2023 21:36:15 -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 36L1KelA012627; Fri, 21 Jul 2023 04:35:46 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=j2SnFwaS/EAMQDBoEDn5f5bpkQT9GmPnTSni9rl3kTA=; b=GXE6AS97keNLO74mEorQwyo8cwN3t9InMzW5jyq1AiPp3SpSIqYT8ZAPqucEx8D/cGPY 1DRe45T2pH/jZ6x8RBU5hlqOWS5v3/s4pUk0kEDJj24Fw4uSeZf4Sr5y+yTFrZ1c9nCQ JMLrSSKLjP3KUeTIX2d+pcRwDNubGiX5MHAaGgFypmQITwbsvcrnWclFEZK2FOt5Oa40 9v6bADVVwXetuKm74ZOql7jvQjsILZ7suO9p4yjnSfC1twn4BPeFz2SwsyIag56U8Y9Y K0zhs88dQPYWZDJNCWyRCCyQaml5qgFnUPni3lJZbr35tEn1uUqxODKBV9IZcqNyp6gR yA== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ryg7w091e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 04:35:46 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36L4ZjFw020258 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jul 2023 04:35:45 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; Thu, 20 Jul 2023 21:35:37 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v5 0/6] Enable IPQ5332 USB2 Date: Fri, 21 Jul 2023 10:05:25 +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: ctxhi22JxNy9ISameZnUsMDvH2Wq-QlB X-Proofpoint-ORIG-GUID: ctxhi22JxNy9ISameZnUsMDvH2Wq-QlB 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-21_01,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 phishscore=0 mlxlogscore=332 impostorscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307210041 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 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 (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 | 51 ++++ .../devicetree/bindings/usb/qcom,dwc3.yaml | 3 + arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 56 +++++ arch/arm64/configs/defconfig | 1 + drivers/phy/qualcomm/Kconfig | 11 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-m31.c | 264 +++++++++++++++++++++ 8 files changed, 399 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