Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:ocores (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/Documentation/i2c/busses/
Di2c-ocores.rst2 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",
Dindex.rst1 .. 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/i2c/
Dopencores,i2c-ocores.yaml1 # 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 …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-ocores.c1 // 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>
48 void (*setreg)(struct ocores_i2c *i2c, int reg, u8 value);
49 u8 (*getreg)(struct ocores_i2c *i2c, int reg);
86 #define OCORES_FLAG_BROKEN_IRQ BIT(1) /* Broken IRQ for FU540-C000 SoC */
88 static void oc_setreg_8(struct ocores_i2c *i2c, int reg, u8 value) in oc_setreg_8() argument
90 iowrite8(value, i2c->base + (reg << i2c->reg_shift)); in oc_setreg_8()
[all …]
DMakefile1 # 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 …]
Di2c-kempld.c1 // 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 …]
DKconfig1 # 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 …]
/linux-6.12.1/include/linux/platform_data/
Di2c-ocores.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * i2c-ocores.h - definitions for the i2c-ocores interface
/linux-6.12.1/drivers/mfd/
Dtqmx86.c1 // 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 …]
Dtimberdale.c1 // 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>
50 /*--------------------------------------------------------------------------*/
53 PROPERTY_ENTRY_U32("ti,x-plate-ohms", 100),
371 .name = "timb-dma",
378 .name = "timb-uart",
383 .name = "xiic-i2c",
390 .name = "timb-gpio",
[all …]
/linux-6.12.1/arch/xtensa/boot/dts/
Dxtfpga.dtsi1 // 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 …]
/linux-6.12.1/drivers/ptp/
Dptp_ocp.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/clk-provider.h>
15 #include <linux/platform_data/i2c-xiic.h>
16 #include <linux/platform_data/i2c-ocores.h>
22 #include <linux/i2c.h>
24 #include <linux/nvmem-consumer.h>
437 (void *)((uintptr_t)(bp) + (map)->bp_offset); \
453 uintptr_t addr = (uintptr_t)(bp) + (res)->bp_offset; \
483 * 7: I2C controller
493 --
[all …]
/linux-6.12.1/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]