Re: [PATCH v3 2/2] dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema

From: Rob Herring

Date: Mon Aug 31 2026 - 15:38:17 EST


On Mon, Aug 31, 2026 at 08:15:35PM +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:
> - Add "simple-mfd" to compatibles matching existing dts usage.
> - Add required bus properties #address-cells, #size-cells, and ranges
> which were missing in text binding.
> - Document child nodes gpio, interrupt-controller, and reset-controller.
>
> Signed-off-by: Bhargav Joshi <j.bhargav.u@xxxxxxxxx>
> ---
> .../bindings/mfd/ti,keystone-devctrl.yaml | 84 ++++++++++++++++++++++
> .../bindings/mfd/ti-keystone-devctrl.txt | 19 -----
> 2 files changed, 84 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..dd73b62357ca
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml
> @@ -0,0 +1,84 @@
> +# 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@xxxxxx>
> +
> +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:
> + items:
> + - const: ti,keystone-devctrl
> + - const: syscon
> + - const: simple-mfd
> +
> + reg:
> + maxItems: 1
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 1
> +
> + ranges: true
> +
> +patternProperties:
> + "^gpio@[0-9a-f]+$":
> + type: object
> + description: Keystone DSP GPIO controller

required:
- compatible

And on the other 2 child nodes.

> +
> + "^interrupt-controller@[0-9a-f]+$":
> + type: object
> + description: Keystone DSP to ARM interrupt controller
> +
> + "^reset-controller@[0-9a-f]+$":
> + type: object
> + description: Keystone reset controller