Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp190193pxu; Tue, 1 Dec 2020 08:59:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAs7olDCdUEg7bYjYJL45MfgF5JDBMkc0n/Vh0JltPnkMAsJoOPl2U+ACnEEF5zQqvYT9S X-Received: by 2002:a17:906:4e83:: with SMTP id v3mr3959142eju.154.1606841945601; Tue, 01 Dec 2020 08:59:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606841945; cv=none; d=google.com; s=arc-20160816; b=yP2EAdxVeUvvtHveC1Iz/DahuE1cCwTqSF2BVu+my+x13o/lAqGd6tId54LykNd/CP hKQLpZMwpm1VTTo2qsTx0/BKWYC/RPk+5TjlR5DPVkhvFM7syMlChdW+y9QRYGAe3PXz 22cP2LomdICL8nPbUYdSAVvS/p6O2X/ckmFxeR0lHkqhTsjtxK8NjSaRWifh+EszhYoq yV++RMMUVxmb7Xbj2k1FYaObtFoQwid17OEQib7CrjaZ/fHW+lBVc89wqJ1mSRqdpjq7 rR8ytrTIllNy9VbC4K/qDKZLB50jonYbiQIIzRExiJE92BUdGge3VVJ2OwEy42b/0FVu kzPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:mime-version :subject:dkim-signature; bh=61Pj8+ULDC/9CQt8Dl+J/sb0n6Xqryjx4clI8Aq1YQw=; b=yVzTRoYRQdYPf225DJbFWrldmYcbKPvwwCTr7jhNEjRCkJL0klFf/4/YzU1Wpq6fPn 7zjjM78fafYWdG68ZSx3GHhNh5UMQM4RkFMlXP+IEnOFzB3ygrybXj+pVueZpFVZqe6v 41+C78TfQtW97ult5QmGd3CLbU+wZpgEYWFg+I1XR06leb8X3Rli9jtR02wqifDFg9ma WNMmChF3KLpZOVqTvTiCzmBqiSru/h3xtdSMrajH9EM0SbDuxpDRiCUI08T2n697imz6 Fz73NP/BdjVdlY+eN9SKGo702Gr89TjEwqdePk8HaTP52I0K4xxtlJ1D7z8QENgPyKTR +HHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=PHaBePEE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si302242edb.323.2020.12.01.08.58.42; Tue, 01 Dec 2020 08:59:05 -0800 (PST) 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 header.i=@goldelico.com header.s=strato-dkim-0002 header.b=PHaBePEE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392115AbgLAQzc (ORCPT + 99 others); Tue, 1 Dec 2020 11:55:32 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.80]:10638 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392037AbgLAQz2 (ORCPT ); Tue, 1 Dec 2020 11:55:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606841556; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=61Pj8+ULDC/9CQt8Dl+J/sb0n6Xqryjx4clI8Aq1YQw=; b=PHaBePEEKF03EQjcRx1LFgAAb2k7Nkbr+zd+RHiYF5ol+NLC6u8h//9pib+cD/8/Y6 2OuvsQaJ8L0AyGJ8vJXzoiZtRabY2RZcsLhL03Wm8Cvkwz00m+TDV+OT3rcicr/DONZ4 zDFIseuoz2eq/XxjJGdlHRMDnizqTrPm7ev0ELQpgZBEvqfxNgFF43IQ+PPSF7KlrlK5 BDzqjNikZYPrWekxpwFpP7+O7wTsOCkZDT2yOeccT1eNpoewdbpo8NZwVxOP2Zt0lE4L YZmNnx9AEfsStYOOORXaoYJ73sAZSRItlxZSRCC4xIb0pKkavAEoEUZLedmV9UFpJe3I JcPQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NMGH/vrwDuo6A==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.3.4 DYNA|AUTH) with ESMTPSA id N02faawB1GqYVYJ (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Tue, 1 Dec 2020 17:52:34 +0100 (CET) Subject: Re: [Letux-kernel] [BUG] SPI broken for SPI based panel drivers Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: "H. Nikolaus Schaller" In-Reply-To: <20201201174433.2000c8a3@aktux> Date: Tue, 1 Dec 2020 17:52:34 +0100 Cc: Sven Van Asbroeck , Discussions about the Letux Kernel , Linus Walleij , Mark Brown , kernel list , Laurent Pinchart Content-Transfer-Encoding: quoted-printable Message-Id: <1F0CED75-9EB2-401E-80E7-C1CD29D699F0@goldelico.com> References: <2D7916FA-678F-4236-B478-C953CADF2FFA@goldelico.com> <4AC29229-9542-4E77-B993-217E29C7E209@goldelico.com> <20201201121620.GB5239@sirena.org.uk> <6283C16F-549C-4463-BC08-E2C1A1D78B2F@goldelico.com> <20201201174433.2000c8a3@aktux> To: Andreas Kemnade X-Mailer: Apple Mail (2.3124) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 01.12.2020 um 17:44 schrieb Andreas Kemnade : >=20 > On Tue, 1 Dec 2020 11:10:49 -0500 > Sven Van Asbroeck wrote: >=20 >> Nikolaus, >>=20 >> On Tue, Dec 1, 2020 at 9:38 AM H. Nikolaus Schaller = wrote: >>>=20 >>> Let's work on a fix for the fix now. >>>=20 >>=20 >> Are you quite sure the chip-select of the tpo,td028ttec1 panel >> is active-high? A quick google produced a datasheet which >> seems to indicate that XCS is active-low? >>=20 > Schematics is here: > https://projects.goldelico.com/p/gta04-main/downloads/48/ >=20 > The display connector P204-LCD indicates some inversion at the XCS and > XRES pins. >=20 > This patch fixes things for a boot where the display was not > touched by the bootloader > diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi = b/arch/arm/boot/dts/omap3-gta04.dtsi > index c8745bc800f7..003202d12990 100644 > --- a/arch/arm/boot/dts/omap3-gta04.dtsi > +++ b/arch/arm/boot/dts/omap3-gta04.dtsi > @@ -124,7 +124,6 @@ > spi-max-frequency =3D <100000>; > spi-cpol; > spi-cpha; > - spi-cs-high; BTW: that is what I had planned to try next... >=20 > backlight=3D <&backlight>; > label =3D "lcd"; >=20 > So if that one is really active-low, why did it ever work?! >=20 > Regards, > Andreas