From: Huacai Chen <chenhc@lemote.com>
To: Qing Zhang <zhangqing@loongson.cn>
Cc: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
ThomasBogendoerfer <tsbogend@alpha.franken.de>,
linux-spi@vger.kernel.org, Jiaxun Yang <jiaxun.yang@flygoat.com>,
devicetree@vger.kernel.org,
"open list:MIPS" <linux-mips@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v5 3/4] MIPS: Loongson64: DTS: Add SPI support to LS7A
Date: Mon, 28 Dec 2020 08:27:12 +0800 [thread overview]
Message-ID: <CAAhV-H4OR=BCcwU=RgYdKY2JdRgM7SVWO7Y5+dZtTpqt+yWwfA@mail.gmail.com> (raw)
In-Reply-To: <1608973923-8328-3-git-send-email-zhangqing@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
On Sat, Dec 26, 2020 at 5:16 PM Qing Zhang <zhangqing@loongson.cn> wrote:
>
> Add spi support.
>
> Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
> ---
>
> v2:
> - Add spi about pci device DT
>
> v3:
> - Remove spiflash node
>
> v4:
> - Remove useless compatible
>
> v5:
> - Remove num-chipselects
>
> ---
> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> index f99a7a1..dba717d 100644
> --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> @@ -405,6 +405,15 @@
> interrupt-map-mask = <0 0 0 0>;
> interrupt-map = <0 0 0 0 &pic 39 IRQ_TYPE_LEVEL_HIGH>;
> };
> +
> + spi@16,0 {
> + compatible = "pci0014,7a0b.0",
> + "pci0014,7a0b",
> + "pciclass088000",
> + "pciclass0880";
> +
> + reg = <0xb000 0x0 0x0 0x0 0x0>;
> + };
> };
>
> isa {
> --
> 2.1.0
>
next prev parent reply other threads:[~2020-12-28 0:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-26 9:12 [PATCH v5 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support Qing Zhang
2020-12-26 9:12 ` [PATCH v5 2/4] spi: ls7a: Add YAML schemas Qing Zhang
2020-12-28 0:26 ` Huacai Chen
2020-12-26 9:12 ` [PATCH v5 3/4] MIPS: Loongson64: DTS: Add SPI support to LS7A Qing Zhang
2020-12-28 0:27 ` Huacai Chen [this message]
2020-12-26 9:12 ` [PATCH v5 4/4] MIPS: Loongson: Enable Loongson LS7A SPI in loongson3_defconfig Qing Zhang
2020-12-28 0:32 ` [PATCH v5 1/4] spi: LS7A: Add Loongson LS7A SPI controller driver support Huacai Chen
2020-12-28 1:28 ` zhangqing
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='CAAhV-H4OR=BCcwU=RgYdKY2JdRgM7SVWO7Y5+dZtTpqt+yWwfA@mail.gmail.com' \
--to=chenhc@lemote.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=tsbogend@alpha.franken.de \
--cc=zhangqing@loongson.cn \
/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.