Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:fsi (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.14.4/drivers/i2c/busses/
Di2c-fsi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * FSI-attached I2C controller algorithm
18 #include <linux/fsi.h>
19 #include <linux/i2c.h>
32 /* i2c registers */
149 struct fsi_device *fsi; member
163 static int fsi_i2c_read_reg(struct fsi_device *fsi, unsigned int reg, in fsi_i2c_read_reg() argument
169 rc = fsi_device_read(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_read_reg()
178 static int fsi_i2c_write_reg(struct fsi_device *fsi, unsigned int reg, in fsi_i2c_write_reg() argument
183 return fsi_device_write(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_write_reg()
[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.14.4/Documentation/devicetree/bindings/fsi/
Dfsi.txt1 FSI bus & engine generic device tree bindings
4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and
6 nodes to probed engines. This allows for fsi engines to expose non-probeable
7 busses, which are then exposed by the device tree. For example, an FSI engine
8 that is an I2C master - the I2C bus can be described by the device tree under
11 FSI masters may require their own DT nodes (to describe the master HW itself);
13 the fsi-master-* binding specifications.
16 represent the FSI slaves and their slave engines. As a basic outline:
18 fsi-master {
19 /* top-level of FSI bus topology, bound to an FSI master driver and
[all …]
Dibm,i2cr-fsi-master.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: IBM I2C Responder virtual FSI master
10 - Eddie James <[email protected]>
13 The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM
14 (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and
15 writes or SCOM operations, thereby acting as an FSI master.
20 - ibm,i2cr-fsi-master
[all …]
Dfsi-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/fsi/fsi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: FSI Controller Common Properties
10 - Eddie James <[email protected]>
13 FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The
14 FSI bus is connected to a CFAM (Common FRU Access Macro) which contains
15 various engines such as I2C controllers, SPI controllers, etc.
18 "#address-cells":
[all …]
/linux-6.14.4/drivers/fsi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # FSI subsystem
6 menuconfig FSI config
7 tristate "FSI support"
11 FSI - the FRU Support Interface - is a simple bus for low-level
12 access to POWER-based hardware.
14 if FSI
17 bool "Create '/dev/fsi' directory for char devices"
20 This option causes char devices created for FSI devices to be
21 located under a common /dev/fsi/ directory. Set to N unless your
[all …]
Dfsi-master-i2cr.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/fsi.h>
6 #include <linux/i2c.h>
11 #include "fsi-master-i2cr.h"
79 msgs[0].addr = client->addr; in i2cr_transfer()
83 msgs[1].addr = client->addr; in i2cr_transfer()
88 ret = i2c_transfer(client->adapter, msgs, 2); in i2cr_transfer()
97 return -EIO; in i2cr_transfer()
128 dev_err(&client->dev, "status:%016llx error:%016llx log:%016llx\n", status, error, in i2cr_check_status()
130 return -EREMOTEIO; in i2cr_check_status()
[all …]
Di2cr-scom.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/fsi.h>
11 #include "fsi-master-i2cr.h"
12 #include "fsi-slave.h"
26 file->f_pos = offset; in i2cr_scom_llseek()
29 return -EINVAL; in i2cr_scom_llseek()
37 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_read()
42 return -EINVAL; in i2cr_scom_read()
44 ret = fsi_master_i2cr_read(scom->i2cr, (u32)*offset, &data); in i2cr_scom_read()
58 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_write()
[all …]
Dfsi-master-i2cr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 #include <linux/i2c.h>
10 #include "fsi-master.h"
27 if (master->dev.parent && master->dev.parent->type == &i2c_client_type) in is_fsi_master_i2cr()
/linux-6.14.4/arch/arm/boot/dts/aspeed/
Dibm-power11-quad.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
125 #address-cells = <2>;
126 #size-cells = <0>;
128 bus-frequency = <100000000>;
129 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
133 #address-cells = <1>;
134 #size-cells = <1>;
135 chip-id = <0>;
138 compatible = "ibm,p9-scom";
142 i2c@1800 {
[all …]
Daspeed-bmc-ibm-fuji.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/i2c/i2c.h>
7 #include <dt-bindings/leds/leds-pca955x.h>
8 #include "aspeed-g6.dtsi"
9 #include "ibm-power11-quad.dtsi"
13 compatible = "ibm,fuji-bmc", "aspeed,ast2600";
170 stdout-path = &uart5;
178 reserved-memory {
[all …]
Dibm-power10-quad.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 #include "ibm-power10-dual.dtsi"
8 compatible = "ibm,i2cr-fsi-master";
10 #address-cells = <2>;
11 #size-cells = <0>;
15 #address-cells = <1>;
16 #size-cells = <1>;
17 chip-id = <0>;
20 compatible = "ibm,i2cr-scom";
25 compatible = "ibm,p9-sbefifo";
[all …]
Dibm-power9-dual.dtsi1 // SPDX-License-Identifier: GPL-2.0+
4 &fsi {
7 #address-cells = <1>;
8 #size-cells = <1>;
9 chip-id = <0>;
16 i2c@1800 {
17 compatible = "ibm,fsi-i2c-master";
19 #address-cells = <1>;
20 #size-cells = <0>;
22 cfam0_i2c0: i2c-bus@0 {
[all …]
Daspeed-bmc-opp-zaius.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500";
19 stdout-path = &uart5;
27 reserved-memory {
28 #address-cells = <1>;
29 #size-cells = <1>;
33 no-map;
[all …]
Daspeed-bmc-ibm-everest.dts1 // 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,everest-bmc", "aspeed,ast2600";
169 stdout-path = &uart5;
178 reserved-memory {
179 #address-cells = <1>;
[all …]
Daspeed-bmc-opp-tacoma.dts1 // 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 …]
Dibm-power10-dual.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #address-cells = <2>;
8 #size-cells = <0>;
10 cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
14 #address-cells = <1>;
15 #size-cells = <1>;
16 chip-id = <0>;
23 i2c@1800 {
24 compatible = "ibm,fsi-i2c-master";
26 #address-cells = <1>;
[all …]
Daspeed-g6.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h>
6 #include <dt-bindings/clock/ast2600-clock.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 interrupt-parent = <&gic>;
47 #address-cells = <1>;
48 #size-cells = <0>;
49 enable-method = "aspeed,ast2600-smp";
[all …]
Daspeed-bmc-inspur-fp5280g2.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/i2c/
Dibm,i2c-fsi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: IBM FSI-attached I2C controller
10 - Eddie James <[email protected]>
13 This I2C controller is an FSI CFAM engine, providing access to a number of
14 I2C busses. Therefore this node will always be a child of an FSI CFAM node.
19 - ibm,i2c-fsi
23 - description: FSI slave address
[all …]
/linux-6.14.4/include/sound/
Dcs8427.h1 /* 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) */
55 #define CS8427_RMCKF (1<<4) /* 0 = 256*Fsi, 1 = 128*Fsi */
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 */
[all …]
/linux-6.14.4/sound/soc/renesas/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
25 tristate "SH4 FSI support"
29 This option enables FSI sound support
40 tristate "R-Car series SRU/SCU/SSIU/SSI support"
47 This option enables R-Car SRU/SCU/SSIU/SSI sound support
50 tristate "RZ/G2L series SSIF-2 support"
53 This option enables RZ/G2L SSIF-2 sound support.
69 tristate "SIU sound support on Migo-R"
70 depends on SH_MIGOR && I2C && DMADEVICES
74 This option enables sound support for the SH7722 Migo-R board
/linux-6.14.4/drivers/hwmon/occ/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # On-Chip Controller configuration
7 tristate "POWER8 OCC through I2C"
8 depends on I2C
12 On-Chip Controller (OCC) on a POWER8 processor. However, this driver
15 established through I2C bus.
18 called occ-p8-hwmon.
26 On-Chip Controller (OCC) on a POWER9 processor. However, this driver
29 established through SBE fifo on an FSI bus.
32 called occ-p9-hwmon.
/linux-6.14.4/Documentation/hwmon/
Docc.rst1 Kernel driver occ-hwmon
12 -----------
14 This driver supports hardware monitoring for the On-Chip Controller (OCC)
19 The P8 version of this driver is a client driver of I2C. It may be probed
20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the
21 appropriate I2C bus node in the device-tree.
23 The P9 version of this driver is a client driver of the FSI-based OCC driver.
24 It will be probed automatically by the FSI-based OCC driver.
27 -------------
29 The following attributes are supported. All attributes are read-only unless
[all …]
/linux-6.14.4/drivers/base/regmap/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
41 depends on I2C
81 depends on I2C
93 depends on FSI

12