diff options
author | Michal Vokáč <michal.vokac@ysoft.com> | 2021-04-13 18:01:16 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-05-13 10:05:02 +0300 |
commit | 340364b8b10a537644d2beb20e79b7fe9cbb1ebf (patch) | |
tree | 0517e32dd457d67eda9d541d1bef11bc721d700c /arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | |
parent | 14cdc1f243d79e0b46be150502b7dba9c5a6bdfd (diff) | |
download | linux-340364b8b10a537644d2beb20e79b7fe9cbb1ebf.tar.xz |
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: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-yapp4-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 7d2c72562c73..f2c7298aead1 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -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>; |