91867ac7d6
This adds code to send read commands to read a single byte from the display, in order to perform MTP ID look-up of the mounted panel on the s6e63m0 controller. This is needed for proper biasing on the DSI variants. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Stephan Gerhold <stephan@gerhold.net> Cc: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Acked-by: Paul Cercueil <paul@crapouillou.net> Link: https://patchwork.freedesktop.org/patch/msgid/20200809215104.1830206-4-linus.walleij@linaro.org
14 lines
385 B
C
14 lines
385 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _PANEL_SAMSUNG_S6E63M0_H
|
|
#define _PANEL_SAMSUNG_S6E63M0_H
|
|
|
|
int s6e63m0_probe(struct device *dev,
|
|
int (*dcs_read)(struct device *dev, const u8 cmd, u8 *val),
|
|
int (*dcs_write)(struct device *dev, const u8 *data,
|
|
size_t len),
|
|
bool dsi_mode);
|
|
int s6e63m0_remove(struct device *dev);
|
|
|
|
#endif /* _PANEL_SAMSUNG_S6E63M0_H */
|