From: Leilk Liu <leilk.liu@mediatek.com>
To: Rob Herring <robh@kernel.org>
Cc: Mark Brown <broonie@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-spi@vger.kernel.org>, <linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH V2 3/6] dt-bindings: spi: Add compatible for Mediatek IPM IP with quad mode
Date: Sat, 26 Feb 2022 11:24:46 +0800 [thread overview]
Message-ID: <55a65e5aa412f101e02c81ddb5fa38c128743db2.camel@mediatek.com> (raw)
In-Reply-To: <YhknmEtjpN7Lmoru@robh.at.kernel.org>
On Fri, 2022-02-25 at 13:01 -0600, Rob Herring wrote:
> On Mon, Feb 21, 2022 at 12:07:14PM +0800, Leilk Liu wrote:
> > This patch adds dt-binding documentation for Mediatek SPI IPM IP
> > with
> > quad mode.
> >
> > Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
> > ---
> > Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 1
> > +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-
> > mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-
> > mt65xx.yaml
> > index 0a2fc0404cb3..241c0f5880d3 100644
> > --- a/Documentation/devicetree/bindings/spi/mediatek,spi-
> > mt65xx.yaml
> > +++ b/Documentation/devicetree/bindings/spi/mediatek,spi-
> > mt65xx.yaml
> > @@ -42,6 +42,7 @@ properties:
> > - mediatek,mt8173-spi
> > - mediatek,mt8183-spi
> > - mediatek,ipm-spi-single
> > + - mediatek,ipm-spi-quad
>
> Can't you use the existing width properties to distinguish? Or is
> the
> programming not a superset?
>
"mediatek,ipm-spi-quad" include the feature of "mediatek,ipm-spi-
single".
> Is 'ipm' an SoC? If not, these need to be SoC specific.
>
IPM is an version of SPI ip, we use this IP with ICs now.
So I define a compatible strings "mediatek,ipm-spi-xxx", then I can
reuse this strings with many ICs.
Currently, we plan to upstream MT7986 IC, this IC has two spi
controller ports, one support single mode only, the other support
single & quad mode both.
for example:
spi0 {
...
compatible = "mediatek,ipm-spi-single";
...
}
spi1 {
...
compatible = "mediatek,ipm-spi-quad";
...
}
> Rob
next prev parent reply other threads:[~2022-02-26 3:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 4:07 [PATCH V2 0/6] spi: mediatek: add single/quad mode support Leilk Liu
2022-02-21 4:07 ` [PATCH V2 1/6] dt-bindings: spi: Add compatible for Mediatek IPM IP with single mode Leilk Liu
2022-02-25 18:57 ` Rob Herring
2022-02-21 4:07 ` [PATCH V2 2/6] spi: mediatek: add IPM single mode design support Leilk Liu
2022-02-22 10:09 ` AngeloGioacchino Del Regno
2022-02-23 1:51 ` Leilk Liu
2022-02-21 4:07 ` [PATCH V2 3/6] dt-bindings: spi: Add compatible for Mediatek IPM IP with quad mode Leilk Liu
2022-02-25 19:01 ` Rob Herring
2022-02-26 3:24 ` Leilk Liu [this message]
2022-02-21 4:07 ` [PATCH V2 4/6] spi: mediatek: add spi memory support Leilk Liu
2022-02-22 10:49 ` AngeloGioacchino Del Regno
2022-02-23 1:59 ` Leilk Liu
2022-03-05 8:22 ` Leilk Liu
2022-02-21 4:07 ` [PATCH V2 5/6] dt-bindings: spi: support spi-hclk Leilk Liu
2022-02-25 19:03 ` Rob Herring
2022-02-26 3:14 ` Leilk Liu
2022-02-21 4:07 ` [PATCH V2 6/6] spi: mediatek: " Leilk Liu
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=55a65e5aa412f101e02c81ddb5fa38c128743db2.camel@mediatek.com \
--to=leilk.liu@mediatek.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@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).