/linux-6.14.4/Documentation/devicetree/bindings/i3c/ |
D | i3c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <[email protected]> 11 - Miquel Raynal <[email protected]> 15 and a set of child nodes for each I2C or I3C slave on the bus. Each of them 20 pattern: "^i3c@[0-9a-f]+$" 22 "#address-cells": 25 Each I2C device connected to the bus should be described in a subnode. 35 this I3C device has a static I2C address and we want to assign it a [all …]
|
D | cdns,i3c-master.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Boris Brezillon <[email protected]> 13 - $ref: i3c.yaml# 17 const: cdns,i3c-master 25 clock-names: 27 - const: pclk 28 - const: sysclk [all …]
|
/linux-6.14.4/drivers/i2c/busses/ |
D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM IOC/IOMD i2c driver. 7 * On Acorn machines, the following i2c devices are on the bus: 8 * - PCF8583 real time clock & static RAM 11 #include <linux/i2c.h> 12 #include <linux/i2c-algo-bit.h> 19 #define SCL 0x02 macro 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 24 * Note also that we need to preserve the value of SCL and 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() [all …]
|
D | i2c-versatile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * i2c-versatile.c 10 #include <linux/i2c.h> 11 #include <linux/i2c-algo-bit.h> 20 #define SCL (1 << 0) macro 31 struct i2c_versatile *i2c = data; in i2c_versatile_setsda() local 33 writel(SDA, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setsda() 38 struct i2c_versatile *i2c = data; in i2c_versatile_setscl() local 40 writel(SCL, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setscl() 45 struct i2c_versatile *i2c = data; in i2c_versatile_getsda() local [all …]
|
D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Bitbanging I2C bus driver using the GPIO API 11 #include <linux/i2c-algo-bit.h> 12 #include <linux/i2c.h> 16 #include <linux/platform_data/i2c-gpio.h> 23 struct gpio_desc *scl; member 43 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 47 * Toggle SCL by changing the output value of the pin. This is used 48 * for pins that are configured as open drain and for output-only 49 * pins. The latter case will break the i2c protocol, but it will [all …]
|
D | i2c-stm32f7.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for STMicroelectronics STM32F7 I2C controller 5 * This I2C controller is described in the STM32F75xxx and STM32F74xxx Soc 14 * This driver is based on i2c-stm32f4.c 20 #include <linux/i2c.h> 21 #include <linux/i2c-smbus.h> 38 #include "i2c-stm32.h" 40 /* STM32F7 I2C registers */ 52 /* STM32F7 I2C control 1 */ 84 /* STM32F7 I2C control 2 */ [all …]
|
D | i2c-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * I2C adapter for the PXA I2C bus access. 8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd. 13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem] 14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem] 24 #include <linux/i2c.h> 34 #include <linux/platform_data/i2c-pxa.h> 38 /* I2C register field definitions */ 59 #define ICR_A3700_FM (1 << 16) /* fast mode for armada-3700 */ 60 #define ICR_A3700_HS (1 << 17) /* high speed mode for armada-3700 */ [all …]
|
D | i2c-omap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TI OMAP I2C master mode driver 7 * Copyright (C) 2004 - 2007 Texas Instruments. 20 #include <linux/i2c.h> 29 #include <linux/platform_data/i2c-omap.h> 34 /* I2C controller revisions */ 37 /* I2C controller revisions present on specific hardware */ 80 /* I2C Interrupt Enable Register (OMAP_I2C_IE): */ 89 /* I2C Status Register (OMAP_I2C_STAT): */ 103 /* I2C WE wakeup enable register */ [all …]
|
D | i2c-qcom-geni.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 7 #include <linux/dma-mapping.h> 8 #include <linux/dma/qcom-gpi-dma.h> 10 #include <linux/i2c.h> 17 #include <linux/soc/qcom/geni-se.h> 29 /* M_CMD OP codes for I2C */ 36 /* M_CMD params for I2C */ 47 /* I2C SCL COUNTER fields */ 77 #define ABORT_TIMEOUT HZ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/i2c/ |
D | st,stm32-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/st,stm32-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: I2C controller embedded in STMicroelectronics STM32 I2C platform 10 - Pierre-Yves MORDRET <pierre-[email protected]> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 19 - st,stm32f7-i2c 20 - st,stm32mp13-i2c [all …]
|
D | i2c-rk3x.yaml | 1 # 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 <[email protected]> 23 - const: rockchip,rv1108-i2c 24 - const: rockchip,rk3066-i2c [all …]
|
D | renesas,rcar-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/renesas,rcar-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car I2C Controller 10 - Wolfram Sang <wsa+renesas@sang-engineering.com> 15 - items: 16 - enum: 17 - renesas,i2c-r8a7778 # R-Car M1A 18 - renesas,i2c-r8a7779 # R-Car H1 [all …]
|
D | snps,designware-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/snps,designware-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DesignWare APB I2C Controller 10 - Jarkko Nikula <[email protected]> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 19 const: mscc,ocelot-i2c 28 - description: Generic Synopsys DesignWare I2C controller [all …]
|
D | i2c-mt65xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mt65xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek I2C controller 10 This driver interfaces with the native I2C controller present in 14 - $ref: /schemas/i2c/i2c-controller.yaml# 17 - Qii Wang <[email protected]> 22 - const: mediatek,mt2712-i2c 23 - const: mediatek,mt6577-i2c [all …]
|
D | samsung,s3c2410-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/samsung,s3c2410-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung S3C/S5P/Exynos SoC I2C Controller 10 - Krzysztof Kozlowski <[email protected]> 15 - enum: 16 - samsung,s3c2410-i2c 17 - samsung,s3c2440-i2c 18 # For s3c2440-like I2C used inside HDMIPHY block found on several SoCs: [all …]
|
/linux-6.14.4/arch/arm/boot/dts/rockchip/ |
D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/qcom/ |
D | sm8650.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8650-camcc.h> 8 #include <dt-bindings/clock/qcom,sm8650-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm8650-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8650-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8650-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8650-videocc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 8 #include <dt-bindings/clock/qcom,sm8550-camcc.h> 9 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
D | sar2130p.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sar2130p-gcc.h> 8 #include <dt-bindings/clock/qcom,sar2130p-gpucc.h> 9 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 11 #include <dt-bindings/interconnect/qcom,icc.h> 12 #include <dt-bindings/interconnect/qcom,sar2130p-rpmh.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/mailbox/qcom-ipcc.h> [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: regulator-pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
/linux-6.14.4/drivers/media/pci/ivtv/ |
D | ivtv-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 I2C functions 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <[email protected]> 10 This file includes an i2c implementation that was reverse engineered 11 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit, 13 CPU on the PVR-150 which handles IR functions (occasional inability to 14 communicate with the chip until it was reset) and also with the i2c 17 The implementation is very similar to i2c-algo-bit, but there are enough 19 employed by i2c-algo-bit is to use udelay() to implement the timing [all …]
|
/linux-6.14.4/drivers/iio/temperature/ |
D | mlx90614.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mlx90614.c - Support for Melexis MLX90614/MLX90615 contactless IR temperature sensor 9 * Driver for the Melexis MLX90614/MLX90615 I2C 16-bit IR thermopile sensor 11 * MLX90614 - 17-bit ADC + MLX90302 DSP 12 * MLX90615 - 16-bit ADC + MLX90325 DSP 14 * (7-bit I2C slave address 0x5a, 100KHz bus speed only!) 16 * To wake up from sleep mode, the SDA line must be held low while SCL is high 19 * will not interfere in I2C communication. While the GPIO is driven low, the 20 * i2c adapter is locked since it cannot be used by other clients. The SCL line 21 * always has a pull-up so we do not need an extra GPIO to drive it high. If [all …]
|
/linux-6.14.4/drivers/net/can/sja1000/ |
D | peak_pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com> 8 * Copyright (C) 2001-2006 PEAK System-Technik GmbH 18 #include <linux/i2c.h> 19 #include <linux/i2c-algo-bit.h> 25 MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>"); 26 MODULE_DESCRIPTION("Socket-CAN driver for PEAK PCAN PCI family cards"); 62 #define PEAK_PC_104P_DEVICE_ID 0x0006 /* PCAN-PC/104+ cards */ 63 #define PEAK_PCI_104E_DEVICE_ID 0x0007 /* PCAN-PCI/104 Express cards */ 65 #define PEAK_PCIE_OEM_ID 0x0009 /* PCAN-PCI Express OEM */ [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/renesas/ |
D | r8a779f0.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree Source for the R-Car S4-8 (R8A779F0) SoC 8 #include <dt-bindings/clock/r8a779f0-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a779f0-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 17 cluster01_opp: opp-table-0 { 18 compatible = "operating-points-v2"; 19 opp-shared; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx93-9x9-qsb-i3c.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/i3c/i3c.h> 8 #include <dt-bindings/usb/pd.h> 10 #include "imx93-pinfunc.h" 12 /dts-v1/; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_i3c1>; 22 #address-cells = <3>; 23 #size-cells = <0>; [all …]
|