Commit 340364b8 authored by Michal Vokáč's avatar Michal Vokáč Committed by Shawn Guo

ARM: dts: imx6dl-yapp4: Configure the OLED display segment offset

The imx6dl-yapp4 platform uses a GE-LX012864FWPP3N0000 OLED display.
The display consist of a 128x64 OLED panel and a SSD1305 controller.

The OLED panel resolution is 128x64 but the built-in controller default
resolution is 132x64. To display properly a segment offset needs to be
configured.
Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 14cdc1f2
......@@ -341,6 +341,7 @@ oled_1305: oled@3d {
solomon,height = <64>;
solomon,width = <128>;
solomon,page-offset = <0>;
solomon,col-offset = <4>;
solomon,prechargep2 = <15>;
reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
vbat-supply = <&sw2_reg>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment