diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2018-01-10 21:59:37 +0300 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2018-01-15 17:13:47 +0300 |
commit | 070ab1283a57d7bfff5cce9ce58be64b90173a8f (patch) | |
tree | 91b7b1c2eaaf799f8adf0fae7609ccee90e4d1e1 /include | |
parent | 22edc8d38ba5e912d0fd0d4d23ed268ae152c5ee (diff) | |
download | linux-070ab1283a57d7bfff5cce9ce58be64b90173a8f.tar.xz |
drm/tinydrm/mipi-dbi: Add poweron-reset functions
Split out common poweron-reset functionality.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Tested-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110185940.53841-5-noralf@tronnes.org
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/tinydrm/mipi-dbi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/tinydrm/mipi-dbi.h b/include/drm/tinydrm/mipi-dbi.h index 6441d9a9161a..795a4a2205bb 100644 --- a/include/drm/tinydrm/mipi-dbi.h +++ b/include/drm/tinydrm/mipi-dbi.h @@ -73,6 +73,8 @@ void mipi_dbi_pipe_enable(struct drm_simple_display_pipe *pipe, void mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe); void mipi_dbi_hw_reset(struct mipi_dbi *mipi); bool mipi_dbi_display_is_on(struct mipi_dbi *mipi); +int mipi_dbi_poweron_reset(struct mipi_dbi *mipi); +int mipi_dbi_poweron_conditional_reset(struct mipi_dbi *mipi); u32 mipi_dbi_spi_cmd_max_speed(struct spi_device *spi, size_t len); int mipi_dbi_command_read(struct mipi_dbi *mipi, u8 cmd, u8 *val); |