[PATCH 09/10] ARM: sun4i: cubieboard: add an SPIdev device for testing

Maxime Ripard maxime.ripard at free-electrons.com
Wed Jun 25 14:22:38 PDT 2014


On Mon, Jun 16, 2014 at 12:50:34AM -0300, Emilio López wrote:
> ---
>  arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 12 ++++++++++++
>  arch/arm/boot/dts/sun4i-a10.dtsi           |  7 +++++++
>  2 files changed, 19 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
> index 4684cbe..9b8d6b0 100644
> --- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
> +++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
> @@ -61,6 +61,18 @@
>  			status = "okay";
>  		};
>  
> +		spi0: spi at 01c05000 {
> +			pinctrl-names = "default";
> +			pinctrl-0 = <&spi0_pins_a>;
> +			status = "okay";
> +
> +			dac0: dh2228 at 2 {
> +				compatible = "rohm,dh2228fv";

Nope, this is not going to happen.

It's not even what's connected on this bus.

spidev isn't supposed to be described in DT, because it's just not
hardware related at all.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140625/162abfdc/attachment.sig>


More information about the linux-arm-kernel mailing list