| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | sff,sfp.txt | 1 Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 6 - compatible : must be one of 10 - i2c-bus : phandle of an I2C bus controller for the SFP two wire serial 15 - mod-def0-gpios : GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) 17 not be present for SFF modules 19 - los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal 22 - tx-fault-gpios : GPIO phandle and a specifier of the Module Transmitter 25 - tx-disable-gpios : GPIO phandle and a specifier of the Transmitter Disable 28 - rate-select0-gpios : GPIO phandle and a specifier of the Rx Signaling Rate 30 Must not be present for SFF modules [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | sirf-audio.txt | 4 - compatible: "sirf,sirf-audio-card" 5 - sirf,audio-platform: phandle for the platform node 6 - sirf,audio-codec: phandle for the SiRF internal codec node 9 - hp-pa-gpios: Need to be present if the board need control external 11 - spk-pa-gpios: Need to be present if the board need control external 13 - hp-switch-gpios: Need to be present if the board capable to detect jack 16 Available audio endpoints for the audio-routing table: 34 compatible = "sirf,sirf-audio-card"; 35 sirf,audio-codec = <&audiocodec>; 36 sirf,audio-platform = <&audioport>; [all …]
|
| H A D | st,sta350.txt | 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V 22 - st,output-conf: number, Selects the output configuration: 23 0: 2-channel (full-bridge) power, 2-channel data-out 24 1: 2 (half-bridge). 1 (full-bridge) on-board power [all …]
|
| H A D | st,sta32x.txt | 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V 22 - clocks, clock-names: Clock specifier for XTI input clock. 24 and disabled when it is removed. The 'clock-names' must be set to 'xti'. 26 - st,output-conf: number, Selects the output configuration: [all …]
|
| H A D | nvidia,tegra-audio-rt5677.txt | 4 - compatible : "nvidia,tegra-audio-rt5677" 5 - clocks : Must contain an entry for each entry in clock-names. 6 See ../clocks/clock-bindings.txt for details. 7 - clock-names : Must include the following entries: 8 - pll_a 9 - pll_a_out0 10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 11 - nvidia,model : The user-visible name of this sound complex. 12 - nvidia,audio-routing : A list of the connections between audio components. 24 - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | serial_mctrl_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 45 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument 52 if (gpios == NULL) in mctrl_gpio_set() 56 if (gpios->gpio[i] && mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_set() 57 desc_array[count] = gpios->gpio[i]; in mctrl_gpio_set() 66 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument 69 if (gpios == NULL) in mctrl_gpio_to_gpiod() 72 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod() 76 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument 80 if (gpios == NULL) in mctrl_gpio_get() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/ |
| H A D | atmel-nand.txt | 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" 17 "microchip,sam9x60-nand-controller" 18 - ranges: empty ranges property to forward EBI ranges definitions. 19 - #address-cells: should be set to 2. [all …]
|
| H A D | gpio-control-nand.txt | 8 - compatible : "gpio-control-nand" 9 - reg : should specify localbus chip select and size used for the chip. The 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 14 - gpios : Specifies the GPIO pins to control the NAND device. The order of 18 - bank-width : Width (in bytes) of the device. If not present, the width 20 - chip-delay : chip dependent delay for transferring data from array to 21 read registers (tR). If not present then a default of 20us is used. 22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read 24 the GPIO's and the NAND flash data bus. If present, then after changing 28 The device tree may optionally contain sub-nodes describing partitions of the [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/nfc/ |
| H A D | st-nci-spi.txt | 4 - compatible: Should be "st,st21nfcb-spi" 5 - spi-max-frequency: Maximum SPI frequency (<= 4000000). 6 - interrupts: GPIO interrupt to which the chip is connected 7 - reset-gpios: Output GPIO pin used to reset the ST21NFCB 10 - pinctrl-names: Contains only one value - "default". 11 - pintctrl-0: Specifies the pin control groups used for this controller. 12 - ese-present: Specifies that an ese is physically connected to the nfc 14 - uicc-present: Specifies that the uicc swp signal can be physically 17 Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4): 24 compatible = "st,st21nfcb-spi"; [all …]
|
| H A D | st21nfca.txt | 4 - compatible: Should be "st,st21nfca-i2c". 5 - clock-frequency: I²C work frequency. 6 - reg: address on the bus 7 - enable-gpios: Output GPIO pin used for enabling/disabling the ST21NFCA 10 - pinctrl-names: Contains only one value - "default". 11 - pintctrl-0: Specifies the pin control groups used for this controller. 12 - ese-present: Specifies that an ese is physically connected to the nfc 14 - uicc-present: Specifies that the uicc swp signal can be physically 17 Example (for ARM-based BeagleBoard xM with ST21NFCA on I2C2): 24 compatible = "st,st21nfca-i2c"; [all …]
|
| H A D | st-nci-i2c.txt | 4 - compatible: Should be "st,st21nfcb-i2c" or "st,st21nfcc-i2c". 5 - clock-frequency: I²C work frequency. 6 - reg: address on the bus 7 - interrupts: GPIO interrupt to which the chip is connected 8 - reset-gpios: Output GPIO pin used to reset the ST21NFCB 11 - pinctrl-names: Contains only one value - "default". 12 - pintctrl-0: Specifies the pin control groups used for this controller. 13 - ese-present: Specifies that an ese is physically connected to the nfc 15 - uicc-present: Specifies that the uicc swp signal can be physically 18 Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2): [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/ |
| H A D | serial.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Rob Herring <robh@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 19 where N is the port number (non-negative decimal integer) as printed on the 26 cts-gpios: 32 dcd-gpios: 38 dsr-gpios: 44 dtr-gpios: [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/spi/ |
| H A D | spi-bus.txt | 10 - #address-cells - number of cells required to define a chip select 12 - #size-cells - should be zero. 13 - compatible - name of SPI bus controller following generic names 15 - cs-gpios - (optional) gpios chip select. 20 flexible and non-standardized, it is left out of this binding with the 26 - num-cs : total number of chipselects 28 If cs-gpios is used the number of chip select will automatically increased 29 with max(cs-gpios > hw cs) 31 So if for example the controller has 2 CS lines, and the cs-gpios 34 cs-gpios = <&gpio1 0 0> <0> <&gpio1 1 0> <&gpio1 2 0>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of 25 [2] include/dt-bindings/pinctrl/lochnagar.h 26 [3] include/dt-bindings/clock/lochnagar.h 28 And these documents for the required sub-node binding details: 35 - if: 39 - cirrus,lochnagar2 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/firmware-guide/acpi/ |
| H A D | enumeration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 that are accessed through memory-mapped registers. 15 In order to support this and re-use the existing drivers as much as 18 - Devices that have no bus connector resource are represented as 21 - Devices behind real busses where there is a connector resource 33 This means that when ACPI_HANDLE(dev) returns non-NULL the device was 35 device-specific configuration. There is an example of this below. 42 for the device and add supported ACPI IDs. If this same IP-block is used on 43 some other non-ACPI platform, the driver might work out of the box or needs 65 configuring GPIOs it can get its ACPI handle and extract this information [all …]
|
| H A D | gpio-properties.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 allows names to be given to GPIOs (and other things as well) returned 13 With _DSD we can now query GPIOs using a name instead of an integer 16 // Bluetooth device with reset and shutdown GPIOs 31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), 34 Package () {"reset-gpios", Package() {^BTH, 1, 1, 0 }}, 35 Package () {"shutdown-gpios", Package() {^BTH, 0, 0, 0 }}, 61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo() 75 assuming non-active (Polarity = !Pull Bias) 77 Down High as low, assuming non-active [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | aspeed-bmc-opp-zaius.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500"; 19 stdout-path = &uart5; 27 reserved-memory { 28 #address-cells = <1>; 29 #size-cells = <1>; 33 no-map; [all …]
|
| H A D | kirkwood-dnskw.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "kirkwood-6281.dtsi" 6 model = "D-Link DNS NASes (kirkwood-based)"; 7 compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10 compatible = "gpio-keys"; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 pinctrl-0 = <&pmx_button_power &pmx_button_unmount 15 pinctrl-names = "default"; 20 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/leds/ |
| H A D | leds-gpio.txt | 4 - compatible : should be "gpio-leds". 6 Each LED is represented as a sub-node of the gpio-leds device. Each 9 LED sub-node properties: 10 - gpios : Should specify the LED's GPIO, see "gpios property" in 13 - label : (optional) 15 - linux,default-trigger : (optional) 17 - default-state: (optional) The initial state of the LED. Valid 19 and the default-state property is set the to same value, then no 23 property is not present. 28 compatible = "gpio-leds"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pps/ |
| H A D | pps-gpio.txt | 1 Device-Tree Bindings for a PPS Signal on GPIO 3 These properties describe a PPS (pulse-per-second) signal connected to 7 - compatible: should be "pps-gpio" 8 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt 11 - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt 12 - echo-active-ms: duration in ms of the active portion of the echo pulse 15 - assert-falling-edge: when present, assert is indicated by a falling edge 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_pps>; 23 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 int "Maximum number of GPIOs for fast path" 55 These checks help ensure that GPIOs have been properly initialized 57 non-sleeping contexts. They can make bitbanged serial protocols 65 Say Y here to add the legacy sysfs interface for GPIOs. 77 for GPIOs. The character device allows userspace to control GPIOs 115 tristate "GPIO driver for 74xx-ICs with MMIO access" 119 Say yes here to support GPIO functionality for 74xx-compatible ICs 135 If driver is built as a module it will be called gpio-altera. 259 Selecting this option will enable handling of GPIO pins present [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/xilinx/ |
| H A D | xlnx,csi2rxss.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: Xilinx MIPI CSI-2 Receiver Subsystem 10 - Vishal Sagar <vishal.sagar@xilinx.com> 13 The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2 16 The subsystem consists of a MIPI D-PHY in slave mode which captures the 17 data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the 20 For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem. 21 Please note that this bindings includes only the MIPI CSI-2 Rx controller [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/marvell/ |
| H A D | armada-3720-turris-mox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/bus/moxtet.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "armada-372x.dtsi" 16 compatible = "cznic,turris-mox", "marvell,armada3720", 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 40 gpios = <&gpiosb 21 GPIO_ACTIVE_LOW>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/ |
| H A D | gpio.txt | 4 1) gpios property 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 9 for compatibility reasons (resolving to the "gpios" property), it is not allowed 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 15 cases should they contain more than one. If your device uses several GPIOs with 17 meaningful name. The only case where an array of GPIOs is accepted is when 18 several GPIOs serve the same function (e.g. a parallel data line). 20 The exact purpose of each gpios property must be documented in the device tree [all …]
|