Home
last modified time | relevance | path

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

12345

/linux/Documentation/devicetree/bindings/net/nfc/
H A 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/drivers/iio/cdc/
H A 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/drivers/media/dvb-frontends/
H A 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/drivers/platform/cznic/
H A Dturris-omnia-mcu-gpio.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/devm-helpers.h>
17 #include <linux/i2c.h>
25 #include <linux/turris-omnia-mcu-interface.h>
26 #include "turris-omnia-mcu.h"
32 /* GPIOs with value read from the 16-bit wide status */
35 [6] = "Front USB3 port over-current",
36 [7] = "Rear USB3 port over-current",
41 /* GPIOs with value read from the 32-bit wide extended status */
64 /* GPIOs with value read from the 16-bit wide extended control status */
[all …]
/linux/include/linux/mfd/pcf50633/
H A 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 …]
/linux/arch/arm64/boot/dts/rockchip/
H A 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>
12 model = "Firefly ROC-RK3399-PC Board";
13 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399";
22 stdout-path = "serial2:1500000n8";
26 compatible = "pwm-backlight";
30 clkin_gmac: external-gmac-clock {
[all …]
H A 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";
21 vcc3v3_pcie: vcc-pcie-regulator {
22 compatible = "regulator-fixed";
23 enable-active-high;
25 pinctrl-names = "default";
26 pinctrl-0 = <&pcie_pwr>;
[all …]
H A 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>
24 stdout-path = "serial2:1500000n8";
27 clkin_gmac: external-gmac-clock {
28 compatible = "fixed-clock";
29 clock-frequency = <125000000>;
30 clock-output-names = "clkin_gmac";
[all …]
H A 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"
16 compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399";
26 stdout-path = "serial2:1500000n8";
29 clkin_gmac: external-gmac-clock {
30 compatible = "fixed-clock";
[all …]
H A 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>
20 stdout-path = "serial2:1500000n8";
23 clkin_gmac: external-gmac-clock {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
26 clock-output-names = "clkin_gmac";
[all …]
H A Drk3399-rock-pi-4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/pwm/pwm.h>
19 stdout-path = "serial2:1500000n8";
22 clkin_gmac: external-gmac-clock {
23 compatible = "fixed-clock";
24 clock-frequency = <125000000>;
25 clock-output-names = "clkin_gmac";
26 #clock-cells = <0>;
[all …]
H A 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>
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";
34 clock-frequency = <125000000>;
[all …]
H A 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>
14 model = "Firefly-RK3399 Board";
15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
25 stdout-path = "serial2:1500000n8";
29 compatible = "pwm-backlight";
[all …]
H A 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>
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";
34 #clock-cells = <0>;
[all …]
H A Drk3399-pinephone-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf
12 /dts-v1/;
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/input/linux-event-codes.h>
15 #include <dt-bindings/leds/common.h>
20 compatible = "pine64,pinephone-pro", "rockchip,rk3399";
21 chassis-type = "handset";
30 stdout-path = "serial2:115200n8";
33 adc-keys {
[all …]
/linux/arch/arm/boot/dts/rockchip/
H A 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 …]
H A 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/drivers/hte/
H A 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/drivers/media/pci/saa7134/
H A 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/Documentation/devicetree/bindings/iio/magnetometer/
H A 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/drivers/i2c/busses/
H A Di2c-bcm2835.c1 // SPDX-License-Identifier: GPL-2.0
3 * BCM2835 I2C controller driver
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()
[all …]
/linux/include/linux/mfd/
H A 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/arch/arm64/boot/dts/allwinner/
H A 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/drivers/input/keyboard/
H A 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/drivers/media/pci/cx23885/
H A 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