Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:sda +full:- +full:hold +full:- +full:time +full:- +full:ns (Results 1 – 25 of 26) sorted by relevance

12

/linux/Documentation/devicetree/bindings/i2c/
H A Dsnps,designware-i2c.yaml1 # 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 …]
H A Dhisilicon,ascend910-i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/hisilicon,ascend910-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HiSilicon common I2C controller
10 - Yicong Yang <yangyicong@hisilicon.com>
13 The HiSilicon common I2C controller can be used for many different
17 - $ref: /schemas/i2c/i2c-controller.yaml#
21 const: hisilicon,ascend910-i2c
32 clock-frequency:
[all …]
H A Datmel,at91sam-i2c.yaml1 # 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/arch/arc/boot/dts/
H A Dabilis_tb100_dvk.dts1 // 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 …]
H A Dabilis_tb101_dvk.dts1 // 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/drivers/mfd/
H A Dintel-lpss-acpi.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include "intel-lpss.h"
28 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP),
42 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
56 PROPERTY_ENTRY_U32("reg-io-width", 4),
57 PROPERTY_ENTRY_U32("reg-shift", 2),
58 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"),
73 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP),
87 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
88 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
[all …]
H A Dintel-lpss-pci.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include "intel-lpss.h"
48 const struct intel_lpss_platform_info *data = (void *)id->driver_data; in intel_lpss_pci_probe()
61 info = devm_kmemdup(&pdev->dev, data, sizeof(*info), GFP_KERNEL); in intel_lpss_pci_probe()
63 return -ENOMEM; in intel_lpss_pci_probe()
66 info->mem = pci_resource_n(pdev, 0); in intel_lpss_pci_probe()
67 info->irq = pci_irq_vector(pdev, 0); in intel_lpss_pci_probe()
71 info->quirks = quirk_pci_info->driver_data; in intel_lpss_pci_probe()
73 pdev->d3cold_delay = 0; in intel_lpss_pci_probe()
79 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_pci_probe()
[all …]
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110-common.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 /dts-v1/;
9 #include "jh7110-pinfunc.h"
10 #include <dt-bindings/gpio/gpio.h>
25 stdout-path = "serial0:115200n8";
33 gpio-restart {
34 compatible = "gpio-restart";
39 pwmdac_codec: audio-codec {
40 compatible = "linux,spdif-dit";
41 #sound-dai-cells = <0>;
[all …]
H A Djh7100-common.dtsi1 // 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>
21 stdout-path = "serial0:115200n8";
25 timebase-frequency = <6250000>;
34 compatible = "gpio-leds";
36 led-ack {
40 linux,default-trigger = "heartbeat";
[all …]
/linux/arch/mips/boot/dts/mscc/
H A Djaguar2_common.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 stdout-path = "serial0:115200n8";
24 i2c-sda-hold-time-ns = <300>;
H A Dluton_pcb091.dts1 // 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>;
H A Docelot_pcb123.dts1 // 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 …]
H A Dserval_common.dtsi1 // 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/arch/arm/boot/dts/microchip/
H A Dlan966x-pcb8309.dts1 // 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 …]
H A Dat91-sama5d29_curiosity.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d29_curiosity.dts - Device Tree file for SAMA5D29 Curiosity board
10 /dts-v1/;
12 #include "sama5d2-pinfunc.h"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/mfd/atmel-flexcom.h>
19 compatible = "microchip,sama5d29-curiosity", "atmel,sama5d29", "atmel,sama5d2", "atmel,sama5";
33 stdout-path = "serial0:115200n8";
38 clock-frequency = <32768>;
[all …]
/linux/include/linux/
H A Di2c.h1 /* 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 ------------------------------------------------ */
43 /* I2C Frequency Modes */
61 * transmit one message at a time, a more complex version can be used to
69 * i2c_master_recv - issue a single I2C message in master receive mode
83 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode
[all …]
/linux/arch/arm64/boot/dts/microchip/
H A Dsparx5.dtsi1 // 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 = <1>;
28 #size-cells = <0>;
[all …]
/linux/arch/arm64/boot/dts/amd/
H A Delba.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Copyright 2020-2022 Advanced Micro Devices, Inc.
6 #include <dt-bindings/gpio/gpio.h>
7 #include "dt-bindings/interrupt-controller/arm-gic.h"
11 compatible = "amd,pensando-elba";
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
16 dma-coherent;
19 compatible = "fixed-clock";
[all …]
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi6220.dtsi1 // 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/drivers/i2c/busses/
H A Di2c-designware-master.c1 // 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>
27 #include "i2c-designware-core.h"
36 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
37 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
39 /* Configure the I2C master */ in i2c_dw_configure_fifo_master()
40 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
47 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
[all …]
/linux/drivers/i2c/
H A Di2c-core-base.c1 // 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>
24 #include <linux/i2c.h>
25 #include <linux/i2c-smbus.h>
46 #include "i2c-core.h"
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c1 // 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/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi5_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014 Texas Instruments Incorporated - https://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/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi5_core.c1 // 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/arch/arm64/boot/dts/arm/
H A Djuno-base.dtsi1 // 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>;
31 #mbox-cells = <1>;
33 clock-names = "apb_pclk";
[all …]

12