summaryrefslogtreecommitdiff
path: root/drivers/i2c/mtk_i2c.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-07-24 11:50:25 -0600
committerTom Rini <trini@konsulko.com>2025-07-24 13:30:20 -0600
commit896f570d567cbc5526225c1303132f24b299df8b (patch)
tree429196aa4cc38ec9355d8f4228cdc704848b4221 /drivers/i2c/mtk_i2c.c
parent6d68ac9730c63197bcdf68748dc7990efea167a7 (diff)
parenta7ddab97aae511977860f756a8e25ccf81d0699d (diff)
Merge patch series "Add support for K3 BIST"HEADmaster
Neha Malcom Francis <n-francis@ti.com> says: This series implements a driver for the BIST (Built-In Self Test) module for K3 devices. The BIST driver must ideally support triggering of BIST tests, both PBIST (Memory BIST) and LBIST (Logic BIST) on a core. Both tests are destructive in nature. Please see links [1] and [2] for further information regarding the two. At boot up, BIST is executed by hardware for the MCU domain automatically as part of HW POST. So BIST has been checked only for the MCU domain when U-Boot comes up in the usual U-Boot to Linux boot flow. To facilitate the use-case where some safe firmware is intended to be run on a safe core, it is best to have triggered the BIST tests on that core. As an example, we take triggering the BIST tests on the MAIN R52_x cores. The triggering patch is kept as DONOTMERGE. The general procedure for triggering BIST on a core is: 1. Power on the core under test following a sequence 2. Trigger the BIST test 3. Reset the core under test following a sequence BIST tests are triggered from A72 SPL where the DM (Device Manager firmware that handles power management) is already up and can perform these power sequences for us. Boot logs (with LOG_DEBUG and CONFIG_K3_BIST enabled) and DT node kept (already merged to ti-k3-dts-next [3]): https://gist.github.com/nehamalcom/3fed504d038b54e3e05ba3874d73d603 [1] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/pbist.html#introduction [2] https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/sdl/sdl_docs/userguide/j721e/modules/lbist.html#introduction [3] https://lore.kernel.org/all/175205725858.918402.3771835070085533874.b4-ty@ti.com/ Link: https://lore.kernel.org/r/20250716062156.2564297-1-n-francis@ti.com
Diffstat (limited to 'drivers/i2c/mtk_i2c.c')
0 files changed, 0 insertions, 0 deletions