On Wednesday, 29 November 2023 17:34:48 GMT Dr Rainer Woitok wrote:
> Michael,
> 
> On Tuesday, 2023-11-28 10:13:56 +0000, you wrote:
> > ...
> > I suggested enabling the SPI modules because they are used by the CPU to
> > communicate with various sensors, adjust clock frequency between
> > components
> > and thereafter to receive signals a/synchronously to control temperatures.
> 
> What exactly do you suggest?  My kernel (6.1.57) configuration contains:
> 
>    $ grep SPI /usr/src/linux/.config|grep -v SPIN
>    CONFIG_SCSI_SPI_ATTRS=y
>    # CONFIG_SPI is not set
>    # SPI RTC drivers
>    CONFIG_RTC_I2C_AND_SPI=y
>    # SPI and I2C RTC drivers
>    $
> 
> I played a little  with the  "/" and "?" commands  of "make menuconfig",
> activated "CONFIG_SPI"  and found a lot of controllers and drivers,  but
> nothing obvious to enable additionally.   However, apparently activating
> "CONFIG_SPI" also activated
> 
>    CONFIG_NET_VENDOR_ADI=y
>    CONFIG_SND_SPI=y
>    CONFIG_SPI_DYNAMIC=y
>    CONFIG_SPI_MASTER=y
> 
> Is this what you are suggesting?
> 
> Sincerely,
>   Rainer

It depends on the hardware, this is what I have enabled on an AMD MoBo:

~ $ grep SPI /usr/src/linux/.config
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
# CONFIG_INET6_ESPINTCP is not set
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
# CONFIG_SPI_MEM is not set
# SPI Master Controller Drivers
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_AXI_SPI_ENGINE is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_DESIGNWARE is not set
# CONFIG_SPI_NXP_FLEXSPI is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_MICROCHIP_CORE is not set
# CONFIG_SPI_MICROCHIP_CORE_QSPI is not set
# CONFIG_SPI_LANTIQ_SSC is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX is not set
# CONFIG_SPI_ROCKCHIP is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_SIFIVE is not set
# CONFIG_SPI_MXIC is not set
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_ZYNQMP_GQSPI is not set
CONFIG_SPI_AMD=m
# SPI Multiplexer support
# CONFIG_SPI_MUX is not set
# SPI Protocol Masters
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
CONFIG_SPI_DYNAMIC=y
# SPI GPIO expanders
# end of SPI GPIO expanders
# CONFIG_SENSORS_LTC2947_SPI is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_SND_SPI is not set
# SPI RTC drivers
CONFIG_RTC_I2C_AND_SPI=y
# SPI and I2C RTC drivers
# CONFIG_HWSPINLOCK is not set

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to