From: Alexandre Torgue <alexandre.torgue@foss.st.com>
To: <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Olof Johansson <olof@lixom.net>, <soc@kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>
Subject: [PATCH v2 01/10] dt-bindings: pinctrl: stm32: support for stm32mp257 and additional packages
Date: Fri, 2 Jun 2023 15:28:50 +0200 [thread overview]
Message-ID: <20230602132859.16442-2-alexandre.torgue@foss.st.com> (raw)
In-Reply-To: <20230602132859.16442-1-alexandre.torgue@foss.st.com>
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 <alexandre.torgue@foss.st.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
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 */
--
2.17.1
next prev parent reply other threads:[~2023-06-02 13:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-02 13:28 [PATCH v2 00/10] Add STM32MP25 support Alexandre Torgue
2023-06-02 13:28 ` Alexandre Torgue [this message]
2023-06-08 13:49 ` [PATCH v2 01/10] dt-bindings: pinctrl: stm32: support for stm32mp257 and additional packages Linus Walleij
2023-06-02 13:28 ` [PATCH v2 02/10] pinctrl: stm32: add stm32mp257 pinctrl support Alexandre Torgue
2023-06-08 13:49 ` Linus Walleij
2023-06-02 13:28 ` [PATCH v2 03/10] dt-bindings: stm32: add st,stm32mp25-syscfg compatible for syscon Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 04/10] arm64: introduce STM32 family on Armv8 architecture Alexandre Torgue
2023-06-22 0:57 ` Guenter Roeck
2023-06-22 7:50 ` Alexandre TORGUE
2023-06-22 7:57 ` Arnd Bergmann
2023-06-02 13:28 ` [PATCH v2 05/10] arm64: dts: st: introduce stm32mp25 SoCs family Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 06/10] arm64: dts: st: introduce stm32mp25 pinctrl files Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 07/10] dt-bindings: stm32: document stm32mp257f-ev1 board Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 08/10] arm64: dts: st: add stm32mp257f-ev1 board support Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 09/10] arm64: defconfig: enable ARCH_STM32 and STM32 serial driver Alexandre Torgue
2023-06-02 13:28 ` [PATCH v2 10/10] MAINTAINERS: add entry for ARM/STM32 ARCHITECTURE Alexandre Torgue
2023-06-08 15:01 ` [PATCH v2 00/10] Add STM32MP25 support Alexandre TORGUE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230602132859.16442-2-alexandre.torgue@foss.st.com \
--to=alexandre.torgue@foss.st.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=soc@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).