/Linux-v6.1/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-v6.1/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> 15 - samsung,s3fwrn5-i2c 16 - samsung,s3fwrn82 18 en-gpios: 32 wake-gpios: 37 s3fwrn5,en-gpios: 41 Use en-gpios [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | broadcom-bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 This binding describes Broadcom UART-attached bluetooth chips. 18 - brcm,bcm20702a1 19 - brcm,bcm4329-bt 20 - brcm,bcm4330-bt 21 - brcm,bcm4334-bt [all …]
|
/Linux-v6.1/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-v6.1/arch/arm/boot/dts/ |
D | imx6ulz-bsh-smm-m2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz"; 16 stdout-path = &uart4; 19 usdhc2_pwrseq: usdhc2-pwrseq { 20 compatible = "mmc-pwrseq-simple"; 21 reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpmi_nand>; [all …]
|
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>; 32 key-power { 34 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; [all …]
|
/Linux-v6.1/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-v6.1/arch/arm64/boot/dts/xilinx/ |
D | zynqmp-sm-k26-revA.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * dts file for Xilinx ZynqMP SM-K26 rev1/B/A 5 * (C) Copyright 2020 - 2021, Xilinx, Inc. 10 /dts-v1/; 13 #include "zynqmp-clk-ccf.dtsi" 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/phy/phy.h> 19 model = "ZynqMP SM-K26 Rev1/B/A"; 20 compatible = "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB", [all …]
|
/Linux-v6.1/drivers/nfc/s3fwrn5/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 37 if (s3fwrn5_phy_power_ctrl(&phy->common, mode) == false) in s3fwrn5_i2c_set_mode() 40 phy->irq_skip = true; in s3fwrn5_i2c_set_mode() 43 mutex_unlock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 51 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_write() 53 phy->irq_skip = false; in s3fwrn5_i2c_write() 55 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write() 56 if (ret == -EREMOTEIO) { in s3fwrn5_i2c_write() 59 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write() [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | goodix.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * 2010 - 2012 Goodix Technology. 128 /* YB1-X91L/F and YB1-X90L/F */ 130 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9") 143 .ident = "Cube I15-TC", 146 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC") 154 * goodix_i2c_read - read data from a register of the i2c slave device. 168 msgs[0].addr = client->addr; in goodix_i2c_read() 173 msgs[1].addr = client->addr; in goodix_i2c_read() 177 ret = i2c_transfer(client->adapter, msgs, 2); in goodix_i2c_read() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc7280-herobrine.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/leds/common.h> 20 #include "sc7280-qcard.dtsi" 21 #include "sc7280-chrome-common.dtsi" 25 stdout-path = "serial0:115200n8"; 38 ppvar_sys: ppvar-sys-regulator { 39 compatible = "regulator-fixed"; 40 regulator-name = "ppvar_sys"; [all …]
|
/Linux-v6.1/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-v6.1/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 55 #define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511" 65 * struct dwc3_pci - Driver private structure 86 { "reset-gpios", &reset_gpios, 1 }, 87 { "cs-gpios", &cs_gpios, 1 }, 107 return -ENOMEM; in dwc3_byt_enable_ulpi_refclock() 145 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), 148 PROPERTY_ENTRY_BOOL("snps,usb2-gadget-lpm-disable"), [all …]
|
/Linux-v6.1/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-v6.1/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" 48 return -EINVAL; in sh_pfc_map_resources() 55 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources() 58 return -ENOMEM; in sh_pfc_map_resources() 60 pfc->num_windows = num_windows; in sh_pfc_map_resources() 61 pfc->windows = windows; in sh_pfc_map_resources() 64 irqs = devm_kcalloc(pfc->dev, num_irqs, sizeof(*irqs), in sh_pfc_map_resources() 67 return -ENOMEM; in sh_pfc_map_resources() [all …]
|
/Linux-v6.1/drivers/media/platform/st/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> 34 #include "c8sectpfe-core.h" 35 #include "c8sectpfe-common.h" 36 #include "c8sectpfe-debugfs.h" 67 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt() 68 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt() 71 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt() 72 tasklet_schedule(&channel->tsklet); in c8sectpfe_timer_interrupt() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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 …]
|