All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Christoph Niedermaier <cniedermaier@dh-electronics.com>,
	'Marek Vasut' <marex@denx.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linus.walleij@linaro.org" <linus.walleij@linaro.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	"linux-stm32@st-md-mailman.stormreply.com"
	<linux-stm32@st-md-mailman.stormreply.com>,
	Alexandre Torgue <alexandre.torgue@st.com>,
	Patrick Delaunay <patrick.delaunay@st.com>,
	Patrice Chotard <patrice.chotard@st.com>
Subject: Re: [Linux-stm32] [PATCH] ARM: dts: stm32: Fill GPIO line names on AV96
Date: Mon, 15 Mar 2021 13:05:05 +0100	[thread overview]
Message-ID: <d452b0ac-d11b-0e6e-56db-568d7c9238a0@pengutronix.de> (raw)
In-Reply-To: <788d7d182b13448c8afc4b99518daa34@dh-electronics.com>

On 15.03.21 12:41, Christoph Niedermaier wrote:
>> So I'll pose another question here to the GPIO maintainers.
>>
>> Is it OK to define gpio-line-names in SoM DTSI even for pins which will
>> not be used as GPIOs e.g. because they are muxed differently in the
>> carrier board DTS ?
>>
>> If that is OK, then the above approach is then also OK.
> 
> In our case, we cannot mux the GPIO pins in the carrier board DTS
> to another functions, because then we break our SOM standard (DHCOM).
> So in the case we relabel a GPIO in the carrier board e.g. "DHCOM-I"
> becomes "LED1" the mux function have to be GPIO.

For standards like SMARC, where the interface is predefined, I think it makes
much sense to have the SoM dtsi contain not only the line-names, but also
ready-to-use, pinmuxing settings.

Base boards can then either enable peripherals with just a status = "okay"
if they follow the standard or just override it if they choose to do
stuff differently.

Cheers,
Ahmad

> 
> Regards,
> Christoph
> _______________________________________________
> Linux-stm32 mailing list
> Linux-stm32@st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/linux-stm32
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-03-15 12:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24 10:16 [PATCH] ARM: dts: stm32: Fill GPIO line names on AV96 Marek Vasut
2020-08-06  7:09 ` Christoph Niedermaier
2020-08-06  7:29   ` Marek Vasut
2021-03-12 15:17     ` Christoph Niedermaier
2021-03-12 16:17       ` Marek Vasut
2021-03-12 17:38         ` Christoph Niedermaier
2021-03-12 21:01           ` Marek Vasut
2021-03-15 11:41             ` Christoph Niedermaier
2021-03-15 12:05               ` Ahmad Fatoum [this message]
2021-03-15 14:29                 ` [Linux-stm32] " Marek Vasut
2021-03-15 15:05                   ` Ahmad Fatoum
2021-03-15 16:08                     ` Marek Vasut
2021-03-15 14:26               ` Marek Vasut
2021-03-15 18:58                 ` Christoph Niedermaier
2021-03-15 21:18                   ` 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=d452b0ac-d11b-0e6e-56db-568d7c9238a0@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=alexandre.torgue@st.com \
    --cc=cniedermaier@dh-electronics.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=marex@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.