Commit graph

29 commits

Author SHA1 Message Date
Dan Halbert
90c1541e2c Merge remote-tracking branch 'espressif/master' into merge-2.0.12-to-circuitpython 2024-09-21 15:49:21 -04:00
robin
8e1ec63c99
Implement new idf-v5 I2C driver (#677)
* moved sccb to new i2c driver

* implemented val16 functions

* address to dev_handle translation

* moved new i2c driver to a seperate file

* removed old idf version warning
2024-09-13 14:10:59 +03:00
Scott Shawcroft
e8d500e948
Merge remote-tracking branch 'origin/master' into circuitpython 2023-09-20 14:34:14 -07:00
2cd2a6d69f
sccb: lower timeout when probing for camera
1000ms is too long. let's try 50ms.
2023-07-26 12:51:06 -05:00
2710e44802
sccb: don't perform an i2c bus scan 2023-07-26 12:50:38 -05:00
Patryk Ludwikowski
6edafc7501
fix: remove unnecessary new line in logs of driver initialization (#500)
yes - because it hurt my eyes to see logs with this one, weird empty line...
2023-03-30 11:42:17 +03:00
Wang Yu Xin
f3d04ea2c5 fix: change sccb_write return int value 2022-11-09 19:19:20 +08:00
Wang Yu Xin
ae60e38d57 feat: add sccb handle addr16_val16 reg type 2022-10-14 20:27:56 +08:00
microDev
80b5754456
merge upstream updates 2022-09-17 16:10:32 +05:30
Wang Yu Xin
77d71b03f3 feat: change sccb APIs for sharing i2c port with other devices 2022-08-12 20:18:06 +08:00
Jeff Epler
2c75c07b44 Fix up sccb driver 2022-07-29 14:19:40 -05:00
Jeff Epler
6c31a4dccd Allow specifying the i2c port to use for sccb
To do this, put NO_PIN (-1) in `pin_sccb_sda` and set `sccb_i2c_port`.
2022-07-28 12:10:55 -05:00
Me No Dev
9a902c4e1f
Update SCCB driver for IDF 5.x 2022-02-20 15:26:25 +02:00
yuxinwww
99fe5ae956
feat: add sccb freq option in menuconfig (#349)
In some scenarios, we need to initialize the camera sensor quickly. For example, take a few pictures after waking up from sleep mode.
The PR adds an option to set the sclk of sccb to improve sensor initialization time.
2022-01-18 16:43:23 +02:00
alic-maker
ef12131d43 fix memory leak find by unit test 2021-05-18 16:55:19 +08:00
me-no-dev
579fe966ae Add alpha ESP32-S3 support 2021-05-01 00:56:44 +03:00
me-no-dev
acf206a62a Add initial ESP32-S2 support 2021-04-30 16:51:03 +03:00
Me No Dev
a5ccbecf08
Add missing include for memset 2020-12-31 11:21:18 +02:00
Cedric Velandres
d70d104d3d
Update sccb.c
revert c09b387 and replace it with memset
2020-12-29 13:14:39 +08:00
Cedric Velandres
c09b387588 Bugfix: initialize i2c_config_t struct to zero
In some cases, initialization fails because some flags are not set to zero
2020-12-24 18:08:16 +08:00
me-no-dev
0347377b67 Limit to ESP32 and remove software I2C 2020-10-13 01:08:33 +03:00
me-no-dev
af931850f4 Some 7725 fixes 2020-06-03 22:54:57 +03:00
me-no-dev
ae32d52cc2 initial 5640 support 2020-03-12 00:42:57 +02:00
apiesse
c38999847b update Kconfig to remove the need of some of the ifdef stuff in the sccb.c file and show the setting only when hardware is selected 2020-03-06 09:20:47 +01:00
apiesse
a6e2ac208e Hardware I2C0/I2C1 for sccb communication 2020-03-05 17:30:21 +01:00
Bartlomiej Cieszkowski
fdb8aee4ae slave_addr was not used with SCCB_HARDWARE_I2C
Signed-off-by: Bartlomiej Cieszkowski <bartlomiej.cieszkowski@gmail.com>
2019-12-29 16:38:47 +01:00
XiaochaoGONG
f7fed18718 adjust for non Arduino 2019-04-02 16:23:23 +08:00
me-no-dev
ab9fe91133 Add support for Hardware I2C and OV3660 2019-03-10 15:20:58 +01:00
me-no-dev
0d2547a501 Initial Import 2018-11-15 14:22:09 +01:00