Home
last modified time | relevance | path

Searched +full:cmd +full:- +full:gpios (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dphy-mapphone-mdm6600.txt4 - 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/
H A Dolpc,xo1.75-ec.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 ---
5 $id: http://devicetree.org/schemas/misc/olpc,xo1.75-ec.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: OLPC XO-1.75 Embedded Controller bindings
12 on a OLPC XO-1.75 laptop computer.
17 "ready-gpios" property of the SSP binding as documented in:
18 <Documentation/devicetree/bindings/spi/marvell,mmp2-ssp.yaml>.
21 - Lubomir Rintel <lkundrak@v3.sk>
25 const: olpc,xo1.75-ec
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/
H A Dfsl-upm-nand.txt4 - compatible : "fsl,upm-nand".
5 - reg : should specify localbus chip select and size used for the chip.
6 - fsl,upm-addr-offset : UPM pattern offset for the address latch.
7 - fsl,upm-cmd-offset : UPM pattern offset for the command latch.
10 - fsl,upm-addr-line-cs-offsets : address offsets for multi-chip support.
12 - gpios : may specify optional GPIOs connected to the Ready-Not-Busy pins
13 (R/B#). For multi-chip devices, "n" GPIO definitions are required
17 - fsl,upm-wait-flags : add chip-dependent short delays after running the
20 - chip-delay : chip dependent delay for transferring data from array to
21 read registers (tR). Required if property "gpios" is not used
[all …]
H A Datmel-nand.txt4 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/
H A Dmt7622-bananapi-bpi-r64.dts5 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
16 model = "Bananapi BPI-R64";
17 compatible = "bananapi,bpi-r64", "mediatek,mt7622";
24 stdout-path = "serial0:115200n8";
30 proc-supply = <&mt6380_vcpu_reg>;
31 sram-supply = <&mt6380_vm_reg>;
35 proc-supply = <&mt6380_vcpu_reg>;
[all …]
H A Dmt7622-rfb1.dts6 * SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
18 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622";
25 stdout-path = "serial0:115200n8";
31 proc-supply = <&mt6380_vcpu_reg>;
32 sram-supply = <&mt6380_vm_reg>;
36 proc-supply = <&mt6380_vcpu_reg>;
37 sram-supply = <&mt6380_vm_reg>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3308-evb-ext-v10.dtsi4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 compatible = "pwm-backlight";
12 brightness-levels = <
45 default-brightness-level = <200>;
49 compatible = "simple-panel";
50 bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
52 enable-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
53 enable-delay-ms = <20>;
54 reset-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>;
55 reset-delay-ms = <10>;
[all …]
H A Drk3562-evb1-lp4x-v10-rgb-k350c4516t.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/display/media-bus-format.h>
8 #include "rk3562-evb1-lp4x-v10.dtsi"
9 #include "rk3562-android.dtsi"
10 #include "rk3562-rk817.dtsi"
14 compatible = "rockchip,rk3562-evb1-lp4x-v10-rgb-k350c4516t", "rockchip,rk3562";
16 spi_gpio: spi-gpio {
17 compatible = "spi-gpio";
18 #address-cells = <0x1>;
19 #size-cells = <0x0>;
[all …]
H A Drk3399-box-rev1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3399-box.dtsi"
12 compatible = "rockchip-box-rev1","rockchip,rk3399-box";
17 sdio0_bus1: sdio0-bus1 {
22 sdio0_bus4: sdio0-bus4 {
30 sdio0_cmd: sdio0-cmd {
35 sdio0_clk: sdio0-clk {
42 sdmmc_bus1: sdmmc-bus1 {
47 sdmmc_bus4: sdmmc-bus4 {
[all …]
H A Drk3399-box-rev2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3399-box.dtsi"
12 compatible = "rockchip-box-rev2","rockchip,rk3399-box";
16 pinctrl-names = "default";
17 pinctrl-0 = <&cpt_gpio>;
20 sdio0_bus1: sdio0-bus1 {
25 sdio0_bus4: sdio0-bus4 {
33 sdio0_cmd: sdio0-cmd {
38 sdio0_clk: sdio0-clk {
[all …]
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-ns2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * leds-ns2.c - Driver for the Network Space v2 (and parents) dual-GPIO LED
9 * Based on leds-gpio.c by Raphael Assenat <raph@8d.com>
39 * The Network Space v2 dual-GPIO LED is wired to a CPLD. Three different LED
41 * controlled through two GPIOs (command and slow): each combination of values
42 * for the command/slow GPIOs corresponds to a LED mode.
47 struct gpio_desc *cmd; member
51 rwlock_t rw_lock; /* Lock GPIOs. */
62 cmd_level = gpiod_get_value_cansleep(led->cmd); in ns2_led_get_mode()
63 slow_level = gpiod_get_value_cansleep(led->slow); in ns2_led_get_mode()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-nanopi-k2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-gxbb.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb";
21 stdout-path = "serial0:115200n8";
30 compatible = "gpio-leds";
32 led-stat {
33 label = "nanopi-k2:blue:stat";
34 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
[all …]
H A Dmeson-gxl-s905x-libretech-cc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/sound/meson-aiu.h>
13 #include "meson-gxl-s905x.dtsi"
16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x",
17 "amlogic,meson-gxl";
18 model = "Libre Computer AML-S905X-CC";
25 dio2133: analog-amplifier {
26 compatible = "simple-audio-amplifier";
[all …]
H A Dmeson-gxbb-odroidc2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxbb.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb";
15 model = "Hardkernel ODROID-C2";
23 stdout-path = "serial0:115200n8";
31 usb_otg_pwr: regulator-usb-pwrs {
32 compatible = "regulator-fixed";
34 regulator-name = "USB_OTG_PWR";
[all …]
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-master-ast-cf.c1 // SPDX-License-Identifier: GPL-2.0+
4 * A FSI master controller, using a simple GPIO bit-banging interface
25 #include "fsi-master.h"
26 #include "cf-fsi-fw.h"
28 #define FW_FILE_NAME "cf-fsi-fw.bin"
132 msg->msg <<= bits; in msg_push_bits()
133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits()
134 msg->bits += bits; in msg_push_bits()
142 top = msg->bits & 0x3; in msg_push_crc()
144 /* start bit, and any non-aligned top bits */ in msg_push_crc()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3308-evb.dts4 * SPDX-License-Identifier: GPL-2.0+
7 /dts-v1/;
9 #include "rk3308-u-boot.dtsi"
10 #include <dt-bindings/input/input.h>
11 #include <linux/media-bus-format.h>
15 compatible = "rockchip,rk3308-evb", "rockchip,rk3308";
17 adc-keys0 {
18 u-boot,dm-pre-reloc;
19 compatible = "adc-keys";
20 io-channels = <&saradc 0>;
[all …]
H A D.rk3308-evb.dtb.pre.tmp
H A Dmeson-gxbb-odroidc2.dts6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
47 #include "meson-gxbb.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
51 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb";
52 model = "Hardkernel ODROID-C2";
59 stdout-path = "serial0:115200n8";
67 usb_otg_pwr: regulator-usb-pwrs {
68 compatible = "regulator-fixed";
70 regulator-name = "USB_OTG_PWR";
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dpreisp-dummy.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <media/media-entity.h>
18 #include <media/v4l2-async.h>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-subdev.h>
21 #include <media/v4l2-fwnode.h>
30 #include <linux/rk-camera-module.h>
31 #include <linux/rk-preisp.h>
44 #define OF_CAMERA_MODULE_REGULATORS "rockchip,regulator-names"
45 #define OF_CAMERA_MODULE_REGULATOR_VOLTAGES "rockchip,regulator-voltages"
[all …]
H A Drk_ircut.c1 // SPDX-License-Identifier: GPL-2.0
3 * Rockchip driver for IR-Cuter
17 #include <media/v4l2-subdev.h>
18 #include <media/v4l2-ctrls.h>
19 #include <media/v4l2-device.h>
22 #include <linux/rk-camera-module.h>
44 void (*ctrl)(struct ircut_dev *ircut, int cmd);
67 ((ircut->state == (expected)) ? true : false)
71 ircut->open_gpio = devm_gpiod_get(ircut->dev, "ircut-open", GPIOD_OUT_HIGH); in ap1511a_parse_dt()
72 if (IS_ERR(ircut->open_gpio)) { in ap1511a_parse_dt()
[all …]
/OK3568_Linux_fs/kernel/drivers/bus/
H A Dts-nbus.c2 * NBUS driver for TS-4600 based boards
4 * Copyright (c) 2016 - Savoir-faire Linux
11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
13 * TS-4600 SoM.
24 #include <linux/ts-nbus.h>
43 * request all gpios required by the bus.
48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
51 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata()
52 return PTR_ERR(ts_nbus->data); in ts_nbus_init_pdata()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dtegra_mmc.c5 * Portions Copyright 2011-2016 NVIDIA Corporation
7 * SPDX-License-Identifier: GPL-2.0+
17 #include <asm/arch-tegra/tegra_mmc.h>
43 if (power != (unsigned short)-1) { in tegra_mmc_set_power()
61 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power()
67 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power()
77 debug("buf: %p (%p), data->blocks: %u, data->blocksize: %u\n", in tegra_mmc_prepare_data()
78 bbstate->bounce_buffer, bbstate->user_buffer, data->blocks, in tegra_mmc_prepare_data()
79 data->blocksize); in tegra_mmc_prepare_data()
81 writel((u32)(unsigned long)bbstate->bounce_buffer, &priv->reg->sysad); in tegra_mmc_prepare_data()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dqcom-apq8060-dragonboard.dts23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
27 #include "qcom-msm8660.dtsi"
31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
38 stdout-path = "serial0:115200n8";
42 compatible = "simple-bus";
45 vph: regulator-fixed {
46 compatible = "regulator-fixed";
[all …]
H A Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
19 #address-cells = <1>;
20 #size-cells = <1>;
24 compatible = "simple-framebuffer";
[all …]
H A Darmada-370-seagate-nas-4bay.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Seagate NAS 4-Bay (Armada 370 SoC).
13 * Product name : Seagate NAS 4-Bay
14 * Code name (board/PCB) : Dart 4-Bay
19 /dts-v1/;
20 #include "armada-370-seagate-nas-xbay.dtsi"
21 #include <dt-bindings/leds/leds-ns2.h>
24 model = "Seagate NAS 4-Bay (Dart, SRPD40)";
25 compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp";
28 internal-regs {
[all …]

12345678910>>...15