From: Krzysztof Kozlowski <krzk@kernel.org>
To: Aman Kumar Pandey <aman.kumarpandey@nxp.com>,
linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org,
alexandre.belloni@bootlin.com, krzk+dt@kernel.org,
robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Cc: vikash.bansal@nxp.com, priyanka.jain@nxp.com,
shashank.rebbapragada@nxp.com, Frank.Li@nxp.com
Subject: Re: [PATCH v2 1/2] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support
Date: Thu, 8 May 2025 08:07:49 +0200 [thread overview]
Message-ID: <17145d2f-5d07-4939-8381-74e27cde303c@kernel.org> (raw)
In-Reply-To: <20250508045711.2810207-1-aman.kumarpandey@nxp.com>
On 08/05/2025 06:57, Aman Kumar Pandey wrote:
> Add bindings for the NXP P3H2x4x (P3H2440/P3H2441/P3H2840/P3H2841)
> multiport I3C hub family. These devices connect to a host via
> I3C/I2C/SMBus and allow communication with multiple downstream
> peripherals.
>
> Signed-off-by: Aman Kumar Pandey <aman.kumarpandey@nxp.com>
> Signed-off-by: Vikash Bansal <vikash.bansal@nxp.com>
> ---
> V1 -> V2: Cleaned up coding style and addressed review comments
> ---
> .../bindings/i3c/p3h2840-i3c-hub.yaml | 332 ++++++++++++++++++
Not much improved. I have doubts that you really looked at other bindings.
Filename matching compatible.
> MAINTAINERS | 8 +
> 2 files changed, 340 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/i3c/p3h2840-i3c-hub.yaml
>
> diff --git a/Documentation/devicetree/bindings/i3c/p3h2840-i3c-hub.yaml b/Documentation/devicetree/bindings/i3c/p3h2840-i3c-hub.yaml
> new file mode 100644
> index 000000000000..f3b5aabf5fe0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i3c/p3h2840-i3c-hub.yaml
> @@ -0,0 +1,332 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright 2025 NXP
> +
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/i3c/p3h2840-i3c-hub.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: P3H2X4X I3C HUB
nvidia? NXP? What is it?
> +
> +maintainers:
> + - Vikash Bansal <vikash.bansal@nxp.com>
> + - Aman Kumar Pandey <aman.kumarpandey@nxp.com>
> +
> +description: |
> + P3H2x4x (P3H2440/P3H2441/P3H2840/P3H2841) is a family of multiport I3C
> + hub devices that connect to:-
> + 1. A host CPU via I3C/I2C/SMBus bus on upstream side and connect to multiple
> + peripheral devices on the downstream side.
> + 2. Have two Controller Ports which can support either
> + I2C/SMBus or I3C buses and connect to a CPU, BMC or SOC.
> + 3. P3H2840/ P3H2841 are 8 port I3C hub with eight I3C/I2C Target Port.
> + 4. P3H2440/ P3H2441 are 4 port I3C hub with four I3C/I2C Target Port.
> + Target ports can be configured as I2C/SMBus, I3C or GPIO and connect to
> + peripherals.
> +
> +allOf:
> + - $ref: i3c.yaml#
> +
> +properties:
> + $nodename:
> + pattern: "^hub@[@.*]+,[0-9a-f]+$"
Drop
> +
> + Compatible:
Nothing improved. There is no single code with such syntax and I asked
to use existing files as an example. You just ignored that comment and
this is not acceptable.
> + const: nxp,p3h2x4x
No, you need specific compatibles.
> +
> + cp0-ldo-enable:
> + type: boolean
> + description:
> + Enables the on-die LDO for controller Port 0.
> +
> + cp1-ldo-enable:
> + type: boolean
> + description:
> + Enables the on-die LDO for controller Port 1.
> +
> + tp0145-ldo-enable:
> + type: boolean
> + description:
> + Enables the on-die LDO for target ports 0/1/4/5.
> +
> + tp2367-ldo-enable:
> + type: boolean
> + description:
> + Enables the on-die LDO for target ports 2/3/6/7.
> +
NAK for all above properties.
> + cp0-ldo-microvolt:
Do you see anywhere device properties named like that? Without prefix?
I am not going to review the rest. You did not try hard enough to
fulfill previous review request, you did not really test it.
Start from scratch from latest accepted schema or from example-schema.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-05-08 6:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-08 4:57 [PATCH v2 1/2] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Aman Kumar Pandey
2025-05-08 4:57 ` [PATCH v2 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device Aman Kumar Pandey
2025-05-08 6:09 ` Krzysztof Kozlowski
2025-05-12 11:45 ` [EXT] " Aman Kumar Pandey
2025-05-14 10:05 ` Krzysztof Kozlowski
2025-05-09 12:28 ` kernel test robot
2025-05-08 6:07 ` Krzysztof Kozlowski [this message]
2025-05-12 11:45 ` [EXT] Re: [PATCH v2 1/2] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Aman Kumar Pandey
2025-05-14 10:10 ` Krzysztof Kozlowski
2025-05-22 18:46 ` Frank Li
2025-05-14 10:18 ` Krzysztof Kozlowski
2025-05-22 18:38 ` Frank Li
2025-05-08 6:09 ` Rob Herring (Arm)
2025-05-09 8:10 ` kernel test robot
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=17145d2f-5d07-4939-8381-74e27cde303c@kernel.org \
--to=krzk@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=aman.kumarpandey@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=priyanka.jain@nxp.com \
--cc=robh@kernel.org \
--cc=shashank.rebbapragada@nxp.com \
--cc=vikash.bansal@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