[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAOMqctTjbj0AoWcVJxc8PRX4LpOiDjhA5aXVEZQ1UQTnMC0Wxw@mail.gmail.com>
Date: Tue, 28 Apr 2015 16:11:17 +0200
From: Michal Suchanek <hramrach@...il.com>
To: "Eric D." <eric.dillmann@...il.com>
Cc: linux-sunxi <linux-sunxi@...glegroups.com>,
Hans de Goede <hdegoede@...hat.com>,
Jonathan Corbet <corbet@....net>,
Martin Sperl <kernel@...tin.sperl.org>,
Mark Brown <broonie@...nel.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-spi <linux-spi@...r.kernel.org>
Subject: Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.
On 28 April 2015 at 16:03, Eric D. <eric.dillmann@...il.com> 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 ?
I don't know where the 32766 comes from but it's normal.
It seems to be the same number every time for the same port.
If you really wanted you could probably rename the device nodes with udev.
Or with only one spi bus enabled /dev/spidev*.0 should work too.
Thanks
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists