Home
last modified time | relevance | path

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

123

/linux/Documentation/i2c/
H A Di2c-topology.rst2 I2C muxes and complex topologies
5 There are a couple of reasons for building more complex I2C topologies
6 than a straight-forward I2C bus with one adapter and one or more devices.
16 from the I2C bus, at least most of the time, and sits behind a gate
19 Several types of hardware components such as I2C muxes, I2C gates and I2C
22 These components are represented as I2C adapter trees by Linux, where
25 I2C transfers, and all adapters with a parent are part of an "i2c-mux"
29 an I2C transfer on one of its child adapters. The mux driver can
39 There are two variants of locking available to I2C muxes, they can be
40 mux-locked or parent-locked muxes.
[all …]
H A Di2c-sysfs.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Linux I2C Sysfs
10 I2C topology can be complex because of the existence of I2C MUX
11 (I2C Multiplexer). The Linux
12 kernel abstracts the MUX channels into logical I2C bus numbers. However, there
13 is a gap of knowledge to map from the I2C bus physical number and MUX topology
14 to logical I2C bus number. This doc is aimed to fill in this gap, so the
16 the concept of logical I2C buses in the kernel, by knowing the physical I2C
17 topology and navigating through the I2C sysfs in Linux shell. This knowledge is
18 useful and essential to use ``i2c-tools`` for the purpose of development and
[all …]
H A Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
4 I2C/SMBus Subsystem
14 i2c-protocol
15 smbus-protocol
16 instantiating-devices
18 i2c-topology
19 muxes/i2c-mux-gpio
20 i2c-sysfs
21 i2c-address-translators
29 writing-clients
[all …]
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
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.
29 The ATR creates a new I2C "child" adapter on each child bus. Adding
[all …]
/linux/Documentation/devicetree/bindings/fsi/
H A Dfsi.txt4 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
8 that is an I2C master - the I2C bus can be described by the device tree under
13 the fsi-master-* binding specifications.
15 Under the masters' nodes, we can describe the bus topology using nodes to
18 fsi-master {
19 /* top-level of FSI bus topology, bound to an FSI master driver and
22 fsi-slave@<link,id> {
26 fsi-slave-engine@<addr> {
32 fsi-slave-engine@<addr> {
[all …]
/linux/sound/soc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 select REGMAP_I2C if I2C
22 will be called snd-soc-core.
42 bool "Build topology core"
47 the topology core, KUnit is frequently tested in virtual
48 environments with minimal drivers enabled but the topology
53 tristate "KUnit tests for SoC topology"
58 If you want to perform tests on ALSA SoC topology support say Y here.
61 test cases against soc-topology.c API. This should be primarily used
131 # generic frame-work
/linux/include/drm/display/
H A Ddrm_dp_mst_helper.h60 * struct drm_dp_mst_port - MST port
64 * @mcs: message capability status - DP 1.2 spec. Protected by
66 * @ddps: DisplayPort Device Plug Status - DP 1.2. Protected by
81 * @aux: i2c aux transport to talk to device connected to this port, protected
83 * @passthrough_aux: parent aux to which DSC pass-through requests should be
84 * sent, only set if DSC pass-through is possible.
88 * @mgr: topology manager this port lives under.
91 * in the MST topology.
95 * @topology_kref: refcount for this port's lifetime in the topology,
109 * @topology_ref_history: A history of each topology
[all …]
/linux/include/sound/
H A Dsoc-acpi.h1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013-15, Intel Corporation
22 /* codec name is used in DAIs is i2c-<HID>:00 with HID being 8 chars */
61 * @acpi_ipc_irq_index: used for BYT-CR detection
64 * @dmic_num: number of SoC- or chipset-attached PDM digital microphones
95 * snd_soc_acpi_endpoint - endpoint descriptor
98 * @group_position: zero-based order (only when @aggregated is 1)
99 * @group_id: platform-unique group identifier (only when @aggregrated is 1)
109 * snd_soc_acpi_adr_device - descriptor for _ADR-enumerated device
123 * snd_soc_acpi_link_adr - ACPI-based list of _ADR enumerated devices
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dmctp-i2c-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/mctp-i2c-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MCTP I2C transport
10 - Matt Johnston <matt@codeconstruct.com.au>
13 An mctp-i2c-controller defines a local MCTP endpoint on an I2C controller.
14 MCTP I2C is specified by DMTF DSP0237.
16 An mctp-i2c-controller must be attached to an I2C adapter which supports
17 slave functionality. I2C busses (either directly or as subordinate mux
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Di2c-muxes.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ACPI I2C Muxes
7 Describing an I2C device hierarchy that includes I2C muxes requires an ACPI
10 Consider this topology::
12 +------+ +------+
13 | SMB1 |-->| MUX0 |--CH00--> i2c client A (0x50)
14 | | | 0x70 |--CH01--> i2c client B (0x50)
15 +------+ +------+
H A Denumeration.rst1 .. SPDX-License-Identifier: GPL-2.0
13 that are accessed through memory-mapped registers.
15 In order to support this and re-use the existing drivers as much as
18 - Devices that have no bus connector resource are represented as
21 - Devices behind real busses where there is a connector resource
31 I2C, and in some cases UART), creates the physical devices and binds them
34 This means that when ACPI_HANDLE(dev) returns non-NULL the device was
36 device-specific configuration. There is an example of this below.
43 for the device and add supported ACPI IDs. If this same IP-block is used on
44 some other non-ACPI platform, the driver might work out of the box or needs
[all …]
/linux/drivers/platform/x86/intel/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 source "drivers/platform/x86/intel/uncore-frequency/Kconfig"
22 depends on I2C
35 depends on I2C
106 depends on X86 && ACPI && I2C && REGULATOR
115 resources for a MAX17042 Fuel Gauge, FUSB302 USB Type-C Controller
117 This driver instantiates i2c-clients for these, so that standard
118 i2c drivers for these chips can bind to the them.
129 This driver is for accessing the PSE (Programmable Service Engine) -
130 an Embedded Controller like IP - using ISHTP (Integrated Sensor Hub
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-gpmux.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: General Purpose I2C Bus Mux
10 - Peter Rosin <peda@axentia.se>
13 This binding describes an I2C bus multiplexer that uses a mux controller
14 from the mux subsystem to route the I2C signals.
16 .-----. .-----.
18 .------------. '-----' '-----'
[all …]
/linux/drivers/media/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
36 If not selected, all non-optional media core functionality
41 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
43 select I2C
47 By default, a media driver auto-selects all possible ancillary
65 # Multimedia support - automatically enable V4L2 and DVB core
127 prompt "Platform-specific devices" if MEDIA_SUPPORT_FILTER
163 depends on (I2C || I2C=n)
175 topology and configure it dynamically.
187 depends on (I2C || I2C=n)
[all …]
/linux/drivers/gpu/drm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 select I2C
19 # gallium uses SYS_kcmp for os_same_file_description() to de-duplicate
24 Kernel-level support for the Direct Rendering Infrastructure (DRI)
65 Use dynamic-debug to avoid drm_debug_enabled() runtime overheads.
98 Documentation/dev-tools/kunit/.
109 bool "Display a user-friendly message when a kernel panic occurs"
113 Enable a drm panic handler, which will display a user-friendly message
114 when a kernel panic occurs. It's useful when using a user-space
117 To support Hi-DPI Display, you can enable bigger fonts like
[all …]
/linux/include/linux/platform_data/
H A Dmlxreg.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
3 * Copyright (C) 2017-2020 Mellanox Technologies Ltd.
14 * enum mlxreg_wdt_type - type of HW watchdog
28 * enum mlxreg_hotplug_kind - kind of hotplug entry
36 * after hardware-firmware synchronization handshake;
57 * enum mlxreg_hotplug_device_action - hotplug device action required for
73 * struct mlxreg_core_hotplug_notifier - hotplug notifier block:
86 * struct mlxreg_hotplug_device - I2C device data:
88 * @adapter: I2C device adapter;
89 * @client: I2C device client;
[all …]
/linux/Documentation/admin-guide/media/
H A Dimx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
15 - Image DMA Controller (IDMAC)
16 - Camera Serial Interface (CSI)
17 - Image Converter (IC)
18 - Sensor Multi-FIFO Controller (SMFC)
19 - Image Rotator (IRT)
20 - Video De-Interlacing or Combining Block (VDIC)
26 re-ordering (for example UYVY to YUYV) within the same colorspace, and
27 packed <--> planar conversion. The IDMAC can also perform a simple
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_es8336.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/i2c.h>
21 #include <sound/soc-acpi.h>
24 /* jd-inv + terminating entry */
56 static int quirk_override = -1;
58 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
79 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
84 { "speakers-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
88 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
89 { "headphone-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
[all …]
H A Dsof_pcm512x.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2018-2020 Intel Corporation.
10 #include <linux/i2c.h>
20 #include <sound/soc-acpi.h>
22 #include "../common/soc-intel-quirks.h"
55 sof_pcm512x_quirk = (unsigned long)id->driver_data; in sof_pcm512x_quirk_cb()
64 DMI_MATCH(DMI_PRODUCT_NAME, "UP-CHT01"),
73 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init()
77 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init()
79 return -ENOMEM; in sof_hdmi_init()
[all …]
/linux/drivers/net/mctp/
H A Dmctp-i2c.c1 // SPDX-License-Identifier: GPL-2.0
5 * "DSP0237 Management Component Transport Protocol (MCTP) SMBus/I2C
9 * A netdev is created for each I2C bus that handles MCTP. In the case of an I2C
10 * mux topology a single I2C client is attached to the root of the mux topology,
11 * shared between all mux I2C busses underneath. For non-mux cases an I2C client
14 * mctp-i2c-controller.yml devicetree binding has further details.
22 #include <linux/i2c.h>
23 #include <linux/i2c-mux.h>
31 #define MCTP_I2C_MAXMTU (MCTP_I2C_MAXBLOCK - 1)
41 #define MCTP_I2C_OF_PROP "mctp-controller"
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-mlxreg-io1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
6 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
25 forward direction - relevant bit is set 0;
26 reversed direction - relevant bit is set 1.
30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
39 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
48 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
[all …]
/linux/sound/soc/sof/
H A Dipc.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
10 // Generic IPC layer that can work over MMIO and SPI/I2C. PHY layer provided
17 #include "sof-priv.h"
18 #include "sof-audio.h"
22 * sof_ipc_send_msg - generic function to prepare and send one IPC message
33 * Note: higher level sdev->ipc->tx_mutex must be held to make sure that
39 struct snd_sof_ipc *ipc = sdev->ipc; in sof_ipc_send_msg()
43 if (ipc->disable_ipc_tx || sdev->fw_state != SOF_FW_BOOT_COMPLETE) in sof_ipc_send_msg()
44 return -ENODEV; in sof_ipc_send_msg()
47 * The spin-lock is needed to protect message objects against other in sof_ipc_send_msg()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-querycap.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCAP - Query device capabilities
47 .. flat-table:: struct v4l2_capability
48 :header-rows: 0
49 :stub-columns: 0
52 * - __u8
53 - ``driver``\ [16]
54 - Name of the driver, a unique NUL-terminated ASCII string. For
62 sure the strings are properly NUL-terminated.
63 * - __u8
[all …]
/linux/Documentation/devicetree/
H A Dusage-model.rst1 .. SPDX-License-Identifier: GPL-2.0
39 incompatible, bindings for i2c busses that came about because the new
40 binding was created without first investigating how i2c devices were
44 ----------
48 Device Tree to discover the topology of the hardware at runtime, and
56 In 2005, when PowerPC Linux began a major cleanup and to merge 32-bit
57 and 64-bit support, the decision was made to require DT support on all
61 blob without requiring a real Open Firmware implementation. U-Boot,
66 existing non-DT aware firmware.
74 -------------
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h2 * Copyright 2012-2023 Advanced Micro Devices, Inc.
108 // for example, 1080p -> 8K is 4.0, or 4000 raw value
116 // for example, 8K -> 1080p is 0.25, or 250 raw value
128 * DOC: color-management-caps
133 * abstracted HW. DCE 5-12 had almost no important changes, but starting with
140 * struct rom_curve_caps - predefined transfer function caps for degamma and regamma
156 * struct dpp_color_caps - color pipeline capabilities for display pipe and
161 * just plain 256-entry lookup
170 * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes
171 * @dgam_rom_caps: pre-definied curve caps for degamma 1D LUT
[all …]

123