Home
last modified time | relevance | path

Searched +full:lpc1788 +full:- +full:i2c (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/i2c/
H A Dnxp,lpc1788-i2c.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/i2c/nxp,lpc1788-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP I2C controller for LPC2xxx/178x/18xx/43xx
10 - Vladimir Zapolskiy <vz@mleia.com>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
17 const: nxp,lpc1788-i2c
28 clock-frequency:
29 description: the desired I2C bus clock frequency in Hz
[all …]
/linux/drivers/i2c/busses/
H A Di2c-lpc2k.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Code portions referenced from the i2x-pxa and i2c-pnx drivers
17 #include <linux/i2c.h>
46 /* I2C SCL clock has different duty cycle depending on mode */
52 * 26 possible I2C status codes, but codes applicable only
83 static void i2c_lpc2k_reset(struct lpc2k_i2c *i2c) in i2c_lpc2k_reset() argument
86 writel(LPC24XX_CLEAR_ALL, i2c->base + LPC24XX_I2CONCLR); in i2c_lpc2k_reset()
87 writel(0, i2c->base + LPC24XX_I2ADDR); in i2c_lpc2k_reset()
88 writel(LPC24XX_I2EN, i2c->base + LPC24XX_I2CONSET); in i2c_lpc2k_reset()
91 static int i2c_lpc2k_clear_arb(struct lpc2k_i2c *i2c) in i2c_lpc2k_clear_arb() argument
[all …]