Home
last modified time | relevance | path

Searched +full:i2cr +full:- +full:fsi +full:- +full:master (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/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";
143 compatible = "ibm,i2c-fsi";
[all …]
Dibm-power10-quad.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
4 #include "ibm-power10-dual.dtsi"
7 i2cr@20 {
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";
[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 …]
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 …]
/linux-6.12.1/drivers/fsi/
Dfsi-master-i2cr.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/fsi.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()
137 int fsi_master_i2cr_read(struct fsi_master_i2cr *i2cr, u32 addr, u64 *data) in fsi_master_i2cr_read() argument
[all …]
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 …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 obj-$(CONFIG_FSI) += fsi-core.o
4 obj-$(CONFIG_FSI_MASTER_HUB) += fsi-master-hub.o
5 obj-$(CONFIG_FSI_MASTER_ASPEED) += fsi-master-aspeed.o
6 obj-$(CONFIG_FSI_MASTER_GPIO) += fsi-master-gpio.o
7 obj-$(CONFIG_FSI_MASTER_I2CR) += fsi-master-i2cr.o
8 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
9 obj-$(CONFIG_FSI_SCOM) += fsi-scom.o
10 obj-$(CONFIG_FSI_SBEFIFO) += fsi-sbefifo.o
11 obj-$(CONFIG_FSI_OCC) += fsi-occ.o
[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"
17 struct fsi_master_i2cr *i2cr; member
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()
[all …]
Dfsi-master-i2cr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include "fsi-master.h"
15 struct fsi_master master; member
20 #define to_fsi_master_i2cr(m) container_of(m, struct fsi_master_i2cr, master)
22 int fsi_master_i2cr_read(struct fsi_master_i2cr *i2cr, u32 addr, u64 *data);
23 int fsi_master_i2cr_write(struct fsi_master_i2cr *i2cr, u32 addr, u64 data);
25 static inline bool is_fsi_master_i2cr(struct fsi_master *master) in is_fsi_master_i2cr() argument
27 if (master->dev.parent && master->dev.parent->type == &i2c_client_type) in is_fsi_master_i2cr()
/linux-6.12.1/Documentation/devicetree/bindings/fsi/
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 <eajames@linux.ibm.com>
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 …]