From: matthias.bgg@gmail.com (Matthias Brugger)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT7629 soc platform
Date: Tue, 20 Nov 2018 11:28:25 +0100 [thread overview]
Message-ID: <7bc1777c-fb24-d150-c13f-658c2a33cd71@gmail.com> (raw)
In-Reply-To: <1542703268-17285-2-git-send-email-leilk.liu@mediatek.com>
On 20/11/2018 09:41, Leilk Liu wrote:
> This patch adds a DT binding documentation for the MT7629 soc.
>
> Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
> ---
> .../devicetree/bindings/spi/spi-mt65xx.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
> index 7940940..6cc4e87 100644
> --- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
> @@ -6,6 +6,7 @@ Required properties:
> - mediatek,mt2712-spi: for mt2712 platforms
> - mediatek,mt6589-spi: for mt6589 platforms
> - mediatek,mt7622-spi: for mt7622 platforms
> + - mediatek,mt7629-spi: for mt7629 platforms
That's ok, as you add support in the driver. As it actually doesn't change
anything in the driver itself you could just describe the binding as something like:
" mediatek,mt7629-spi", "mediatek,mt7622-spi": for mt7629 platforms
This way the driver will just probe the driver using the fallback (mt7622)
compatible, but if you realize in the future that you will need to distinguish
between the two SoCs, you can add a mt7629 compatible.
Just as information for the future :)
Regards,
Matthias
next prev parent reply other threads:[~2018-11-20 10:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 8:41 [PATCH 0/2] add SPI driver support for mt7629 Leilk Liu
2018-11-20 8:41 ` [PATCH 1/2] spi: mediatek: Add bindings for mediatek MT7629 soc platform Leilk Liu
2018-11-20 10:28 ` Matthias Brugger [this message]
2018-11-23 1:50 ` lei liu
2018-11-20 8:41 ` [PATCH 2/2] spi: mediatek: add spi support for mt7629 IC Leilk Liu
2018-11-28 16:05 ` Applied "spi: mediatek: add spi support for mt7629 IC" to the spi tree Mark Brown
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=7bc1777c-fb24-d150-c13f-658c2a33cd71@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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).