Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp189639pxu; Tue, 1 Dec 2020 08:58:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyR9m7Kxoa32vV3+Q23EFF3Tn1LAv7zSUCBVZMc1R1qhKpDLD9kGWvLc4DHYPEBka7apQiJ X-Received: by 2002:a17:906:22c7:: with SMTP id q7mr3939091eja.486.1606841891692; Tue, 01 Dec 2020 08:58:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606841891; cv=none; d=google.com; s=arc-20160816; b=X2BKShU4tDwpJGd25ubjlnamVZWHUurStENnueGZy/co2dgJc773D+WQGY7Oxgf3d2 fdbhJ1M0EAjD2L2U8jIlMv6ToX/s9bfTQboA+IR/xUaVkkcs68YUWhUpY3pmOwox59ME eNKG+3trzOVIo4RDD3octqTmwobnbAYvk7qPLorTXgAEZ4YpMseG1DMTVa328Ixe7fE+ CJbC5wdjPuVpZbcMx4YoJBxSySDxYhjvtG+2giri00s7CUV7K5vsSWJgOHKjrUPtFnSb lxcAQ9ABEgEV+3aXbSPXRyhiifwCgRHe0uQRR4+/YmZmANkwM2fGygQwG5+TLwvUmiMQ ocpA== 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=6rOmFjXGrKdFH5GqLz8zO7lSMpCklTmTQJJEMXaxtQY=; b=kKch6gjfeLf9uNltSqZ3XUy+Ee3FnbCuQySOmI4e/9SU5i1wIJGDHdkb+gCuMvV7TD C4f/Q4VN88ME9QKp6xeVjjwWSGZrvJd+IAfDLSbH+P0xHydbARthpEaaJeaswWzwqCde bHPUrSfuRjz+SNguk8RoZVBnh9cCq/qU4qf6AnsIsuk8RN741KmbOKMZXqwkLycf6C3v HJyhtP2x40efxrnBflwrz5nvkoq+P1vL6/XXYJEfI6SmGqDjOleb/+bFZM1dq6d5f6hQ zmR507LLRsKeEhxYVxOr893/fZY2oUDNxAELFIMSM/HJnjmevxu8kmx22ZN/nx+yd/Hk I75A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b="tKCHHp4/"; 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 o19si259440edw.119.2020.12.01.08.57.48; Tue, 01 Dec 2020 08:58:11 -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="tKCHHp4/"; 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 S2391941AbgLAQyQ (ORCPT + 99 others); Tue, 1 Dec 2020 11:54:16 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.82]:33897 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390913AbgLAQyP (ORCPT ); Tue, 1 Dec 2020 11:54:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606841480; 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=6rOmFjXGrKdFH5GqLz8zO7lSMpCklTmTQJJEMXaxtQY=; b=tKCHHp4/qpMwIuG2GPmUS4rmBChbdkTIh+RnMQlH/vjA7Z110VCpgyw6tdgRRq8I7M VKlGTzkkLqOw+qV2fU38OQeBQzjQ+7FPWmYoFmZrVQc35FYO7l+Ysrpp3OAQN3pNzOQH +3d23hseUoU0loa3tnxk3K8Ir+ziRN62CuV1LcL51mLXqacaU/JXdcyyWbvx0TWiSXzq ejJmO915hMiHncH++dmrzvIjT/UgVd5tQVlFZH0w+rgvD7Pskyeh+itJK+qoYNPe1wGI HU5T9UYBS0ulBYCkNlGxJINuG+zcQwpuw94fHG4tIyCTtSacF1Jcvasq3q2T7MGbOSVE q5Xw== 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 N02faawB1GpCVY6 (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:51:12 +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:51:12 +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: 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; >=20 > backlight=3D <&backlight>; > label =3D "lcd"; >=20 > So if that one is really active-low, why did it ever work?! Apparently, because there was patch f1f028ff89cb0d3 to fix 6953c57ab172 = ... BR, Nikolaus