From: Krzysztof Kozlowski <krzk@kernel.org>
To: Bhargav Joshi <j.bhargav.u@gmail.com>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>,
mfd@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, goledhruva@gmail.com,
m-chawdhry@ti.com, daniel.baluta@gmail.com,
simona.toaca@nxp.com
Subject: Re: [PATCH] dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema
Date: Fri, 14 Aug 2026 08:49:54 +0200 [thread overview]
Message-ID: <20260814-brilliant-real-moose-e4158c@quoll> (raw)
In-Reply-To: <20260813-ti-keystone-devctrl-v1-1-6f0aa87d9af8@gmail.com>
On Thu, Aug 13, 2026 at 10:03:53PM +0530, Bhargav Joshi wrote:
> Convert the Texas Instruments Keystone Device State Control binding from
> legacy text format to DT schema.
>
> During the conversion, the following updates were made:
> - Added "simple-mfd" to the allowed compatible strings.
> - Enforced child bus properties (#address-cells, #size-cells, and ranges)
> to be required only when the "simple-mfd" compatible is present.
> - Added patternProperties definitions to validate standard child nodes
> - Updated the examples to demonstrate simple-mfd parent usage and updated
> node names to conform with standard Devicetree specifications.
>
> Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
> ---
> Note:
> Running dt_binding_check on patch will yield a warning for
> 'ti,keystone-reset' in the example block. The YAML conversion patch
> for that child node is already in progress here:
> https://lore.kernel.org/linux-devicetree/20260813-ti-keystone-reset-v1-1-189389503324@gmail.com/
> ---
> .../bindings/mfd/ti,keystone-devctrl.yaml | 105 +++++++++++++++++++++
> .../bindings/mfd/ti-keystone-devctrl.txt | 19 ----
> 2 files changed, 105 insertions(+), 19 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml b/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml
> new file mode 100644
> index 000000000000..33a72c290fb1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml
> @@ -0,0 +1,105 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/ti,keystone-devctrl.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments Keystone Device State Control
> +
> +maintainers:
> + - Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
> +
> +description:
> + The Keystone II devices have a set of registers that are used to control the
> + status of its peripherals. This node is intended to allow access to this
> + functionality.
> +
> +properties:
> + compatible:
> + minItems: 2
Why? Where is it explained in commit msg?
> + items:
> + - const: ti,keystone-devctrl
> + - const: syscon
> + - const: simple-mfd
> +
> + reg:
> + maxItems: 1
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 1
> +
> + ranges: true
> +
> +patternProperties:
> + "^keystone_dsp_gpio@[0-9a-f]+$":
Incorrect names added without explanation.
Best regards,
Krzysztof
prev parent reply other threads:[~2026-08-14 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 16:33 [PATCH] dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema Bhargav Joshi
2026-08-13 16:41 ` sashiko-bot
2026-08-13 16:54 ` Bhargav Joshi
2026-08-14 6:48 ` Krzysztof Kozlowski
2026-08-14 6:49 ` Krzysztof Kozlowski [this message]
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=20260814-brilliant-real-moose-e4158c@quoll \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.baluta@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=goledhruva@gmail.com \
--cc=ivan.khoronzhuk@ti.com \
--cc=j.bhargav.u@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m-chawdhry@ti.com \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=simona.toaca@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.