From: Krzysztof Kozlowski <krzk@kernel.org>
To: Pankaj Gupta <pankaj.gupta@nxp.com>,
Jonathan Corbet <corbet@lwn.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: "linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [EXT] Re: [PATCH v4 2/5] dt-bindings: arm: fsl: add imx-se-fw binding doc
Date: Mon, 8 Jul 2024 08:16:13 +0200 [thread overview]
Message-ID: <c7688fba-0570-4dc6-80c4-23cd75ed29aa@kernel.org> (raw)
In-Reply-To: <AM9PR04MB8604B9A9F3D22C35679AD1D195DA2@AM9PR04MB8604.eurprd04.prod.outlook.com>
On 08/07/2024 07:50, Pankaj Gupta wrote:
>> Drop redundant/obvious parts.
> Will replace above two description line with the below two.
> - description: mailbox phandle to send message to se firmware
> - description: mailbox phandle to receive message from se firmware
>
>>
>> So two mailboxes?
> Two handles of the same mailbox.
>
>>
>>> +
>>> + mbox-names:
>>> + items:
>>> + - const: tx
>>> + - const: rx
>>> + - const: txdb
>>> + - const: rxdb
>>
>> 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.
>
>>
>>> + minItems: 2
>>> +
>>> + memory-region:
>>> + description: contains the phandle to reserved external memory.
>>
>> Drop
> Will remove the line " description: contains the phandle to reserved external memory."
>
>>
>>> + items:
>>> + - description: It is used by secure-enclave firmware. It is an optional
>>> + property based on compatible and identifier to communication
>> interface.
>>> + (see bindings/reserved-memory/reserved-memory.txt)
>>> +
>>> + sram:
>>> + description: contains the phandle to sram.
>>
>> Drop
> Will remove " description: contains the phandle to sram."
>
>>
>>> + items:
>>> + - description: Phandle to the device SRAM. It is an optional property
>>> + based on compatible and identifier to communication interface.
>>> +
>>> +required:
>>> + - compatible
>>> + - reg
>>> + - mboxes
>>> + - mbox-names
>>> +
>>> +additionalProperties: false
>>
>> Keep it after allOf block
>
> In V2, it is after allOf block.
> In previous comments, it was commented to place allOf block, after required.
> I am little confused.
So why did you implement it entirely different? Read the comment from
Conor and from me again. I am sorry, but repeating the same three times
(once by Conor, twice by me) is quite a waste of time.
Open example-schema. How is it done there?
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-07-08 6:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-05 13:52 [PATCH v4 0/5] Changes in v4: Pankaj Gupta
2024-07-05 13:52 ` [PATCH v4 1/5] Documentation/firmware: add imx/se to other_interfaces Pankaj Gupta
2024-07-05 13:52 ` [PATCH v4 2/5] dt-bindings: arm: fsl: add imx-se-fw binding doc Pankaj Gupta
2024-07-07 12:34 ` Krzysztof Kozlowski
2024-07-08 5:50 ` [EXT] " Pankaj Gupta
2024-07-08 6:16 ` Krzysztof Kozlowski [this message]
2024-07-08 11:19 ` Pankaj Gupta
2024-07-08 11:23 ` Krzysztof Kozlowski
2024-07-08 11:54 ` Pankaj Gupta
2024-07-08 12:56 ` Krzysztof Kozlowski
2024-07-05 13:52 ` [PATCH v4 3/5] arm64: dts: imx8ulp-evk: add nxp secure enclave firmware Pankaj Gupta
2024-07-05 13:52 ` [PATCH v4 4/5] firmware: imx: add driver for NXP EdgeLock Enclave Pankaj Gupta
2024-07-05 20:44 ` Randy Dunlap
2024-07-09 6:16 ` [EXT] " Pankaj Gupta
2024-07-05 13:52 ` [PATCH v4 5/5] firmware: imx: adds miscdev Pankaj Gupta
2024-07-05 20:47 ` Randy Dunlap
2024-07-09 6:11 ` [EXT] " Pankaj Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c7688fba-0570-4dc6-80c4-23cd75ed29aa@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj.gupta@nxp.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).