ili9163.c (8284bae723f025cb6a8431566757a3854a3c53eb) ili9163.c (216b9bbaeaea96b7f05c220f61855d174be972d8)
1// SPDX-License-Identifier: GPL-2.0+
2
3#include <linux/backlight.h>
4#include <linux/delay.h>
5#include <linux/gpio/consumer.h>
6#include <linux/module.h>
7#include <linux/property.h>
8#include <linux/spi/spi.h>

--- 86 unchanged lines hidden (view full) ---

95 addr_mode |= ILI9163_MADCTL_BGR;
96 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode);
97 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
98out_exit:
99 drm_dev_exit(idx);
100}
101
102static const struct drm_simple_display_pipe_funcs ili9163_pipe_funcs = {
1// SPDX-License-Identifier: GPL-2.0+
2
3#include <linux/backlight.h>
4#include <linux/delay.h>
5#include <linux/gpio/consumer.h>
6#include <linux/module.h>
7#include <linux/property.h>
8#include <linux/spi/spi.h>

--- 86 unchanged lines hidden (view full) ---

95 addr_mode |= ILI9163_MADCTL_BGR;
96 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode);
97 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
98out_exit:
99 drm_dev_exit(idx);
100}
101
102static const struct drm_simple_display_pipe_funcs ili9163_pipe_funcs = {
103 .mode_valid = mipi_dbi_pipe_mode_valid,
103 .enable = yx240qv29_enable,
104 .disable = mipi_dbi_pipe_disable,
105 .update = mipi_dbi_pipe_update,
106 .prepare_fb = drm_gem_simple_display_pipe_prepare_fb,
107};
108
109static const struct drm_display_mode yx240qv29_mode = {
110 DRM_SIMPLE_MODE(128, 160, 28, 35),

--- 113 unchanged lines hidden ---
104 .enable = yx240qv29_enable,
105 .disable = mipi_dbi_pipe_disable,
106 .update = mipi_dbi_pipe_update,
107 .prepare_fb = drm_gem_simple_display_pipe_prepare_fb,
108};
109
110static const struct drm_display_mode yx240qv29_mode = {
111 DRM_SIMPLE_MODE(128, 160, 28, 35),

--- 113 unchanged lines hidden ---