| /kernel/linux/linux-6.6/Documentation/i2c/busses/ |
| D | i2c-ocores.rst | 2 Kernel driver i2c-ocores 6 * OpenCores.org I2C controller by Richard Herveille (see datasheet link) 7 https://opencores.org/project/i2c/overview 12 ----------- 14 i2c-ocores is an i2c bus driver for the OpenCores.org I2C controller 18 ----- 20 i2c-ocores uses the platform bus, so you need to provide a struct 23 ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the 26 the i2c-ocores driver will add to the bus upon creation. 64 .name = "ocores-i2c",
|
| D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 I2C Bus Drivers 10 i2c-ali1535 11 i2c-ali1563 12 i2c-ali15x3 13 i2c-amd756 14 i2c-amd8111 15 i2c-amd-mp2 16 i2c-diolan-u2c 17 i2c-i801 [all …]
|
| /kernel/linux/linux-5.10/Documentation/i2c/busses/ |
| D | i2c-ocores.rst | 2 Kernel driver i2c-ocores 6 * OpenCores.org I2C controller by Richard Herveille (see datasheet link) 7 https://opencores.org/project/i2c/overview 12 ----------- 14 i2c-ocores is an i2c bus driver for the OpenCores.org I2C controller 18 ----- 20 i2c-ocores uses the platform bus, so you need to provide a struct 23 ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the 26 the i2c-ocores driver will add to the bus upon creation. 64 .name = "ocores-i2c",
|
| D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 I2C Bus Drivers 10 i2c-ali1535 11 i2c-ali1563 12 i2c-ali15x3 13 i2c-amd756 14 i2c-amd8111 15 i2c-amd-mp2 16 i2c-diolan-u2c 17 i2c-i801 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-ocores.txt | 1 Device tree configuration for i2c-ocores 4 - compatible : "opencores,i2c-ocores" 6 "sifive,fu540-c000-i2c", "sifive,i2c0" 7 For Opencore based I2C IP block reimplemented in 8 FU540-C000 SoC. Please refer to sifive-blocks-ip-versioning.txt 10 - reg : bus address start and address range size of device 11 - clocks : handle to the controller clock; see the note below. 12 Mutually exclusive with opencores,ip-clock-frequency 13 - opencores,ip-clock-frequency: frequency of the controller clock in Hz; 15 - #address-cells : should be <1> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | opencores,i2c-ocores.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/opencores,i2c-ocores.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: OpenCores I2C controller 10 - Peter Korsgaard <peter@korsgaard.com> 11 - Andrew Lunn <andrew@lunn.ch> 14 - $ref: /schemas/i2c/i2c-controller.yaml# 19 - items: 20 - enum: [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-ocores.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c-ocores.c: I2C bus driver for OpenCores I2C controller 4 * (https://opencores.org/project/i2c/overview) 19 #include <linux/i2c.h> 22 #include <linux/platform_data/i2c-ocores.h> 49 void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value); 50 u8 (*getreg)(struct ocores_i2c *i2c, int reg); 88 #define OCORES_FLAG_BROKEN_IRQ BIT(1) /* Broken IRQ for FU540-C000 SoC */ 90 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() argument 92 iowrite8(value, i2c->base + (reg << i2c->reg_shift)); in oc_setreg_8() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the i2c bus drivers. 7 obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o 10 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o 11 obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o 12 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o 13 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o 14 obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o 15 obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o 16 obj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o [all …]
|
| D | i2c-kempld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * I2C bus driver for Kontron COM modules 5 * Copyright (c) 2010-2013 Kontron Europe GmbH 8 * The driver is based on the i2c-ocores driver by Peter Korsgaard. 13 #include <linux/i2c.h> 68 MODULE_PARM_DESC(bus_frequency, "Set I2C bus frequency in kHz (default=" 71 static int i2c_bus = -1; 73 MODULE_PARM_DESC(i2c_bus, "Set I2C bus number (default=-1 for dynamic assignment)"); 77 MODULE_PARM_DESC(i2c_gpio_mux, "Enable I2C port on GPIO out (default=false)"); 82 static int kempld_i2c_process(struct kempld_i2c_data *i2c) in kempld_i2c_process() argument [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menu "I2C Hardware Bus support" 18 controller is part of the 7101 device, which is an ACPI-compliant 22 will be called i2c-ali1535. 30 controller is part of the 7101 device, which is an ACPI-compliant 34 will be called i2c-ali1563. 41 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces. 44 will be called i2c-ali15x3. 51 756/766/768 mainboard I2C interfaces. The driver also includes 52 support for the first (SMBus 1.0) I2C interface of the AMD 8111 and [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-ocores.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c-ocores.c: I2C bus driver for OpenCores I2C controller 4 * (https://opencores.org/project/i2c/overview) 19 #include <linux/i2c.h> 22 #include <linux/platform_data/i2c-ocores.h> 49 void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value); 50 u8 (*getreg)(struct ocores_i2c *i2c, int reg); 87 #define OCORES_FLAG_BROKEN_IRQ BIT(1) /* Broken IRQ for FU540-C000 SoC */ 89 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() argument 91 iowrite8(value, i2c->base + (reg << i2c->reg_shift)); in oc_setreg_8() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the i2c bus drivers. 7 obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o 9 # Auxiliary I2C/SMBus modules 10 obj-$(CONFIG_I2C_CCGX_UCSI) += i2c-ccgx-ucsi.o 13 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o 14 obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o 15 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o 16 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o 17 obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o [all …]
|
| D | i2c-kempld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * I2C bus driver for Kontron COM modules 5 * Copyright (c) 2010-2013 Kontron Europe GmbH 8 * The driver is based on the i2c-ocores driver by Peter Korsgaard. 13 #include <linux/i2c.h> 68 MODULE_PARM_DESC(bus_frequency, "Set I2C bus frequency in kHz (default=" 71 static int i2c_bus = -1; 73 MODULE_PARM_DESC(i2c_bus, "Set I2C bus number (default=-1 for dynamic assignment)"); 77 MODULE_PARM_DESC(i2c_gpio_mux, "Enable I2C port on GPIO out (default=false)"); 82 static int kempld_i2c_process(struct kempld_i2c_data *i2c) in kempld_i2c_process() argument [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 menu "I2C Hardware Bus support" 16 for Cypress CCGx Type-C controller. Individual bus drivers 25 controller is part of the 7101 device, which is an ACPI-compliant 29 will be called i2c-ali1535. 37 controller is part of the 7101 device, which is an ACPI-compliant 41 will be called i2c-ali1563. 48 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces. 51 will be called i2c-ali15x3. 58 756/766/768 mainboard I2C interfaces. The driver also includes [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/netlogic/ |
| D | xlp_evp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 model = "netlogic,XLP-EVP"; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <2>; 15 #size-cells = <1>; 16 compatible = "simple-bus"; 24 reg-shift = <2>; 25 reg-io-width = <4>; [all …]
|
| D | xlp_svp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 model = "netlogic,XLP-SVP"; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <2>; 15 #size-cells = <1>; 16 compatible = "simple-bus"; 24 reg-shift = <2>; 25 reg-io-width = <4>; [all …]
|
| D | xlp_fvp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 model = "netlogic,XLP-FVP"; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <2>; 15 #size-cells = <1>; 16 compatible = "simple-bus"; 24 reg-shift = <2>; 25 reg-io-width = <4>; [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | i2c-ocores.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * i2c-ocores.h - definitions for the i2c-ocores interface
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | i2c-ocores.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * i2c-ocores.h - definitions for the i2c-ocores interface
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | tqmx86.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * TQ-Systems PLD MFD core driver, based on vendor driver by 6 * Copyright (c) 2015 TQ-Systems GmbH 12 #include <linux/i2c.h> 16 #include <linux/platform_data/i2c-ocores.h> 91 .name = "ocores-i2c", 101 .name = "tqmx86-wdt", 107 .name = "tqmx86-gpio", 178 struct device *dev = &pdev->dev; in tqmx86_probe() 199 return -EINVAL; in tqmx86_probe() [all …]
|
| D | timberdale.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <linux/i2c.h> 21 #include <linux/platform_data/i2c-ocores.h> 22 #include <linux/platform_data/i2c-xiic.h> 51 /*--------------------------------------------------------------------------*/ 367 .name = "timb-dma", 374 .name = "timb-uart", 379 .name = "xiic-i2c", 386 .name = "timb-gpio", 393 .name = "timb-video", [all …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | tqmx86.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * TQ-Systems PLD MFD core driver, based on vendor driver by 6 * Copyright (c) 2015 TQ-Systems GmbH 12 #include <linux/i2c.h> 16 #include <linux/platform_data/i2c-ocores.h> 91 .name = "ocores-i2c", 101 .name = "tqmx86-wdt", 107 .name = "tqmx86-gpio", 180 struct device *dev = &pdev->dev; in tqmx86_probe() 201 return -EINVAL; in tqmx86_probe() [all …]
|
| D | timberdale.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/i2c.h> 20 #include <linux/platform_data/i2c-ocores.h> 21 #include <linux/platform_data/i2c-xiic.h> 50 /*--------------------------------------------------------------------------*/ 366 .name = "timb-dma", 373 .name = "timb-uart", 378 .name = "xiic-i2c", 385 .name = "timb-gpio", 392 .name = "timb-video", [all …]
|
| /kernel/linux/linux-6.6/arch/xtensa/boot/dts/ |
| D | xtfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 compatible = "cdns,xtensa-xtfpga"; 4 #address-cells = <1>; 5 #size-cells = <1>; 6 interrupt-parent = <&pic>; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 compatible = "cdns,xtensa-cpu"; 28 compatible = "cdns,xtensa-pic"; 33 #interrupt-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/arch/xtensa/boot/dts/ |
| D | xtfpga.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 compatible = "cdns,xtensa-xtfpga"; 4 #address-cells = <1>; 5 #size-cells = <1>; 6 interrupt-parent = <&pic>; 18 #address-cells = <1>; 19 #size-cells = <0>; 21 compatible = "cdns,xtensa-cpu"; 28 compatible = "cdns,xtensa-pic"; 33 #interrupt-cells = <2>; [all …]
|