[U-Boot] [PATCH 1/2 V4] misc: add "call" uclass op

Tom Warren TWarren at nvidia.com
Mon Aug 8 22:33:49 CEST 2016


Simon,

> -----Original Message-----
> From: Stephen Warren [mailto:swarren at wwwdotorg.org]
> Sent: Monday, August 08, 2016 12:54 PM
> To: Simon Glass <sjg at chromium.org>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Tom Warren
> <TWarren at nvidia.com>; Stephen Warren <swarren at nvidia.com>; Tom Rini
> <trini at konsulko.com>
> Subject: Re: [PATCH 1/2 V4] misc: add "call" uclass op
> 
> On 08/08/2016 01:47 PM, Simon Glass wrote:
> > +Tom
> >
> > Hi Stephen,
> >
> > On 8 August 2016 at 10:41, Stephen Warren <swarren at wwwdotorg.org>
> wrote:
> >> On 08/08/2016 10:38 AM, Simon Glass wrote:
> >>>
> >>> Hi Stephen,
> >>>
> >>> On 8 August 2016 at 09:41, Stephen Warren <swarren at wwwdotorg.org>
> wrote:
> >>>>
> >>>>
> >>>> From: Stephen Warren <swarren at nvidia.com>
> >>>>
> >>>> The call op requests that the callee pass a message to the
> >>>> underlying HW or device, wait for a response, and then pass back
> >>>> the response error code and message to the callee. It is useful for
> >>>> drivers that represent some kind of messaging or IPC channel to a
> >>>> remote device.
> >>>>
> >>>> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> >>>> Acked-by: Simon Glass <sjg at chromium.org>
> >>>> ---
> >>>> v4: Adjust misc_call() to return the response msg size on success.
> >>>> v3: New patch.
> >>>> ---
> >>>>  drivers/misc/misc-uclass.c | 11 +++++++++++
> >>>>  include/misc.h             | 35 +++++++++++++++++++++++++++++++++++
> >>>>  2 files changed, 46 insertions(+)
> >>>
> >>>
> >>> Are you planning for the Tegra186 stuff to go into the upcoming release?
> >>
> >>
> >> I'd like it to if at all possible; it's all pretty much
> >> Tegra-specific drivers so shouldn't cause any fallout for other
> >> platforms. The only exception is the fdt_translate_address() changes,
> >> which are a dependency, which will be built into other platforms, but
> >> there's a simple Boolean parameter that controls the new behaviour, so it
> should be pretty safe.
> >
> > OK, sounds reasonable to me. I'll pick these up later in the week and
> > send a pull request. Can you bring any other dependencies in via
> > Tegra?
> 
> Yes, I was assuming that TomW would take everything else; it's all Tegra
> drivers.
Stephen and I are working together to get it all packaged up and in to u-boot-tegra ASAP.

Tom
--
nvpublic


More information about the U-Boot mailing list