Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4524942rdb; Tue, 12 Dec 2023 01:51:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXZAlyLSi/OSyhjrgonwsLSJzTgq4Q5z4podd+pFuTxPoWks+YQbtKF05ugCz2WlVS/Xjc X-Received: by 2002:a17:90a:f0ce:b0:286:9cc1:a10 with SMTP id fa14-20020a17090af0ce00b002869cc10a10mr4863564pjb.8.1702374684074; Tue, 12 Dec 2023 01:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702374684; cv=none; d=google.com; s=arc-20160816; b=NnAittNN0DRlLJZXAh17XXOKNF1gm0/irvwGtDzcdkjA/7hY6Cq+uF8DA2NVE/KRv/ prkO70b9CPVL9KRPzNIZ8wURzNDs92XiGuVBfvO3KQCHgUTg1U+rQZDe6+hnQf/YjWXG EYVdJMhbvPNYj+egmhWJ2Op8yzRKZdmy8yA7+L9ra3XWi+d2//NmgdN+xNNZ2KnZwQKz 9KXXzu6AxyK4wZW5Zu45u9x1IUk/YZd07EV/crPV+Dl8mXfVEZlkXIwMDNa2U7iDFQYK /IMTdS9FfeDA6XLTNBL04mR1H04UxTqIJ71zF3WUzLQa1+61zH01uRogK+QehfgJNwNA STBw== 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=p1KbxbU/n0XKG2RhgRaGZKeYQjXJzTSZ9ugHo2OBkAk=; fh=K8JE5Ep3Vd5a+gcPFtEOLYC6tqua/iMMtk4CUGIcR9w=; b=c2VXIY/upsMmrYpVe0rPhcC3aRc6BoCIBM0zUzsoxLu2FxSK++HfyDD/hLspv3Ia+i 0SEDfzY8rCxs+2Mfc5w5Zd6ZWuFu0iLNx2YikAdmiaiuvPDWz3hgtnbrozefIWcyP/Zt KS+bREETL13LuPQ8NwKXx2kByhk8Nm8OH1nF5p9LxzzN8mtRoPDkRLuKA0KagdrDhbOz vx/2THkwzUwji1vvKrjzmUpyMPylWmgWHhCohOzL34BcogCXd6qx3bjEm3NV1WsFQ5T1 VVED0MjyTdla0OopK3072o21jKhfQIeQr6gZb1KMJGsrmBk+ykU22QszY7YXeyXJfpeA cn2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dbmi8sim; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id cu21-20020a17090afa9500b00286bd6b361csi8891800pjb.110.2023.12.12.01.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 01:51:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dbmi8sim; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 3816E8082CE8; Tue, 12 Dec 2023 01:50:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346205AbjLLJuE (ORCPT + 99 others); Tue, 12 Dec 2023 04:50:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346073AbjLLJuB (ORCPT ); Tue, 12 Dec 2023 04:50:01 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66586E4; Tue, 12 Dec 2023 01:50:06 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BC2P8kQ001894; Tue, 12 Dec 2023 09:50:03 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=p1KbxbU/n0XKG2RhgRaGZKeYQjXJzTSZ9ugHo2OBkAk=; b=Db mi8simgNFEBHhKOtGFvZD5xA9ZGW8D3+Yxfb8lumI8nMOF4/r/ZGiZBgqVUgvsw9 NL4toX+Cs8z3Tq4GDoSv4oQKLoMcVAjZH0BQhIC3ucZGRH35MuXJ6MyEMvuZBXZB x7Y1aZ83K2wmT04qURzEB+EoLOqv+Cz9PKQhErrWsMhdR2T1teBU0uv/z27CsLZB MkQLiN6K/Ukl++2Z663/wj8pI29K82qjyQhp/VDtDlAe2wja+oneItyP7mysfjfN bySxKFI8zg+Q8lpsrP7weVD/dzfpWz7LtL1Q9ZCLn6i+x+YUuDt0zSLZ2kYJcEMw KMrxliZfCdZgGWQqBj1g== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxepkgwjh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 09:50:03 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BC9o2pD018255 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 09:50:02 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; Tue, 12 Dec 2023 01:49:55 -0800 From: Tengfei Fan To: , , , , , , CC: , , , , , Tengfei Fan Subject: [PATCH v7 0/2] pinctl: qcom: sm4450: Add SM4450 pinctrl driver Date: Tue, 12 Dec 2023 17:48:58 +0800 Message-ID: <20231212094900.12615-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-GUID: eLZUkqJkpgCKs5RxoL7KauOlzXr3tdTH X-Proofpoint-ORIG-GUID: eLZUkqJkpgCKs5RxoL7KauOlzXr3tdTH 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-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=762 spamscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120078 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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 01:50:54 -0800 (PST) Add SM4450 pinctrl driver for support enable uart console. Signed-off-by: Tengfei Fan --- v6 -> v7: - readd review tag because of patches updates are not enough to drop review tag v5 -> v6: - squash the fixups into the newly added driver - drop reviewed-by due to update patch as new comments 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] v6: https://lore.kernel.org/linux-arm-msm/20231206020840.33228-1-quic_tengfan@quicinc.com [2] v5: https://lore.kernel.org/linux-arm-msm/20231130024046.25938-1-quic_tengfan@quicinc.com [3] v4: https://lore.kernel.org/linux-arm-msm/20230920082102.5744-1-quic_tengfan@quicinc.com [4] v3: https://lore.kernel.org/linux-arm-msm/20230920064739.12562-1-quic_tengfan@quicinc.com [5] v2: https://lore.kernel.org/linux-arm-msm/20230915015808.18296-1-quic_tengfan@quicinc.com [6] v1: https://lore.kernel.org/linux-arm-msm/20230908063843.26835-1-quic_tengfan@quicinc.com Tengfei Fan (2): dt-bindings: pinctrl: qcom: Add SM4450 pinctrl pinctrl: qcom: sm4450: dd SM4450 pinctrl driver .../bindings/pinctrl/qcom,sm4450-tlmm.yaml | 151 +++ drivers/pinctrl/qcom/Kconfig.msm | 8 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-sm4450.c | 1014 +++++++++++++++++ 4 files changed, 1174 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm4450-tlmm.yaml create mode 100644 drivers/pinctrl/qcom/pinctrl-sm4450.c base-commit: abb240f7a2bd14567ab53e602db562bb683391e6 -- 2.17.1