Message ID | 1683718725-14869-1-git-send-email-quic_rohiagar@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3560527vqo; Wed, 10 May 2023 04:56:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZJ+5zjb9dXNh9BT4vrPo8SLOWk0zfuKa861HJJ0kYJLOPnSdyBXIi1ICobhyyqZOtZezM X-Received: by 2002:a17:90a:df0c:b0:250:8834:307f with SMTP id gp12-20020a17090adf0c00b002508834307fmr9746684pjb.0.1683719804306; Wed, 10 May 2023 04:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683719804; cv=none; d=google.com; s=arc-20160816; b=srYAlXmgOZ54uO42E/La3jetGy01yvbWjOYGtUDzOWW+1f6dANF04ikzStaY4zd3yn ERLn7kss1Sp/DJOOL4YDkj5RmanFGkxctHHDrXhBNQ/lqdnJlKfe1nSKbRhmDyF0bxu0 3Ogf8+3LCHaN8BqZW86ko/4wRFBWlkp18V3WqFyGUCwolOsPZvzJas4Ik45/HtwkHOoZ dRn1EavANEuTdo7L+etZjKYd95FxdDf+SG/HZ2ynjyxbJDbFAu29MJdK+txzqykKpgGw GpiUvOd6f+vbn2g5Vz9pZHBRB2JpQya41NmryAHTAt1Y/n2FYBlzwacw78tkWnZXc7Bp Qcpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=3sGwKKYam5v86mImLzcLB5fvsdPpnSafkRrpMnTr56A=; b=vgZy97W0ovNtUoTmV9bJeEtHMxcWinQ6dyB6NqNfd7xAw3lQ0TwCV/0cxunxefaOtg f//SCyDeRPZV+9mSLuLpkmy3X2R6vm3r2edMlEm7vNwhaHFCEY9DoiI3WAPpuVn0s47f i/kaD6+OVBFcBgciqAgnFfrNsPpUFoKoZlhQkxGzCd42qVcqabdUolpzuv0bRooLN6Wi QjsaGlrPcfVWjhakVMNGGYmWuNEmmyAUVID6YsBr8Pi80fB1bKhjuF/pjoet0zYvVRZ9 DO28J6CWuJNRxZUMZ5sTQqow2LjfvI83LAK1XNSMM6uwsulDPbVWwPqb0gQLi3vZX/oS jxQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MDEEvWjU; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19-20020a637f53000000b0052c81982b3bsi3878981pgn.255.2023.05.10.04.56.31; Wed, 10 May 2023 04:56:44 -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=MDEEvWjU; 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 S236658AbjEJLjT (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Wed, 10 May 2023 07:39:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236829AbjEJLjO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 10 May 2023 07:39:14 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8C0376BC; Wed, 10 May 2023 04:38:55 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34AAnNUX032668; Wed, 10 May 2023 11:38:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=3sGwKKYam5v86mImLzcLB5fvsdPpnSafkRrpMnTr56A=; b=MDEEvWjUtBYXrdX6r1qD1wBmio3FfiNWKUpg1qB/PiB3iqAbQFM0IeDN2JgPnf2BxbgN zXl/IZ/mUC53pGZcKno8OqEirJuPLW8YOTR1P8Q2Ccy1DII1hMEP9hd0KGy74TAET1lC OlGnt9RJNYjcSQnnWXZ5Pe0Ve3HbC7tDuWSH+5wFoxj8EkGlwXErwHhF6cn/y2dV7rqM DQPwW7D3q9nDm9sPO0MdkuqFBSj04HCfdkUVU/ONYJ994fmMwfvNtvKiDLSt2+wJZNwU SpMRJgbWDeRdOtye1IyhYjZZfQHlU4qav7O97OnTvq5nadn98NRDm4fLMrgpwlr1XJ60 PA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qfuna1jmk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 11:38:51 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34ABclwC020132; Wed, 10 May 2023 11:38:47 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3qdy5bkpvj-1; Wed, 10 May 2023 11:38:47 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34ABcl1g020122; Wed, 10 May 2023 11:38:47 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 34ABckh3020120; Wed, 10 May 2023 11:38:46 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 0A5035129; Wed, 10 May 2023 17:08:46 +0530 (+0530) From: Rohit Agarwal <quic_rohiagar@quicinc.com> To: andy.shevchenko@gmail.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, richardcochran@gmail.com, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rohit Agarwal <quic_rohiagar@quicinc.com> Subject: [PATCH v6 0/4] Add pinctrl support for SDX75 Date: Wed, 10 May 2023 17:08:41 +0530 Message-Id: <1683718725-14869-1-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: wM9zHwdKnb177XZLwryzBoWPySDPfQDm X-Proofpoint-GUID: wM9zHwdKnb177XZLwryzBoWPySDPfQDm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-10_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 malwarescore=0 suspectscore=0 mlxlogscore=747 mlxscore=0 clxscore=1011 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305100092 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765508177157420074?= X-GMAIL-MSGID: =?utf-8?q?1765508177157420074?= |
Series | Add pinctrl support for SDX75 | |
Message
Rohit Agarwal
May 10, 2023, 11:38 a.m. UTC
Hi, Changes in v6: - Refactoring as per suggestions from Andy to remove msm_function and reusing the pinfunction and pingroup struct with macros as well. Changes in v5: - Refactor the pinctrl target files based on the new macro and structure defined as suggested by Andy. Changes in v4: - Fixed the bindings check and rebased on linux-next. Changes in v3: - Rebased the bindings on linux-next as suggested by Krzysztof. Changes in v2: - Updated the bindings to clear the bindings check. This patch series adds pinctrl bindings and tlmm support for SDX75. Thanks, Rohit. Rohit Agarwal (4): dt-bindings: pinctrl: qcom: Add SDX75 pinctrl devicetree compatible pinctrl: qcom: Remove the msm_function struct pinctrl: qcom: Refactor generic qcom pinctrl driver pinctrl: qcom: Add SDX75 pincontrol driver .../bindings/pinctrl/qcom,sdx75-tlmm.yaml | 169 +++ drivers/pinctrl/qcom/Kconfig | 30 +- drivers/pinctrl/qcom/Makefile | 3 +- drivers/pinctrl/qcom/pinctrl-apq8064.c | 104 +- drivers/pinctrl/qcom/pinctrl-apq8084.c | 264 ++-- drivers/pinctrl/qcom/pinctrl-ipq4019.c | 104 +- drivers/pinctrl/qcom/pinctrl-ipq5332.c | 206 ++- drivers/pinctrl/qcom/pinctrl-ipq6018.c | 260 ++-- drivers/pinctrl/qcom/pinctrl-ipq8064.c | 114 +- drivers/pinctrl/qcom/pinctrl-ipq8074.c | 240 ++- drivers/pinctrl/qcom/pinctrl-mdm9607.c | 276 ++-- drivers/pinctrl/qcom/pinctrl-mdm9615.c | 90 +- drivers/pinctrl/qcom/pinctrl-msm.c | 13 +- drivers/pinctrl/qcom/pinctrl-msm.h | 42 +- drivers/pinctrl/qcom/pinctrl-msm8226.c | 156 +- drivers/pinctrl/qcom/pinctrl-msm8660.c | 252 ++- drivers/pinctrl/qcom/pinctrl-msm8909.c | 268 ++-- drivers/pinctrl/qcom/pinctrl-msm8916.c | 556 ++++--- drivers/pinctrl/qcom/pinctrl-msm8953.c | 424 +++--- drivers/pinctrl/qcom/pinctrl-msm8960.c | 464 +++--- drivers/pinctrl/qcom/pinctrl-msm8976.c | 212 ++- drivers/pinctrl/qcom/pinctrl-msm8994.c | 564 ++++--- drivers/pinctrl/qcom/pinctrl-msm8996.c | 508 +++---- drivers/pinctrl/qcom/pinctrl-msm8998.c | 380 +++-- drivers/pinctrl/qcom/pinctrl-msm8x74.c | 474 +++--- drivers/pinctrl/qcom/pinctrl-qcm2290.c | 230 ++- drivers/pinctrl/qcom/pinctrl-qcs404.c | 388 +++-- drivers/pinctrl/qcom/pinctrl-qdf2xxx.c | 6 +- drivers/pinctrl/qcom/pinctrl-qdu1000.c | 249 ++- drivers/pinctrl/qcom/pinctrl-sa8775p.c | 308 ++-- drivers/pinctrl/qcom/pinctrl-sc7180.c | 254 ++-- drivers/pinctrl/qcom/pinctrl-sc7280.c | 322 ++-- drivers/pinctrl/qcom/pinctrl-sc8180x.c | 286 ++-- drivers/pinctrl/qcom/pinctrl-sc8280xp.c | 358 +++-- drivers/pinctrl/qcom/pinctrl-sdm660.c | 387 +++-- drivers/pinctrl/qcom/pinctrl-sdm670.c | 284 ++-- drivers/pinctrl/qcom/pinctrl-sdm845.c | 286 ++-- drivers/pinctrl/qcom/pinctrl-sdx55.c | 190 ++- drivers/pinctrl/qcom/pinctrl-sdx65.c | 194 ++- drivers/pinctrl/qcom/pinctrl-sdx75.c | 1601 ++++++++++++++++++++ drivers/pinctrl/qcom/pinctrl-sm6115.c | 162 +- drivers/pinctrl/qcom/pinctrl-sm6125.c | 282 ++-- drivers/pinctrl/qcom/pinctrl-sm6350.c | 296 ++-- drivers/pinctrl/qcom/pinctrl-sm6375.c | 358 +++-- drivers/pinctrl/qcom/pinctrl-sm8150.c | 286 ++-- drivers/pinctrl/qcom/pinctrl-sm8250.c | 258 ++-- drivers/pinctrl/qcom/pinctrl-sm8350.c | 298 ++-- drivers/pinctrl/qcom/pinctrl-sm8450.c | 300 ++-- drivers/pinctrl/qcom/pinctrl-sm8550.c | 320 ++-- 49 files changed, 7763 insertions(+), 6313 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml create mode 100644 drivers/pinctrl/qcom/pinctrl-sdx75.c
Comments
On 5/10/2023 5:08 PM, Rohit Agarwal wrote: > Hi, > > Changes in v6: > - Refactoring as per suggestions from Andy to remove msm_function and > reusing the pinfunction and pingroup struct with macros as well. Patch 2/4 didnt go through in the mailing list linux-arm-msm because of char length. BOUNCE linux-arm-msm@vger.kernel.org: Message too long (>100000 chars) Here is the link for it. https://lore.kernel.org/all/1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com/ Please suggest if this patch needs to be broken down. Thanks, Rohit. > Changes in v5: > - Refactor the pinctrl target files based on the new macro and > structure defined as suggested by Andy. > > Changes in v4: > - Fixed the bindings check and rebased on linux-next. > > Changes in v3: > - Rebased the bindings on linux-next as suggested by Krzysztof. > > Changes in v2: > - Updated the bindings to clear the bindings check. > > This patch series adds pinctrl bindings and tlmm support for SDX75. > > Thanks, > Rohit. > > Rohit Agarwal (4): > dt-bindings: pinctrl: qcom: Add SDX75 pinctrl devicetree compatible > pinctrl: qcom: Remove the msm_function struct > pinctrl: qcom: Refactor generic qcom pinctrl driver > pinctrl: qcom: Add SDX75 pincontrol driver > > .../bindings/pinctrl/qcom,sdx75-tlmm.yaml | 169 +++ > drivers/pinctrl/qcom/Kconfig | 30 +- > drivers/pinctrl/qcom/Makefile | 3 +- > drivers/pinctrl/qcom/pinctrl-apq8064.c | 104 +- > drivers/pinctrl/qcom/pinctrl-apq8084.c | 264 ++-- > drivers/pinctrl/qcom/pinctrl-ipq4019.c | 104 +- > drivers/pinctrl/qcom/pinctrl-ipq5332.c | 206 ++- > drivers/pinctrl/qcom/pinctrl-ipq6018.c | 260 ++-- > drivers/pinctrl/qcom/pinctrl-ipq8064.c | 114 +- > drivers/pinctrl/qcom/pinctrl-ipq8074.c | 240 ++- > drivers/pinctrl/qcom/pinctrl-mdm9607.c | 276 ++-- > drivers/pinctrl/qcom/pinctrl-mdm9615.c | 90 +- > drivers/pinctrl/qcom/pinctrl-msm.c | 13 +- > drivers/pinctrl/qcom/pinctrl-msm.h | 42 +- > drivers/pinctrl/qcom/pinctrl-msm8226.c | 156 +- > drivers/pinctrl/qcom/pinctrl-msm8660.c | 252 ++- > drivers/pinctrl/qcom/pinctrl-msm8909.c | 268 ++-- > drivers/pinctrl/qcom/pinctrl-msm8916.c | 556 ++++--- > drivers/pinctrl/qcom/pinctrl-msm8953.c | 424 +++--- > drivers/pinctrl/qcom/pinctrl-msm8960.c | 464 +++--- > drivers/pinctrl/qcom/pinctrl-msm8976.c | 212 ++- > drivers/pinctrl/qcom/pinctrl-msm8994.c | 564 ++++--- > drivers/pinctrl/qcom/pinctrl-msm8996.c | 508 +++---- > drivers/pinctrl/qcom/pinctrl-msm8998.c | 380 +++-- > drivers/pinctrl/qcom/pinctrl-msm8x74.c | 474 +++--- > drivers/pinctrl/qcom/pinctrl-qcm2290.c | 230 ++- > drivers/pinctrl/qcom/pinctrl-qcs404.c | 388 +++-- > drivers/pinctrl/qcom/pinctrl-qdf2xxx.c | 6 +- > drivers/pinctrl/qcom/pinctrl-qdu1000.c | 249 ++- > drivers/pinctrl/qcom/pinctrl-sa8775p.c | 308 ++-- > drivers/pinctrl/qcom/pinctrl-sc7180.c | 254 ++-- > drivers/pinctrl/qcom/pinctrl-sc7280.c | 322 ++-- > drivers/pinctrl/qcom/pinctrl-sc8180x.c | 286 ++-- > drivers/pinctrl/qcom/pinctrl-sc8280xp.c | 358 +++-- > drivers/pinctrl/qcom/pinctrl-sdm660.c | 387 +++-- > drivers/pinctrl/qcom/pinctrl-sdm670.c | 284 ++-- > drivers/pinctrl/qcom/pinctrl-sdm845.c | 286 ++-- > drivers/pinctrl/qcom/pinctrl-sdx55.c | 190 ++- > drivers/pinctrl/qcom/pinctrl-sdx65.c | 194 ++- > drivers/pinctrl/qcom/pinctrl-sdx75.c | 1601 ++++++++++++++++++++ > drivers/pinctrl/qcom/pinctrl-sm6115.c | 162 +- > drivers/pinctrl/qcom/pinctrl-sm6125.c | 282 ++-- > drivers/pinctrl/qcom/pinctrl-sm6350.c | 296 ++-- > drivers/pinctrl/qcom/pinctrl-sm6375.c | 358 +++-- > drivers/pinctrl/qcom/pinctrl-sm8150.c | 286 ++-- > drivers/pinctrl/qcom/pinctrl-sm8250.c | 258 ++-- > drivers/pinctrl/qcom/pinctrl-sm8350.c | 298 ++-- > drivers/pinctrl/qcom/pinctrl-sm8450.c | 300 ++-- > drivers/pinctrl/qcom/pinctrl-sm8550.c | 320 ++-- > 49 files changed, 7763 insertions(+), 6313 deletions(-) > create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdx75-tlmm.yaml > create mode 100644 drivers/pinctrl/qcom/pinctrl-sdx75.c >
On Wed, May 10, 2023 at 3:16 PM Rohit Agarwal <quic_rohiagar@quicinc.com> wrote: > On 5/10/2023 5:08 PM, Rohit Agarwal wrote: > Patch 2/4 didnt go through in the mailing list linux-arm-msm because of > char length. > BOUNCE linux-arm-msm@vger.kernel.org: Message too long (>100000 chars) > > Here is the link for it. > https://lore.kernel.org/all/1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com/ > Please suggest if this patch needs to be broken down. Since lore.kernel.org has it, I think nothing additional needs to be done. `b4` tool will take it from the archive.
On 10/05/2023 16:02, Andy Shevchenko wrote: > On Wed, May 10, 2023 at 3:16 PM Rohit Agarwal <quic_rohiagar@quicinc.com> wrote: >> On 5/10/2023 5:08 PM, Rohit Agarwal wrote: > >> Patch 2/4 didnt go through in the mailing list linux-arm-msm because of >> char length. >> BOUNCE linux-arm-msm@vger.kernel.org: Message too long (>100000 chars) >> >> Here is the link for it. >> https://lore.kernel.org/all/1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com/ >> Please suggest if this patch needs to be broken down. > > Since lore.kernel.org has it, I think nothing additional needs to be done. > `b4` tool will take it from the archive. Patchwork does not take from b4, but msm list, so this won't be applied by Bjorn. I would suggest either pinging him to notice it or splitting the patch a bit. Best regards, Krzysztof
On Wed, May 10, 2023 at 5:06 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 10/05/2023 16:02, Andy Shevchenko wrote: > > On Wed, May 10, 2023 at 3:16 PM Rohit Agarwal <quic_rohiagar@quicinc.com> wrote: > >> On 5/10/2023 5:08 PM, Rohit Agarwal wrote: > > > >> Patch 2/4 didnt go through in the mailing list linux-arm-msm because of > >> char length. > >> BOUNCE linux-arm-msm@vger.kernel.org: Message too long (>100000 chars) > >> > >> Here is the link for it. > >> https://lore.kernel.org/all/1683718725-14869-3-git-send-email-quic_rohiagar@quicinc.com/ > >> Please suggest if this patch needs to be broken down. > > > > Since lore.kernel.org has it, I think nothing additional needs to be done. > > `b4` tool will take it from the archive. > > Patchwork does not take from b4, but msm list, so this won't be applied > by Bjorn. I would suggest either pinging him to notice it or splitting > the patch a bit. Oh, this is unfortunate. Thank you for the information.