From: Marek Vasut <marex@denx.de>
To: Alexandre Torgue <alexandre.torgue@st.com>,
linux-arm-kernel@lists.infradead.org
Cc: Patrick Delaunay <patrick.delaunay@st.com>,
linux-stm32@st-md-mailman.stormreply.com,
Patrice Chotard <patrice.chotard@st.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins
Date: Wed, 6 May 2020 15:37:31 +0200 [thread overview]
Message-ID: <1d9cbde1-2be1-f54e-7c65-202f2bc7e0a9@denx.de> (raw)
In-Reply-To: <13aabff1-d4d0-7afb-6a57-a8136e35c6a4@st.com>
On 5/6/20 9:46 AM, Alexandre Torgue wrote:
> Hi Marek
Hi,
> On 4/29/20 6:37 PM, Marek Vasut wrote:
>> Add another mux option for I2C2 pins, this is used on AV96 board.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Alexandre Torgue <alexandre.torgue@st.com>
>> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
>> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
>> Cc: Patrice Chotard <patrice.chotard@st.com>
>> Cc: Patrick Delaunay <patrick.delaunay@st.com>
>> Cc: linux-stm32@st-md-mailman.stormreply.com
>> To: linux-arm-kernel@lists.infradead.org
>> ---
>> arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 +++++++++++++++++
>> 1 file changed, 17 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
>> b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
>> index aeddcaadb829..ca4edcf369d0 100644
>> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
>> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
>> @@ -408,6 +408,23 @@ pins {
>> };
>> };
>> + i2c2_pins_c: i2c2-4 {
>> + pins {
>> + pinmux = <STM32_PINMUX('F', 1, AF4)>, /* I2C2_SCL */
>> + <STM32_PINMUX('H', 5, AF4)>; /* I2C2_SDA */
>> + bias-disable;
>> + drive-open-drain;
>> + slew-rate = <0>;
>> + };
>> + };
>> +
>> + i2c2_pins_sleep_c: i2c2-5 {
>
> should be i2c2-sleep-4. I'll fix it directly when I'll merge.
All right, thanks.
btw I had this internal discussion now about handling the combinatorial
explosion of board DTs here. If we support them all, by the end of the
lifespan of these devices, we end up with:
STM32MP15{1,3,7}{a,c,d,f} SoM rev. {0..7}00 on baseboard rev. {0..7}00.
There won't be every SoM and baseboard revision combination all right.
But even the amount of SoM options gives me 12 DTs. That is not a low
number. Does ST have some plan to handle such situation ?
I can imagine that U-Boot can patch the DT and enable/disable
functionality , which could handle the {a,c,d,f} options and reduce the
amount of DTs. It could possibly also handle the {1,3,7} options.
Any other ideas ?
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-05-06 13:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 16:37 [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 02/12] ARM: dts: stm32: Repair I2C2 operation on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 03/12] ARM: dts: stm32: Add alternate pinmux for FDCAN1 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 04/12] ARM: dts: stm32: Add bindings for FDCAN1 on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 05/12] ARM: dts: stm32: Add alternate pinmux for FDCAN2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 06/12] ARM: dts: stm32: Add bindings for FDCAN2 on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 07/12] ARM: dts: stm32: Add alternate pinmux for ADC pins Marek Vasut
2020-04-29 16:37 ` [PATCH 08/12] ARM: dts: stm32: Add bindings for ADC on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 09/12] ARM: dts: stm32: Add alternate pinmux for SPI2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 10/12] ARM: dts: stm32: Add bindings for SPI2 on AV96 Marek Vasut
2020-05-07 12:53 ` Alexandre Torgue
2020-05-07 12:57 ` Marek Vasut
2020-04-29 16:37 ` [PATCH 11/12] ARM: dts: stm32: Split Avenger96 into DHCOR SoM and Avenger96 board Marek Vasut
2020-04-29 16:37 ` [PATCH 12/12] ARM: dts: stm32: Add DTs for STM32MP15x variants of the DHCOR SOM and AV96 Marek Vasut
2020-05-07 15:26 ` Manivannan Sadhasivam
2020-05-07 15:33 ` Marek Vasut
2020-05-07 16:05 ` Manivannan Sadhasivam
2020-05-07 16:28 ` Marek Vasut
2020-05-06 7:46 ` [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins Alexandre Torgue
2020-05-06 13:37 ` Marek Vasut [this message]
2020-05-06 14:26 ` Alexandre Torgue
2020-05-06 14:39 ` Marek Vasut
2020-05-06 14:55 ` Alexandre Torgue
2020-05-06 14:58 ` Marek Vasut
2020-05-06 15:15 ` Alexandre Torgue
2020-05-06 15:27 ` Marek Vasut
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=1d9cbde1-2be1-f54e-7c65-202f2bc7e0a9@denx.de \
--to=marex@denx.de \
--cc=alexandre.torgue@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=patrice.chotard@st.com \
--cc=patrick.delaunay@st.com \
/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).