This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:linux:docs:platform_and_bus_model [11 Mar 2015 10:20] – old revision restored (09 Nov 2011 14:16) Lars-Peter Clausen | software:linux:docs:platform_and_bus_model [30 Mar 2022 13:17] (current) – [Declaring I2C devices] Michael Hennerich | ||
---|---|---|---|
Line 58: | Line 58: | ||
So, to enable such a driver one need only edit the board support file by adding an appropriate entry to i2c_board_info. | So, to enable such a driver one need only edit the board support file by adding an appropriate entry to i2c_board_info. | ||
- | For more information see: [[git.linux.org> | + | For more information see: [[git.linux.org> |
====== Example Declaring I2C Devices ====== | ====== Example Declaring I2C Devices ====== | ||
Line 110: | Line 110: | ||
This method is appropriate when the SPI bus is a system bus, as in many embedded systems, wherein each SPI bus has a number which is known in advance. It is thus possible to pre-declare the SPI devices that inhabit this bus. This is done with an array of struct spi_board_info, | This method is appropriate when the SPI bus is a system bus, as in many embedded systems, wherein each SPI bus has a number which is known in advance. It is thus possible to pre-declare the SPI devices that inhabit this bus. This is done with an array of struct spi_board_info, | ||
- | For more information see: [[git.linux.org> | + | For more information see: [[git.linux.org> |
====== Example Declaring SPI Slave Devices ====== | ====== Example Declaring SPI Slave Devices ====== | ||