mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno  <angelogioacchino.delregno@collabora.com>
To: arinc9.unal@gmail.com, Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: "Arınç ÜNAL" <arinc.unal@arinc9.com>,
	"Rob Herring" <robh@kernel.org>,
	"William Dean" <williamsukatube@gmail.com>,
	"Sean Wang" <sean.wang@kernel.org>,
	"Andy Teng" <andy.teng@mediatek.com>,
	"Daniel Golle" <daniel@makrotopia.org>,
	"Hui Liu" <hui.liu@mediatek.com>,
	"Zhiyong Tao" <zhiyong.tao@mediatek.com>,
	"Bernhard Rosenkränzer" <bero@baylibre.com>,
	"Sergio Paracuellos" <sergio.paracuellos@gmail.com>,
	"Daniel Santos" <daniel.santos@pobox.com>,
	"Luiz Angelo Daros de Luca" <luizluca@gmail.com>,
	"Frank Wunderlich" <frank-w@public-files.de>,
	"Landen Chao" <Landen.Chao@mediatek.com>,
	"DENG Qingfang" <dqfext@gmail.com>,
	"Sean Wang" <sean.wang@mediatek.com>,
	erkin.bozoglu@xeront.com,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org
Subject: Re: [PATCH v3 20/21] dt-bindings: pinctrl: mediatek: mt7620: split binding
Date: Mon, 20 Mar 2023 16:00:06 +0100	[thread overview]
Message-ID: <1d0c0e49-4f50-7fc8-d514-b19cf4054066@collabora.com> (raw)
In-Reply-To: <20230317213011.13656-21-arinc.unal@arinc9.com>

Il 17/03/23 22:30, arinc9.unal@gmail.com ha scritto:
> From: Arınç ÜNAL <arinc.unal@arinc9.com>
> 
> The MT7628 and MT7688 SoCs contain different pin muxing information,
> therefore, should be split. This can be done now that there are compatible
> strings to distinguish them from other SoCs.
> 
> Split the schema out to mediatek,mt76x8-pinctrl.yaml.
> 
> Remove mediatek,mt76x8-pinctrl from mt7620.
> 
> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
>   .../pinctrl/mediatek,mt7620-pinctrl.yaml      | 379 +--------------
>   .../pinctrl/mediatek,mt76x8-pinctrl.yaml      | 450 ++++++++++++++++++

AFAIK, wildcards aren't allowed, so the new file should instead be called
"mediatek,mt7628-pinctrl.yaml", the compatible string "ralink,mt76x8-pinctrl"
should be deprecated (but still present as to not break ABI), and the driver
updated to accept the compatible string "ralink,mt7628-pinctrl".

At that point, you could update the devicetrees as well: for MT7628, you'd
have a node using

compatible = "ralink,mt7628-pinctrl";

while for MT7688, you'd have

compatible = "ralink,mt7688-pinctrl", "ralink,mt7628-pinctrl";

If you don't want to go through those lengths, you could still do the
cleanup that you wanted to perform, but with a filename containing no
wildcards - anyway.

Regards,
Angelo


  reply	other threads:[~2023-03-20 15:05 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17 21:29 [PATCH v3 00/21] pinctrl: ralink: fix ABI, improve driver, move to mediatek, improve dt-bindings arinc9.unal
2023-03-17 21:29 ` [PATCH v3 01/21] pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string arinc9.unal
2023-03-28 20:59   ` Rob Herring
2023-03-28 21:06     ` Arınç ÜNAL
2023-03-17 21:29 ` [PATCH v3 02/21] pinctrl: ralink: rt305x: add new compatible string for every SoC arinc9.unal
2023-03-17 21:29 ` [PATCH v3 03/21] pinctrl: ralink: mt7620: split out to mt76x8 arinc9.unal
2023-03-17 21:29 ` [PATCH v3 04/21] pinctrl: ralink: move to mediatek as mtmips arinc9.unal
2023-03-17 21:29 ` [PATCH v3 05/21] pinctrl: mediatek: remove OF_GPIO as reverse dependency arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:29 ` [PATCH v3 06/21] dt-bindings: pinctrl: ralink: move additionalProperties to top arinc9.unal
2023-03-17 21:29 ` [PATCH v3 07/21] dt-bindings: pinctrl: ralink: drop quotes from referred schemas arinc9.unal
2023-03-17 21:29 ` [PATCH v3 08/21] dt-bindings: pinctrl: ralink: add new compatible strings arinc9.unal
2023-03-17 21:29 ` [PATCH v3 09/21] dt-bindings: pinctrl: ralink: {mt7620,mt7621}: rename to mediatek arinc9.unal
2023-03-17 21:30 ` [PATCH v3 10/21] dt-bindings: pinctrl: mediatek: mt6795: rename to mediatek,mt6795-pinctrl arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 11/21] dt-bindings: pinctrl: mediatek: mt8186: rename to mediatek,mt8186-pinctrl arinc9.unal
2023-03-20 15:00   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 12/21] dt-bindings: pinctrl: mediatek: mt8192: rename to mediatek,mt8192-pinctrl arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 13/21] dt-bindings: pinctrl: mediatek: mt8195: rename to mediatek,mt8195-pinctrl arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 14/21] dt-bindings: pinctrl: mediatek: fix naming inconsistency arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 15/21] dt-bindings: pinctrl: {mediatek,ralink}: fix formatting arinc9.unal
2023-03-20 14:53   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 16/21] dt-bindings: pinctrl: mediatek: fix pinmux header location arinc9.unal
2023-03-20 14:54   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 17/21] dt-bindings: pinctrl: mediatek: drop quotes from referred schemas arinc9.unal
2023-03-20 14:54   ` AngeloGioacchino Del Regno
2023-03-17 21:30 ` [PATCH v3 18/21] dt-bindings: pinctrl: mediatek: mt7986: fix patternProperties regex arinc9.unal
2023-03-17 21:30 ` [PATCH v3 19/21] dt-bindings: pinctrl: ralink: rt305x: split binding arinc9.unal
2023-03-17 21:30 ` [PATCH v3 20/21] dt-bindings: pinctrl: mediatek: mt7620: " arinc9.unal
2023-03-20 15:00   ` AngeloGioacchino Del Regno [this message]
2023-03-20 18:34     ` Arınç ÜNAL
2023-03-17 21:30 ` [PATCH v3 21/21] MAINTAINERS: move ralink pinctrl to mediatek mips pinctrl arinc9.unal
2023-03-19 20:49 ` [PATCH v3 00/21] pinctrl: ralink: fix ABI, improve driver, move to mediatek, improve dt-bindings Linus Walleij
2023-03-19 20:59   ` Arınç ÜNAL

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=1d0c0e49-4f50-7fc8-d514-b19cf4054066@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=Landen.Chao@mediatek.com \
    --cc=andy.teng@mediatek.com \
    --cc=arinc.unal@arinc9.com \
    --cc=arinc9.unal@gmail.com \
    --cc=bero@baylibre.com \
    --cc=daniel.santos@pobox.com \
    --cc=daniel@makrotopia.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dqfext@gmail.com \
    --cc=erkin.bozoglu@xeront.com \
    --cc=frank-w@public-files.de \
    --cc=hui.liu@mediatek.com \
    --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-mediatek@lists.infradead.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=luizluca@gmail.com \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sean.wang@kernel.org \
    --cc=sean.wang@mediatek.com \
    --cc=sergio.paracuellos@gmail.com \
    --cc=williamsukatube@gmail.com \
    --cc=zhiyong.tao@mediatek.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

all inboxes | Powered by JetHome®