/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,pmic-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC GPIO block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 This binding describes the GPIO block(s) found in the 8xxx series of 19 - enum: 20 - qcom,pm2250-gpio 21 - qcom,pm660-gpio [all …]
|
H A D | qcom,tlmm-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,tlmm-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 23 interrupt-controller: true 25 '#interrupt-cells': 28 include/dt-bindings/interrupt-controller/irq.h 31 gpio-controller: true 33 '#gpio-cells': [all …]
|
H A D | cypress,cy8c95x0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cypress CY8C95X0 I2C GPIO expander 10 - Patrick Rudolph <patrick.rudolph@9elements.com> 13 This supports the 20/40/60 pin Cypress CYC95x0 GPIO I2C expanders. 14 Pin function configuration is performed on a per-pin basis. 19 - cypress,cy8c9520 20 - cypress,cy8c9540 21 - cypress,cy8c9560 [all …]
|
H A D | qcom,msm8998-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8998-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 18 const: qcom,msm8998-pinctrl 26 interrupt-controller: true 27 "#interrupt-cells": true 28 gpio-controller: true [all …]
|
H A D | qcom,msm8226-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8226-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 17 const: qcom,msm8226-pinctrl 26 interrupt-controller: true 27 "#interrupt-cells": true 28 gpio-controller: true 29 "#gpio-cells": true [all …]
|
H A D | qcom,msm8660-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8660-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 18 const: qcom,msm8660-pinctrl 26 interrupt-controller: true 27 "#interrupt-cells": true 28 gpio-controller: true [all …]
|
H A D | qcom,ipq8064-pinctrl.txt | 4 - compatible: "qcom,ipq8064-pinctrl" 5 - reg: Should be the base address and length of the TLMM block. 6 - interrupts: Should be the parent IRQ of the TLMM block. 7 - interrupt-controller: Marks the device node as an interrupt controller. 8 - #interrupt-cells: Should be two. 9 - gpio-controller: Marks the device node as a GPIO controller. 10 - #gpio-cells : Should be two. 11 The first cell is the gpio pin number and the 13 - gpio-ranges: see ../gpio/gpio.txt 17 - gpio-reserved-ranges: see ../gpio/gpio.txt [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32f769-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include "stm32f7-pinctrl.dtsi" 10 compatible = "st,stm32f769-pinctrl"; 12 gpioa: gpio@40020000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@40020400 { 17 gpio-ranges = <&pinctrl 0 16 16>; 20 gpioc: gpio@40020800 { 21 gpio-ranges = <&pinctrl 0 32 16>; [all …]
|
H A D | stm32f746-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include "stm32f7-pinctrl.dtsi" 10 compatible = "st,stm32f746-pinctrl"; 12 gpioa: gpio@40020000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@40020400 { 17 gpio-ranges = <&pinctrl 0 16 16>; 20 gpioc: gpio@40020800 { 21 gpio-ranges = <&pinctrl 0 32 16>; [all …]
|
H A D | stm32mp15xxab-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
H A D | stm32mp15xxad-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
H A D | stm32mp15xxaa-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
H A D | stm32mp15xxac-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp25xxai-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 10 gpioa: gpio@44240000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@44250000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@44260000 { 25 gpio-ranges = <&pinctrl 0 32 14>; 28 gpiod: gpio@44270000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
H A D | stm32mp25xxak-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 10 gpioa: gpio@44240000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@44250000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@44260000 { 25 gpio-ranges = <&pinctrl 0 32 14>; 28 gpiod: gpio@44270000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
H A D | stm32mp25xxal-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 10 gpioa: gpio@44240000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@44250000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@44260000 { 25 gpio-ranges = <&pinctrl 0 32 14>; 28 gpiod: gpio@44270000 { 31 gpio-ranges = <&pinctrl 0 48 16>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | renesas,rcar-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/renesas,rcar-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car General-Purpose Input/Output Ports (GPIO) 10 - Geert Uytterhoeven <geert+renesas@glider.be> 15 - items: 16 - enum: 17 - renesas,gpio-r8a7778 # R-Car M1 18 - renesas,gpio-r8a7779 # R-Car H1 [all …]
|
H A D | gpio.txt | 1 Specifying GPIO information for devices 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 14 GPIO properties can contain one or more GPIO phandles, but only in exceptional 23 The following example could be used to describe GPIO pins used as device enable 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stm32f469-pinctrl.dtsi | 2 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 * This file is dual-licensed: you can use it either under the terms 44 #include "stm32f4-pinctrl.dtsi" 48 pinctrl: pin-controller { 49 compatible = "st,stm32f469-pinctrl"; 51 gpioa: gpio@40020000 { 52 gpio-ranges = <&pinctrl 0 0 16>; 55 gpiob: gpio@40020400 { 56 gpio-ranges = <&pinctrl 0 16 16>; 59 gpioc: gpio@40020800 { [all …]
|
H A D | stm32f429-pinctrl.dtsi | 2 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved 5 * This file is dual-licensed: you can use it either under the terms 44 #include "stm32f4-pinctrl.dtsi" 48 pinctrl: pin-controller { 49 compatible = "st,stm32f429-pinctrl"; 51 gpioa: gpio@40020000 { 52 gpio-ranges = <&pinctrl 0 0 16>; 55 gpiob: gpio@40020400 { 56 gpio-ranges = <&pinctrl 0 16 16>; 59 gpioc: gpio@40020800 { [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 12 compatible = "qcom,pm8150", "qcom,spmi-pmic"; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "qcom,pm8941-rtc"; 20 reg-names = "rtc", "alarm"; 22 wakeup-source; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-a1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2019 Amlogic, Inc. All rights reserved. 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/meson-a1-gpio.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <2>; 19 #size-cells = <0>; [all …]
|
H A D | amlogic-c3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved. 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 12 #address-cells = <2>; 13 #size-cells = <0>; 17 compatible = "arm,cortex-a35"; 19 enable-method = "psci"; 24 compatible = "arm,cortex-a35"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j7200-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 9 dmsc: system-controller@44083000 { 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; 23 #power-domain-cells = <2>; [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-bd71828.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <linux/gpio/driver.h> 5 #include <linux/mfd/rohm-bd71828.h> 16 struct gpio_chip gpio; member 28 * we are dealing with - then we are done in bd71828_gpio_set() 33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set() 36 dev_err(bdgpio->dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set() 46 ret = regmap_read(bdgpio->regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get() 49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get() 63 return -ENOTSUPP; in bd71828_gpio_set_config() [all …]
|