Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-08 Thread Arnd Bergmann
On Tue, Nov 6, 2018 at 9:05 PM Sven Van Asbroeck wrote: > On Tue, Nov 6, 2018 at 1:31 PM Rob Herring wrote: > > > If the host is not a h/w component, but just a s/w protocol then it > > doesn't belong in DT. Perhaps it could be a library which the bridge > > driver can call into. > > Anybus cards

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-06 Thread Sven Van Asbroeck
On Tue, Nov 6, 2018 at 1:31 PM Rob Herring wrote: > If the host is not a h/w component, but just a s/w protocol then it > doesn't belong in DT. Perhaps it could be a library which the bridge > driver can call into. Anybus cards have an id register, which identifies what they are, so that the app

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-06 Thread Rob Herring
On Tue, Nov 6, 2018 at 8:46 AM Sven Van Asbroeck wrote: > > On Tue, Nov 6, 2018 at 8:58 AM Rob Herring wrote: > > > It doesn't really sound like the host should be in DT. The bridge > > should register itself as an anybus provider and that should in turn > > enable the anybus host protocol. > > V

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-06 Thread Sven Van Asbroeck
On Tue, Nov 6, 2018 at 8:58 AM Rob Herring wrote: > It doesn't really sound like the host should be in DT. The bridge > should register itself as an anybus provider and that should in turn > enable the anybus host protocol. Very good point. Just to make sure we're on the same page, could you poi

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-06 Thread Rob Herring
On Mon, Nov 5, 2018 at 3:50 PM Sven Van Asbroeck wrote: > > On Mon, Nov 5, 2018 at 4:20 PM Rob Herring wrote: > > > > bridge vs. host are confusing me as those are often the same thing. But > > here bridge is just some auxilliary controls for the bus and the host is > > the actual bus with device

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-05 Thread Sven Van Asbroeck
On Mon, Nov 5, 2018 at 4:20 PM Rob Herring wrote: > > bridge vs. host are confusing me as those are often the same thing. But > here bridge is just some auxilliary controls for the bus and the host is > the actual bus with devices? I'm not sure why you split this into 2 DT > nodes? How many device

Re: [PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-05 Thread Rob Herring
On Sun, Nov 04, 2018 at 10:54:56AM -0500, thesve...@gmail.com wrote: > From: Sven Van Asbroeck > > Add a driver for the Arcx anybus bridge. > > This chip embeds up to two Anybus-S application connectors > (slots), and connects to the SoC via a parallel memory bus. > There is also a CAN power rea

[PATCH anybus v3 1/6] misc: support the Arcx anybus bridge

2018-11-04 Thread thesven73
From: Sven Van Asbroeck Add a driver for the Arcx anybus bridge. This chip embeds up to two Anybus-S application connectors (slots), and connects to the SoC via a parallel memory bus. There is also a CAN power readout, unrelated to the Anybus, modelled as a regulator. Signed-off-by: Sven Van As