Re: [PATCH v9 2/2] spi: loongson: add bus driver for the loongson spi controller

From: zhuyinbo
Date: Mon May 15 2023 - 20:50:53 EST




在 2023/5/15 下午9:54, Andy Shevchenko 写道:
On Mon, May 15, 2023 at 3:01 PM zhuyinbo <zhuyinbo@xxxxxxxxxxx> wrote:
在 2023/5/15 下午5:15, andy.shevchenko@xxxxxxxxx 写道:
Mon, May 15, 2023 at 04:14:00PM +0800, zhuyinbo kirjoitti:
在 2023/5/11 下午3:18, zhuyinbo 写道:
在 2023/5/8 下午11:04, andy.shevchenko@xxxxxxxxx 写道:

...

+config SPI_LOONGSON_CORE
+ tristate "Loongson SPI Controller Core Driver Support"

Does it need to be visible to the user?

I try to set it invisible that by removing the SPI_LOONGSON_CORE Kconfig
or removing "tristate "Loongson SPI Controller Core Driver Support" that
will cause spi-core driver doesn't be compiled or compiled fail issue,
so I will still set it visible to the user.

Making a symbol selectable only can be achieved by removing the description
(near to tristate directive), have you tried that?

Is it like this ?

Yes.


okay, I got it.

Thanks.