Lines Matching defs:i2c
3 * i2c driver for Freescale i.MX series
9 * Based on i2c-imx.c from linux kernel:
28 #include <i2c.h>
231 * Stub implementations for outer i2c slave operations.
270 /* Reset i2c slave */
380 * See Linux Documentation/devicetree/bindings/i2c/i2c-imx.txt
384 * add pinctrl to configure i2c pins to gpio function for i2c
393 struct dm_i2c_bus *i2c = dev_get_uclass_priv(bus);
403 * GPIO pinctrl for i2c force idle is not a must,
406 * i2c bus state. Do not return failure, because
432 if (i2c->max_transaction_bytes > 0)
433 idle_sclks = i2c->max_transaction_bytes * 8 + 1;
743 debug("Error i2c index\n");
792 * Register mxc i2c adapters
897 printf("Failed to get i2c clk\n");
902 printf("Failed to enable i2c clk\n");
912 * See Documentation/devicetree/bindings/i2c/i2c-imx.txt
917 debug("i2c bus %d at 0x%2lx, no gpio pinctrl state.\n",
930 "i2c bus %d at 0x%2lx, fail to request scl/sda gpio\n",
941 debug("i2c : controller bus %d at 0x%lx , speed %d: ",
1038 { .compatible = "fsl,imx21-i2c", },
1039 { .compatible = "fsl,vf610-i2c", .data = I2C_QUIRK_FLAG, },