Searched +full:i2c +full:- +full:sda +full:- +full:hold +full:- +full:time +full:- +full:ns (Results 1 – 25 of 29) sorted by relevance
12
/Linux-v6.1/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 | atmel,at91sam-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/i2c/atmel,at91sam-i2c.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: I2C for Atmel/Microchip platforms 11 - Alexandre Belloni <alexandre.belloni@bootlin.com> 16 - items: 17 - enum: 18 - atmel,at91rm9200-i2c 19 - atmel,at91sam9261-i2c [all …]
|
/Linux-v6.1/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-v6.1/arch/riscv/boot/dts/starfive/ |
D | jh7100-beaglev-starlight.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 15 compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; 22 stdout-path = "serial0:115200n8"; 26 timebase-frequency = <6250000>; 35 compatible = "gpio-leds"; 37 led-ack { [all …]
|
/Linux-v6.1/drivers/mfd/ |
D | intel-lpss-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include "intel-lpss.h" 23 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP), 37 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), 51 PROPERTY_ENTRY_U32("reg-io-width", 4), 52 PROPERTY_ENTRY_U32("reg-shift", 2), 53 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), 68 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP), 82 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), 83 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), [all …]
|
D | intel-lpss-pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include "intel-lpss.h" 40 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_pci_probe() 43 return -ENOMEM; in intel_lpss_pci_probe() 45 info->mem = &pdev->resource[0]; in intel_lpss_pci_probe() 46 info->irq = pdev->irq; in intel_lpss_pci_probe() 49 info->ignore_resource_conflicts = true; in intel_lpss_pci_probe() 51 pdev->d3cold_delay = 0; in intel_lpss_pci_probe() 57 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_pci_probe() 61 pm_runtime_put(&pdev->dev); in intel_lpss_pci_probe() [all …]
|
/Linux-v6.1/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/input/input.h> 14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 28 stdout-path = "serial0:115200n8"; [all …]
|
D | lan966x-pcb8309.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8309.dts - Device Tree file for PCB8309 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966"; 20 stdout-path = "serial0:115200n8"; 23 gpio-restart { 24 compatible = "gpio-restart"; 29 i2c-mux { [all …]
|
/Linux-v6.1/arch/mips/boot/dts/mscc/ |
D | jaguar2_common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 stdout-path = "serial0:115200n8"; 24 i2c-sda-hold-time-ns = <300>;
|
D | luton_pcb091.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 12 compatible = "mscc,luton-pcb091", "mscc,luton"; 19 stdout-path = "serial0:115200n8"; 29 i2c-sda-hold-time-ns = <300>;
|
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>; 51 phy-handle = <&phy0>; [all …]
|
D | serval_common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 20 stdout-path = "serial0:115200n8"; 23 i2c0_imux: i2c0-imux{ 24 compatible = "i2c-mux-pinctrl"; 25 #address-cells = <1>; 26 #size-cells = <0>; 27 i2c-parent = <&i2c0>; 28 pinctrl-names = 31 pinctrl-0 = <&i2cmux_0>; 32 pinctrl-1 = <&i2cmux_1>; [all …]
|
/Linux-v6.1/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-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 * struct 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> 31 #include "i2c-at91.h" 35 struct at91_twi_pdata *pdata = dev->pdata; in at91_init_twi_bus_master() 39 if (dev->fifo_size) in at91_init_twi_bus_master() 43 at91_twi_write(dev, AT91_TWI_CWGR, dev->twi_cwgr_reg); in at91_init_twi_bus_master() 46 if (pdata->has_dig_filtr && dev->enable_dig_filt) in at91_init_twi_bus_master() 50 if (pdata->has_adv_dig_filtr && dev->enable_dig_filt) in at91_init_twi_bus_master() [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" 33 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 34 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 36 /* Configure the I2C master */ in i2c_dw_configure_fifo_master() 37 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 44 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_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 */ 83 /* 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-v6.1/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> 24 #include <uapi/linux/i2c.h> 30 /* --- General options ------------------------------------------------ */ 44 /* I2C Frequency Modes */ 62 * transmit one message at a time, a more complex version can be used to 70 * i2c_master_recv - issue a single I2C message in master receive mode 84 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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> 44 #include "i2c-core.h" [all …]
|
/Linux-v6.1/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 …]
|
12