From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol.vincent@wanadoo.fr>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-can@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, NXP S32 Linux <s32@nxp.com>,
imx@lists.linux.dev, Christophe Lizzi <clizzi@redhat.com>,
Alberto Ruiz <aruizrui@redhat.com>,
Enric Balletbo <eballetb@redhat.com>, Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH v2 1/3] dt-bindings: can: fsl,flexcan: add S32G2/S32G3 SoC support
Date: Tue, 26 Nov 2024 09:47:53 +0200 [thread overview]
Message-ID: <4a999b99-0641-47d4-bef9-114fe6bee78c@oss.nxp.com> (raw)
In-Reply-To: <y2fbsxg4pney2iapzcdooxyz6l3pmw6ms2ddupf637svitelbt@wthu23ld5ryq>
On 11/26/2024 9:19 AM, Krzysztof Kozlowski wrote:
> On Mon, Nov 25, 2024 at 06:31:00PM +0200, Ciprian Costea wrote:
>> From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
>>
>> Add S32G2/S32G3 SoCs compatible strings.
>>
>> A particularity for these SoCs is the presence of separate interrupts for
>> state change, bus errors, MBs 0-7 and MBs 8-127 respectively.
>>
>> Increase maxItems of 'interrupts' to 4 for S32G based SoCs and keep the
>> same restriction for other SoCs.
>>
>> Also, as part of this commit, move the 'allOf' after the required
>> properties to make the documentation easier to read.
>>
>> Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
>> Reviewed-by: Frank Li <Frank.Li@nxp.com>
>
Hello Krzysztof,
Thanks for your time in reviewing this patch.
> You made multiple changes afterwards, which invalidated the review. See
> submitting-patches which explain what to do in such case.
>
I will remove the tag in V3 and add this info in the changelog.
>> ---
>> .../bindings/net/can/fsl,flexcan.yaml | 46 +++++++++++++++++--
>> 1 file changed, 42 insertions(+), 4 deletions(-)
>
> ...
>
>> maxItems: 2
>> @@ -136,6 +143,37 @@ required:
>> - reg
>> - interrupts
>>
>> +allOf:
>> + - $ref: can-controller.yaml#
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: nxp,s32g2-flexcan
>> + then:
>> + properties:
>> + interrupts:
>> + items:
>> + - description:
>> + Message Buffer interrupt for mailboxes 0-7
>
> Keep it in one line.
I will update in V3.
>
>> + - description:
>> + Interrupt indicating that the CAN bus went to Buss Off state
>
> s/Interrupt indicating that//
> Buss Off state status?
>
>> + - description:
>> + Interrupt indicating that errors were detected on the CAN bus
>
> Error detection?
I will rephrase in V2.
>
>> + - description:
>> + Message Buffer interrupt for mailboxes 8-127 (ored)
>> + interrupt-names:
>> + items:
>> + - const: mb_0-7
>
> Choose one: either underscores or hyphens. Keep it consistent in your
> bindings.
Makes sense. I will update in V3.
>
>> + - const: state
>> + - const: berr
>> + - const: mb_8-127
>
> Choose one: either underscores or hyphens. Keep it consistent in your
> bindings.
>
I will update in V3.
>> + required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - interrupt-names
>
> What happened to "else:"? Why all other devices now have up to 4 interrupts?
>
> Best regards,
> Krzysztof
>
I will add the 'else' branch back in V3.
Best Regards,
Ciprian
next prev parent reply other threads:[~2024-11-26 7:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-25 16:30 [PATCH v2 0/3] add FlexCAN support for S32G2/S32G3 SoCs Ciprian Costea
2024-11-25 16:31 ` [PATCH v2 1/3] dt-bindings: can: fsl,flexcan: add S32G2/S32G3 SoC support Ciprian Costea
2024-11-26 7:19 ` Krzysztof Kozlowski
2024-11-26 7:47 ` Ciprian Marian Costea [this message]
2024-11-26 10:59 ` Marc Kleine-Budde
2024-11-26 13:48 ` Ciprian Marian Costea
2024-11-26 15:02 ` Marc Kleine-Budde
2024-11-26 15:15 ` Ciprian Marian Costea
2024-11-26 15:18 ` Marc Kleine-Budde
2024-11-26 15:19 ` Marc Kleine-Budde
2024-11-26 15:21 ` Ciprian Marian Costea
2024-11-27 7:23 ` Marc Kleine-Budde
2024-11-27 7:37 ` Ciprian Marian Costea
2024-11-25 16:31 ` [PATCH v2 2/3] can: flexcan: Add quirk to handle separate interrupt lines for mailboxes Ciprian Costea
2024-11-26 2:59 ` Vincent Mailhol
2024-11-25 16:31 ` [PATCH v2 3/3] can: flexcan: add NXP S32G2/S32G3 SoC support Ciprian Costea
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=4a999b99-0641-47d4-bef9-114fe6bee78c@oss.nxp.com \
--to=ciprianmarian.costea@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=aruizrui@redhat.com \
--cc=clizzi@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eballetb@redhat.com \
--cc=imx@lists.linux.dev \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailhol.vincent@wanadoo.fr \
--cc=mkl@pengutronix.de \
--cc=robh@kernel.org \
--cc=s32@nxp.com \
/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
all inboxes | Powered by JetHome®