| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpiolib-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2007-2008 MontaVista Software, Inc. 26 #include "gpiolib-of.h" 29 * This is Linux-specific flags. By default controllers' and Linux' mapping 31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended. 44 * of_gpio_named_count() - Count GPIOs for a device 45 * @np: device node to count GPIOs for 48 * The function returns the count of GPIOs specified for a node. 50 * Number of gpios defined in property, 51 * -EINVAL for an incorrectly formed gpios property, or [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | mena21_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 struct gpio_desc *gpios[NUM_GPIOS]; member 44 int reset = 0; in a21_wdt_get_bootstatus() local 46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 50 return reset; in a21_wdt_get_bootstatus() 57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start() 66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop() 75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping() [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | mena21_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 struct gpio_desc *gpios[NUM_GPIOS]; member 44 int reset = 0; in a21_wdt_get_bootstatus() local 46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 50 return reset; in a21_wdt_get_bootstatus() 57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start() 66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop() 75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | gpio-consumer-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bartosz Golaszewski <brgl@bgdev.pl> 11 - Linus Walleij <linus.walleij@linaro.org> 14 Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs 20 enable-gpios: 25 reset-gpios: 27 GPIO (or GPIOs for power sequence) connected to the device reset pin [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/ |
| D | phy-mapphone-mdm6600.txt | 4 - compatible Must be "motorola,mapphone-mdm6600" 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600 15 usb-phy { 16 compatible = "motorola,mapphone-mdm6600"; 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
| D | phy-mapphone-mdm6600.txt | 4 - compatible Must be "motorola,mapphone-mdm6600" 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 11 - motorola,status-gpios Three GPIOs to read the power state of the MDM6600 15 usb-phy { 16 compatible = "motorola,mapphone-mdm6600"; 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
| D | panel-ronbo-rb070d30.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018-2019, Bridge Systems BV 4 * Copyright (C) 2018-2019, Bootlin 7 * This file based on panel-ilitek-ili9881c.c 16 #include <linux/media-bus-format.h> 34 struct gpio_desc *reset; member 37 } gpios; member 50 ret = regulator_enable(ctx->supply); in rb070d30_panel_prepare() 52 dev_err(&ctx->dsi->dev, "Failed to enable supply: %d\n", ret); in rb070d30_panel_prepare() 57 gpiod_set_value(ctx->gpios.power, 1); in rb070d30_panel_prepare() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | smsc,usb3503.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SMSC USB3503 High-Speed Hub Controller 10 - Dongjin Kim <tobetter@gmail.com> 15 - smsc,usb3503 16 - smsc,usb3503a 17 - smsc,usb3803 22 connect-gpios: 27 intn-gpios: [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3568-nanopi-r5c.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 10 #include "rk3568-nanopi-r5s.dtsi" 14 compatible = "friendlyarm,nanopi-r5c", "rockchip,rk3568"; 16 gpio-keys { 17 compatible = "gpio-keys"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&reset_button_pin>; 21 button-reset { 22 debounce-interval = <50>; [all …]
|
| D | rk3568-nanopi-r5s.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 10 #include "rk3568-nanopi-r5s.dtsi" 14 compatible = "friendlyarm,nanopi-r5s", "rockchip,rk3568"; 20 gpio-leds { 21 compatible = "gpio-leds"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&lan1_led_pin>, <&lan2_led_pin>, <&power_led_pin>, <&wan_led_pin>; 25 led-lan1 { 28 function-enumerator = <1>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/ |
| D | sony,td4353-jdi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel 10 - Konrad Dybcio <konrad.dybcio@somainline.org> 14 MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. 17 - $ref: panel-common.yaml# 21 const: sony,td4353-jdi-tama 27 vddio-supply: [all …]
|
| D | ronbo,rb070d30.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 17 description: MIPI-DSI virtual channel 19 power-gpios: 23 reset-gpios: 24 description: GPIO used for the reset pin 27 shlr-gpios: 31 updn-gpios: [all …]
|
| D | jdi,lt070me05000.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinay Simha BN <simhavcs@gmail.com> 13 - $ref: panel-common.yaml# 19 enable-gpios: true 21 reset-gpios: true 23 vddp-supply: 25 The regulator that provides the supply voltage Power IC supply (3-5V) 27 iovcc-supply: [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| D | panel-ronbo-rb070d30.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018-2019, Bridge Systems BV 4 * Copyright (C) 2018-2019, Bootlin 7 * This file based on panel-ilitek-ili9881c.c 15 #include <linux/media-bus-format.h> 34 struct gpio_desc *reset; member 37 } gpios; member 50 ret = regulator_enable(ctx->supply); in rb070d30_panel_prepare() 52 dev_err(&ctx->dsi->dev, "Failed to enable supply: %d\n", ret); in rb070d30_panel_prepare() 57 gpiod_set_value(ctx->gpios.power, 1); in rb070d30_panel_prepare() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/ |
| D | samsung,sensorhub-rinato.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Cameron <jic23@kernel.org> 19 - samsung,sensorhub-rinato 20 - samsung,sensorhub-thermostat 28 ap-mcu-gpios: 31 Application Processor to sensorhub line - used during communication 33 mcu-ap-gpios: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| D | repaper.txt | 1 Pervasive Displays RePaper branded e-ink displays 4 - compatible: "pervasive,e1144cs021" for 1.44" display 9 - panel-on-gpios: Timing controller power control 10 - discharge-gpios: Discharge control 11 - reset-gpios: RESET pin 12 - busy-gpios: BUSY pin 15 - border-gpios: Border control 18 all mandatory properties described in ../spi/spi-bus.txt must be specified. 21 - pervasive,thermal-zone: name of thermometer's thermal zone 28 #thermal-sensor-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | repaper.txt | 1 Pervasive Displays RePaper branded e-ink displays 4 - compatible: "pervasive,e1144cs021" for 1.44" display 9 - panel-on-gpios: Timing controller power control 10 - discharge-gpios: Discharge control 11 - reset-gpios: RESET pin 12 - busy-gpios: BUSY pin 15 - border-gpios: Border control 18 all mandatory properties described in ../spi/spi-bus.txt must be specified. 21 - pervasive,thermal-zone: name of thermometer's thermal zone 28 #thermal-sensor-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/ |
| D | mmc-pwrseq-sd8787.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 15 - mmc-pwrseq-sd8787 16 - mmc-pwrseq-wilc1000 18 powerdown-gpios: 23 reset-gpios: 26 contains a reset GPIO specifier with the default active state [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| D | mmc-pwrseq-sd8787.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-sd8787.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 14 const: mmc-pwrseq-sd8787 16 powerdown-gpios: 21 reset-gpios: 24 contains a reset GPIO specifier with the default active state 27 - compatible [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | fsl-fec.txt | 4 - compatible : Should be "fsl,<soc>-fec" 5 - reg : Address and length of the register set for the device 6 - interrupts : Should contain fec interrupt 7 - phy-mode : See ethernet.txt file in the same directory 10 - phy-supply : regulator that powers the Ethernet PHY. 11 - phy-handle : phandle to the PHY device connected to this device. 12 - fixed-link : Assume a fixed link. See fixed-link.txt in the same directory. 13 Use instead of phy-handle. 14 - fsl,num-tx-queues : The property is valid for enet-avb IP, which supports 17 - fsl,num-rx-queues : The property is valid for enet-avb IP, which supports [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/ |
| D | ronbo,rb070d30.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 17 description: MIPI-DSI virtual channel 19 power-gpios: 23 reset-gpios: 24 description: GPIO used for the reset pin 27 shlr-gpios: 31 updn-gpios: [all …]
|
| D | jdi,lt070me05000.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinay Simha BN <simhavcs@gmail.com> 13 - $ref: panel-common.yaml# 19 enable-gpios: true 21 reset-gpios: true 23 vddp-supply: 25 The regulator that provides the supply voltage Power IC supply (3-5V) 27 iovcc-supply: [all …]
|
| D | samsung,amoled-mipi-dsi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung AMOLED MIPI-DSI panels 10 - Hoegeun Kwon <hoegeun.kwon@samsung.com> 13 - $ref: panel-common.yaml# 15 - if: 20 - samsung,s6e3ha2 21 - samsung,s6e3hf2 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/ |
| D | moxa,moxart-rtc.txt | 1 MOXA ART real-time clock 5 - compatible : Should be "moxa,moxart-rtc" 6 - rtc-sclk-gpios : RTC sclk gpio, with zero flags 7 - rtc-data-gpios : RTC data gpio, with zero flags 8 - rtc-reset-gpios : RTC reset gpio, with zero flags 13 compatible = "moxa,moxart-rtc"; 14 rtc-sclk-gpios = <&gpio 5 0>; 15 rtc-data-gpios = <&gpio 6 0>; 16 rtc-reset-gpios = <&gpio 7 0>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/ |
| D | realtek.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: dsa.yaml#/$defs/ethernet-ports 13 - Linus Walleij <linus.walleij@linaro.org> 20 The SMI "Simple Management Interface" is a two-wire protocol using 21 bit-banged GPIO that while it reuses the MDIO lines MCK and MDIO does 23 SMI-based Realtek devices. The realtek-smi driver is a platform driver 26 The MDIO-connected switches use MDIO protocol to access their registers. 27 The realtek-mdio driver is an MDIO driver and it must be inserted inside [all …]
|