STRUCT SPI_BOARD_INF(9) Serial Peripheral Interface (S STRUCT SPI_BOARD_INF(9)NAME
struct_spi_board_info - board-specific template for a SPI device
SYNOPSIS
struct spi_board_info {
char modalias[SPI_NAME_SIZE];
const void * platform_data;
void * controller_data;
int irq;
u32 max_speed_hz;
u16 bus_num;
u16 chip_select;
u8 mode;
};
MEMBERS
modalias[SPI_NAME_SIZE]
Initializes spi_device.modalias; identifies the driver.
platform_data
Initializes spi_device.platform_data; the particular data stored there is driver-specific.
controller_data
Initializes spi_device.controller_data; some controllers need hints about hardware setup, e.g. for DMA.
irq
Initializes spi_device.irq; depends on how the board is wired.
max_speed_hz
Initializes spi_device.max_speed_hz; based on limits from the chip datasheet and board-specific signal quality issues.
bus_num
Identifies which spi_master parents the spi_device; unused by spi_new_device, and otherwise depends on board wiring.
chip_select
Initializes spi_device.chip_select; depends on how the board is wired.
mode
Initializes spi_device.mode; based on the chip datasheet, board wiring (some devices support both 3WIRE and standard modes), and
possibly presence of an inverter in the chipselect path.
DESCRIPTION
When adding new SPI devices to the device tree, these structures serve as a partial device template. They hold information which can't
always be determined by drivers. Information that probe can establish (such as the default transfer wordsize) is not included here.
These structures are used in two places. Their primary role is to be stored in tables of board-specific device descriptors, which are
declared early in board initialization and then used (much later) to populate a controller's device tree after the that controller's driver
initializes. A secondary (and atypical) role is as a parameter to spi_new_device call, which happens after those controller drivers are
active in some dynamic board configuration models.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT SPI_BOARD_INF(9)
Check Out this Related Man Page
STRUCT I2C_BOARD_INF(9) I2C and SMBus Subsystem STRUCT I2C_BOARD_INF(9)NAME
struct_i2c_board_info - template for device creation
SYNOPSIS
struct i2c_board_info {
char type[I2C_NAME_SIZE];
unsigned short flags;
unsigned short addr;
void * platform_data;
struct dev_archdata * archdata;
int irq;
};
MEMBERS
type[I2C_NAME_SIZE]
chip type, to initialize i2c_client.name
flags
to initialize i2c_client.flags
addr
stored in i2c_client.addr
platform_data
stored in i2c_client.dev.platform_data
archdata
copied into i2c_client.dev.archdata
irq
stored in i2c_client.irq
DESCRIPTION
I2C doesn't actually support hardware probing, although controllers and devices may be able to use I2C_SMBUS_QUICK to tell whether or not
there's a device at a given address. Drivers commonly need more information than that, such as chip type, configuration, associated IRQ,
and so on.
i2c_board_info is used to build tables of information listing I2C devices that are present. This information is used to grow the driver
model tree. For mainboards this is done statically using i2c_register_board_info; bus numbers identify adapters that aren't yet available.
For add-on boards, i2c_new_device does this dynamically with the adapter already known.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 STRUCT I2C_BOARD_INF(9)
hello
i'm looking for a unix based software program to create a message board on a speciality car related website i am donating my time to develop.
since i am a mac person with only javascript knowledge, no unix i need a very easy to admin. application. free or cheap.
thanks
james (2 Replies)
Wath is this ??
eeE: WatchDog ReInitMemory 6 for board 0 WARNING: eeE: Allocb failure in ReInitMemory
Only renit manualy is a solution.
:confused:
Help me please
Tnks (2 Replies)
Hey all.
Just wondering if anyone knows where I can get a free bulletin board for Windows.
I can find some but I need it to be able to post images and files to the board. I can find some though I can't find any that will allow files and images and I need both of them.
Oh yeah I'll be... (1 Reply)
Hi Guys and Gals,
Does anyone know how to track down a faulty DIMM on the memory board of an M4000?
showhardconf tells me which board it is, but was wondering if there was a way to track it down to a DIMM?
Thanks in advance
Martin (5 Replies)
Hi I am trying to port xenomai on exynos 4210 arm board.
With some research I have found a way to port the board on the exynos board but the problem is that on the exynos-4210 website they have provided a patched version of linux-3.0.15 kernel for implementing on the board.
On this kernel I am... (1 Reply)
Hi,
What are the files need to be edit after replacing with new system board. Because of big environment we do this activity on weekly basis. (4 Replies)
HI all,
I have armv7 board and i will execute script in host machine with ssh connection from board .
I have to test when board in standby mode the script runned in host remain working .
The result is the reverse when kernel is in standby mode on board.
SSH connection closed and the... (3 Replies)
Hi guys...
Well I have entered an area of partial insnity... ;o)
Below is a photo of the 'ALTDC' board for AudioScope.sh...
I have decided to incorporate all three methods for obtaining DC into this MBP via the MIC input.
1) VFO.
2) CHOPPER.
3) COUNTER.
The controller for the COUNTER... (9 Replies)