Files
linux/Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml
Jihed Chaibi 4a372798e1 dt-bindings: gpio: ti,twl4030: Correct the schema $id path
The $id for a binding should match its file path. The ti,twl4030-gpio
binding is located in the gpio/ subdirectory but was missing this from
its $id.

Correct the path to follow the standard convention.

Fixes: 842dcff8e2 ("dt-bindings: gpio: Convert ti,twl4030-gpio to DT schema")

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jihed Chaibi <jihed.chaibi.dev@gmail.com>
Fixes: 842dcff8e2 ("dt-bindings: gpio: Convert ti,twl4030-gpio to DT schema")
Link: https://lore.kernel.org/r/20250821194710.16043-1-jihed.chaibi.dev@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-11-03 11:48:30 +01:00

62 lines
1.5 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/gpio/ti,twl4030-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: TI TWL4030 GPIO controller
maintainers:
- Aaro Koskinen <aaro.koskinen@iki.fi>
- Andreas Kemnade <andreas@kemnade.info>
- Kevin Hilman <khilman@baylibre.com>
- Roger Quadros <rogerq@kernel.org>
- Tony Lindgren <tony@atomide.com>
properties:
compatible:
const: ti,twl4030-gpio
'#gpio-cells':
const: 2
gpio-controller: true
'#interrupt-cells':
const: 1
interrupt-controller: true
ti,debounce:
description: Debounce control bits. Each bit corresponds to a GPIO pin.
$ref: /schemas/types.yaml#/definitions/uint32
ti,mmc-cd:
description: MMC card detect control bits. Each bit corresponds to a GPIO pin for VMMC(n+1).
$ref: /schemas/types.yaml#/definitions/uint32
ti,pullups:
description: Pull-up control bits. Each bit corresponds to a GPIO pin.
$ref: /schemas/types.yaml#/definitions/uint32
ti,pulldowns:
description: Pull-down control bits. Each bit corresponds to a GPIO pin.
$ref: /schemas/types.yaml#/definitions/uint32
ti,use-leds:
type: boolean
description: Enables LEDA and LEDB outputs if set
additionalProperties: false
examples:
- |
gpio {
compatible = "ti,twl4030-gpio";
#gpio-cells = <2>;
gpio-controller;
#interrupt-cells = <1>;
interrupt-controller;
ti,use-leds;
};