Re: Request for CONFIG_SPI_SPIDEV in Fedora kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 3/11/19 12:05 PM, Christoph M. wrote:
On Mon, Mar 11, 2019 at 4:51 PM Peter Robinson <pbrobinson@xxxxxxxxx> wrote:

On Mon, Mar 11, 2019 at 3:18 PM Justin Forbes <jmforbes@xxxxxxxxxxx>
wrote:

On Mon, Mar 11, 2019 at 8:34 AM Prarit Bhargava <prarit@xxxxxxxxxx>
wrote:

On 3/10/19 5:53 PM, Peter Robinson wrote:
On Sun, Mar 10, 2019 at 9:46 PM Christoph M. <christophm30@xxxxxxxxx>
wrote:


On Sun, Mar 10, 2019 at 10:39 PM Peter Robinson <
pbrobinson@xxxxxxxxx> wrote:

Hi Fedora kernel team,

I'd like to access SPI devices via the spidev user API ([1]) on
my Fedora
system.
Would it be possible to enable CONFIG_SPI_SPIDEV (module would be
fair
enough),
so that I don't have to build my own kernel?

Which architectures or sort of device?


I'd like to have that for x86-64 (I want to control an SPI-attached
display).

Any particular drivers? Or just SPI_SPIDEV

FWIW, in RHEL we have

./redhat/configs/debug/aarch64/CONFIG_SPI_DEBUG:CONFIG_SPI_DEBUG=y
./redhat/configs/generic/aarch64/CONFIG_SPI:CONFIG_SPI=y

./redhat/configs/generic/aarch64/CONFIG_SPI_CADENCE:CONFIG_SPI_CADENCE=m
./redhat/configs/generic/aarch64/CONFIG_SPI_MASTER:CONFIG_SPI_MASTER=y
./redhat/configs/generic/aarch64/CONFIG_SPI_PL022:CONFIG_SPI_PL022=m
./redhat/configs/generic/aarch64/CONFIG_SPI_QUP:CONFIG_SPI_QUP=y
./redhat/configs/generic/aarch64/CONFIG_SPI_XLP:CONFIG_SPI_XLP=m
./redhat/configs/generic/x86_64/CONFIG_SPI:CONFIG_SPI=y

I don't have a problem with these going in the 5.0 rebase.

We already have it all enabled on aarch64, and Arm in general, I
actually question how useful the RHEL config is on non aarch64 as it
doesn't enable CONFIG_SPI_SPIDEV or CONFIG_SPI_MASTER which I think
are generally needed for it to be useful, but maybe CONFIG_SPI enables
them, I've not looked.


CONFIG_SPI is required for any CONFIG_SPI*.
CONFIG_SPI_MASTER is required for CONFIG_SPI_SPIDEV.

https://elixir.bootlin.com/linux/latest/source/drivers/spi/Kconfig#L25

I've turned on SPI_SPIDEV on x86 and it's in today's Rawhide build. I've
also pushed it to the f30 branch so it should be in the 5.0.2 build.

- Jeremy
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux