Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp28750rdb; Wed, 29 Nov 2023 18:42:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvu+9+80gf1EJksELcl2GztNSTuUfVR/NmdutUV5vjcjYqoXWGkevONbO5BEAthKw8JreA X-Received: by 2002:a17:90b:1d09:b0:280:c98f:2090 with SMTP id on9-20020a17090b1d0900b00280c98f2090mr25846874pjb.32.1701312139800; Wed, 29 Nov 2023 18:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701312139; cv=none; d=google.com; s=arc-20160816; b=WgAOX8UgaJ54pVVBDI7jD3J/AEVRN24Dyn1PLz4Ln8MWmLqQ+WoW5AqXJPKLvXQh2C c9d85SbG3Rhz1KqFQKKSRo+DjahSwJSPvoyaKovcdXU6Tj4zUneUDKvdUyxFg2M9WHgC RmR9ImH3GZLbjxpWsOAPSWczi2BPyB1cn9q4V/8kXLxrib5iuFL8i4bgdzMb388QJgrL wuvIidZx3xD7+D5ldhxDAAVFM9hpuje04c8d32WijOZqUnFpBTU/u6arTTL86mZpNkmN 6hkkxzdjPbjazXvoFFUNbxukzTOpSMWMAgYbA4igI5HhmTf04KFTrLvGwFOgWLSKaxsk pwSQ== 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:cc:to:from :dkim-signature; bh=CnGzzA4BRbO1d1p8Fzo+2MluM6VFPqMjpr9wXLXr5MM=; fh=gjeszuadcWfOp7KlV5rkiBrNpcZAq+C2Lp3jCBDUu9U=; b=uIQiUo/RKFiHD3/hXdhzpnLnRpQU+/uw/DtDsNEPgGrKVgZMTAkTcYjw9jzWSygxWx MDFR9qQBgXu6GIV0/6N6cgDuoQFFeTq6M1HOuAVeSNkx0WieErbVHE0kQp9+sMhfHLRg OJvVxQX65YgtLQXa0vudVNL5YDVYLjog4MkqbpkAv7HS3Wsq6OTyPbNSGsqH1aCbc3q/ 069eT927gogOda6xs/gYbbCoFnhkvBN3PAwQNl1nti/13E3fwPjx9ad+ic3ONI96koD7 /RT6PwNOzo+uDq69IRyOzVslE8LJJqBr+lyTLoa7LbpA50vkJTLbcoYLXLG9YeJ7Xhcc OBCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FKvIxXQF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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. [23.128.96.35]) by mx.google.com with ESMTPS id ay15-20020a17090b030f00b00285b69ccd97si2544067pjb.130.2023.11.29.18.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 18:42:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FKvIxXQF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 5561D802ACFF; Wed, 29 Nov 2023 18:42:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344295AbjK3Cls (ORCPT + 99 others); Wed, 29 Nov 2023 21:41:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235047AbjK3Cld (ORCPT ); Wed, 29 Nov 2023 21:41:33 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AFED1FEC; Wed, 29 Nov 2023 18:41:20 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ATNgv0I025348; Thu, 30 Nov 2023 02:41:15 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=CnGzzA4BRbO1d1p8Fzo+2MluM6VFPqMjpr9wXLXr5MM=; b=FKvIxXQFsPip0lS9rFZu1rmUTiya07+uELNVL7Z1BwidMrkcfYzc7usMd+0paFx2Qg6N 57Ig20EiEI8t+cldmJRVmXaQ9x/2vtBqM6CjaqNIC3r8zK6sy+yTgH99it7M75ox9Qjp v+2eZzvG5OvqX7PKEffUeqLOT6d0ab9BFbxsQ87IgTmLy2ABi637K60cKX8981wR6YpM suFkXzULpu4VN9EBP9XRinIla/dI4Hk345ghLTWhNoRiX90Bdik0VjUvdRiYNSHJpA6+ hWhEwVyBTxtKRjEeV3WyvtB4CF7AQybcmgLpadm9yO0wzkd6iyw7YkCM4dnmcVHfKXaH ew== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3up37ya8g8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Nov 2023 02:41:15 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AU2fEwW008398 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Nov 2023 02:41:14 GMT Received: from tengfan2-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 29 Nov 2023 18:41:09 -0800 From: Tengfei Fan To: , , , CC: , , , , Tengfei Fan Subject: [PATCH v5 0/4] pinctl: qcom: sm4450: Add SM4450 pinctrl driver Date: Thu, 30 Nov 2023 10:40:42 +0800 Message-ID: <20231130024046.25938-1-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 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 nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 55z1WgJluG1bh2lchH8GUiUbZdvqGCMJ X-Proofpoint-GUID: 55z1WgJluG1bh2lchH8GUiUbZdvqGCMJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-29_21,2023-11-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 mlxlogscore=681 clxscore=1015 mlxscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311300018 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,T_SCC_BODY_TEXT_LINE 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]); Wed, 29 Nov 2023 18:42:12 -0800 (PST) Add SM4450 pinctrl driver for support enable uart console. Signed-off-by: Tengfei Fan --- v4 -> v5: - Convert to platform remove callback returning void - correct incorrect address offset v3 -> v4: - update gpio pins pattern v2 -> v3: - update example pieces - update gpio pins pattern v1 -> v2: - update right platform name - update gpio-reserved-ranges have right maxItems - update gpio-line-names have right maxItems - add min/maxItems for pins properties - redo dt_binding_check check - delete reserved gpios setting - combine separate pinctrl functions previous discussion here: [1] v4: https://lore.kernel.org/linux-arm-msm/20230920082102.5744-1-quic_tengfan@quicinc.com [2] v3: https://lore.kernel.org/linux-arm-msm/20230920064739.12562-1-quic_tengfan@quicinc.com [3] v2: https://lore.kernel.org/linux-arm-msm/20230915015808.18296-1-quic_tengfan@quicinc.com [4] v1: https://lore.kernel.org/linux-arm-msm/20230908063843.26835-1-quic_tengfan@quicinc.com Tengfei Fan (4): dt-bindings: pinctrl: qcom: Add SM4450 pinctrl pinctrl: qcom: Add SM4450 pinctrl driver pinctrl: qcom: sm4450: Convert to platform remove callback returning void pinctrl: qcom: sm4450: correct incorrect address offset .../bindings/pinctrl/qcom,sm4450-tlmm.yaml | 151 +++ drivers/pinctrl/qcom/Kconfig.msm | 8 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-sm4450.c | 1013 +++++++++++++++++ 4 files changed, 1173 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml create mode 100644 drivers/pinctrl/qcom/pinctrl-sm4450.c base-commit: 1f5c003694fab4b1ba6cbdcc417488b975c088d0 -- 2.17.1