Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1263734rdb; Wed, 20 Sep 2023 04:38:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHXPORjT5qONeoQK09cJQuQhITs1sc+mFFrCO5LfKZMsZdeKQdUreR2++cUmPTQ6FMEHMW X-Received: by 2002:a17:902:d34c:b0:1c1:f27e:a55a with SMTP id l12-20020a170902d34c00b001c1f27ea55amr2010563plk.46.1695209899193; Wed, 20 Sep 2023 04:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695209899; cv=none; d=google.com; s=arc-20160816; b=zAnjICFDIy92tm0/08OpuQQ2FH9EXPRZbPMdAjmGeHjczNlHLs9qZARB9TG6CF+ho9 Pr+pLVEXwD0ihOqULvt4OwWGbdkhhJAI0jYIvX+8PPAIAWWDnJf8p18WqskHd1MI66hg VHUJal4bI2oR+lHND8Vm3FZWbmYb7noPysDjZnSJI5yWsnJNFm8GsTMZJfuQVDX1ePN2 MUQ9CdnpwZ8pwMdm33DKvqgvZZXZTKIbav+jPm2B67Yb4JAwij/MzJAaP0dweOBadyHK WI+v1CJiznrKYdTDC06pZV5F/W9Y902r9FeIzaBA4/5nwLT9LcjInJFbnC8N9quB3DPK 4KgA== 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=bBDJbNKzqNea7zrNrVhROlKwxfgVW+z8A2UHlmtTVG4=; fh=090d6qhcrE0yDmTNEka7Icqx4fMzRn6pxjIAoLl+99g=; b=D5DkztdLnU4qtIPMNDMkGQIjdpb9z5JhwqR6qKgUziEz0+uw9SHOoX3XvoHAzYFCvA SzwfRhVdyYFuUxv5m5z6rUjIcgP9GZ1ri5d6RLWKbMVe9Z6fKRxOTqs4/5zQB0kVuLTf /0za3tiCX6USrMSUbanzNjNFc88KKc5kF+pNcAgbf3sQn8cMAXrPKgU3GRzlCO8JaKt5 +iGIKZEDNGNW8xowjcXn+rzo9336r9tQFEostLenRqDmmNytTwSg/ligCwPdquksGcu6 PFiKpXENwFXlZADAZ7RXEfVuk8eMH60Ekwb1rjMkJ+1Z4tvfBrLfMyeqsibWjyX8mCpe Z4mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HzT7brwV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i16-20020a170902c95000b001c34f81bb35si12069714pla.200.2023.09.20.04.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:38:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HzT7brwV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 46E5980401C3; Wed, 20 Sep 2023 01:21:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231347AbjITIVw (ORCPT + 99 others); Wed, 20 Sep 2023 04:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232649AbjITIVv (ORCPT ); Wed, 20 Sep 2023 04:21:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93F999E; Wed, 20 Sep 2023 01:21:43 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38K5kDaK026627; Wed, 20 Sep 2023 08:21:37 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=bBDJbNKzqNea7zrNrVhROlKwxfgVW+z8A2UHlmtTVG4=; b=HzT7brwVaYcIJfx/jeTiANGd4aZ2o+kXkmsuyUxCXRzm6sCGJwOYRtPqz7sQSHlvVVm/ DoQXVpsAbJe+7cOIn+MBGvTYsib+0zUEIhLyrcGXXoNio7eMjd0Aa8e83l8F+Q4wrjjd 7LFmxgM0bK0BD0qYCAtsO1QvwA9MyUqkLpVjqfaDj/nNb+7D8AjcLu4RzMdp5WU9fkDh yqA3bTVLOPCD5KL1A1THdkfrEtUwCjU0SZTmfbgvnOs34osia295LWH+b1HnH03siJkN CBR50oM2VweAem+sBv18OgjB6MUDbFuBT6eyPBMerxjzyTissBjYxyLNAp+efK60yfAN Iw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t78upjmcd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 08:21:37 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38K8LbU2014172 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 08:21:37 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.36; Wed, 20 Sep 2023 01:21:29 -0700 From: Tengfei Fan To: , , , , , , CC: , , , , , , , , , , , Tengfei Fan Subject: [PATCH v4 0/2] pinctl: qcom: Add SM4450 pinctrl driver Date: Wed, 20 Sep 2023 16:21:00 +0800 Message-ID: <20230920082102.5744-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: QNXlxL4duBQshRKMBXddfYpJow81EBBA X-Proofpoint-ORIG-GUID: QNXlxL4duBQshRKMBXddfYpJow81EBBA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-20_02,2023-09-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 phishscore=0 mlxscore=0 mlxlogscore=824 suspectscore=0 spamscore=0 clxscore=1015 adultscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309200067 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 01:21:58 -0700 (PDT) Add Sm4450 pinctrl driver for support enable uart console. Signed-off-by: Tengfei Fan --- 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] v3: https://lore.kernel.org/linux-arm-msm/20230920064739.12562-1-quic_tengfan@quicinc.com [2] v2: https://lore.kernel.org/linux-arm-msm/20230915015808.18296-1-quic_tengfan@quicinc.com [3] 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: Add 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 | 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: dfa449a58323de195773cf928d99db4130702bf7 -- 2.17.1