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

Stephen Warren swarren at wwwdotorg.org
Mon Aug 8 18:41:44 CEST 2016


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.


More information about the U-Boot mailing list