Home
last modified time | relevance | path

Searched +full:phandle +full:- +full:gpio (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dpinctrl_broadwell.c4 * SPDX-License-Identifier: GPL-2.0+
14 #include <asm/gpio.h>
17 #include <asm/arch/gpio.h>
18 #include <dt-bindings/gpio/x86-gpio.h>
32 int phandle; member
49 const void *blob = gd->fdt_blob; in broadwell_pinctrl_read_configs()
57 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() local
59 if (!phandle) in broadwell_pinctrl_read_configs()
62 return -ENOSPC; in broadwell_pinctrl_read_configs()
66 conf->node = node; in broadwell_pinctrl_read_configs()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dsff,sfp.txt1 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)
16 module presence input gpio signal, active (module absent) high. Must
19 - los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal
20 Indication input gpio signal, active (signal lost) high
22 - tx-fault-gpios : GPIO phandle and a specifier of the Module Transmitter
23 Fault input gpio signal, active (fault condition) high
25 - tx-disable-gpios : GPIO phandle and a specifier of the Transmitter Disable
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.txt1 Device-Tree bindings for GPIO attached mice
3 This simply uses standard GPIO handles to define a simple mouse connected
4 to 5-7 GPIO lines.
7 - compatible: must be "gpio-mouse"
8 - scan-interval-ms: The scanning interval in milliseconds
9 - up-gpios: GPIO line phandle to the line indicating "up"
10 - down-gpios: GPIO line phandle to the line indicating "down"
11 - left-gpios: GPIO line phandle to the line indicating "left"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/gpio/
H A Dgpio.txt1 Specifying GPIO information for devices
5 -----------------
8 properties, each containing a 'gpio-list':
10 gpio-list ::= <single-gpio> [gpio-list]
11 single-gpio ::= <gpio-phandle> <gpio-specifier>
12 gpio-phandle : phandle to gpio controller node
13 gpio-specifier : Array of #gpio-cells specifying specific gpio
16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
17 of this GPIO for the device. While a non-existent <name> is considered valid
21 GPIO properties can contain one or more GPIO phandles, but only in exceptional
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/
H A Dhisilicon-hikey-usb.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/misc/hisilicon-hikey-usb.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: HiKey960 onboard USB GPIO Hub
11 - John Stultz <john.stultz@linaro.org>
14 Supports the onboard HiKey960 USB GPIO hub, which acts as a
15 role-switch intermediary to detect the state of the USB-C
16 port, to switch the hub into dual-role USB-C or host mode,
17 which enables the onboard USB-A host ports.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dtas571x.txt9 - compatible: should be one of the following:
10 - "ti,tas5707"
11 - "ti,tas5711",
12 - "ti,tas5717",
13 - "ti,tas5719",
14 - "ti,tas5721"
15 - reg: The I2C address of the device
16 - #sound-dai-cells: must be equal to 0
20 - reset-gpios: GPIO specifier for the TAS571x's active low reset line
21 - pdn-gpios: GPIO specifier for the TAS571x's active low powerdown line
[all …]
H A Drockchip,multicodecs.txt4 - compatible: "rockchip,multicodecs-card"
5 - rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's
7 - rockchip,codec: The phandle of audio codecs
10 - rockchip,card-name: User specified audio sound card name, one string property.
11 - rockchip,codec-hp-det : Detect the headphone via internal codec.
12 - rockchip,wait-card-locked : This is a variable length array, user specified
15 - rockchip,audio-routing : sound card dapm routing.
16 - hp-det-gpio : headphone detect gpio.
17 - io-channels : headset mic/key detect adc channel.
18 - io-channel-names : headset mic/key adc channel name.
[all …]
H A Drohm,bd28623.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Katsuhiro Suzuki <katsuhiro@katsuster.net>
21 "#sound-dai-cells":
24 VCCA-supply:
26 regulator phandle for the VCCA (for analog) power supply
28 VCCP1-supply:
30 regulator phandle for the VCCP1 (for ch1) power supply
32 VCCP2-supply:
[all …]
H A Deverest,es7241.txt4 - compatible : "everest,es7241"
5 - VDDP-supply: regulator phandle for the VDDA supply
6 - VDDA-supply: regulator phandle for the VDDP supply
7 - VDDD-supply: regulator phandle for the VDDD supply
10 - reset-gpios: gpio connected to the reset pin
11 - m0-gpios : gpio connected to the m0 pin
12 - m1-gpios : gpio connected to the m1 pin
13 - everest,sdout-pull-down:
21 linein: audio-codec@2 {
22 #sound-dai-cells = <0>;
[all …]
H A Dsamsung,midas-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 const: samsung,midas-audio
18 description: The user-visible name of this sound complex.
23 sound-dai:
24 $ref: /schemas/types.yaml#/definitions/phandle-array
26 description: phandle to the I2S controller
[all …]
H A Dsamsung,aries-wm8994.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Bakker <xc-racer2@live.ca>
16 - samsung,aries-wm8994
18 - samsung,fascinate4g-wm8994
22 description: The user-visible name of this sound complex.
27 sound-dai:
30 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/fsi/
H A Dfsi-master-ast-cf.txt1 Device-tree bindings for ColdFire offloaded gpio-based FSI master driver
2 ------------------------------------------------------------------------
5 - compatible =
6 "aspeed,ast2400-cf-fsi-master" for an AST2400 based system
8 "aspeed,ast2500-cf-fsi-master" for an AST2500 based system
10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
12 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal
13 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable
14 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dqcom,usb-8x16-phy.txt3 - compatible:
6 Definition: Should contain "qcom,usb-8x16-phy".
8 - reg:
10 Value type: <prop-encoded-array>
13 - clocks:
15 Value type: <prop-encoded-array>
16 Definition: See clock-bindings.txt section "consumers". List of
20 - clock-names:
25 - vddcx-supply:
27 Value type: <phandle>
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/gpu/
H A Dnvidia,tegra20-host1x.txt4 - compatible: "nvidia,tegra<chip>-host1x"
5 - reg: Physical base address and length of the controller's registers.
6 - interrupts: The interrupt outputs from the controller.
7 - #address-cells: The number of cells used to represent physical base addresses
9 - #size-cells: The number of cells used to represent the size of an address
11 - ranges: The mapping of the host1x address space to the CPU address space.
12 - clocks: Must contain one entry, for the module clock.
13 See ../clocks/clock-bindings.txt for details.
14 - resets: Must contain an entry for each entry in reset-names.
16 - reset-names: Must include the following entries:
[all …]
/OK3568_Linux_fs/kernel/drivers/of/
H A Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
27 #include <linux/i2c-mux.h>
28 #include <linux/gpio/driver.h>
70 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
72 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
73 "find /testcase-data failed\n"); in of_unittest_find_node_by_name()
78 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name()
79 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dmsm-hsusb.txt6 - compatible: Should contain "qcom,ehci-host"
7 - regs: offset and length of the register set in the memory map
8 - usb-phy: phandle for the PHY device
13 compatible = "qcom,ehci-host";
15 usb-phy = <&usb_otg>;
21 - compatible: Should contain:
22 "qcom,usb-otg-ci" for chipsets with ChipIdea 45nm PHY
23 "qcom,usb-otg-snps" for chipsets with Synopsys 28nm PHY
25 - regs: Offset and length of the register set in the memory map
26 - interrupts: interrupt-specifier for the OTG interrupt.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/
H A Dltc2952-poweroff.txt9 - compatible: Must contain: "lltc,ltc2952"
10 - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the
12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the
16 - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
26 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
28 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/
H A Drockchip,pinctrl.txt6 muxing options with option 0 being the use as a GPIO.
8 Please refer to pinctrl-bindings.txt in this directory for details of the
16 settings such as pull-up, etc.
19 defined as gpio sub-nodes of the pinmux controller.
22 - compatible: should be
23 "rockchip,px30-pinctrl": for Rockchip PX30
24 "rockchip,rv1108-pinctrl": for Rockchip RV1108
25 "rockchip,rk2928-pinctrl": for Rockchip RK2928
26 "rockchip,rk3066a-pinctrl": for Rockchip RK3066a
27 "rockchip,rk3066b-pinctrl": for Rockchip RK3066b
[all …]
H A Dingenic,pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 Please refer to pinctrl-bindings.txt in this directory for details of the
14 For the Ingenic SoCs, pin control is tightly bound with GPIO ports. All pins
16 GPIO port configuration registers and it is typical to refer to pins using the
17 naming scheme "PxN" where x is a character identifying the GPIO port with
19 pin within that GPIO port. For example PA0 is the first pin in GPIO port A,
20 and PB31 is the last pin in GPIO port B. The JZ4740, the X1000 and the X1830
21 contains 4 GPIO ports, PA to PD, for a total of 128 pins. The JZ4760, the
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/pinctrl/
H A Drockchip,pinctrl.txt6 muxing options with option 0 being the use as a GPIO.
8 Please refer to pinctrl-bindings.txt in this directory for details of the
16 settings such as pull-up, etc.
19 defined as gpio sub-nodes of the pinmux controller.
22 - compatible: one of "rockchip,rk2928-pinctrl", "rockchip,rk3066a-pinctrl"
23 "rockchip,rk3066b-pinctrl", "rockchip,rk3188-pinctrl"
24 "rockchip,rk3288-pinctrl"
25 - rockchip,grf: phandle referencing a syscon providing the
29 - rockchip,pmu: phandle referencing a syscon providing the pmu registers
34 - reg: first element is the general register space of the iomux controller
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/exynos/
H A Dexynos_hdmi.txt1 Device-Tree bindings for drm hdmi driver
4 - compatible: value should be one among the following:
5 1) "samsung,exynos4210-hdmi"
6 2) "samsung,exynos4212-hdmi"
7 3) "samsung,exynos5420-hdmi"
8 4) "samsung,exynos5433-hdmi"
9 - reg: physical base address of the hdmi and length of memory mapped
11 - interrupts: interrupt number to the cpu.
12 - hpd-gpios: following information about the hotplug gpio pin.
13 a) phandle of the gpio controller node.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/panel/
H A Dpanel-common.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
24 width-mm:
29 height-mm:
43 non-descriptive information. For instance an LCD panel in a system that
55 panel-timing:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/
H A Dtruly,nt35597.txt7 - compatible: should be "truly,nt35597-2K-display"
8 - vdda-supply: phandle of the regulator that provides the supply voltage
10 - vdispp-supply: phandle of the regulator that provides the supply voltage
12 - vdispn-supply: phandle of the regulator that provides the supply voltage
14 - reset-gpios: phandle of gpio for reset line
15 This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
17 - mode-gpios: phandle of the gpio for choosing the mode of the display
20 - ports: This device has two video ports driven by two DSIs. Their connections
23 - port@0: DSI input port driven by master DSI
24 - port@1: DSI input port driven by secondary DSI
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/i2c/
H A Dchrontel,ch7322.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Chrontel HDMI-CEC Controller
10 - Jeff Chase <jnchase@google.com>
13 The Chrontel CH7322 is a discrete HDMI-CEC controller. It is
30 reset-gpios:
32 Reference to the GPIO connected to the RESET pin, if any. This
33 pin is active-low.
36 standby-gpios:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-host1x.txt4 - compatible: "nvidia,tegra<chip>-host1x"
5 - reg: Physical base address and length of the controller's registers.
6 For pre-Tegra186, one entry describing the whole register area.
7 For Tegra186, one entry for each entry in reg-names:
8 "vm" - VM region assigned to Linux
9 "hypervisor" - Hypervisor region (only if Linux acts as hypervisor)
10 - interrupts: The interrupt outputs from the controller.
11 - #address-cells: The number of cells used to represent physical base addresses
13 - #size-cells: The number of cells used to represent the size of an address
15 - ranges: The mapping of the host1x address space to the CPU address space.
[all …]

12345678910>>...15