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 47) sorted by relevance

12

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/i2c/
Di2c-designware.txt1 * Synopsys DesignWare I2C
5 - compatible : should be "snps,designware-i2c"
6 - reg : Offset and length of the register set for the device
7 - interrupts : <IRQ> where IRQ is the interrupt number.
11 - clock-frequency : desired I2C bus clock frequency in Hz.
14 - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
17 - i2c-scl-falling-time-ns : should contain the SCL falling time in nanoseconds.
18 This value which is by default 300ns is used to compute the tLOW period.
20 - i2c-sda-falling-time-ns : should contain the SDA falling time in nanoseconds.
21 This value which is by default 300ns is used to compute the tHIGH period.
[all …]
Di2c-at91.txt1 I2C for Atmel platforms
4 - compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c",
5 "atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c",
6 "atmel,at91sam9x5-i2c", "atmel,sama5d4-i2c" or "atmel,sama5d2-i2c"
7 - reg: physical base address of the controller and length of memory mapped
9 - interrupts: interrupt number to the cpu.
10 - #address-cells = <1>;
11 - #size-cells = <0>;
12 - clocks: phandles to input clocks.
15 - clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
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 …]
Di2c-at91.txt1 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 …]
/kernel/linux/linux-5.10/arch/arc/boot/dts/
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 …]
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 …]
/kernel/linux/linux-4.19/arch/arc/boot/dts/
Dabilis_tb100_dvk.dts19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /dts-v1/;
41 pinctrl-names = "default";
42 pinctrl-0 = <&pctl_uart0>;
45 phy-mode = "rgmii";
48 i2c0: i2c@FF120000 {
49 i2c-sda-hold-time-ns = <432>;
51 i2c1: i2c@FF121000 {
52 i2c-sda-hold-time-ns = <432>;
54 i2c2: i2c@FF122000 {
[all …]
Dabilis_tb101_dvk.dts19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /dts-v1/;
41 pinctrl-names = "default";
42 pinctrl-0 = <&pctl_uart0>;
45 phy-mode = "rgmii";
48 i2c0: i2c@FF120000 {
49 i2c-sda-hold-time-ns = <432>;
51 i2c1: i2c@FF121000 {
52 i2c-sda-hold-time-ns = <432>;
54 i2c2: i2c@FF122000 {
[all …]
/kernel/linux/linux-4.19/drivers/mfd/
Dintel-lpss-acpi.c23 #include "intel-lpss.h"
26 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
40 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
41 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
42 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
52 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207),
53 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
54 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
84 id = acpi_match_device(intel_lpss_acpi_ids, &pdev->dev); in intel_lpss_acpi_probe()
86 return -ENODEV; in intel_lpss_acpi_probe()
[all …]
Dintel-lpss-pci.c22 #include "intel-lpss.h"
34 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_pci_probe()
37 return -ENOMEM; in intel_lpss_pci_probe()
39 info->mem = &pdev->resource[0]; in intel_lpss_pci_probe()
40 info->irq = pdev->irq; in intel_lpss_pci_probe()
42 pdev->d3cold_delay = 0; in intel_lpss_pci_probe()
48 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_pci_probe()
52 pm_runtime_put(&pdev->dev); in intel_lpss_pci_probe()
53 pm_runtime_allow(&pdev->dev); in intel_lpss_pci_probe()
60 pm_runtime_forbid(&pdev->dev); in intel_lpss_pci_remove()
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dintel-lpss-acpi.c1 // 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 …]
Dintel-lpss-pci.c1 // 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dat91-sama5d2_xplained.dts1 // 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 …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/mscc/
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>;
50 phy-handle = <&phy0>;
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-rk3x.c1 // 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 …]
Di2c-axxia.c1 // 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 …]
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>
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 …]
Di2c-altera.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/i2c/busses/
Di2c-rk3x.c2 * Driver for I2C adapter in Rockchip RK3xxx SoC
14 #include <linux/i2c.h>
86 * @min_hold_start_ns: min hold time (repeated) START condition
89 * @min_setup_start_ns: min set-up time for a repeated START conditio
90 * @max_data_hold_ns: max data hold time
91 * @min_data_setup_ns: min data set-up time
92 * @min_setup_stop_ns: min set-up time for STOP condition
93 * @min_hold_buffer_ns: min bus free time between a STOP and
144 * @tuning: Used to adjust setup/hold data time,
145 * setup/hold start time and setup stop time for
[all …]
Di2c-axxia.c2 * This driver implements I2C master functionality using the LSI API2C
6 * maximum 255 bytes at a time. If a larger transfer is attempted, error code
7 * (-EINVAL) is returned.
16 #include <linux/i2c.h>
87 * axxia_i2c_dev - I2C device context
94 * @adapter: core i2c abstraction
95 * @i2c_clk: clock reference for i2c input clock
96 * @bus_clk_rate: current i2c bus clock rate
114 int_en = readl(idev->base + MST_INT_ENABLE); in i2c_int_disable()
115 writel(int_en & ~mask, idev->base + MST_INT_ENABLE); in i2c_int_disable()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/microchip/
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 = <2>;
28 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/include/linux/
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>
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 …]
/kernel/linux/linux-4.19/include/linux/
Di2c.h1 /* ------------------------------------------------------------------------- */
3 /* i2c.h - definitions for the i2c-bus interface */
5 /* ------------------------------------------------------------------------- */
6 /* Copyright (C) 1995-2000 Simon G. Vogl
21 MA 02110-1301 USA. */
22 /* ------------------------------------------------------------------------- */
37 #include <uapi/linux/i2c.h>
43 /* --- General options ------------------------------------------------ */
63 * transmit one message at a time, a more complex version can be used to
71 * i2c_master_recv - issue a single I2C message in master receive mode
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/hisilicon/
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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/
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 …]

12