/Linux-v5.10/drivers/platform/x86/ |
D | surface3_button.c | 1 // 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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/display/bridge/ |
D | analogix,anx7814.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: 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 …]
|
/Linux-v5.10/Documentation/devicetree/bindings/connector/ |
D | usb-connector.yaml | 1 # 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 …]
|
/Linux-v5.10/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h6-orangepi-3.dts | 1 // 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 …]
|
D | sun50i-a64-olinuxino.dts | 1 // 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 …]
|
D | sun50i-h6-orangepi.dtsi | 1 // 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 …]
|
D | sun50i-a64-bananapi-m64.dts | 1 // 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 …]
|
D | sun50i-a64-pinephone.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "sun50i-a64.dtsi" 7 #include "sun50i-a64-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 27 stdout-path = "serial0:115200n8"; [all …]
|
D | sun50i-a64-teres-i.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // based on sun50i-a64-olinuxino.dts by Jagan Teki <jteki@openedev.com> 5 /dts-v1/; 7 #include "sun50i-a64.dtsi" 8 #include "sun50i-a64-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/pwm/pwm.h> 15 model = "Olimex A64 Teres-I"; 16 compatible = "olimex,a64-teres-i", "allwinner,sun50i-a64"; [all …]
|
D | sun50i-h6-pine-h64.dts | 1 // 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 = "pine64,pine-h64", "allwinner,sun50i-h6"; 22 stdout-path = "serial0:115200n8"; 26 #clock-cells = <0>; 27 compatible = "fixed-clock"; 28 clock-frequency = <32768>; [all …]
|
/Linux-v5.10/drivers/input/misc/ |
D | soc_button_array.c | 1 // SPDX-License-Identifier: GPL-2.0-only 48 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in 49 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs 53 * problematic because when re-enabling the irq, which happens whenever _LID 55 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the 57 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s, 65 * Acer Switch 10 SW5-012. _LID method messes with home- and 66 * power-button GPIO IRQ settings. When (re-)enabling the irq 68 * ones, leading to an irq-type of IRQ_TYPE_LEVEL_LOW | 73 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire SW5-012"), [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/display/panel/ |
D | logicpd,type28.yaml | 1 # 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 …]
|
/Linux-v5.10/sound/soc/samsung/ |
D | s3c24xx_simtec.c | 1 // 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 …]
|
/Linux-v5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru-scarlet.dtsi | 1 // 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 …]
|
D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | max8952.c | 1 // 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 …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | am3517-evm-ui.dtsi | 1 // 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 …]
|
D | dove-sbc-a510.dts | 2 * 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 …]
|
D | sun8i-s3-pinecube.dts | 1 // 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 …]
|
D | sun9i-a80-cubieboard4.dts | 5 * 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 …]
|
D | sunxi-libretech-all-h3-it.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (C) 2019 Chen-Yu Tsai <wens@csie.org> 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 14 stdout-path = "serial0:115200n8"; 18 compatible = "hdmi-connector"; 23 remote-endpoint = <&hdmi_out_con>; 29 compatible = "gpio-leds"; 33 gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */ 38 compatible = "regulator-fixed"; [all …]
|
D | sun8i-v40-bananapi-m2-berry.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-r40.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 50 compatible = "sinovoip,bpi-m2-berry", "allwinner,sun8i-r40"; 58 stdout-path = "serial0:115200n8"; 62 compatible = "hdmi-connector"; 67 remote-endpoint = <&hdmi_out_con>; 73 compatible = "gpio-leds"; 75 pwr-led { [all …]
|
D | sun8i-r40-bananapi-m2-ultra.dts | 2 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun8i-r40.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 50 model = "Banana Pi BPI-M2-Ultra"; 51 compatible = "sinovoip,bpi-m2-ultra", "allwinner,sun8i-r40"; 59 stdout-path = "serial0:115200n8"; 63 compatible = "hdmi-connector"; 68 remote-endpoint = <&hdmi_out_con>; [all …]
|
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/displays/ |
D | encoder-tfp410.c | 1 // 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 …]
|
/Linux-v5.10/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/pinctrl/mt65xx.h> 18 #include "mtk-eint.h" 19 #include "pinctrl-mtk-common-v2.h" 22 * struct mtk_drive_desc - the structure that holds the information 29 * formula: output = ((input) / step - 1) * scal 49 writel_relaxed(val, pctl->base[i] + reg); in mtk_w32() 54 return readl_relaxed(pctl->base[i] + reg); in mtk_r32() 77 if (hw->soc->reg_cal && hw->soc->reg_cal[field].range) { in mtk_hw_pin_field_lookup() 78 rc = &hw->soc->reg_cal[field]; in mtk_hw_pin_field_lookup() [all …]
|