Skip to content

Commit

Permalink
ARM: dts: imx6dl-yapp4: Configure the OLED display segment offset
Browse files Browse the repository at this point in the history
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: Michal Vokáč <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
zandar authored and Shawn Guo committed May 13, 2021
1 parent 14cdc1f commit 340364b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
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>;
Expand Down

0 comments on commit 340364b

Please sign in to comment.