[EXT] Re: [PATCH v4 2/5] dt-bindings: arm: fsl: add imx-se-fw binding doc

Pankaj Gupta pankaj.gupta at nxp.com
Mon Jul 8 04:54:54 PDT 2024



> -----Original Message-----
> From: Krzysztof Kozlowski <krzk at kernel.org>
> Sent: Monday, July 8, 2024 4:54 PM
> To: Pankaj Gupta <pankaj.gupta at nxp.com>; Jonathan Corbet
> <corbet at lwn.net>; Rob Herring <robh at kernel.org>; Krzysztof Kozlowski
> <krzk+dt at kernel.org>; Conor Dooley <conor+dt at kernel.org>; Shawn Guo
> <shawnguo at kernel.org>; Sascha Hauer <s.hauer at pengutronix.de>;
> Pengutronix Kernel Team <kernel at pengutronix.de>; Fabio Estevam
> <festevam at gmail.com>; Rob Herring <robh+dt at kernel.org>; Krzysztof
> Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> Cc: linux-doc at vger.kernel.org; linux-kernel at vger.kernel.org;
> devicetree at vger.kernel.org; imx at lists.linux.dev; linux-arm-
> kernel at lists.infradead.org
> Subject: Re: [EXT] Re: [PATCH v4 2/5] dt-bindings: arm: fsl: add imx-se-fw
> binding doc
> 
> Caution: This is an external email. Please take care when clicking links or
> opening attachments. When in doubt, report the message using the 'Report
> this email' button
> 
> 
> On 08/07/2024 13:19, Pankaj Gupta wrote:
> >>>> 4 mailboxes? This cannot be different.
> >>> mbox-names can have any of the above mentioned 4 values.
> >>> And  two values are minimum, required.
> >>
> >> No, I said it cannot be different. If two are minimum, then you can
> >> have here 4, right? But earlier you said you can have only 2. It does not
> make any sense.
> >
> > Understood.  Will fix this with following changes.
> >
> > -      - const: tx
> > -      - const: rx
> > -      - const: txdb
> > -      - const: rxdb
> > -    minItems: 2
> > +      - enum:
> > +          - tx
> > +          - txdb
> > +      - enum:
> > +          - rx
> > +          - rxdb
> 
> OK, this is now clear and answer is also clear:
> No, you cannot have different names, except some rare cases.
> Please explain why this should be an exception?

The name suggests the type of protocol for:
- sending:    tx or txdb (with doorbell).
- receiving:  rx & rxdb  (with doorbell).

NXP IP SECO on i.MX8DXL/8QXP supports txdb & rxdb. Hence added these names.

It is just for readability to understand from platform's DTSI file.


> 
> Best regards,
> Krzysztof



More information about the linux-arm-kernel mailing list