Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: gpio: Add devicetree binding for RDA Micro GPIO controller

Add YAML devicetree binding for RDA Micro GPIO controller.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20191021064413.19840-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Manivannan Sadhasivam and committed by
Linus Walleij
69e00e2d 8a99358a

+50
+50
Documentation/devicetree/bindings/gpio/gpio-rda.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/gpio/gpio-rda.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RDA Micro GPIO controller 8 + 9 + maintainers: 10 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 + 12 + properties: 13 + compatible: 14 + const: rda,8810pl-gpio 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + gpio-controller: true 20 + 21 + "#gpio-cells": 22 + const: 2 23 + 24 + ngpios: 25 + description: 26 + Number of available gpios in a bank. 27 + minimum: 1 28 + maximum: 32 29 + 30 + interrupt-controller: true 31 + 32 + "#interrupt-cells": 33 + const: 2 34 + 35 + interrupts: 36 + maxItems: 1 37 + 38 + required: 39 + - compatible 40 + - reg 41 + - gpio-controller 42 + - "#gpio-cells" 43 + - ngpios 44 + - interrupt-controller 45 + - "#interrupt-cells" 46 + - interrupts 47 + 48 + additionalProperties: false 49 + 50 + ...