Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:int +full:- +full:falling (Results 1 – 25 of 245) sorted by relevance

12345678910

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
Dmarvell,nci.yaml1 # 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 …]
/kernel/linux/linux-5.10/drivers/mfd/
Dintel-lpss-acpi.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include "intel-lpss.h"
26 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
36 PROPERTY_ENTRY_U32("reg-io-width", 4),
37 PROPERTY_ENTRY_U32("reg-shift", 2),
38 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"),
53 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
54 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
55 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
65 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207),
[all …]
Dintel-lpss-pci.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include "intel-lpss.h"
20 static int intel_lpss_pci_probe(struct pci_dev *pdev, in intel_lpss_pci_probe()
24 int ret; in intel_lpss_pci_probe()
30 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_pci_probe()
33 return -ENOMEM; in intel_lpss_pci_probe()
35 info->mem = &pdev->resource[0]; in intel_lpss_pci_probe()
36 info->irq = pdev->irq; in intel_lpss_pci_probe()
38 pdev->d3cold_delay = 0; in intel_lpss_pci_probe()
44 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_pci_probe()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dnfcmrvl.txt4 - compatible: Should be:
5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6 - "marvell,nfc-i2c" for I2C devices
7 - "marvell,nfc-spi" for SPI devices
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
16 - flow-control: Specifies that the chip is using RTS/CTS.
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dintel-lpss-acpi.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Dm88ds3103.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dm88ds3103.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
Dad7150.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright 2010-2011 Analog Devices Inc.
13 #include <linux/i2c.h>
53 * struct ad7150_chip_info - instance specific chip data
54 * @client: i2c client for this device
82 int old_state;
100 static int ad7150_read_raw(struct iio_dev *indio_dev, in ad7150_read_raw()
102 int *val, in ad7150_read_raw()
103 int *val2, in ad7150_read_raw()
106 int ret; in ad7150_read_raw()
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-gpio.c1 // 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>
16 #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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dste-href-tvk1281618-r2.dtsi1 // 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 …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-gpio.c1 // 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 …]
/kernel/linux/linux-5.10/include/linux/mfd/pcf50633/
Dcore.h1 /* 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 …]
/kernel/linux/linux-6.6/include/linux/mfd/pcf50633/
Dcore.h1 /* 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>
29 int num_batteries;
36 int charger_reference_current_ma;
40 void (*mbc_event_callback)(struct pcf50633 *, int);
41 void (*regulator_registered)(struct pcf50633 *, int);
50 void (*handler) (int, void *);
54 int pcf50633_register_irq(struct pcf50633 *pcf, int irq,
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3399-roc-pc.dtsi1 // 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 …]
Drk3399pro-vmarc-som.dtsi1 // 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 …]
Drk3399-leez-p710.dts1 // 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 …]
Drk3399-orangepi.dts1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-roc-pc.dtsi1 // 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";
17 stdout-path = "serial2:1500000n8";
21 compatible = "pwm-backlight";
[all …]
Drk3399pro-vmarc-som.dtsi1 // 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";
15 vcc3v3_pcie: vcc-pcie-regulator {
16 compatible = "regulator-fixed";
17 enable-active-high;
19 pinctrl-names = "default";
20 pinctrl-0 = <&pcie_pwr>;
[all …]
Drk3399-leez-p710.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-opp.dtsi"
17 stdout-path = "serial2:1500000n8";
20 clkin_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "clkin_gmac";
[all …]
Drk3399-orangepi.dts1 // 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"
11 #include "rk3399-opp.dtsi"
15 compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
18 stdout-path = "serial2:1500000n8";
21 clkin_gmac: external-gmac-clock {
22 compatible = "fixed-clock";
23 clock-frequency = <125000000>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drk3288-veyron.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/clock/rockchip,rk808.h>
9 #include <dt-bindings/input/input.h>
18 stdout-path = "serial2:115200n8";
31 power_button: power-button {
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pwr_key_l>;
36 key-power {
40 debounce-interval = <100>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3288-veyron.dtsi1 // 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>;
36 debounce-interval = <100>;
37 wakeup-source;
[all …]
Dste-href-tvk1281618-r2.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include "ste-href-tvk1281618.dtsi"
10 i2c@80128000 {
13 compatible = "st,lsm303dlh-accel";
14 st,drdy-int-pin = <1>;
15 drive-open-drain;
17 vdd-supply = <&ab8500_ldo_aux1_reg>;
18 vddio-supply = <&db8500_vsmps2_reg>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&accel_tvk_mode>;
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Degalax_ts.c1 // 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 …]

12345678910