Single SPI Protocol Driver with multiple SPI Slaves

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

 



Hello,

I have written three SPI drivers for BMX055 sensor (accelerometer + gyroscope + magnetometer). It appears that in that case, it was perfect to write three different drivers as the different components were independants.

I'm now working on a driver for MRF89XA (Microchip's radio chip) that is composed of two SPI slaves (one for config and one for data). The device is attached to the driver using a Device Tree.

Is that possible to write a single driver, that works with a pair of SPI slaves?

Regards,

Léo Serre
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux