Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2925777pxb; Tue, 13 Apr 2021 13:53:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLnLgUYgjAojmdc0Q+Xzb8dgxyrcT3pzsJAwAGUoFs+j6Mh9uv+w0c2nIIBhsP6enOu0BF X-Received: by 2002:a17:906:68da:: with SMTP id y26mr3421326ejr.442.1618347204528; Tue, 13 Apr 2021 13:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618347204; cv=none; d=google.com; s=arc-20160816; b=maA+rSWVm39eZQo31mihLUmX2iwK68OGU548HWa10H3TSSEFK+pIaKcJEj3tZ0PmUZ Gq39B0KeODNcXEknfUVVM8QnrJ/1b7mdjzdgP3VCazS+momJya81ZmjTjtvfphMwS1HJ O+s1zPvApniyAvsmOHSjFGH4AUmEuUNAQ9gKyaJJrdJETk1vDk2bAaFc/KqxceJ/qjMz IIgr8OMPplyTUgXv8YUnEc07AVHzZsgWVuXBY0xlBHy80a4m/TmBuRSuN2sve8Ak0Q0l OXNoSiuVkT9yqNnD5BEQG9Pcj4MBsHQsywnMCUD4teTCnTpWKLqz98MTZ3qNVVppYsF3 n9eA== 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=EP9YxEB5L9r34UPxakX+FoA8pQLk7hUryr7Rr4WSqvUKqWWcgJ1KgoK2NhPdBfFaBN 6lBaDPaIuP9veckhQbAfnZl2UbCWbjZd30kxugkDjyclpwihnfq9ti9Da4qbdvb101BO lp+gV1wJ6H1C1Ca8LM/4dTdkXt8AOnHgsMYJLlrVgn7hHv+iBubUTdFX/CWyAPgwebvC 2zctDJHp3EYL76XyjeeSSyCHYl545yPt1o9fmomqmOXMqho8YdH2EFmtPfUz9NBv95N+ ribNSXR3PkjW9i/vLOjOwrfOe+bveH2TCCpdP0PAFHBoo1YKrfS9ATwbTcplSCq/BajH FrBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=i3peWw2t; 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 s21si10155891ejm.689.2021.04.13.13.53.01; Tue, 13 Apr 2021 13:53: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=i3peWw2t; 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 S1345401AbhDMPB7 (ORCPT + 99 others); Tue, 13 Apr 2021 11:01:59 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:46691 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239975AbhDMPB5 (ORCPT ); Tue, 13 Apr 2021 11:01:57 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id E7894A2B15; Tue, 13 Apr 2021 17:01:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1618326092; bh=ppuEtfUiNh6dPna9esARC/I573CvEjsGGl/2B/7p0bA=; h=From:To:Cc:Subject:Date:From; b=i3peWw2tiwVc/c43nN3u+uH0kMWmLgRDcBHllTzW8fUmTDRGr9kUY+F3iGP7c22Dz wGxa99AmKvBy5LrfU9YzISO+GPOSbOP0j1FPkWftwiChuSTY0gQkQ3hG1bEEAaSqXy zFxo7r8x9RH8VIEwYx3RXers/rTqS5LW0qqvZ4yg= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Rob Herring , Shawn Guo Cc: Fabio Estevam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH] ARM: dts: imx6dl-yapp4: Configure the OLED display segment offset Date: Tue, 13 Apr 2021 17:01:16 +0200 Message-Id: <1618326076-6869-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