aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/iproc_i2c.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 17:25:30 +1300
committerSimon Glass <sjg@chromium.org>2021-03-26 17:03:08 +1300
commit728d04cc72855e23f6a9116e68911dcac5be4693 (patch)
treee363c8a2c362a9d144fe80c75fafc0a731f0de96 /drivers/i2c/iproc_i2c.c
parentabaed70990bd8eb2c9992a16465f8a9daa4c5f61 (diff)
sandbox: i2c: Support i2c emulation with of-platdata
At present the i2c emulators require access to the devicetree, which is not possible (by design) with of-platdata. Add a way for drivers to record the of-platdata index of their emulator, so that we can still find the emulator. This allows i2c emulation to work with of-platdata. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c/iproc_i2c.c')
0 files changed, 0 insertions, 0 deletions