From: Krzysztof Kozlowski <krzk@kernel.org>
To: Soham Kute <officialsohamkute@gmail.com>,
hvaibhav.linux@gmail.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: greybus: Document google,arche-platform
Date: Sun, 1 Mar 2026 11:06:13 +0100 [thread overview]
Message-ID: <f7b854e4-c1cc-4444-93f8-2a815b890d68@kernel.org> (raw)
In-Reply-To: <20260301050343.23258-1-officialsohamkute@gmail.com>
On 01/03/2026 06:03, Soham Kute wrote:
> Document the Google Arche platform which enables the Unipro
> link between the application processor and the SVC in a
> Greybus-based system.
>
> Signed-off-by: Soham Kute <officialsohamkute@gmail.com>
> ---
> .../greybus/google,arche-platform.yaml | 71 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 72 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/greybus/google,arche-platform.yaml
>
> diff --git a/Documentation/devicetree/bindings/greybus/google,arche-platform.yaml b/Documentation/devicetree/bindings/greybus/google,arche-platform.yaml
> new file mode 100644
> index 000000000000..6e176efc264a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/greybus/google,arche-platform.yaml
> @@ -0,0 +1,71 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/greybus/google,arche-platform.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Google Arche Platform
> +
> +maintainers:
> + - Vaibhav Hiremath <hvaibhav.linux@gmail.com>
> +
> +description:
> + The Arche platform driver enables the Unipro link between the
You need to describe hardware, not drivers.
This wasn't tested, so limited review.
> + application processor and the SVC (Supervisory Controller) in
> + a Greybus-based system.
> +
> +properties:
> + compatible:
> + const: google,arche-platform
Your description is insufficient. Is this SoC? Is this device?
Compatible is way too generic and "platform" is not correct in the
compatible. Everything can be a platform.
> +
> + svc,reset-gpios:
No, use standard properties.
There is no such company as svc.
> + description: GPIO used to reset the SVC
> + maxItems: 1
> +
> + svc,sysboot-gpios:
> + description: GPIO used for SVC sysboot signal
> + maxItems: 1
> +
> + svc,refclk-req-gpios:
> + description: GPIO used to request the SVC reference clock
> + maxItems: 1
> +
> + svc,wake-detect-gpios:
> + description: Bidirectional GPIO for wake/detect signal between AP and SVC
> + maxItems: 1
> +
> + clocks:
> + description: SVC reference clock
What is SVC?
> + maxItems: 1
> +
> + clock-names:
> + items:
> + - const: svc_ref_clk
Drop names
> +
> + svc,reset-active-high:
> + description: Present if the SVC reset GPIO is active high
> + type: boolean
> +
> +additionalProperties: false
> +
> +required:
> + - compatible
> + - svc,reset-gpios
> + - svc,sysboot-gpios
> + - svc,refclk-req-gpios
> + - svc,wake-detect-gpios
> + - clocks
> + - clock-names
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + arche-platform {
Again, what is arche-platform?
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
If you cannot find a name matching your device, please check in kernel
sources for similar cases or you can grow the spec (via pull request to
DT spec repo).
> + compatible = "google,arche-platform";
> + svc,reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
> + svc,sysboot-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
> + svc,refclk-req-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
> + svc,wake-detect-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
> + clocks = <&svc_ref_clk>;
> + clock-names = "svc_ref_clk";
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index e08767323763..46cb6825f4d6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -10886,6 +10886,7 @@ S: Maintained
> F: drivers/staging/greybus/arche-apb-ctrl.c
> F: drivers/staging/greybus/arche-platform.c
> F: drivers/staging/greybus/arche_platform.h
> +F: Documentation/devicetree/bindings/greybus/google,arche-platform.yaml
Don't send bindings to match staging code. This is not the correct
process. You must come with proper bindings for hardware, following
standard review process like there was nothing in the staging. It's
second bindings this week, is this some sort of GSoC again without any
supervision?
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-03-01 10:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-01 5:03 [PATCH] dt-bindings: greybus: Document google,arche-platform Soham Kute
2026-03-01 6:32 ` Rob Herring (Arm)
2026-03-01 10:06 ` Krzysztof Kozlowski [this message]
2026-03-01 10:35 ` Soham Kute
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=f7b854e4-c1cc-4444-93f8-2a815b890d68@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hvaibhav.linux@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=officialsohamkute@gmail.com \
--cc=robh@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