Age | Commit message (Collapse) | Author | Files | Lines |
|
Do not load endian value from platform data
and rather autodetect it.
Signed-off-by: Michal Simek <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
|
|
This patch adds in support for the DS570 IP.
It's register compatible with the DS464, but adds support for 8/16/32 SPI.
The 8/16/32 support is added by attaching callbacks reading/writing the
proper amount of data. To indicate to the driver which amount of bits
to use a new field is introduced in the platform data struct.
Acked-by: Grant Likely <[email protected]>
Tested-by: John Linn <[email protected]>
Signed-off-by: Richard Röjfors <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
|
|
This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to 32 bits ioread/iowrite.
The read and write function are attached to the internal struct as callbacks, callback
is selected depending on endianess.
This will also build on platforms not supporting the in/out calls for instance x86.
Acked-by: Grant Likely <[email protected]>
Tested-by: John Linn <[email protected]>
Signed-off-by: Richard Röjfors <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
|
|
This patch splits the xilinx_spi driver into a generic part and a
OF driver part.
The reason for this is to later add in a platform driver as well.
Tested-by: John Linn <[email protected]>
Signed-off-by: Richard Röjfors <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
|