From: Alan Tull <atull@kernel.org>
To: Anatolij Gustschin <agust@denx.de>
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 13:46:27 -0500 [thread overview]
Message-ID: <CANk1AXR+Kv9-vEmMS3ybMoPOUdbNZXSK1341BD1jsEWUaZRXUg@mail.gmail.com> (raw)
In-Reply-To: <20181101193336.766566fc@crub>
On Thu, Nov 1, 2018 at 1:33 PM Anatolij Gustschin <agust@denx.de> wrote:
>
> 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.
Oh yeah.
>
> # 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
Is 'device' giving the info this patch is adding to 'name'?
>
> # 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:46 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
2018-11-01 18:46 ` Alan Tull [this message]
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=CANk1AXR+Kv9-vEmMS3ybMoPOUdbNZXSK1341BD1jsEWUaZRXUg@mail.gmail.com \
--to=atull@kernel.org \
--cc=agust@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).