/Linux-v5.10/Documentation/devicetree/bindings/i2c/ |
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 <jarkko.nikula@linux.intel.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 19 const: mscc,ocelot-i2c 28 - description: Generic Synopsys DesignWare I2C controller [all …]
|
D | i2c-at91.txt | 1 I2C for Atmel platforms 4 - compatible : Must be one of: 5 "atmel,at91rm9200-i2c", 6 "atmel,at91sam9261-i2c", 7 "atmel,at91sam9260-i2c", 8 "atmel,at91sam9g20-i2c", 9 "atmel,at91sam9g10-i2c", 10 "atmel,at91sam9x5-i2c", 11 "atmel,sama5d4-i2c", 12 "atmel,sama5d2-i2c", [all …]
|
/Linux-v5.10/arch/arc/boot/dts/ |
D | abilis_tb100_dvk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 10 /dts-v1/; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pctl_uart0>; 33 phy-mode = "rgmii"; 36 i2c0: i2c@ff120000 { 37 i2c-sda-hold-time-ns = <432>; 39 i2c1: i2c@ff121000 { 40 i2c-sda-hold-time-ns = <432>; 42 i2c2: i2c@ff122000 { [all …]
|
D | abilis_tb101_dvk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 10 /dts-v1/; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pctl_uart0>; 33 phy-mode = "rgmii"; 36 i2c0: i2c@ff120000 { 37 i2c-sda-hold-time-ns = <432>; 39 i2c1: i2c@ff121000 { 40 i2c-sda-hold-time-ns = <432>; 42 i2c2: i2c@ff122000 { [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | intel-lpss-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "intel-lpss.h" 26 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), 36 PROPERTY_ENTRY_U32("reg-io-width", 4), 37 PROPERTY_ENTRY_U32("reg-shift", 2), 38 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), 53 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), 54 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), 55 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208), 65 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207), [all …]
|
D | intel-lpss-pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "intel-lpss.h" 30 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_pci_probe() 33 return -ENOMEM; in intel_lpss_pci_probe() 35 info->mem = &pdev->resource[0]; in intel_lpss_pci_probe() 36 info->irq = pdev->irq; in intel_lpss_pci_probe() 38 pdev->d3cold_delay = 0; in intel_lpss_pci_probe() 44 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_pci_probe() 48 pm_runtime_put(&pdev->dev); in intel_lpss_pci_probe() 49 pm_runtime_allow(&pdev->dev); in intel_lpss_pci_probe() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | at91-sama5d2_xplained.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board 8 /dts-v1/; 10 #include "sama5d2-pinfunc.h" 11 #include <dt-bindings/mfd/atmel-flexcom.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 17 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 27 stdout-path = "serial0:115200n8"; 32 clock-frequency = <32768>; [all …]
|
/Linux-v5.10/arch/mips/boot/dts/mscc/ |
D | ocelot_pcb123.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 /dts-v1/; 9 compatible = "mscc,ocelot-pcb123", "mscc,ocelot"; 12 stdout-path = "serial0:115200n8"; 33 compatible = "macronix,mx25l25635f", "jedec,spi-nor"; 34 spi-max-frequency = <20000000>; 39 &i2c { 40 clock-frequency = <100000>; 41 i2c-sda-hold-time-ns = <300>; 50 phy-handle = <&phy0>; [all …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-rk3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for I2C adapter in Rockchip RK3xxx SoC 11 #include <linux/i2c.h> 84 * @min_hold_start_ns: min hold time (repeated) START condition 87 * @min_setup_start_ns: min set-up time for a repeated START conditio 88 * @max_data_hold_ns: max data hold time 89 * @min_data_setup_ns: min data set-up time 90 * @min_setup_stop_ns: min set-up time for STOP condition 91 * @min_hold_buffer_ns: min bus free time between a STOP and 142 * @tuning: Used to adjust setup/hold data time, [all …]
|
D | i2c-axxia.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This driver implements I2C master functionality using the LSI API2C 7 * maximum 255 bytes at a time. If a larger transfer is attempted, error code 8 * (-EINVAL) is returned. 14 #include <linux/i2c.h> 84 #define SLV_ADDR_DEC_SA1M BIT(3) /* 10-bit addressing for addr_1 enabled */ 86 #define SLV_ADDR_DEC_SA2M BIT(5) /* 10-bit addressing for addr_2 enabled */ 121 * axxia_i2c_dev - I2C device context 130 * @adapter: core i2c abstraction 131 * @i2c_clk: clock reference for i2c input clock [all …]
|
D | i2c-designware-master.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Synopsys DesignWare I2C adapter driver (master only). 5 * Based on the TI DAVINCI I2C adapter driver. 16 #include <linux/i2c.h> 24 #include "i2c-designware-core.h" 29 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 30 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 32 /* Configure the I2C master */ in i2c_dw_configure_fifo_master() 33 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 41 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master() [all …]
|
D | i2c-altera.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on the i2c-axxia.c driver. 10 #include <linux/i2c.h> 46 #define ALTR_I2C_SDA_HOLD 0x28 /* SDA hold count register */ 58 * altr_i2c_dev - I2C device context 65 * @adapter: core i2c abstraction 66 * @i2c_clk: clock reference for i2c input clock 67 * @bus_clk_rate: current i2c bus clock rate 96 int_en = readl(idev->base + ALTR_I2C_ISER); in altr_i2c_int_enable() 98 idev->isr_mask = int_en | mask; in altr_i2c_int_enable() [all …]
|
D | i2c-at91-master.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c Support for Atmel's AT91 Two-Wire Interface (TWI) 18 #include <linux/dma-mapping.h> 22 #include <linux/i2c.h> 29 #include <linux/platform_data/dma-atmel.h> 32 #include "i2c-at91.h" 36 struct at91_twi_pdata *pdata = dev->pdata; in at91_init_twi_bus_master() 40 if (dev->fifo_size) in at91_init_twi_bus_master() 44 at91_twi_write(dev, AT91_TWI_CWGR, dev->twi_cwgr_reg); in at91_init_twi_bus_master() 47 if (pdata->has_dig_filtr && dev->enable_dig_filt) in at91_init_twi_bus_master() [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 */ 80 /* STM32F7 I2C control 2 */ [all …]
|
D | i2c-img-scb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * I2C adapter for the IMG Serial Control Bus (SCB) IP block. 7 * There are three ways that this I2C controller can be driven: 9 * - Raw control of the SDA and SCK signals. 15 * - Atomic commands. A low level I2C symbol (such as generate 20 * This mode of operation is used by MODE_ATOMIC, which uses an I2C 21 * state machine in the interrupt handler to compose/react to I2C 26 * in suboptimal use of the bus, with gaps between the I2C symbols while 29 * - Automatic mode. A bus address, and whether to read/write is 30 * specified, and the hardware takes care of the I2C state machine, [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/microchip/ |
D | sparx5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/microchip,sparx5.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <1>; 23 stdout-path = "serial0:115200n8"; 27 #address-cells = <2>; 28 #size-cells = <0>; [all …]
|
/Linux-v5.10/include/linux/ |
D | i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * i2c.h - definitions for the Linux i2c bus interface 4 * Copyright (C) 1995-2000 Simon G. Vogl 5 * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org> 22 #include <uapi/linux/i2c.h> 28 /* --- General options ------------------------------------------------ */ 42 /* I2C Frequency Modes */ 57 * transmit one message at a time, a more complex version can be used to 65 * i2c_master_recv - issue a single I2C message in master receive mode 79 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/hisilicon/ |
D | hi6220.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/reset/hisi,hi6220-resets.h> 10 #include <dt-bindings/clock/hi6220-clock.h> 11 #include <dt-bindings/pinctrl/hisi.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 21 compatible = "arm,psci-0.2"; [all …]
|
/Linux-v5.10/drivers/i2c/ |
D | i2c-core-base.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux I2C core 5 * Copyright (C) 1995-99 Simon G. Vogl 10 * Copyright (C) 2013-2017 Wolfram Sang <wsa@kernel.org> 13 #define pr_fmt(fmt) "i2c-core: " fmt 15 #include <dt-bindings/i2c/i2c.h> 17 #include <linux/clk/clk-conf.h> 23 #include <linux/i2c.h> 24 #include <linux/i2c-smbus.h> 43 #include "i2c-core.h" [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 29 * ixgbe_out_i2c_byte_ack - Send I2C byte with ack 46 * ixgbe_in_i2c_byte_ack - Receive an I2C byte and send ack 64 * ixgbe_ones_comp_byte_add - Perform one's complement addition 68 * Returns one's complement 8-bit sum. 79 * ixgbe_read_i2c_combined_generic_int - Perform I2C read combined operation 81 * @addr: I2C bus address to read from 82 * @reg: I2C device register to read from 91 u32 swfw_mask = hw->phy.phy_semaphore_mask; in ixgbe_read_i2c_combined_generic_int() [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/arm/ |
D | juno-base.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "juno-clocks.dtsi" 3 #include "juno-motherboard.dtsi" 11 compatible = "arm,armv7-timer-mem"; 13 clock-frequency = <50000000>; 14 #address-cells = <1>; 15 #size-cells = <1>; 19 frame-number = <1>; 30 interrupt-names = "mhu_lpri_rx", 32 #mbox-cells = <1>; [all …]
|
/Linux-v5.10/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 28 void __iomem *base = core->base; in hdmi5_core_ddc_init() 30 const unsigned int ss_scl_high = 4700; /* ns */ in hdmi5_core_ddc_init() 31 const unsigned int ss_scl_low = 5500; /* ns */ in hdmi5_core_ddc_init() 32 const unsigned int fs_scl_high = 600; /* ns */ in hdmi5_core_ddc_init() 33 const unsigned int fs_scl_low = 1300; /* ns */ in hdmi5_core_ddc_init() 34 const unsigned int sda_hold = 1000; /* ns */ in hdmi5_core_ddc_init() 79 /* SDA Hold Time */ in hdmi5_core_ddc_init() 107 void __iomem *base = core->base; in hdmi5_core_ddc_uninit() [all …]
|
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi5_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 void __iomem *base = core->base; in hdmi_core_ddc_init() 43 const unsigned ss_scl_high = 4600; /* ns */ in hdmi_core_ddc_init() 44 const unsigned ss_scl_low = 5400; /* ns */ in hdmi_core_ddc_init() 45 const unsigned fs_scl_high = 600; /* ns */ in hdmi_core_ddc_init() 46 const unsigned fs_scl_low = 1300; /* ns */ in hdmi_core_ddc_init() 47 const unsigned sda_hold = 1000; /* ns */ in hdmi_core_ddc_init() 92 /* SDA Hold Time */ in hdmi_core_ddc_init() 120 void __iomem *base = core->base; in hdmi_core_ddc_uninit() 122 /* Mask I2C interrupts */ in hdmi_core_ddc_uninit() [all …]
|
/Linux-v5.10/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 74 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 200 /*----------------------------------------------------------------------------- 202 ----------------------------------------------------------------------------*/ 204 /*----------------------------------------------------------------------------- 206 ----------------------------------------------------------------------------*/ 208 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 213 * \brief Default I2C address of a demodulator instance. [all …]
|