[PATCH] mailbox: arm_mhuv2: Add driver

Jassi Brar jassisinghbrar at gmail.com
Thu Nov 12 20:34:49 EST 2020


On Wed, Nov 11, 2020 at 12:02 AM Viresh Kumar <viresh.kumar at linaro.org> wrote:
>
> On 27-10-20, 17:23, Viresh Kumar wrote:
> > This adds driver for the ARM MHUv2 (Message Handling Unit) mailbox
> > controller.
> >
> > This is based on the accepted DT bindings of the controller and supports
> > combination of all transport protocols, i.e. single-word, multi-word and
> > doorbell.
> >
> > Transmitting and receiving data through the mailbox framework in
> > multi-word mode is done through struct arm_mhuv2_mbox_msg. Rest of the
> > implementation details can be seen in the bindings document or in the
> > driver itself.
> >
> > Based on the initial work done by Morten Borup Petersen from ARM.
> >
> > Co-developed-by: Tushar Khandelwal <tushar.khandelwal at arm.com>
> > Signed-off-by: Tushar Khandelwal <tushar.khandelwal at arm.com>
> > Tested-by: Usama Arif <usama.arif at arm.com>
> > Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> > ---
> > Bindings are already reviewed by Rob and are present here:
> >
> > http://lore.kernel.org/lkml/61ca14fc441f92c1e7994e5bebae5c49811a3050.1602563406.git.viresh.kumar@linaro.org
>
> Jassi, Any inputs on this ?
>
Can we make 'single-word' as a special case of 'multi-word',  i.e,
effect single-word by specifying 1 sized multi-word.
And the names of structs and members could be lower case? It seems
very firmware style, or is it just me?

cheers.



More information about the linux-arm-kernel mailing list