| /linux/Documentation/devicetree/bindings/net/nfc/ |
| H A 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/drivers/mfd/ |
| H A D | intel-lpss-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "intel-lpss.h" 28 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP), 42 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), 56 PROPERTY_ENTRY_U32("reg-io-width", 4), 57 PROPERTY_ENTRY_U32("reg-shift", 2), 58 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), 73 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP), 87 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), 88 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A 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/arch/arm/boot/dts/st/ |
| H A 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 …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A 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> 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 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" 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 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> 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 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> 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 D | rk3399-rock-pi-4.dtsi | 1 // 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 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> 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"; 27 #clock-cells = <0>; 30 gpio-keys { [all …]
|
| H A 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> 14 model = "Firefly-RK3399 Board"; 15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; 29 compatible = "pwm-backlight"; [all …]
|
| H A 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> 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 D | rk3399-pinephone-pro.dts | 1 // 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> 16 #include "rk3399-s.dtsi" 20 compatible = "pine64,pinephone-pro", "rockchip,rk3399"; 21 chassis-type = "handset"; 30 stdout-path = "serial2:115200n8"; [all …]
|
| H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 18 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 19 chassis-type = "laptop"; 28 stdout-path = "serial2:1500000n8"; [all …]
|
| H A D | rk3399-khadas-edge.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/interrupt-controller/irq.h> 10 #include <dt-bindings/pwm/pwm.h> 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; [all …]
|
| H A D | rk3399-eaidk-610.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/pwm/pwm.h> 9 #include <dt-bindings/usb/pd.h> 13 model = "OPEN AI LAB EAIDK-610"; 14 compatible = "openailab,eaidk-610", "rockchip,rk3399"; 24 compatible = "pwm-backlight"; 26 brightness-levels = < 59 default-brightness-level = <200>; [all …]
|
| /linux/drivers/platform/cznic/ |
| H A D | turris-omnia-mcu-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/devm-helpers.h> 18 #include <linux/i2c.h> 26 #include <linux/turris-omnia-mcu-interface.h> 27 #include "turris-omnia-mcu.h" 33 /* GPIOs with value read from the 16-bit wide status */ 36 [6] = "Front USB3 port over-current", 37 [7] = "Rear USB3 port over-current", 42 /* GPIOs with value read from the 32-bit wide extended status */ 65 /* GPIOs with value read from the 16-bit wide extended control status */ [all …]
|
| H A D | turris-omnia-mcu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 * struct omnia_mcu - driver private data structure 31 * @client: I2C client 41 * @falling: bitmap of falling edge IRQs 55 * @rtcdev: RTC device, does not actually count real-time, the device is only 83 unsigned long mask, rising, falling, both, cached, is_cached; member 108 int sign_err; 116 int omnia_mcu_register_gpiochip(struct omnia_mcu *mcu); 117 int omnia_mcu_request_irq(struct omnia_mcu *mcu, u32 spec, 120 static inline int omnia_mcu_register_gpiochip(struct omnia_mcu *mcu) in omnia_mcu_register_gpiochip() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/magnetometer/ |
| H A 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/drivers/nfc/nfcmrvl/ |
| H A 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/arch/arm/boot/dts/rockchip/ |
| H A 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/include/linux/mfd/ |
| H A 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 …]
|
| /linux/drivers/input/keyboard/ |
| H A D | adp5588-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * I2C QWERTY Keypad and IO Expander 8 * Copyright (C) 2008-2010 Analog Devices Inc. 16 #include <linux/i2c.h> 24 #include <linux/pinctrl/pinconf-generic.h> 80 #define CMP_CONFG_SENS2 0x32 /* L2 Light Sensor Reference Level, Output Falling for Sensor 1 */ 82 #define CMP1_LVL2_HYS 0x34 /* L3 Light Sensor Reference Level, Output Falling For Sensor 1 */ 85 #define CMP2_LVL2_TRIP 0x37 /* L2 Light Sensor Reference Level, Output Falling for Sensor 2 */ 87 #define CMP2_LVL3_TRIP 0x39 /* L3 Light Sensor Reference Level, Output Falling For Sensor 2 */ 126 * 128 so it fits matrix-keymap maximum number of keys when the full [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | synaptics_i2c.c | 2 * Synaptics touchpad with I2C interface 14 #include <linux/i2c.h> 205 * and the irq configuration should be set to Falling Edge Trigger 213 static int scan_rate = 80; 214 module_param(scan_rate, int, 0644); 222 int no_data_count; 223 int no_decel_param; 224 int reduce_report_param; 225 int no_filter_param; 226 int scan_rate_param; [all …]
|
| /linux/include/sound/ |
| H A D | cs8427.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 #include <sound/i2c.h> 12 #define CS8427_BASE_ADDR 0x10 /* base I2C address */ 14 #define CS8427_REG_AUTOINC 0x80 /* flag - autoincrement */ 34 #define CS8427_REG_QSUBCODE 0x14 /* 0x14-0x1d (10 bytes) */ 63 #define CS8427_AESBP (1<<5) /* AES3 hardware bypass mode, 0 = normal, 1 = bypass (RX->TX) */ 65 #define CS8427_TXDSERIAL (1<<3) /* TXD - serial audio input port */ 66 #define CS8427_TXAES3DRECEIVER (2<<3) /* TXD - AES3 receiver */ 68 #define CS8427_SPDSERIAL (1<<1) /* SPD - serial audio input port */ 69 #define CS8427_SPDAES3RECEIVER (2<<1) /* SPD - AES3 receiver */ [all …]
|