A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Sat, Jul 13, 2019 at 06:03:02PM +0530, Vaishnav MA wrote:
> Hi,
>
> Thanks a lot for your quick response, the project aims to implement support
> for the Clickboards(load the corresponding kernel driver for the clickboard
> with corresponding parameters) through greybus manifests instead of the
> existing support via Device Tree overlays(which requires a reboot in
> Beaglebone when loading a new overlay), does greybus currently allow to
> describe devices on I2C, SPI, UART, etc. behind a greybus device?
Yes, of course it describes these devices, but in a way so that the host
can talk to the device. The specifics as to how the i2c/spi/uart device
talks to the "real" hardware on the device side is up to the
firmware/code in the device. Greybus does not care at all about that,
it is merely a transport layer for data that goes across these types of
hardware busses.
> If not
> what would be the best way to do it? (going through some of the previous
> discussions on the maiing list I saw suggestions regarding adding Device
> Tree Support, if it is feasible could you please elaborate on how it can be
> implemented so that I can try to do it.)
Is Linux running on the "device" side? I don't know what a Clickboard
is, nor how they work at all, sorry. You can look at the firmware that
was written for many greybus devices using NuttX in the github repos if
you want examples of how to handle this on the device side. Perhaps
that is the piece you are missing?
> There's also things that never got solved. Like how do you describe
> devices on I2C, SPI, UART, etc. behind a greybus device? The plan was
> to use DT overlays, but that was never solved and brings a whole set
> of problems to solve upstream.
That is only an issue if you want to bind a kernel driver for an
existing i2c/spi chip to an i2c/spi greybus device. With the code we
have today, we do it for a specific SPI chip (for firmware download),
but rely on everything to be userspace-only accesses to make it simpler
at this point in time.
When DT overlays get more settled down, yes, I want to revisit this idea
of how to do it for greybus devices, but that's a long-term goal and is
not required at all right now to have a working system and devices.
thanks,
greg k-h
thanks,
greg k-h
_______________________________________________ greybus-dev mailing list greybus-dev@xxxxxxxxxxxxxxxx https://lists.linaro.org/mailman/listinfo/greybus-dev