Home
last modified time | relevance | path

Searched +full:bus +full:- +full:capacitance +full:- +full:pf (Results 1 – 4 of 4) sorted by relevance

/linux-6.14.4/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#
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
29 const: snps,designware-i2c
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/ieee802154/
Dat86rf230.txt4 - compatible: should be "atmel,at86rf230", "atmel,at86rf231",
6 - spi-max-frequency: maximal bus speed, should be set to 7500000 depends
8 - reg: the chipselect index
9 - interrupts: the interrupt generated by the device. Non high-level
13 - reset-gpio: GPIO spec for the rstn pin
14 - sleep-gpio: GPIO spec for the slp_tr pin
15 - xtal-trim: u8 value for fine tuning the internal capacitance
16 arrays of xtal pins: 0 = +0 pF, 0xf = +4.5 pF
22 spi-max-frequency = <7500000>;
25 interrupt-parent = <&gpio3>;
[all …]
/linux-6.14.4/drivers/i2c/busses/
Di2c-designware-master.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 #include "i2c-designware-core.h"
37 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master()
38 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master()
41 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master()
48 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
57 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master()
63 sda_falling_time = t->sda_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master()
64 scl_falling_time = t->scl_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master()
67 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master()
[all …]
Di2c-designware-common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 #include "i2c-designware-core.h"
63 "slave lost the bus while transmitting data to a remote master",
65 "incorrect slave-transmitter mode configuration",
72 *val = readl(dev->base + reg); in dw_reg_read()
81 writel(val, dev->base + reg); in dw_reg_write()
90 *val = swab32(readl(dev->base + reg)); in dw_reg_read_swab()
99 writel(swab32(val), dev->base + reg); in dw_reg_write_swab()
108 *val = readw(dev->base + reg) | in dw_reg_read_word()
109 (readw(dev->base + reg + 2) << 16); in dw_reg_read_word()
[all …]