hx8357d.c (8284bae723f025cb6a8431566757a3854a3c53eb) hx8357d.c (216b9bbaeaea96b7f05c220f61855d174be972d8)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * DRM driver for the HX8357D LCD controller
4 *
5 * Copyright 2018 Broadcom
6 * Copyright 2018 David Lechner <david@lechnology.com>
7 * Copyright 2016 Noralf Trønnes
8 * Copyright (C) 2015 Adafruit Industries

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

176 }
177 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode);
178 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
179out_exit:
180 drm_dev_exit(idx);
181}
182
183static const struct drm_simple_display_pipe_funcs hx8357d_pipe_funcs = {
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * DRM driver for the HX8357D LCD controller
4 *
5 * Copyright 2018 Broadcom
6 * Copyright 2018 David Lechner <david@lechnology.com>
7 * Copyright 2016 Noralf Trønnes
8 * Copyright (C) 2015 Adafruit Industries

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

176 }
177 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode);
178 mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
179out_exit:
180 drm_dev_exit(idx);
181}
182
183static const struct drm_simple_display_pipe_funcs hx8357d_pipe_funcs = {
184 .mode_valid = mipi_dbi_pipe_mode_valid,
184 .enable = yx240qv29_enable,
185 .disable = mipi_dbi_pipe_disable,
186 .update = mipi_dbi_pipe_update,
187};
188
189static const struct drm_display_mode yx350hv15_mode = {
190 DRM_SIMPLE_MODE(320, 480, 60, 75),
191};

--- 102 unchanged lines hidden ---
185 .enable = yx240qv29_enable,
186 .disable = mipi_dbi_pipe_disable,
187 .update = mipi_dbi_pipe_update,
188};
189
190static const struct drm_display_mode yx350hv15_mode = {
191 DRM_SIMPLE_MODE(320, 480, 60, 75),
192};

--- 102 unchanged lines hidden ---