Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michael Reeves" <michael.reeves077@gmail.com>
Cc: dmitry.torokhov@gmail.com, robh@kernel.org,
	linux-input@vger.kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v4 04/10] dt-bindings: input: apple: Add DockChannel HID transport
Date: Fri, 25 Sep 2026 12:16:38 +0000	[thread overview]
Message-ID: <20260925121638.9F4B51F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260925-apple-mtp-keyboard-final-v4-4-304c267518f4@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: non-standard property hid-country-code lacks vendor prefix
--

commit e3509f43ebb443f3e104e1a4db767081a67d80a5
Author: Michael Reeves <michael.reeves077@gmail.com>

dt-bindings: input: apple: Add DockChannel HID transport

This commit adds a devicetree binding for the Apple DockChannel HID
transport. It describes the transport's mailboxes, DART, and HID child
interfaces, including an optional STM child and a keyboard child.

> diff --git a/Documentation/devicetree/bindings/input/apple,t8112-dockchannel-hid.yaml b/Documentation/devicetree/bindings/input/apple,t8112-dockchannel-hid.yaml
> new file mode 100644
> index 0000000000000..c25e072b68687
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/apple,t8112-dockchannel-hid.yaml
[ ... ]
> +  keyboard:
> +    type: object
> +    properties:
> +      hid-country-code:
> +        $ref: /schemas/types.yaml#/definitions/uint32

[Severity: Low]
Does this non-standard property hid-country-code lack a vendor prefix?

Even though HID country code is an industry standard concept, devicetree
naming conventions require custom properties introduced in vendor bindings
to be prefixed (e.g., apple,hid-country-code) or placed in a common
dt-schema file.

Defining hid-country-code directly in an Apple-specific binding within the
keyboard object without a common HID schema backing it can cause namespace
collisions.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260925-apple-mtp-keyboard-final-v4-0-304c267518f4@gmail.com?part=4

  reply	other threads:[~2026-09-25 12:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-25 12:09 [PATCH v4 00/10] Add support for Apple Silicon DockChannel internal keyboards Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 01/10] dt-bindings: mailbox: apple: Add M3 ASC mailbox compatibles Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 02/10] dt-bindings: mailbox: apple: Add DockChannel mailbox Michael Reeves via B4 Relay
2026-10-06 15:55   ` Rob Herring (Arm)
2026-09-25 12:09 ` [PATCH v4 03/10] dt-bindings: iommu: apple,dart: Add M3 compatibles Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 04/10] dt-bindings: input: apple: Add DockChannel HID transport Michael Reeves via B4 Relay
2026-09-25 12:16   ` sashiko-bot [this message]
2026-10-06 16:00   ` Rob Herring
2026-10-06 18:09     ` Yureka Lilian
2026-10-06 18:50       ` Rob Herring
2026-09-25 12:09 ` [PATCH v4 05/10] mailbox: apple: Add DockChannel FIFO controller Michael Reeves via B4 Relay
2026-09-25 12:18   ` sashiko-bot
2026-09-25 12:09 ` [PATCH v4 06/10] soc: apple: rtkit: Add tracekit endpoint Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 07/10] HID: apple: Add support for DockChannel HID keyboards Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 08/10] HID: apple: Add DockChannel HID transport driver Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 09/10] arm64: dts: apple: Add MTP DockChannel HID nodes Michael Reeves via B4 Relay
2026-09-25 12:09 ` [PATCH v4 10/10] arm64: dts: apple: Enable DockChannel HID on M2 and M3 laptops Michael Reeves via B4 Relay

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=20260925121638.9F4B51F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=michael.reeves077@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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