Re: [PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-17 Thread Stefan Wahren
Hi Martin, Am 04.03.2015 um 17:40 schrieb ker...@martin.sperl.org: From: Martin Sperl ker...@martin.sperl.org Change the device tree to use cs-gpios for the spi bus master and standard gpio operation instead of relying on the HW with just 2 chip_selects using ALT0. This reassigns the

Re: [PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-17 Thread Martin Sperl
On 17.03.2015, at 04:18, Stephen Warren swar...@wwwdotorg.org wrote: But then it means in principle that this is a more general issue that just became apparent now. Yes. ... So this is maybe the way forward for the whole default-dt? For SPI it would look like this: gpio {

Re: [PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-16 Thread Stephen Warren
On 03/11/2015 09:21 AM, Martin Sperl wrote: On 07.03.2015, at 06:47, Stephen Warren swar...@wwwdotorg.org wrote: These pins aren't used by anything on the board, but are rather part of the expansion header. I wonder if we wouldn't be better off removing any configuration of the pins from the

Re: [PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-11 Thread Martin Sperl
On 07.03.2015, at 06:47, Stephen Warren swar...@wwwdotorg.org wrote: These pins aren't used by anything on the board, but are rather part of the expansion header. I wonder if we wouldn't be better off removing any configuration of the pins from the DT. After all, we can't guarantee how the

Re: [PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-06 Thread Stephen Warren
On 03/04/2015 09:40 AM, ker...@martin.sperl.org wrote: From: Martin Sperl ker...@martin.sperl.org Change the device tree to use cs-gpios for the spi bus master and standard gpio operation instead of relying on the HW with just 2 chip_selects using ALT0. This reassigns the existing CS pins

[PATCH 2/2] dt/bindings: control CS via standard GPIO operations instead of SPI-HW

2015-03-04 Thread kernel
From: Martin Sperl ker...@martin.sperl.org Change the device tree to use cs-gpios for the spi bus master and standard gpio operation instead of relying on the HW with just 2 chip_selects using ALT0. This reassigns the existing CS pins 7(=CS1) and 8(=CS0) as output instead of ALT0 (=SPI HW block