Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsurface3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
40 * device TEV2(MSHW0028) for declaring the GPIOs. The gpios are also slightly
43 * is a reduce platform and thus uses GPIOs, not ACPI events.
93 struct platform_device *pd; in surface3_button_device_create() local
100 gpio_keys_pdata = devm_kzalloc(&client->dev, in surface3_button_device_create()
105 return ERR_PTR(-ENOMEM); in surface3_button_device_create()
109 for (info = button_info; info->name; info++) { in surface3_button_device_create()
110 if (info->autorepeat != autorepeat) in surface3_button_device_create()
113 gpio = surface3_button_lookup_gpio(&client->dev, in surface3_button_device_create()
114 info->acpi_index); in surface3_button_device_create()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/bridge/
H A Danalogix,anx7814.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analogix ANX7814 SlimPort (Full-HD Transmitter)
10 - Enric Balletbo i Serra <enric.balletbo@collabora.com>
15 - analogix,anx7808
16 - analogix,anx7812
17 - analogix,anx7814
18 - analogix,anx7818
28 hpd-gpios:
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h6-orangepi-3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-h6.dtsi"
7 #include "sun50i-h6-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
13 compatible = "xunlong,orangepi-3", "allwinner,sun50i-h6";
21 stdout-path = "serial0:115200n8";
25 compatible = "hdmi-connector";
26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
31 remote-endpoint = <&hdmi_out_con>;
[all …]
H A Dsun50i-a64-olinuxino.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64.dtsi"
7 #include "sun50i-a64-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 model = "Olimex A64-Olinuxino";
13 compatible = "olimex,a64-olinuxino", "allwinner,sun50i-a64";
21 stdout-path = "serial0:115200n8";
24 hdmi-connector {
25 compatible = "hdmi-connector";
[all …]
H A Dsun50i-h6-orangepi.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 /dts-v1/;
7 #include "sun50i-h6.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
13 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6";
20 stdout-path = "serial0:115200n8";
24 compatible = "hdmi-connector";
26 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
30 remote-endpoint = <&hdmi_out_con>;
36 #clock-cells = <0>;
[all …]
H A Dsun50i-a64-bananapi-m64.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 /dts-v1/;
6 #include "sun50i-a64.dtsi"
7 #include "sun50i-a64-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
12 model = "BananaPi-M64";
13 compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64";
22 stdout-path = "serial0:115200n8";
25 hdmi-connector {
26 compatible = "hdmi-connector";
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dsoc_button_array.c1 // SPDX-License-Identifier: GPL-2.0-only
23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered");
52 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in
53 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs
57 * problematic because when re-enabling the irq, which happens whenever _LID
59 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the
61 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s,
69 * Acer Switch 10 SW5-012. _LID method messes with home- and
70 * power-button GPIO IRQ settings. When (re-)enabling the irq
72 * ones, leading to an irq-type of IRQ_TYPE_LEVEL_LOW |
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru-scarlet.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-scarlet board device tree source
8 #include "rk3399-gru.dtsi"
14 pp1250_s3: pp1250-s3 {
15 compatible = "regulator-fixed";
16 regulator-name = "pp1250_s3";
19 regulator-always-on;
20 regulator-boot-on;
21 regulator-min-microvolt = <1250000>;
22 regulator-max-microvolt = <1250000>;
[all …]
H A Drk3399pro-evb-v14-linux.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3399pro-evb-v11-linux.dts"
12 compatible = "rockchip,rk3399pro-evb-v14-linux", "rockchip,rk3399pro";
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 //no-map;
25 /delete-node/ &imx327;
26 /delete-node/ &ov13850;
[all …]
H A Drk3562-evb2-nvp6324.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 vcc_mipicsi0: vcc-mipicsi0-regulator {
9 compatible = "regulator-fixed";
11 pinctrl-names = "default";
12 pinctrl-0 = <&mipicsi0_pwr>;
13 regulator-name = "vcc_mipicsi0";
14 enable-active-high;
15 regulator-always-on;
16 regulator-boot-on;
24 #address-cells = <1>;
[all …]
H A Drk3588-nvr-demo1-v21.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include "dt-bindings/usb/pd.h"
7 #include "rk3588-nvr-demo.dtsi"
11 ite_pwr_en: ite-pwr-en {
12 compatible = "regulator-fixed";
13 regulator-name = "ITE-PWR_EN";
14 regulator-min-microvolt = <1200000>;
15 regulator-max-microvolt = <1200000>;
16 regulator-boot-on;
17 regulator-always-on;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/panel/
H A Dlogicpd,type28.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Logic PD Type 28 4.3" WQVGA TFT LCD panel
10 - Adam Ford <aford173@gmail.com>
13 - $ref: panel-common.yaml#
19 power-supply: true
20 enable-gpios: true
25 - compatible
30 - |
[all …]
/OK3568_Linux_fs/kernel/sound/soc/samsung/
H A Ds3c24xx_simtec.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/platform_data/asoc-s3c24xx_simtec.h>
13 #include "s3c24xx-i2s.h"
23 * speaker_gain_get - read the speaker gain setting.
32 ucontrol->value.integer.value[0] = spk_gain; in speaker_gain_get()
37 * speaker_gain_set - set the value of the speaker amp gain
42 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1); in speaker_gain_set()
43 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1); in speaker_gain_set()
47 * speaker_gain_put - set the speaker gain setting.
55 * as at-least one of the ICs that is fitted will try and power up even
[all …]
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmax8952.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max8952.c - Voltage and current regulation for the Maxim 8952
46 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg()
57 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg()
66 return -EINVAL; in max8952_list_voltage()
68 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage()
76 if (max8952->vid0) in max8952_get_voltage_sel()
78 if (max8952->vid1) in max8952_get_voltage_sel()
89 if (!max8952->vid0_gpiod || !max8952->vid1_gpiod) { in max8952_set_voltage_sel()
91 return -EPERM; in max8952_set_voltage_sel()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
18 simple-audio-card,routing =
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
[all …]
H A Ddove-sbc-a510.dts2 * Device Tree file for Compulab SBC-A510 Single Board Computer
6 * This file is dual-licensed: you can use it either under the terms
46 * SBC-A510 comprises a PCA9555 I2C GPIO expander its GPIO lines connected to
51 * 0.3 DVI transmitter TI TFP410 PD# (active low power down)
52 * 0.4 LVDS transmitter DS90C365 PD# (active low power down)
55 * 0.7 mini-PCIe slot W_DISABLE#
67 /dts-v1/;
69 #include "dove-cm-a510.dtsi"
72 model = "Compulab SBC-A510";
73 compatible = "compulab,sbc-a510", "compulab,cm-a510", "marvell,dove";
[all …]
H A Dsun8i-s3-pinecube.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
6 /dts-v1/;
7 #include "sun8i-v3.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3";
20 stdout-path = "serial0:115200n8";
24 compatible = "gpio-leds";
28 gpios = <&pio 1 10 GPIO_ACTIVE_LOW>; /* PB10 */
33 gpios = <&pio 1 12 GPIO_ACTIVE_LOW>; /* PB12 */
[all …]
H A Drv1126-rmsl-ddr3-v1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "rv1126-rmsl.dtsi"
9 #include <dt-bindings/display/media-bus-format.h>
15 compatible = "rockchip,rv1126-rmsl-ddr3L-v1", "rockchip,rv1126";
18 …bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
21 gpio-leds {
22 compatible = "gpio-leds";
24 work-led {
25 gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>;
[all …]
H A Dsun9i-a80-cubieboard4.dts5 * Chen-Yu Tsai <wens@csie.org>
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
47 #include "sun9i-a80.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
68 gpios = <&pio 7 17 GPIO_ACTIVE_HIGH>; /* PH17 */
73 gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
[all …]
H A Drk3126-bnd-d708.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/sensor-dev.h>
13 #include "rk312x-android.dtsi"
16 adc-keys {
17 compatible = "adc-keys";
[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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/
H A Dhi3660-hikey960.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
12 #include "hikey960-pinctrl.dtsi"
13 #include "hi3660-drm.dtsi"
14 #include "hi3660-gpu.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include <dt-bindings/usb/pd.h>
23 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dimx6q-logicpd.dts2 * Copyright 2017 Logic PD, Inc.
5 * This file is dual-licensed: you can use it either under the terms
44 /dts-v1/;
46 #include "imx6qdl-logicpd.dtsi"
49 model = "Logic PD i.MX6QDL SOM";
52 reg_usb_otg_vbus: regulator-otg-vbus@0 {
53 compatible = "regulator-fixed";
54 regulator-name = "usb_otg_vbus";
55 regulator-min-microvolt = <5000000>;
56 regulator-max-microvolt = <5000000>;
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/displays/
H A Dencoder-tfp410.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TFP410 DPI-to-DVI encoder driver
33 struct omap_dss_device *in = ddata->in; in tfp410_connect()
37 return -EBUSY; in tfp410_connect()
39 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect()
43 dst->src = dssdev; in tfp410_connect()
44 dssdev->dst = dst; in tfp410_connect()
53 struct omap_dss_device *in = ddata->in; in tfp410_disconnect()
59 WARN_ON(dst != dssdev->dst); in tfp410_disconnect()
60 if (dst != dssdev->dst) in tfp410_disconnect()
[all …]

12345