From patchwork Fri Jun 2 13:28:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 102562 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1032167vqr; Fri, 2 Jun 2023 06:34:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ71FFJW/4jKqzbCEF4frxGbMxmScy6RnjrXH33Gkbo1ZtZjbCQB5XLmMu56iI9fUAdTuaCR X-Received: by 2002:a05:6a21:3388:b0:10c:2fe0:b3d with SMTP id yy8-20020a056a21338800b0010c2fe00b3dmr10107021pzb.33.1685712856999; Fri, 02 Jun 2023 06:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712856; cv=none; d=google.com; s=arc-20160816; b=spF9k3TkrJNCMomujShWSiB79y2qijgATvI0wik+80fkALB5Ejgeks+LDBu/kF/J4t cCNL6maWrBZwcmIJhPq5F5p5n1nexhi0GAxJk+Qx7qmjRTcjmDRVkZ/re/q6G89HJRSV s3Tm/r57D0Gyfih/M+BJryUym73+WW3SNEo9W/2TyuF/OVjTQ6SI+JI95z75cSodqFue 4wXfKNtRMf+Q1/KNAmIpqXUR3WxhDDH109Sxz40aTmYurwS2gC0cFA98tU9esUeC1iF6 PGDNFF5Omdg+a+H0Va4UzTm3Es7MWBKpKnmL3N+PzIk+TKDP5H+YTgiLRNKJIoCIcQSO h4SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JXOkz1yMnYf3hSK6OQ9FOlo+6ogfqWnCLWQ9vPUkJP8=; b=Q95pPAFu8KUkHythDlDjB6yUthjga8+FIhXowMHTBwRW6+TlbGP1t3dizvLPUHDYI/ sIghfzL5+eBHqy3vpK6HabzW5mqOUkJ+JEOOYVX/t7kgGXssrdmRGKie3BnncVQBqEEY ExgNDICiLaZUeX6cc7FW/6hmEzJLJaN3vZS0JaSTmmvo5YUlrbJ5HspDR4nI5UxM4odf vWcvfRZSS6k3+rD/5tgSF1Aq1HPQqeqA4uckUAn6qz620VhkrLditSOJinABAYeraNI8 Xhc2KgnqW1bbr8ALOlmVED8KRN8N8DAR6oOBuUkXMrWJZojh0U4r4dd3mhFQeEToE/W7 yKnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=nxrD9qk5; 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=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0053ef547263bsi922785pgq.165.2023.06.02.06.34.04; Fri, 02 Jun 2023 06:34:16 -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=@foss.st.com header.s=selector1 header.b=nxrD9qk5; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236176AbjFBN3a (ORCPT + 99 others); Fri, 2 Jun 2023 09:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236079AbjFBN3Y (ORCPT ); Fri, 2 Jun 2023 09:29:24 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 231E11B5; Fri, 2 Jun 2023 06:29:22 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 352CEUrY023929; Fri, 2 Jun 2023 15:29:05 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=JXOkz1yMnYf3hSK6OQ9FOlo+6ogfqWnCLWQ9vPUkJP8=; b=nxrD9qk5R+hp5P1V1ITwxK4MnVOEvJxlkwhOL0tjIiZctfE/YbqgtpIGAuLRkcFNPw4+ hxiHA8xabXvf54Q0icPv/MKWhCM8Abel9d24XwODbjHrO7/9gZH1dNGwj02yI530SjCD /mYIqsfnekos7vYpoGFIa3/IN3iRgXuPb09lLev21IjrZjLZaIbIM7KYv+MyDtAvp90n KxtyiZ89IrHPGasd6zk2AgOaDra6ao/nqAIz8VZo9+8lFFUy6PorP2QZGNUWon4jnJYf OhXAzZAtLmKTvyWDEIUDKQMmGMt1Ugt2i7YdKdz6ISLi2hlSWfBSaeiHcLLAVa+f2MuS qw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3qyc08a1uu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Jun 2023 15:29:05 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E1DA0100034; Fri, 2 Jun 2023 15:29:04 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D88E5236927; Fri, 2 Jun 2023 15:29:04 +0200 (CEST) Received: from localhost (10.201.21.93) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 2 Jun 2023 15:29:04 +0200 From: Alexandre Torgue To: , , Conor Dooley , Linus Walleij , Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson , CC: , , Alexandre Torgue , , , Subject: [PATCH v2 01/10] dt-bindings: pinctrl: stm32: support for stm32mp257 and additional packages Date: Fri, 2 Jun 2023 15:28:50 +0200 Message-ID: <20230602132859.16442-2-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230602132859.16442-1-alexandre.torgue@foss.st.com> References: <20230602132859.16442-1-alexandre.torgue@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.21.93] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-02_10,2023-06-02_02,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767598044512940716?= X-GMAIL-MSGID: =?utf-8?q?1767598044512940716?= Add support for st,stm32mp257-pinctrl and st,stm32mp257-z-pinctrl. Add packages AI, AK and AL (values : 0x100, 0x400 and 0x800) Signed-off-by: Alexandre Torgue Reviewed-by: Conor Dooley Reviewed-by: Linus Walleij diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 1ab0f8dde477..2120ef71a78d 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -27,6 +27,8 @@ properties: - st,stm32mp135-pinctrl - st,stm32mp157-pinctrl - st,stm32mp157-z-pinctrl + - st,stm32mp257-pinctrl + - st,stm32mp257-z-pinctrl '#address-cells': const: 1 @@ -56,7 +58,7 @@ properties: Indicates the SOC package used. More details in include/dt-bindings/pinctrl/stm32-pinfunc.h $ref: /schemas/types.yaml#/definitions/uint32 - enum: [1, 2, 4, 8] + enum: [0x1, 0x2, 0x4, 0x8, 0x100, 0x400, 0x800] patternProperties: '^gpio@[0-9a-f]*$': diff --git a/include/dt-bindings/pinctrl/stm32-pinfunc.h b/include/dt-bindings/pinctrl/stm32-pinfunc.h index e6fb8ada3f4d..28ad0235086a 100644 --- a/include/dt-bindings/pinctrl/stm32-pinfunc.h +++ b/include/dt-bindings/pinctrl/stm32-pinfunc.h @@ -37,6 +37,9 @@ #define STM32MP_PKG_AB 0x2 #define STM32MP_PKG_AC 0x4 #define STM32MP_PKG_AD 0x8 +#define STM32MP_PKG_AI 0x100 +#define STM32MP_PKG_AK 0x400 +#define STM32MP_PKG_AL 0x800 #endif /* _DT_BINDINGS_STM32_PINFUNC_H */