/linux-5.10/arch/arm/mach-pxa/ |
D | am200epd.c | 2 * am200epd.c -- Platform device for AM200 EPD kit 12 * This work was made possible by help and equipment support from E-Ink 16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600 35 #include <linux/platform_data/video-pxafb.h> 101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable 110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs() 111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs() 113 dev_err(&am200_device->dev, "failed requesting " in am200_init_gpio_regs() 131 while (--i >= 0) in am200_init_gpio_regs() 132 gpio_free(gpios[i]); in am200_init_gpio_regs() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/nfc/ |
D | samsung,s3fwrn5.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Krzysztof Opasiak <k.opasiak@samsung.com> 15 const: samsung,s3fwrn5-i2c 17 en-gpios: 28 wake-gpios: 33 s3fwrn5,en-gpios: 37 Use en-gpios [all …]
|
/linux-5.10/drivers/media/i2c/ |
D | s5k5baf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <media/media-entity.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-subdev.h> 29 #include <media/v4l2-mediabus.h> 30 #include <media/v4l2-fwnode.h> 39 #define S5K5BAF_FW_FILENAME "s5k5baf-cfg.bin" 51 /* Default number of MIPI CSI-2 data lanes used */ 200 /* Auto-algorithms enable mask */ [all …]
|
D | s5k4ecgx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #include <media/media-entity.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> 106 * H/W register Interface (0xd0000000 - 0xd0000fff) 156 /* By default value, output from sensor will be YUV422 0-255 */ 208 msg[0].addr = client->addr; in s5k4ecgx_i2c_read() 213 msg[1].addr = client->addr; in s5k4ecgx_i2c_read() [all …]
|
/linux-5.10/drivers/fsi/ |
D | fsi-master-ast-cf.c | 1 // 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 …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | imx6q-b850v3.dts | 5 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "imx6q-bx50v3.dtsi" 49 compatible = "ge,imx6q-b850v3", "advantech,imx6q-ba16", "fsl,imx6q"; 52 stdout-path = &uart3; 57 fsl,dual-channel; 60 lvds0: lvds-channel@0 { 61 fsl,data-mapping = "spwg"; 62 fsl,data-width = <24>; 69 remote-endpoint = <&stdp4028_in>; [all …]
|
D | sun8i-a23-polaroid-mid2809pxe04.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-a23.dtsi" 45 #include "sun8i-reference-design-tablet.dtsi" 49 compatible = "polaroid,mid2809pxe04", "allwinner,sun8i-a23"; 56 compatible = "mmc-pwrseq-simple"; 57 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */ 58 /* The esp8089 needs 200 ms after driving wifi-en high */ 59 post-power-on-delay-ms = <200>; 64 pinctrl-names = "default"; [all …]
|
D | sun8i-a23-polaroid-mid2407pxe03.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun8i-a23.dtsi" 45 #include "sun8i-reference-design-tablet.dtsi" 49 compatible = "polaroid,mid2407pxe03", "allwinner,sun8i-a23"; 56 compatible = "mmc-pwrseq-simple"; 57 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */ 58 /* The esp8089 needs 200 ms after driving wifi-en high */ 59 post-power-on-delay-ms = <200>; 71 pinctrl-names = "default"; [all …]
|
D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 14 stdout-path = "serial2:115200n8"; 27 power_button: power-button { 28 compatible = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pwr_key_l>; 34 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 36 debounce-interval = <100>; [all …]
|
D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pit-rev16", [all …]
|
/linux-5.10/drivers/input/touchscreen/ |
D | goodix.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * 2010 - 2012 Goodix Technology. 229 /* YB1-X91L/F and YB1-X90L/F */ 231 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9") 244 .ident = "Cube I15-TC", 247 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC") 255 * goodix_i2c_read - read data from a register of the i2c slave device. 270 msgs[0].addr = client->addr; in goodix_i2c_read() 275 msgs[1].addr = client->addr; in goodix_i2c_read() 279 ret = i2c_transfer(client->adapter, msgs, 2); in goodix_i2c_read() [all …]
|
/linux-5.10/drivers/nfc/s3fwrn5/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_wake() 43 gpio_set_value(phy->gpio_fw_wake, wake); in s3fwrn5_i2c_set_wake() 45 mutex_unlock(&phy->mutex); in s3fwrn5_i2c_set_wake() 52 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_mode() 54 if (phy->mode == mode) in s3fwrn5_i2c_set_mode() 57 phy->mode = mode; in s3fwrn5_i2c_set_mode() 59 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_i2c_set_mode() 60 gpio_set_value(phy->gpio_fw_wake, 0); in s3fwrn5_i2c_set_mode() 62 gpio_set_value(phy->gpio_fw_wake, 1); in s3fwrn5_i2c_set_mode() [all …]
|
/linux-5.10/drivers/media/common/siano/ |
D | sms-cards.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Card-specific functions for the Siano SMS1xxx USB dongle 74 char *name, *fw[DEVICE_MODE_MAX]; member 78 /* gpios */
|
/linux-5.10/drivers/nfc/pn544/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/crc-ccitt.h> 134 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\ 138 #define PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN (PN544_FW_I2C_MAX_PAYLOAD -\ 163 const struct firmware *fw; member 185 16, 1, (skb)->data, (skb)->len, 0); \ 194 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init() 196 /* Disable fw download */ in pn544_hci_i2c_platform_init() 197 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init() 200 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init() [all …]
|
/linux-5.10/drivers/media/dvb-frontends/ |
D | tda1004x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 GPIO1 analog - dvb switch 33 TDA10046_GPTRI = 0x00, /* All GPIOs tristate */ 90 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name); 131 if (fe->ops.write) in tda1004x_writereg() 132 r = fe->ops.write(fe, buf, 2); in tda1004x_writereg()
|
/linux-5.10/drivers/usb/dwc3/ |
D | dwc3-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwc3-pci.c - PCI Specific glue layer 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 45 #define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511" 55 * struct dwc3_pci - Driver private structure 76 { "reset-gpios", &reset_gpios, 1 }, 77 { "cs-gpios", &cs_gpios, 1 }, 97 return -ENOMEM; in dwc3_byt_enable_ulpi_refclock() 120 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), 126 PROPERTY_ENTRY_BOOL("snps,has-lpm-erratum"), [all …]
|
/linux-5.10/drivers/bluetooth/ |
D | hci_intel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 109 struct intel_data *intel = hu->priv; in intel_wait_booting() 112 err = wait_on_bit_timeout(&intel->flags, STATE_BOOTING, in intel_wait_booting() 116 if (err == -EINTR) { in intel_wait_booting() 117 bt_dev_err(hu->hdev, "Device boot interrupted"); in intel_wait_booting() 118 return -EINTR; in intel_wait_booting() 122 bt_dev_err(hu->hdev, "Device boot timeout"); in intel_wait_booting() 123 return -ETIMEDOUT; in intel_wait_booting() 132 struct intel_data *intel = hu->priv; in intel_wait_lpm_transaction() 135 err = wait_on_bit_timeout(&intel->flags, STATE_LPM_TRANSACTION, in intel_wait_lpm_transaction() [all …]
|
/linux-5.10/drivers/nfc/nxp-nci/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2012-2015 Intel Corporation. All rights reserved. 26 #include "nxp-nci.h" 28 #define NXP_NCI_I2C_DRIVER_NAME "nxp-nci_i2c" 50 gpiod_set_value(phy->gpiod_fw, (mode == NXP_NCI_MODE_FW) ? 1 : 0); in nxp_nci_i2c_set_mode() 51 gpiod_set_value(phy->gpiod_en, (mode != NXP_NCI_MODE_COLD) ? 1 : 0); in nxp_nci_i2c_set_mode() 55 phy->hard_fault = 0; in nxp_nci_i2c_set_mode() 64 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_write() 66 if (phy->hard_fault != 0) in nxp_nci_i2c_write() 67 return phy->hard_fault; in nxp_nci_i2c_write() [all …]
|
/linux-5.10/drivers/net/wireless/intersil/p54/ |
D | p54spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). 32 /* gpios should be handled in board files and provided via platform data, 66 spi_sync(priv->spi, &m); in p54spi_spi_read() 93 last_word = cpu_to_le16(((u8 *)buf)[len - 1]); in p54spi_spi_write() 100 spi_sync(priv->spi, &m); in p54spi_spi_write() 138 dev_err(&priv->spi->dev, "spi_write_dma not allowed " in p54spi_spi_write_dma() 140 return -EAGAIN; in p54spi_spi_write_dma() 154 struct p54s_priv *priv = dev->priv; in p54spi_request_firmware() 158 ret = request_firmware(&priv->firmware, "3826.arm", &priv->spi->dev); in p54spi_request_firmware() [all …]
|
/linux-5.10/drivers/nfc/fdp/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ------------------------------------------------------------------------- 3 * Copyright (C) 2014-2016, Intel Corporation 5 * ------------------------------------------------------------------------- 22 #define FDP_DP_CLOCK_TYPE_NAME "clock-type" 23 #define FDP_DP_CLOCK_FREQ_NAME "clock-freq" 24 #define FDP_DP_FW_VSC_CFG_NAME "fw-vsc-cfg" 37 16, 1, (skb)->data, (skb)->len, 0) 41 /* Reset RST/WakeUP for at least 100 micro-second */ in fdp_nci_i2c_reset() 42 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_OFF); in fdp_nci_i2c_reset() [all …]
|
/linux-5.10/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * c8sectpfe-core.c - C8SECTPFE STi DVB driver 16 #include <linux/dma-mapping.h> 35 #include "c8sectpfe-core.h" 36 #include "c8sectpfe-common.h" 37 #include "c8sectpfe-debugfs.h" 68 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt() 69 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt() 72 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt() 73 tasklet_schedule(&channel->tsklet); in c8sectpfe_timer_interrupt() [all …]
|
/linux-5.10/drivers/pinctrl/renesas/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Copyright (C) 2009 - 2012 Paul Mundt 11 #define DRV_NAME "sh-pfc" 47 return -EINVAL; in sh_pfc_map_resources() 54 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources() 57 return -ENOMEM; in sh_pfc_map_resources() 59 pfc->num_windows = num_windows; in sh_pfc_map_resources() 60 pfc->windows = windows; in sh_pfc_map_resources() 63 irqs = devm_kcalloc(pfc->dev, num_irqs, sizeof(*irqs), in sh_pfc_map_resources() 66 return -ENOMEM; in sh_pfc_map_resources() [all …]
|
/linux-5.10/drivers/misc/ti-st/ |
D | st_kim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2009-2010 Texas Instruments 34 * st_get_plat_device - 47 * validate_firmware_response - 54 struct sk_buff *skb = kim_gdata->rx_skb; in validate_firmware_response() 63 if (skb->data[2] == 0x01 && skb->data[3] == 0x01 && in validate_firmware_response() 64 skb->data[4] == 0x10 && skb->data[5] == 0x00) { in validate_firmware_response() 65 /* fw version response */ in validate_firmware_response() 66 memcpy(kim_gdata->resp_buffer, in validate_firmware_response() 67 kim_gdata->rx_skb->data, in validate_firmware_response() [all …]
|
/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | qmi.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 147 u32 gpios[QMI_WLFW_MAX_NUM_GPIO_V01]; member 370 /* TODO: Need to check with MCL and FW team that data can be pointer and
|
/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 14 stdout-path = "serial2:115200n8"; 23 * - Rails that only connect to the EC (or devices that the EC talks to) 25 * - Rails _are_ included if the rails go to the AP even if the AP 34 * - The EC controls the enable and the EC always enables a rail as 36 * - The rails are actually connected to each other by a jumper and 41 ppvar_sys: ppvar-sys { [all …]
|