/linux/Documentation/devicetree/bindings/i2c/ |
H A D | nvidia,tegra20-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/nvidia,tegra20-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Thierry Reding <thierry.reding@gmail.com> 9 - Jon Hunter <jonathanh@nvidia.com> 11 title: NVIDIA Tegra I2C controller driver 14 compatible: 16 - description: Tegra20 has 4 generic I2C controller. This can support 17 master and slave mode of I2C communication. The i2c-tegra driver [all …]
|
H A D | samsung,s3c2410-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/samsung,s3c2410-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S3C/S5P/Exynos SoC I2C Controller 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 compatible: 15 - enum: 16 - samsung,s3c2410-i2c 17 - samsung,s3c2440-i2c [all …]
|
H A D | st,stm32-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/st,stm32-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: I2C controller embedded in STMicroelectronics STM32 I2C platform 10 - Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 16 compatible: 19 - st,stm32f7-i2c [all …]
|
H A D | snps,designware-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/snps,designware-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare APB I2C Controller 10 - Jarkko Nikula <jarkko.nikula@linux.intel.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 16 compatible: 19 const: mscc,ocelot-i2c [all …]
|
H A D | marvell,mv64xxx-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/marvell,mv64xxx-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell MV64XXX I2C Controller 10 - Gregory CLEMENT <gregory.clement@bootlin.com> 13 compatible: 15 - const: allwinner,sun4i-a10-i2c 16 - items: 17 - const: allwinner,sun7i-a20-i2c [all …]
|
H A D | atmel,at91sam-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/i2c/atmel,at91sam-i2c.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: I2C for Atmel/Microchip platforms 11 - Alexandre Belloni <alexandre.belloni@bootlin.com> 14 compatible: 16 - items: 17 - enum: 18 - atmel,at91rm9200-i2c [all …]
|
H A D | st,nomadik-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/st,nomadik-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST Microelectronics Nomadik I2C 9 description: The Nomadik I2C host controller began its life in the ST 11 STn8815. It was part of the prototype STn8500 which then became ST-Ericsson 15 - Linus Walleij <linus.walleij@linaro.org> 20 compatible: 23 - st,nomadik-i2c [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | unittest.txt | 6 - compatible: must be "unittest" 12 compatible = "unittest"; 15 2) OF unittest i2c adapter platform device 20 - compatible: must be unittest-i2c-bus 22 Children nodes contain unittest i2c devices. 25 unittest-i2c-bus { 26 compatible = "unittest-i2c-bus"; 29 3) OF unittest i2c device 31 ** I2C unittest device 34 - compatible: must be unittest-i2c-dev [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7885.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/exynos7885.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 compatible = "samsung,exynos7885"; 14 #address-cells = <2>; 15 #size-cells = <1>; 17 interrupt-parent = <&gic>; 26 arm-a53-pmu { 27 compatible = "arm,cortex-a53-pmu"; 34 interrupt-affinity = <&cpu0>, [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6797.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/clock/mt6797-clk.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/mt6797-pinfunc.h> 13 compatible = "mediatek,mt6797"; 14 interrupt-parent = <&sysirq>; 15 #address-cells = <2>; 16 #size-cells = <2>; 19 compatible = "arm,psci-0.2"; [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ampere-mtmitchell.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/gpio/aspeed-gpio.h> 12 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600"; 19 * I2C temperature alias port 27 * i2c bus 30-31 assigned to OCP slot 0-1 33 * i2c bus 32-33 assigned to Riser slot 0-1 39 * i2c bus 38-39 assigned to FRU on Riser slot 0-1 [all …]
|
H A D | aspeed-bmc-ibm-system1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,system1-bmc", "aspeed,ast2600"; 74 stdout-path = "uart5:115200n8"; 82 reserved-memory { 83 #address-cells = <1>; [all …]
|
H A D | ibm-power9-dual.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #address-cells = <1>; 8 #size-cells = <1>; 9 chip-id = <0>; 12 compatible = "ibm,fsi2pib"; 16 i2c@1800 { 17 compatible = "ibm,fsi-i2c-master"; 19 #address-cells = <1>; 20 #size-cells = <0>; 22 cfam0_i2c0: i2c-bus@0 { [all …]
|
H A D | aspeed-bmc-facebook-tiogapass.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 7 #include <dt-bindings/gpio/aspeed-gpio.h> 8 #include <dt-bindings/i2c/i2c.h> 12 compatible = "facebook,tiogapass-bmc", "aspeed,ast2500"; 18 * Hardcode the bus number of i2c switches' channels to 39 stdout-path = &uart5; 47 iio-hwmon { 48 compatible = "iio-hwmon"; [all …]
|
H A D | aspeed-bmc-facebook-catalina.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,catalina-bmc", "aspeed,ast2600"; 64 stdout-path = "serial4:57600n8"; [all …]
|
H A D | aspeed-bmc-ampere-mtjade.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500"; 12 * i2c bus 50-57 assigned to NVMe slot 0-7 24 * i2c bus 60-67 assigned to NVMe slot 8-15 36 * i2c bus 70-77 assigned to NVMe slot 16-23 48 * i2c bus 80-81 assigned to NVMe M2 slot 0-1 54 * i2c bus 82 assigned to OCP slot [all …]
|
H A D | aspeed-bmc-quanta-q71l.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g4.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "quanta,q71l-bmc", "aspeed,ast2400"; 30 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; 44 no-map; [all …]
|
H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-quanta-s6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "quanta,s6q-bmc", "aspeed,ast2600"; 29 // bus 1 - Fan board 47 stdout-path = &uart5; 56 iio-hwmon { 57 compatible = "iio-hwmon"; [all …]
|
/linux/drivers/iio/dac/ |
H A D | ad5696-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/i2c.h> 17 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5686_i2c_read() local 20 .addr = i2c->addr, in ad5686_i2c_read() 21 .flags = i2c->flags, in ad5686_i2c_read() 23 .buf = &st->data[0].d8[1], in ad5686_i2c_read() 26 .addr = i2c->addr, in ad5686_i2c_read() 27 .flags = i2c->flags | I2C_M_RD, in ad5686_i2c_read() 29 .buf = (char *)&st->data[0].d16, in ad5686_i2c_read() 34 st->data[0].d32 = cpu_to_be32(AD5686_CMD(AD5686_CMD_NOOP) | in ad5686_i2c_read() [all …]
|
/linux/drivers/mfd/ |
H A D | stmpe-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ST Microelectronics MFD: stmpe's i2c client specific driver 5 * Copyright (C) ST-Ericsson SA 2010 8 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 12 #include <linux/i2c.h> 22 struct i2c_client *i2c = stmpe->client; in i2c_reg_read() local 24 return i2c_smbus_read_byte_data(i2c, reg); in i2c_reg_read() 29 struct i2c_client *i2c = stmpe->client; in i2c_reg_write() local 31 return i2c_smbus_write_byte_data(i2c, reg, val); in i2c_reg_write() 36 struct i2c_client *i2c = stmpe->client; in i2c_block_read() local [all …]
|
H A D | axp20x-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * I2C driver for the X-Powers' Power Management ICs 5 * AXP20x typically comprises an adaptive USB-Compatible PWM charger, BUCK DC-DC 6 * converters, LDOs, multiple 12-bit ADCs of voltage, current and temperature 9 * This driver supports the I2C variants. 18 #include <linux/i2c.h> 25 static int axp20x_i2c_probe(struct i2c_client *i2c) in axp20x_i2c_probe() argument 30 axp20x = devm_kzalloc(&i2c->dev, sizeof(*axp20x), GFP_KERNEL); in axp20x_i2c_probe() 32 return -ENOMEM; in axp20x_i2c_probe() 34 axp20x->dev = &i2c->dev; in axp20x_i2c_probe() [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Microchip KSZ9477 series register access through I2C 5 * Copyright (C) 2018-2019 Microchip Technology Inc. 8 #include <linux/i2c.h> 17 static int ksz9477_i2c_probe(struct i2c_client *i2c) in ksz9477_i2c_probe() argument 23 dev = ksz_switch_alloc(&i2c->dev, i2c); in ksz9477_i2c_probe() 25 return -ENOMEM; in ksz9477_i2c_probe() 29 rc.lock_arg = &dev->regmap_mutex; in ksz9477_i2c_probe() 30 dev->regmap[i] = devm_regmap_init_i2c(i2c, &rc); in ksz9477_i2c_probe() 31 if (IS_ERR(dev->regmap[i])) { in ksz9477_i2c_probe() [all …]
|
/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-npcm730-gbs.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 10 compatible = "quanta,gbs-bmc","nuvoton,npcm730"; 71 stdout-path = &serial0; 78 gpio-keys { 79 compatible = "gpio-keys"; 80 sas-cable0 { 81 label = "sas-cable0"; [all …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a100.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/sun50i-a100-ccu.h> 8 #include <dt-bindings/clock/sun50i-a100-r-ccu.h> 9 #include <dt-bindings/reset/sun50i-a100-ccu.h> 10 #include <dt-bindings/reset/sun50i-a100-r-ccu.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <1>; [all …]
|