Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4317014pxj; Wed, 12 May 2021 02:58:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2hrGk/kpCBTdOzcqF3f+WEdXfTSpVYoKX+L0bm4EsfNisF2OYeZSwmk8akbAlwHzX5lI1 X-Received: by 2002:aa7:db0c:: with SMTP id t12mr41899421eds.72.1620813504645; Wed, 12 May 2021 02:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620813504; cv=none; d=google.com; s=arc-20160816; b=v406GLNCU+DB5WqXRhwcMoZdxhtE8Hb1RzH+pqNRWzEgnQu1U/slu+nxA0AtxtJZiD advvux88TS9bHMG4G53g9npbSKDq36ekdJ5DALzZph8ncVfk1hlxHDjPXDDnl/nDh9wK w6sU0e3LEiYJjGuWmMsdXin5lzNWWiwkHz+Nkx8GN8iw7rN6AnlCqhvFQtDM1/Lvaehk 2ki/ljQ/0QNf3D11m3/TiXx0/PN8c8VtBXRqTQGpq4HLDJFvCyihq9rZ+7tDn8LT3jkG s+kvRdMAR8EV+MfMv20ocMGS7xERwFG1VySDmMf+bLYlTpTLElMgDB1A2dIxINuelmG1 ji3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ppuEtfUiNh6dPna9esARC/I573CvEjsGGl/2B/7p0bA=; b=emq/+IVb40ICHFGvmR+VxDLqhsICNRf0XzBvsSmy7fA95WlMR3FNBm/SUAsthP1y1Y fTrW1traPWm05jMLoy5PfdR1+FwuQ03tikT/n2dytsi8hQYp4xzhWvu9x9lEVBKrZWQt L2hge8MZ6Z/ow76qf580vhWQ+Yh16BGODv89NVwRbk6vWiqcuFS77wlw9D97wNc2vxvV 44A4/cmNv6v6UKmlMLhK190wV2jhOyZtW2SkZdnfJOYL5OvnqOkidiRakbGdeAq8EweY J5RVTtAlSIYNzgy38ig284T16quwunFOcOX2XBjhKl+h6bnUd4lX/K0nsIyvU9jSAUAw OooA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jMGnnZmN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si19041781edi.291.2021.05.12.02.58.01; Wed, 12 May 2021 02:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jMGnnZmN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230336AbhELJ4k (ORCPT + 99 others); Wed, 12 May 2021 05:56:40 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:24907 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbhELJ4j (ORCPT ); Wed, 12 May 2021 05:56:39 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id F3843A1B65; Wed, 12 May 2021 11:55:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1620813329; bh=ppuEtfUiNh6dPna9esARC/I573CvEjsGGl/2B/7p0bA=; h=From:To:Cc:Subject:Date:From; b=jMGnnZmNRDrqSJ2f9xNKGupyjRyNPvpNlbkDoUCudpzAW0RLKYaor5/a2bvxCuhPb gI0J2o4xigK2/URYPxJkfeF6zzunb6+ue5GGpc0m5SfV6rpL042H5aC0YWdAsG37rj l57vsA/OWZLSQDLK/2yybSVScppN5RJCpoiVZb/I= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Fabio Estevam , devicetree@vger.kernel.org, Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH RESEND] ARM: dts: imx6dl-yapp4: Configure the OLED display segment offset Date: Wed, 12 May 2021 11:55:14 +0200 Message-Id: <1620813314-30803-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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áč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 51972c85e207..111d4d331f98 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -373,6 +373,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>; -- 2.1.4