/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/Documentation/devicetree/bindings/i2c/ |
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 | 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 | 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 | 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 …]
|
H A D | i2c-owl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-owl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Actions Semi Owl I2C Controller 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 13 This I2C controller is found in the Actions Semi Owl SoCs: 17 - $ref: /schemas/i2c/i2c-controller.yaml# 20 compatible: 22 - actions,s500-i2c # Actions Semi S500 compatible SoCs [all …]
|
H A D | amlogic,meson6-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson I2C Controller 11 - Neil Armstrong <neil.armstrong@linaro.org> 12 - Beniamino Galvani <b.galvani@gmail.com> 15 - $ref: /schemas/i2c/i2c-controller.yaml# 18 compatible: 20 - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos7870.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/samsung,exynos7870-cmu.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 compatible = "samsung,exynos7870"; 14 #address-cells = <2>; 15 #size-cells = <1>; 17 interrupt-parent = <&gic>; 31 #address-cells = <1>; 32 #size-cells = <0>; 34 cpu-map { [all …]
|
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/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 | 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-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 | 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-asus-x4tf.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include "aspeed-g6-pinctrl.dtsi" 8 #include <dt-bindings/i2c/i2c.h> 9 #include <dt-bindings/gpio/aspeed-gpio.h> 12 model = "ASUS-X4TF"; 13 compatible = "asus,x4tf-bmc", "aspeed,ast2600"; 20 stdout-path = "serial4:115200n8"; 28 reserved-memory { [all …]
|
H A D | aspeed-bmc-nvidia-gb200nvl-bmc.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g6.dtsi" 5 #include <dt-bindings/i2c/i2c.h> 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/leds/common.h> 11 compatible = "nvidia,gb200nvl-bmc", "aspeed,ast2600"; 63 stdout-path = &uart5; 71 reserved-memory { 72 #address-cells = <1>; [all …]
|
H A D | aspeed-bmc-facebook-santabarbara.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "facebook,santabarbara-bmc", "aspeed,ast2600"; 45 stdout-path = "serial4:57600n8"; 48 iio-hwmon { 49 compatible = "iio-hwmon"; 50 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
H A D | aspeed-bmc-ampere-mtjefferson.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,mtjefferson-bmc", "aspeed,ast2600"; 19 * I2C OCP alias port 24 * I2C NVMe alias port 41 stdout-path = &uart5; 49 reserved-memory { [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 …]
|
/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-2024 Microchip Technology Inc. 8 #include <linux/i2c.h> 17 static int ksz9477_i2c_probe(struct i2c_client *i2c) in ksz9477_i2c_probe() argument 20 struct device *ddev = &i2c->dev; in ksz9477_i2c_probe() 25 dev = ksz_switch_alloc(&i2c->dev, i2c); in ksz9477_i2c_probe() 27 return -ENOMEM; in ksz9477_i2c_probe() 31 return -EINVAL; in ksz9477_i2c_probe() 34 dev->chip_id = chip->chip_id; in ksz9477_i2c_probe() [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/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 …]
|