| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/platform/x86/ |
| D | surface3_button.c | 44 * device TEV2(MSHW0028) for declaring the GPIOs. The gpios are also slightly 47 * is a reduce platform and thus uses GPIOs, not ACPI events. 97 struct platform_device *pd; in surface3_button_device_create() local 104 gpio_keys_pdata = devm_kzalloc(&client->dev, in surface3_button_device_create() 109 return ERR_PTR(-ENOMEM); in surface3_button_device_create() 113 for (info = button_info; info->name; info++) { in surface3_button_device_create() 114 if (info->autorepeat != autorepeat) in surface3_button_device_create() 117 gpio = surface3_button_lookup_gpio(&client->dev, in surface3_button_device_create() 118 info->acpi_index); in surface3_button_device_create() 122 gpio_keys[n_buttons].type = info->event_type; in surface3_button_device_create() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/bridge/ |
| D | anx7814.txt | 1 Analogix ANX7814 SlimPort (Full-HD Transmitter) 2 ----------------------------------------------- 4 The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter 9 - compatible : "analogix,anx7814" 10 - reg : I2C address of the device 11 - interrupts : Should contain the INTP interrupt 12 - hpd-gpios : Which GPIO to use for hpd 13 - pd-gpios : Which GPIO to use for power down 14 - reset-gpios : Which GPIO to use for reset 18 - dvdd10-supply : Regulator for 1.0V digital core power. [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/regulator/ |
| D | max8952.c | 2 * max8952.c - Voltage and current regulation for the Maxim 8952 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 60 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg() 71 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg() 80 return -EINVAL; in max8952_list_voltage() 82 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage() 90 if (max8952->vid0) in max8952_get_voltage_sel() 92 if (max8952->vid1) in max8952_get_voltage_sel() 103 if (!gpio_is_valid(max8952->pdata->gpio_vid0) || in max8952_set_voltage_sel() 104 !gpio_is_valid(max8952->pdata->gpio_vid1)) { in max8952_set_voltage_sel() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/sound/soc/samsung/ |
| D | s3c24xx_simtec.c | 16 #include <linux/platform_data/asoc-s3c24xx_simtec.h> 18 #include "s3c24xx-i2s.h" 28 * speaker_gain_get - read the speaker gain setting. 37 ucontrol->value.integer.value[0] = spk_gain; in speaker_gain_get() 42 * speaker_gain_set - set the value of the speaker amp gain 47 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1); in speaker_gain_set() 48 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1); in speaker_gain_set() 52 * speaker_gain_put - set the speaker gain setting. 60 * as at-least one of the ICs that is fitted will try and power up even 66 int value = ucontrol->value.integer.value[0]; in speaker_gain_put() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| D | ingenic,pinctrl.txt | 3 Please refer to pinctrl-bindings.txt in this directory for details of the 8 be used as GPIOs, multiplexed device functions are configured within the 14 PD, for a total of 128 pins. The jz4780 contains 6 GPIO ports, PA to PF, for a 19 -------------------- 21 - compatible: One of: 22 - "ingenic,jz4740-pinctrl" 23 - "ingenic,jz4770-pinctrl" 24 - "ingenic,jz4780-pinctrl" 25 - reg: Address range of the pinctrl registers. 28 GPIO sub-nodes [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/displays/ |
| D | encoder-tfp410.c | 2 * TFP410 DPI-to-DVI encoder driver 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 39 return -EBUSY; in tfp410_connect() 41 in = omapdss_of_find_source_for_first_ep(dssdev->dev->of_node); in tfp410_connect() 43 dev_err(dssdev->dev, "failed to find video source\n"); in tfp410_connect() 47 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect() 53 dst->src = dssdev; in tfp410_connect() 54 dssdev->dst = dst; in tfp410_connect() 56 ddata->in = in; in tfp410_connect() 64 struct omap_dss_device *in = ddata->in; in tfp410_disconnect() [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/allwinner/ |
| D | sun50i-a64-bananapi-m64.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "sun50i-a64.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 50 model = "BananaPi-M64"; 51 compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 66 pwr-led { 67 label = "bananapi-m64:red:pwr"; [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/omap2/omapfb/displays/ |
| D | encoder-tfp410.c | 2 * TFP410 DPI-to-DVI encoder driver 36 struct omap_dss_device *in = ddata->in; in tfp410_connect() 40 return -EBUSY; in tfp410_connect() 42 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect() 46 dst->src = dssdev; in tfp410_connect() 47 dssdev->dst = dst; in tfp410_connect() 56 struct omap_dss_device *in = ddata->in; in tfp410_disconnect() 62 WARN_ON(dst != dssdev->dst); in tfp410_disconnect() 63 if (dst != dssdev->dst) in tfp410_disconnect() 66 dst->src = NULL; in tfp410_disconnect() [all …]
|