Searched +full:lpc1788 +full:- +full:i2c (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---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/43xx10 - Vladimir Zapolskiy <vz@mleia.com>13 - $ref: /schemas/i2c/i2c-controller.yaml#17 const: nxp,lpc1788-i2c28 clock-frequency:29 description: the desired I2C bus clock frequency in Hz[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later5 * Code portions referenced from the i2x-pxa and i2c-pnx drivers17 #include <linux/i2c.h>46 /* I2C SCL clock has different duty cycle depending on mode */52 * 26 possible I2C status codes, but codes applicable only83 static void i2c_lpc2k_reset(struct lpc2k_i2c *i2c) in i2c_lpc2k_reset() argument86 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 …]