Re: spi-sun4i: how/where to set the bus number of spi_master ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 07, 2017 at 07:21:14PM +0100, Frank Schäfer wrote:
> trying to get a TFT display working on a Banana Pi M1 board, I noticed that
> the spi-sun4i driver doesn't set the bus number of the spi_master (which
> leaves it at its default value -1).
> fbtft_device driver fails to load for that reason.
> What's the right fix for this ? Is this something that needs to be added to
> the boards device tree file ?

Yes, you need to set an alias.
https://linux-sunxi.org/SPIdev#Configuring_your_device-tree_.28mainline.29

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux