From: Sander Vanheule <sander@svanheule.net>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, bert@biot.com, mail@birger-koblitz.de
Subject: Re: [PATCH v2 1/2] spi: realtek-rtl: Add compile testing support
Date: Thu, 28 Jul 2022 20:26:41 +0200 [thread overview]
Message-ID: <f5b80dfafccd629e98df6c516b512b9492cae14d.camel@svanheule.net> (raw)
In-Reply-To: <20220728152118.1429161-2-martin.blumenstingl@googlemail.com>
Hi Martin,
On Thu, 2022-07-28 at 17:21 +0200, Martin Blumenstingl wrote:
> Add support for compile testing the spi-realtek-rtl driver to increase
> build testing coverage.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
> drivers/spi/Kconfig | 9 +++++++++
> drivers/spi/Makefile | 2 +-
> 2 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 8e550269d488..d8b55efb05d5 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -969,6 +969,15 @@ config SPI_MXS
> help
> SPI driver for Freescale MXS devices.
>
> +config SPI_REALTEK_RTL
> + tristate "Realtek RTL SPI controller"
> + depends on HAS_IOMEM
I think this is already an implied dependency, by virtue of this symbol being
available only when CONFIG_SPI=y.
> + depends on MACH_REALTEK_RTL || COMPILE_TEST
> + default MACH_REALTEK_RTL
> + help
> + SPI driver for the hardware found on Realtek RLTL8380, RTL8382,
> + RTL8391, RTL8392 and RTL8393 SoCs.
> +
Could you add how the module will be named be to the help text? See for example
CONFIG_SPI_DLN2.
Best,
Sander
> config SPI_TEGRA210_QUAD
> tristate "NVIDIA Tegra QSPI Controller"
> depends on ARCH_TEGRA || COMPILE_TEST
> diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
> index 18bf3d8c6df7..9fe4a2aa0fd7 100644
> --- a/drivers/spi/Makefile
> +++ b/drivers/spi/Makefile
> @@ -105,7 +105,7 @@ obj-$(CONFIG_SPI_QUP) += spi-qup.o
> obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o
> obj-$(CONFIG_SPI_ROCKCHIP_SFC) += spi-rockchip-sfc.o
> obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
> -obj-$(CONFIG_MACH_REALTEK_RTL) += spi-realtek-rtl.o
> +obj-$(CONFIG_SPI_REALTEK_RTL) += spi-realtek-rtl.o
> obj-$(CONFIG_SPI_RPCIF) += spi-rpc-if.o
> obj-$(CONFIG_SPI_RSPI) += spi-rspi.o
> obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o
next prev parent reply other threads:[~2022-07-28 18:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-28 15:21 [PATCH v2 0/2] spi: realtek-rtl: two small improvements Martin Blumenstingl
2022-07-28 15:21 ` [PATCH v2 1/2] spi: realtek-rtl: Add compile testing support Martin Blumenstingl
2022-07-28 18:26 ` Sander Vanheule [this message]
2022-07-28 15:21 ` [PATCH v2 2/2] spi: realtek-rtl: Improve readability when clearing the size mask Martin Blumenstingl
2022-07-28 18:40 ` Sander Vanheule
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=f5b80dfafccd629e98df6c516b512b9492cae14d.camel@svanheule.net \
--to=sander@svanheule.net \
--cc=bert@biot.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=mail@birger-koblitz.de \
--cc=martin.blumenstingl@googlemail.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;
as well as URLs for NNTP newsgroup(s).