Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/iio/cdc/
Dad7150.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright 2010-2011 Analog Devices Inc.
13 #include <linux/i2c.h>
63 * struct ad7150_chip_info - instance specific chip data
64 * @client: i2c client for this device
71 * 3:0 are for timeout receding - applies if below lower threshold
72 * 7:4 are for timeout approaching - applies if above upper threshold
86 int interrupts[2];
101 static int ad7150_read_raw(struct iio_dev *indio_dev, in ad7150_read_raw()
103 int *val, in ad7150_read_raw()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
Drk3399-hugsun-x99.dts1 // 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 …]
Drk3399-rock-pi-4.dtsi1 // 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 …]
Drk3399-rockpro64.dtsi1 // 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 …]
Drk3399-firefly.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>
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 …]
Drk3399-nanopi4.dtsi1 // 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/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>;
32 key-power {
36 debounce-interval = <100>;
[all …]
Drk3288-veyron-tiger.dts1 // 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/hte/
Dhte-tegra194-test.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2021-2022 NVIDIA Corporation
29 * compatible = "nvidia,tegra194-hte-test";
30 * in-gpio = <&gpio_aon TEGRA194_AON_GPIO(BB, 1)>;
31 * out-gpio = <&gpio_aon TEGRA194_AON_GPIO(BB, 0)>;
34 * timestamp-names = "hte-gpio", "hte-i2c-irq";
39 * - Load test driver.
40 * - For the GPIO, at regular interval gpio_out pin toggles triggering
41 * HTE for rising edge on gpio_in pin.
43 * - For the LIC IRQ line, it uses 0x19 interrupt which is i2c controller 1.
[all …]
/Linux-v6.1/drivers/media/pci/saa7134/
Dsaa7134-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include "saa7134-reg.h"
18 static unsigned int disable_ir;
19 module_param(disable_ir, int, 0444);
22 static unsigned int ir_debug;
23 module_param(ir_debug, int, 0644);
26 static int pinnacle_remote;
27 module_param(pinnacle_remote, int, 0644); /* Choose Pinnacle PCTV remote */
36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \
41 static int saa7134_raw_decode_irq(struct saa7134_dev *dev);
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/magnetometer/
Dyamaha,yas530.yaml1 # 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/drivers/i2c/busses/
Di2c-bcm2835.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/clk-provider.h>
11 #include <linux/i2c.h>
27 * 16-bit field for the number of SCL cycles to wait after rising SCL
62 int irq;
67 int num_msgs;
76 writel(val, i2c_dev->regs + reg); in bcm2835_i2c_writel()
81 return readl(i2c_dev->regs + reg); in bcm2835_i2c_readl()
90 static int clk_bcm2835_i2c_calc_divider(unsigned long rate, in clk_bcm2835_i2c_calc_divider()
104 return -EINVAL; in clk_bcm2835_i2c_calc_divider()
[all …]
/Linux-v6.1/Documentation/translations/zh_CN/driver-api/gpio/
Dlegacy.rst1 .. 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/Documentation/translations/zh_TW/
Dgpio.txt1 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/
Dmotorola-cpcap.h1 /* 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 */
172 #define CPCAP_REG_UIER1 0x0e40 /* USB Interrupt Enable Rising 1 */
173 #define CPCAP_REG_UIER2 0x0e44 /* USB Interrupt Enable Rising 2 */
174 #define CPCAP_REG_UIER3 0x0e48 /* USB Interrupt Enable Rising 3 */
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 …]
/Linux-v6.1/arch/arm64/boot/dts/allwinner/
Dsun50i-a64-amarula-relic.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 /dts-v1/;
7 #include "sun50i-a64.dtsi"
8 #include "sun50i-a64-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
13 model = "Amarula A64-Relic";
14 compatible = "amarula,a64-relic", "allwinner,sun50i-a64";
21 stdout-path = "serial0:115200n8";
24 i2c {
25 compatible = "i2c-gpio";
[all …]
/Linux-v6.1/drivers/input/keyboard/
Dtwl4030_keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips
8 * Code re-written for 2430SDP by:
27 * events, since it uses only the always-on 32KiHz oscillator, and has
29 * multi-key combinations.
51 unsigned int n_rows;
52 unsigned int n_cols;
53 int irq;
59 /*----------------------------------------------------------------------*/
100 #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << ((prescale) + 1)) - 1)
[all …]
/Linux-v6.1/drivers/media/pci/cx23885/
Dcimax2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * CIMax2(R) SP2 driver in conjunction with NetUp Dual DVB-S2 CI card
16 /* Max transfer size done by I2C transfer functions */
20 bits 31-16
21 +-----------+
23 +-----------+
25 +-------+-------+-------+-------+-------+-------+-------+-------+
27 +-------+-------+-------+-------+-------+-------+-------+-------+
29 +-------+-------+-------+-------+-------+-------+-------+-------+
31 +-------+-------+-------+-------+-------+-------+-------+-------+
[all …]

12345