Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

From: Maxime Ripard
Date: Tue Apr 28 2015 - 10:15:11 EST


On Tue, Apr 28, 2015 at 07:03:16AM -0700, Eric D. wrote:
> Hi,
>
> I give Maxime's patch a try and got 4 spidev devices :
> /dev/spidev32766.[0-3]
>
> root@bpi:~# ls -lh /dev/spidev*
> crw------- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0
> crw------- 1 root root 153, 1 Apr 28 15:52 /dev/spidev32766.1
> crw------- 1 root root 153, 2 Apr 28 15:52 /dev/spidev32766.2
> crw------- 1 root root 153, 3 Apr 28 15:52 /dev/spidev32766.3
>
> Shouldn't they be numbered from like spidev0.[0-3].
> Is this an udev problem ? any clues ?

You're missing an SPI alias in the DT.

Maxime

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

Attachment: signature.asc
Description: Digital signature