IMX I2C driver#662
Conversation
| ${CC} ${CFLAGS} -c -o $@ $< | ||
|
|
||
| i2c/i2c_common.o: CFLAGS+=-I${I2C_DRIVER_DIR} | ||
| i2c/i2c_common.o: ${I2C_DRIVER_DIR}/../i2c_common.c |i2c $(SDDF_LIBC_INCLUDE) |
There was a problem hiding this comment.
this seems a bit weird with the relative paths
There was a problem hiding this comment.
The other i2c drivers are identical, so I will leave this as is. If we want to change it, worth an issue to do this to all of them.
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au> Timer tests out with acacia Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au> Serial tests out with Acacia Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au> Refactor: acacia_sddf is now a python module that inherits all subfiles, sDDF itself is a python module for import! Needed for SDK Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au> Fix issues with i2c.py - maps were swapped. Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au> Further fixes to keep up with Acacia PR request changes Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
6f4207a to
51905a9
Compare
|
This is now ready for review, albeit is unmergable until we have put Acacia into the tree under this. |
|
Completely unclear to me as to why the license check was failing on i2c_driver.mk before?? It has a comment. Just making a new commit to make it check again fixed it (alongside deleting the redundant, copyright-less config.json) |
|
CI tests currently borked due to not installing Acacia. I will add this in the sdfgenpy branch this branch is sitting on top of. But: there is a CI test that will work if you run it locally with Acacia installed. |
|
I need to fix coauthored-by for the initial driver commit |
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
…o disabled in dtb Signed-off-by: Lesley Rossouw <lesley.rossouw@unsw.edu.au>
This PR adds support for the I2C core of almost IMX8M boards. This was only tested on the IMX8MQ on the Maaxboard for now however, but theoretically this should work for all other IMX8MQ and IMX8Mmini boards.
On the Maaxboard, there is an odd quirk. Using any bus other than I2C1 (PMIC bus) causes the driver to silently hang. Consulting with @midnightveil and @Ivan-Velickovic leads me to believe that this is probably due to the other I2C buses being clock gated at boot.
This PR is a draft that we are rushing for a deliverable. We need to do the following things before merging: