Home
last modified time | relevance | path

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

12345

/openbmc/linux/Documentation/i2c/
H A Di2c-address-translators.rst1 .. SPDX-License-Identifier: GPL-2.0
4 I2C Address Translators
11 -----------
13 An I2C Address Translator (ATR) is a device with an I2C slave parent
14 ("upstream") port and N I2C master child ("downstream") ports, and
17 called the "alias" and is (potentially) different from the physical
21 An ATR looks similar to an i2c-mux except:
22 - the address on the parent and child busses can be different
23 - there is normally no need to select the child port; the alias used on the
27 The kernel i2c-atr provides a helper to implement an ATR within a driver.
[all …]
/openbmc/linux/drivers/i2c/
H A Di2c-atr.c1 // SPDX-License-Identifier: GPL-2.0
3 * I2C Address Translator
8 * Originally based on i2c-mux.c
11 #include <linux/i2c-atr.h>
12 #include <linux/i2c.h>
21 #define ATR_MAX_SYMLINK_LEN 11 /* Longest name is 10 chars: "channel-99" */
24 * struct i2c_atr_alias_pair - Holds the alias assigned to a client.
27 * @alias: I2C alias address assigned by the driver.
28 * This is the address that will be used to issue I2C transactions
34 u16 alias; member
[all …]
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-atr.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-atr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common i2c address translator properties
10 - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
13 An I2C Address Translator (ATR) is a device with an I2C slave parent
14 ("upstream") port and N I2C master child ("downstream") ports, and
17 called the "alias" and is (potentially) different from the physical
22 i2c-alias-pool:
[all …]
H A Di2c-rk3x.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-rk3x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip RK3xxx I2C controller
10 This driver interfaces with the native I2C controller present in Rockchip
14 - $ref: /schemas/i2c/i2c-controller.yaml#
17 - Heiko Stuebner <heiko@sntech.de>
23 - const: rockchip,rv1108-i2c
24 - const: rockchip,rk3066-i2c
[all …]
/openbmc/linux/include/linux/
H A Di2c-atr.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * I2C Address Translator
8 * Based on i2c-mux.h
14 #include <linux/i2c.h>
22 * struct i2c_atr_ops - Callbacks from ATR to the device driver.
24 * bus, with the alias assigned to it. The driver must
25 * configure the hardware to use the alias.
28 * alias.
34 const struct i2c_client *client, u16 alias);
40 * i2c_atr_new() - Allocate and initialize an I2C ATR helper.
[all …]
/openbmc/u-boot/doc/
H A Dgit-mailrc1 # To use this file, run in your u-boot tree:
2 # git config sendemail.aliasesfile doc/git-mailrc
6 # git send-email --to u-boot --cc i2c ...
8 alias uboot u-boot@lists.denx.de
9 alias u-boot uboot
11 # Maintainer aliases. Use the same alias here as patchwork to keep
13 alias aaribaud Albert Aribaud <albert.u.boot@aribaud.net>
14 alias abiessmann Andreas Bießmann <andreas@biessmann.org>
15 alias abrodkin Alexey Brodkin <alexey.brodkin@synopsys.com>
16 alias afleming Andy Fleming <afleming@gmail.com>
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/
H A Dti,ds90ub960.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/i2c/ti,ds90ub960.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments DS90UB9XX Family FPD-Link Deserializer Hubs
10 - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
13 The TI DS90UB9XX devices are FPD-Link video deserializers with I2C and GPIO
17 - $ref: /schemas/i2c/i2c-atr.yaml#
22 - ti,ds90ub960-q1
23 - ti,ds90ub9702-q1
[all …]
/openbmc/linux/drivers/clk/samsung/
H A Dclk-s3c64xx.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/clk-provider.h>
14 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
17 #include "clk-pll.h"
98 /* S3C6400-specific parent clocks. */
103 /* S3C6410-specific parent clocks. */
311 ALIAS(FOUT_APLL, NULL, "fout_apll"),
312 ALIAS(FOUT_MPLL, NULL, "fout_mpll"),
313 ALIAS(FOUT_EPLL, NULL, "fout_epll"),
314 ALIAS(MOUT_EPLL, NULL, "mout_epll"),
[all …]
/openbmc/u-boot/lib/
H A Dfdtdec_test.c1 // SPDX-License-Identifier: GPL-2.0+
24 * @return 0 if ok, -1 if there was an error
30 return -1; in fdt_checkerr()
43 * @return 0 if ok, -1 if there was an error
50 return -1; in checkval()
56 #define CHECK(op) if (fdt_checkerr(#op, op)) return -1
59 return -1
70 * @param aliases Specifies alias assignments. Format is a list of items
72 * # is the alias number
90 sprintf(name, "i2c%c", *s); in make_fdt()
[all …]
/openbmc/qemu/hw/arm/
H A Dimx25_pdk.c2 * Copyright (c) 2013 Jean-Christophe Dubois <jcd@tribudubois.net>
9 * Written by Hans at OK-Labs
28 #include "hw/qdev-properties.h"
29 #include "hw/arm/fsl-imx25.h"
32 #include "qemu/error-report.h"
34 #include "hw/i2c/i2c.h"
38 * 0x00000000-0x7fffffff See i.MX25 SOC fr support
39 * 0x80000000-0x87ffffff RAM + Alias EMULATED
40 * 0x90000000-0x9fffffff RAM + Alias EMULATED
41 * 0xa0000000-0xa7ffffff Flash IGNORED
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DManagerDiagnosticData_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!-
[all...]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DManagerDiagnosticData_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: ManagerDiagnosticData v1.2.3 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2025 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/u-boot/drivers/i2c/
H A Di2c-uclass.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <i2c.h>
11 #include <dm/device-internal.h>
34 printf(" %s %x len=%x", m->flags & I2C_M_RD ? "R" : "W", in i2c_dump_msgs()
35 msg->addr, msg->len); in i2c_dump_msgs()
36 if (!(m->flags & I2C_M_RD)) in i2c_dump_msgs()
37 printf(": %x", m->buf[0]); in i2c_dump_msgs()
43 * i2c_setup_offset() - Set up a new message with a chip offset
49 * @return 0 if OK, -EADDRNOTAVAIL if the offset length is 0. In that case the
55 int offset_len = chip->offset_len; in i2c_setup_offset()
[all …]
/openbmc/qemu/hw/ppc/
H A De500.c2 * QEMU PowerPC e500-based platforms
20 #include "qemu/guest-random.h"
23 #include "e500-ccsr.h"
25 #include "qemu/config-file.h"
27 #include "hw/char/serial-mm.h"
29 #include "system/block-backend-io.h"
39 #include "hw/qdev-properties.h"
43 #include "qemu/host-utils.h"
45 #include "hw/pci-host/ppce500.h"
46 #include "qemu/error-report.h"
[all …]
/openbmc/u-boot/board/freescale/mpc837xemds/
H A Dmpc837xemds.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <i2c.h>
20 #include "../common/pq-mds-pib.h"
35 u32 spridr = in_be32(&immr->sysconf.spridr); in board_early_init_f()
75 clrsetbits_be32(&im->sysconf.sicrl, SICRL_USB_B, SICRL_USB_B_SD); in board_mmc_init()
76 clrsetbits_be32(&im->sysconf.sicrh, SICRH_GPIO2_E | SICRH_SPI, in board_mmc_init()
89 u32 rcwh = in_be32(&im->reset.rcwh); in board_eth_init()
140 static void __ft_tsec_fixup(void *blob, bd_t *bd, const char *alias, in __ft_tsec_fixup() argument
147 off = fdt_path_offset(blob, alias); in __ft_tsec_fixup()
149 printf("WARNING: could not find %s alias: %s.\n", alias, in __ft_tsec_fixup()
[all …]
/openbmc/phosphor-mrw-tools/
H A Dgen_path_callouts.pl6 # supports I2C, FSI, SPI, FSI-I2C, and FSI-SPI devices. The output is a JSON
8 # type. I2c uses a bus and address, FSI uses a link, and SPI uses a bus
9 # number. If FSI is combined with I2C or SPI, then the link plus the I2C/SPI
10 # keys is used. Multi-hop FSI links are indicated by a dash in between the
11 # links, eg "0-1".
21 # "LocationCode": "P1-C50",
22 # "MRU":"/sys-0/node-0/motherboard/proc_socket-0/module-0/power9-0",
23 # "Name":"/sys-0/node-0/motherboard/cpu0"
27 # "LocationCode": "P1-C42",
28 # "MRU":"/sys-0/node-0/motherboard/ebmc-card/BMC-0",
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ampere-mtjefferson.dts1 // 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 …]
/openbmc/linux/scripts/mod/
H A Dfile2alias.c1 /* Simple code to turn various tables in an ELF file into alias definitions.
5 * Copyright 2002-2003 Rusty Russell, IBM Corporation
14 #include "devicetable-offsets.h"
63 int (*do_entry)(const char *filename, void *symval, char *alias);
66 /* Size of alias provided to do_entry functions */
73 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
80 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f)
107 if (str[len - 1] != '*') in add_wildcard()
115 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid()
126 sprintf(str + len, "%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X", in add_guid()
[all …]
/openbmc/linux/drivers/of/
H A Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
28 #include <linux/i2c.h>
29 #include <linux/i2c-mux.h>
54 #define OF_KREF_READ(NODE) kref_read(&(NODE)->kobj.kref)
85 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
88 "find /testcase-data failed\n"); in of_unittest_find_node_by_name()
93 np = of_find_node_by_path("/testcase-data/"); in of_unittest_find_node_by_name()
[all …]
/openbmc/phosphor-power/phosphor-regulators/config_files/
H A DRainier.json3 "phosphor-regulators configuration file for IBM Rainier systems"
106 "asserts at the roll-over bug identified in the",
128 "Set VOUT_MODE to exponent of -9 for VDD regulator",
475 "exponent": -8
488 "exponent": -8
694 "Rule to determine if the VRM FRU for DCM-1 is present.",
702 "Check whether the VRM FRU is present OR the DCM-1",
704 "case the VRM presence line is not working. If DCM-1",
728 "This requires a Nisqually pass2+ due to I2C bus number",
776 "This requires a Nisqually pass2+ due to I2C bus number",
[all …]
H A DBlueRidge.json3 "phosphor-regulators configuration file for IBM BlueRidge systems"
106 "asserts at the roll-over bug identified in the",
128 "Set VOUT_MODE to exponent of -9 for VDD regulator",
475 "exponent": -8
488 "exponent": -8
694 "Rule to determine if the VRM FRU for DCM-1 is present.",
702 "Check whether the VRM FRU is present OR the DCM-1",
704 "case the VRM presence line is not working. If DCM-1",
728 "This requires a Nisqually pass2+ due to I2C bus number",
776 "This requires a Nisqually pass2+ due to I2C bus number",
[all …]
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dppa8548.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PPA8548 Device Tree Source (36-bit address map)
7 * MPC8548 CDS Device Tree Source (36-bit address map)
11 /include/ "mpc8548si-pre.dtsi"
16 #address-cells = <2>;
17 #size-cells = <2>;
18 interrupt-parent = <&mpic>;
59 #address-cells = <1>;
60 #size-cells = <1>;
61 compatible = "cfi-flash";
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dds90ub960.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the Texas Instruments DS90UB960-Q1 video deserializer
12 * - PM for serializer and remote peripherals. We need to manage:
13 * - VPOC
14 * - Power domain? Regulator? Somehow any remote device should be able to
16 * - Link between the deserializer and the serializer
17 * - Related to VPOC management. We probably always want to turn on the VPOC
19 * - Serializer's services: i2c, gpios, power
20 * - The serializer needs to resume before the remote peripherals can
21 * e.g. use the i2c.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/
H A Dadi,adxl367.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADXL367 3-Axis Digital Accelerometer
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The ADXL367 is an ultralow power, 3-axis MEMS accelerometer.
15 The ADXL367 does not alias input signals by to achieve ultralow power
17 data rates. Measurement ranges of +-2g, +-4g, and +-8g are available,
18 with a resolution of 0.25mg/LSB on the +-2 g range.
22 It includes a deep multimode output FIFO, a built-in micropower
[all …]
/openbmc/u-boot/board/freescale/m52277evb/
H A DREADME4 TsiChung Liew(Tsi-Chung.Liew@freescale.com)
12 - board/freescale/m52277evb/m52277evb.c Dram setup
13 - board/freescale/m52277evb/Makefile Makefile
14 - board/freescale/m52277evb/config.mk config make
15 - board/freescale/m52277evb/u-boot.lds Linker description
17 - arch/m68k/cpu/mcf5227x/cpu.c cpu specific code
18 - arch/m68k/cpu/mcf5227x/cpu_init.c FBCS, Mux pins, icache and RTC extra regs
19 - arch/m68k/cpu/mcf5227x/interrupts.c cpu specific interrupt support
20 - arch/m68k/cpu/mcf5227x/speed.c system, flexbus, and cpu clock
21 - arch/m68k/cpu/mcf5227x/Makefile Makefile
[all …]

12345