From: Anatolij Gustschin <agust@denx.de>
To: Alan Tull <atull@kernel.org>
Cc: Moritz Fischer <mdf@kernel.org>, linux-fpga@vger.kernel.org
Subject: Re: [PATCH] fpga: xilinx-spi: Use unique FPGA manager names
Date: Thu, 1 Nov 2018 19:33:36 +0100 [thread overview]
Message-ID: <20181101193336.766566fc@crub> (raw)
In-Reply-To: <CANk1AXR470s6XyfjR8=1SdiNAFsVj0oNA1-STVCu6_zY-kLf3A@mail.gmail.com>
On Thu, 1 Nov 2018 13:21:00 -0500
Alan Tull atull@kernel.org wrote:
>On Tue, Oct 30, 2018 at 6:19 AM Anatolij Gustschin <agust@denx.de> wrote:
>>
>> Hi Moritz,
>>
>> On Mon, 29 Oct 2018 09:48:57 -0700
>> Moritz Fischer mdf@kernel.org wrote:
>> ...
>> >Sounds like a udev problem that can be solved by looking at the
>> >parent device?
>>
>> Yes, but there are still all kinds of small embedded systems
>> without udev/systemd support.
>
>What do you see if you look at the following for your fpga manager
>(may be other than fpga0)?
>
>/sys/class/fpga_manager/fpga0/device
>
>or
>
> /sys/class/fpga_manager/fpga0/of_node
of_node isn't there, it is a non-dt platform.
# ls -l /sys/class/fpga_manager/fpga0/device
lrwxrwxrwx 1 root root 0 Nov 1 19:26 /sys/class/fpga_manager/fpga0/device -> ../../../spi1.0
# ls -l /sys/class/fpga_manager/fpga0/device/
total 0
lrwxrwxrwx 1 root root 0 Nov 1 16:48 driver -> ../../../../../../../../../../../../bus/spi/drivers/altera-ps-spi
-rw-r--r-- 1 root root 4096 Nov 1 19:26 driver_override
drwxr-xr-x 3 root root 0 Nov 1 16:48 fpga_manager
-r--r--r-- 1 root root 4096 Nov 1 19:26 modalias
drwxr-xr-x 2 root root 0 Nov 1 19:26 power
drwxr-xr-x 2 root root 0 Nov 1 19:26 statistics
lrwxrwxrwx 1 root root 0 Nov 1 16:48 subsystem -> ../../../../../../../../../../../../bus/spi
-rw-r--r-- 1 root root 4096 Nov 1 16:48 uevent
Thanks,
Anatolij
next prev parent reply other threads:[~2018-11-01 18:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-29 14:42 [PATCH] fpga: xilinx-spi: Use unique FPGA manager names Anatolij Gustschin
2018-10-29 16:48 ` Moritz Fischer
2018-10-30 11:19 ` Anatolij Gustschin
2018-11-01 18:21 ` Alan Tull
2018-11-01 18:33 ` Anatolij Gustschin [this message]
2018-11-01 18:46 ` Alan Tull
2018-11-01 19:23 ` Anatolij Gustschin
2018-11-01 19:44 ` Moritz Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181101193336.766566fc@crub \
--to=agust@denx.de \
--cc=atull@kernel.org \
--cc=linux-fpga@vger.kernel.org \
--cc=mdf@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.