diff options
| author | Javier Martinez Canillas <[email protected]> | 2022-06-18 19:43:38 +0200 |
|---|---|---|
| committer | Javier Martinez Canillas <[email protected]> | 2022-07-18 10:38:42 +0200 |
| commit | 6fc20a8592f569395aadc9fd97336facdee84f0d (patch) | |
| tree | 13be1ead61396cf67009587ea7202126cfc378bc /tools/perf/scripts/python/libxed.py | |
| parent | 53618649ca6ded3222b24e8d25a09be30a197577 (diff) | |
drm/ssd130x: Use new regmap bulk write support to drop custom bus
Data writes for the ssd130x 4-wire SPI protocol need special handling, due
the Data/Command control (D/C) pin having to be toggled prior to the write.
The regmap API only allowed drivers to provide .reg_{read,write} callbacks
to do per register read/write, but didn't provide a way for drivers to do
the same for bulk read/writes.
For this reason, a custom regmap bus was used by the driver just to define
a bulk write callback that implements the D/C pin toggling. But the regmap
API has been extended to support defining bulk read/write handlers, so the
custom regmap bus is not needed anymore and could just be dropped.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions