This commit adds support for multiple hardware chip selects to spi-orion.
Different SoCs support different number of chip selects (up to
8 on some platforms). The driver allows up to this number, and it is up
to the implementer to only use the chip selects that are available.
Signed-off-by: Ken
This commit adds support for multiple hardware chip selects to spi-orion.
Different SoCs support different number of chip selects (up to
8 on some platforms). The driver allows up to this number, and it is up
to the implementer to only use the chip selects that are available.
Signed-off-by: Ken
On 15/01/15 06:06, Mark Brown wrote:
On Mon, Jan 12, 2015 at 01:14:00PM +1000, Ken Wilson wrote:
+- num-cs : The total number of chip selects used by this platform.
+ If unset, this defaults to 1.
So, this is intended to be the number of hardware chip selects that can
On 15/01/15 06:06, Mark Brown wrote:
On Mon, Jan 12, 2015 at 01:14:00PM +1000, Ken Wilson wrote:
+- num-cs : The total number of chip selects used by this platform.
+ If unset, this defaults to 1.
So, this is intended to be the number of hardware chip selects that can
This commit adds support for multiple hardware chip selects to spi-orion.
The number of supported chip selects varies based on the SoC and pin
configuration, so it is set using the num-cs device tree binding.
Signed-off-by: Ken Wilson
---
Documentation/devicetree/bindings/spi/spi-orion.txt | 3
adds support for multiple chip selects. Currently
there is no additional support for gpio chip selects, as I do not
have a board to test that with.
These patches have been tested on an Armada 375 with 2 SPI-NOR chips.
Thanks,
Ken
Ken Wilson (2):
spi: orion: Change spi-orion to use
This commit changes spi-orion to provide setup, set_cs, and transfer_one
functions instead of transfer_one_message. This allows chip select support
for both native and GPIO chip selects to be added.
Signed-off-by: Ken Wilson
---
drivers/spi/spi-orion.c | 73
adds support for multiple chip selects. Currently
there is no additional support for gpio chip selects, as I do not
have a board to test that with.
These patches have been tested on an Armada 375 with 2 SPI-NOR chips.
Thanks,
Ken
Ken Wilson (2):
spi: orion: Change spi-orion to use
This commit changes spi-orion to provide setup, set_cs, and transfer_one
functions instead of transfer_one_message. This allows chip select support
for both native and GPIO chip selects to be added.
Signed-off-by: Ken Wilson ken.wil...@opengear.com
---
drivers/spi/spi-orion.c | 73
This commit adds support for multiple hardware chip selects to spi-orion.
The number of supported chip selects varies based on the SoC and pin
configuration, so it is set using the num-cs device tree binding.
Signed-off-by: Ken Wilson ken.wil...@opengear.com
---
Documentation/devicetree/bindings
Hi Thomas,
> On 7 Jan 2015, at 4:41 pm, Thomas Petazzoni
> wrote:
>
> Dear Gregory CLEMENT,
>
> On Tue, 06 Jan 2015 23:00:54 +0100, Gregory CLEMENT wrote:
>
>> On 06/01/2015 22:30, Ken Wilson wrote:
>>> Create a new dt binding for the Armada 375 that suppor
Hi Thomas,
On 7 Jan 2015, at 4:41 pm, Thomas Petazzoni
thomas.petazz...@free-electrons.com wrote:
Dear Gregory CLEMENT,
On Tue, 06 Jan 2015 23:00:54 +0100, Gregory CLEMENT wrote:
On 06/01/2015 22:30, Ken Wilson wrote:
Create a new dt binding for the Armada 375 that supports up to
3
-off-by: Ken Wilson
---
.../devicetree/bindings/spi/spi-orion.txt | 3 ++-
arch/arm/boot/dts/armada-375.dtsi | 4 +--
drivers/spi/spi-orion.c| 29 +++---
3 files changed, 29 insertions(+), 7 deletions(-)
diff --git
-off-by: Ken Wilson ken.wil...@opengear.com
---
.../devicetree/bindings/spi/spi-orion.txt | 3 ++-
arch/arm/boot/dts/armada-375.dtsi | 4 +--
drivers/spi/spi-orion.c| 29 +++---
3 files changed, 29 insertions(+), 7 deletions
14 matches
Mail list logo