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

dt-bindings: gpio: add entry for hisilicon,ascend910-gpio

Add the new compatible for HiSilicon gpio controller driver.

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Weilong Chen and committed by
Bartosz Golaszewski
95e7fc84 c8a51f03

+57
+56
Documentation/devicetree/bindings/gpio/hisilicon,ascend910-gpio.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/gpio/hisilicon,ascend910-gpio.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: HiSilicon common GPIO controller 8 + 9 + maintainers: 10 + - Jay Fang <f.fangjian@huawei.com> 11 + 12 + description: 13 + The HiSilicon common GPIO controller can be used for many different 14 + types of SoC such as Huawei Ascend AI series chips. 15 + 16 + properties: 17 + compatible: 18 + const: hisilicon,ascend910-gpio 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + gpio-controller: true 27 + 28 + "#gpio-cells": 29 + const: 2 30 + 31 + ngpios: 32 + minimum: 1 33 + maximum: 32 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - interrupts 39 + - gpio-controller 40 + - "#gpio-cells" 41 + - ngpios 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + #include <dt-bindings/interrupt-controller/arm-gic.h> 48 + 49 + gpio@840d0000 { 50 + compatible = "hisilicon,ascend910-gpio"; 51 + reg = <0x840d0000 0x1000>; 52 + ngpios = <32>; 53 + gpio-controller; 54 + #gpio-cells = <2>; 55 + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 56 + };
+1
MAINTAINERS
··· 9198 9198 M: Jay Fang <f.fangjian@huawei.com> 9199 9199 L: linux-gpio@vger.kernel.org 9200 9200 S: Maintained 9201 + F: Documentation/devicetree/bindings/gpio/hisilicon,ascend910-gpio.yaml 9201 9202 F: drivers/gpio/gpio-hisi.c 9202 9203 9203 9204 HISILICON HIGH PERFORMANCE RSA ENGINE DRIVER (HPRE)