/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/ |
D | marvell,nci.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 - marvell,nfc-i2c 16 - marvell,nfc-spi 17 - marvell,nfc-uart 19 hci-muxed: 30 reset-n-io: 31 $ref: "/schemas/types.yaml#/definitions/phandle-array" [all …]
|
/Linux-v6.1/drivers/mfd/ |
D | intel-lpss-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include "intel-lpss.h" 23 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP), 37 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), 51 PROPERTY_ENTRY_U32("reg-io-width", 4), 52 PROPERTY_ENTRY_U32("reg-shift", 2), 53 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), 68 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP), 82 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), 83 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), [all …]
|
D | ab8500-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 22 #include <linux/mfd/dbx500-prcmu.h> 136 static const int ab8500_irq_regoffset[AB8500_NUM_IRQ_REGS] = { 141 static const int ab9540_irq_regoffset[AB9540_NUM_IRQ_REGS] = { 146 static const int ab8540_irq_regoffset[AB8540_NUM_IRQ_REGS] = { 147 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22, 158 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() 160 int ret; in ab8500_prcmu_write() 164 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write() [all …]
|
D | intel-lpss-pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "intel-lpss.h" 30 static int intel_lpss_pci_probe(struct pci_dev *pdev, in intel_lpss_pci_probe() 34 int ret; in intel_lpss_pci_probe() 40 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_pci_probe() 43 return -ENOMEM; in intel_lpss_pci_probe() 45 info->mem = &pdev->resource[0]; in intel_lpss_pci_probe() 46 info->irq = pdev->irq; in intel_lpss_pci_probe() 49 info->ignore_resource_conflicts = true; in intel_lpss_pci_probe() 51 pdev->d3cold_delay = 0; in intel_lpss_pci_probe() [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | m88ds3103.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 14 * I2C address 19 * enum m88ds3103_ts_mode - TS connection mode 47 * struct m88ds3103_platform_data - Platform data for the m88ds3103 driver 49 * @i2c_wr_max: Max bytes I2C adapter can write at once. 52 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising 64 * @get_i2c_adapter: Get I2C adapter. 88 * struct m88ds3103_config - m88ds3102 configuration 90 * @i2c_addr: I2C address. Default: none, must set. Example: 0x68, ... 92 * @i2c_wr_max: Max bytes I2C provider is asked to write at once. [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | ste-href-tvk1281618-r2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 11 compatible = "gpio-keys"; 12 #address-cells = <1>; 13 #size-cells = <0>; 14 vdd-supply = <&ab8500_ldo_aux1_reg>; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>; 33 i2c@80004000 { [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 { 36 debounce-interval = <100>; [all …]
|
D | rk3288-veyron-tiger.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-fievel.dts" 10 #include "rk3288-veyron-edp.dtsi" 14 compatible = "google,veyron-tiger-rev8", "google,veyron-tiger-rev7", 15 "google,veyron-tiger-rev6", "google,veyron-tiger-rev5", 16 "google,veyron-tiger-rev4", "google,veyron-tiger-rev3", 17 "google,veyron-tiger-rev2", "google,veyron-tiger-rev1", 18 "google,veyron-tiger-rev0", "google,veyron-tiger", 21 /delete-node/ vcc18-lcd; [all …]
|
/Linux-v6.1/drivers/i2c/busses/ |
D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Bitbanging I2C bus driver using the GPIO API 11 #include <linux/i2c-algo-bit.h> 12 #include <linux/i2c.h> 17 #include <linux/platform_data/i2c-gpio.h> 40 static void i2c_gpio_setsda_val(void *data, int state) in i2c_gpio_setsda_val() 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 49 * for pins that are configured as open drain and for output-only 50 * pins. The latter case will break the i2c protocol, but it will 53 static void i2c_gpio_setscl_val(void *data, int state) in i2c_gpio_setscl_val() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-roc-pc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 10 #include "rk3399-opp.dtsi" 13 model = "Firefly ROC-RK3399-PC Board"; 14 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 22 stdout-path = "serial2:1500000n8"; 26 compatible = "pwm-backlight"; [all …]
|
D | rk3399pro-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 20 vcc3v3_pcie: vcc-pcie-regulator { 21 compatible = "regulator-fixed"; 22 enable-active-high; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pcie_pwr>; [all …]
|
D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 11 #include "rk3399-opp.dtsi" 24 stdout-path = "serial2:1500000n8"; 27 clkin_gmac: external-gmac-clock { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; [all …]
|
D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "dt-bindings/usb/pd.h" 13 #include "rk3399-opp.dtsi" 17 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399"; 26 stdout-path = "serial2:1500000n8"; 29 clkin_gmac: external-gmac-clock { [all …]
|
D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 7 #include "rk3399-opp.dtsi" 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; [all …]
|
D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pwm/pwm.h> 12 #include "rk3399-opp.dtsi" 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; [all …]
|
D | rk3399-rockpro64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 10 #include "rk3399-opp.dtsi" 20 stdout-path = "serial2:1500000n8"; 25 compatible = "pwm-backlight"; 26 brightness-levels = <0 4 8 16 32 64 128 255>; 27 default-brightness-level = <5>; 32 clkin_gmac: external-gmac-clock { 33 compatible = "fixed-clock"; [all …]
|
D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 12 #include "rk3399-opp.dtsi" 15 model = "Firefly-RK3399 Board"; 16 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; [all …]
|
D | rk3399-nanopi4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * RK3399-based FriendlyElec boards device tree source 14 /dts-v1/; 15 #include <dt-bindings/input/linux-event-codes.h> 17 #include "rk3399-opp.dtsi" 27 stdout-path = "serial2:1500000n8"; 30 clkin_gmac: external-gmac-clock { 31 compatible = "fixed-clock"; 32 clock-frequency = <125000000>; 33 clock-output-names = "clkin_gmac"; [all …]
|
/Linux-v6.1/include/linux/mfd/pcf50633/ |
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * core.h -- Core driver for NXP PCF50633 5 * (C) 2006-2008 by Openmoko, Inc. 12 #include <linux/i2c.h> 28 int num_batteries; 35 int charger_reference_current_ma; 39 void (*mbc_event_callback)(struct pcf50633 *, int); 40 void (*regulator_registered)(struct pcf50633 *, int); 49 void (*handler) (int, void *); 53 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | egalax_ts.c | 1 // SPDX-License-Identifier: GPL-2.0 10 /* EETI eGalax serial touch screen controller is a I2C based multiple 14 - auto idle mode support 18 #include <linux/i2c.h> 64 static irqreturn_t egalax_ts_interrupt(int irq, void *dev_id) in egalax_ts_interrupt() 67 struct input_dev *input_dev = ts->input_dev; in egalax_ts_interrupt() 68 struct i2c_client *client = ts->client; in egalax_ts_interrupt() 70 int id, ret, x, y, z; in egalax_ts_interrupt() 71 int tries = 0; in egalax_ts_interrupt() 77 } while (ret == -EAGAIN && tries++ < EGALAX_MAX_TRIES); in egalax_ts_interrupt() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/magnetometer/ |
D | yamaha,yas530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 The Yamaha YAS530 magnetometers is a line of 3-axis magnetometers 20 pattern: '^magnetometer@[0-9a-f]+$' 24 - enum: 25 - yamaha,yas530 26 - yamaha,yas532 27 - yamaha,yas533 [all …]
|
/Linux-v6.1/Documentation/translations/zh_CN/driver-api/gpio/ |
D | legacy.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../../disclaimer-zh_CN.rst 5 :Original: Documentation/driver-api/gpio/legacy.rst 36 匮乏的 SOC。同时还有通过 I2C 或 SPI 串行总线连接的“GPIO扩展器” 42 - 输出值可写 (高电平=1,低电平=0)。一些芯片也有如何驱动这些值的选项, 46 - 输入值可读(1、0)。一些芯片支持引脚在配置为“输出”时回读,这对于类似 50 - 输入通常可作为 IRQ 信号,一般是沿触发,但有时是电平触发。这样的 IRQ 53 - 通常一个 GPIO 根据不同产品电路板的需求,可以配置为输入或输出,也有仅 56 - 大部分 GPIO 可以在持有自旋锁时访问,但是通常由串行总线扩展的 GPIO 90 --------- [all …]
|
/Linux-v6.1/drivers/nfc/nfcmrvl/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Marvell NFC-over-I2C driver: I2C interface related functions 10 #include <linux/i2c.h> 21 struct i2c_client *i2c; member 25 static int nfcmrvl_i2c_read(struct nfcmrvl_i2c_drv_data *drv_data, in nfcmrvl_i2c_read() 28 int ret; in nfcmrvl_i2c_read() 32 ret = i2c_master_recv(drv_data->i2c, (u8 *)&nci_hdr, NCI_CTRL_HDR_SIZE); in nfcmrvl_i2c_read() 34 nfc_err(&drv_data->i2c->dev, "cannot read NCI header\n"); in nfcmrvl_i2c_read() 35 return -EBADMSG; in nfcmrvl_i2c_read() 38 *skb = nci_skb_alloc(drv_data->priv->ndev, in nfcmrvl_i2c_read() [all …]
|
/Linux-v6.1/Documentation/translations/zh_TW/ |
D | gpio.txt | 1 Chinese translated version of Documentation/admin-guide/gpio 12 --------------------------------------------------------------------- 13 Documentation/admin-guide/gpio 的繁體中文翻譯 26 --------------------------------------------------------------------- 47 匱乏的 SOC。同時還有通過 I2C 或 SPI 串行總線連接的「GPIO擴展器」 53 - 輸出值可寫 (高電平=1,低電平=0)。一些晶片也有如何驅動這些值的選項, 57 - 輸入值可讀(1、0)。一些晶片支持引腳在配置爲「輸出」時回讀,這對於類似 61 - 輸入通常可作爲 IRQ 信號,一般是沿觸發,但有時是電平觸發。這樣的 IRQ 64 - 通常一個 GPIO 根據不同產品電路板的需求,可以配置爲輸入或輸出,也有僅 67 - 大部分 GPIO 可以在持有自旋鎖時訪問,但是通常由串行總線擴展的 GPIO [all …]
|
/Linux-v6.1/include/linux/mfd/ |
D | motorola-cpcap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2007-2009 Motorola, Inc. 80 #define CPCAP_REG_SI2CC1 0x0604 /* Switcher I2C Control 1 */ 81 #define CPCAP_REG_Si2CC2 0x0608 /* Switcher I2C Control 2 */ 175 #define CPCAP_REG_UIEF1 0x0e4c /* USB Interrupt Enable Falling 1 */ 176 #define CPCAP_REG_UIEF2 0x0e50 /* USB Interrupt Enable Falling 1 */ 177 #define CPCAP_REG_UIEF3 0x0e54 /* USB Interrupt Enable Falling 1 */ 235 #define CPCAP_REG_LGPU 0x1264 /* LMR GCAI GPIO Pull-up */ 256 static inline int cpcap_get_revision(struct device *dev, in cpcap_get_revision() 260 unsigned int val; in cpcap_get_revision() [all …]
|