Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp157227pxu; Tue, 1 Dec 2020 08:14:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPORIf7mhYxne3lPCxMuKnqzrmPZ0XoJyYdSZNZ0HZH8YAIM0jh6qr/LseJ0P61c94AytU X-Received: by 2002:a17:906:60d4:: with SMTP id f20mr3902179ejk.156.1606839299179; Tue, 01 Dec 2020 08:14:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606839299; cv=none; d=google.com; s=arc-20160816; b=zM0Ve94ftiqgYIih9evv8n27+HBTk/xQimhutFB4WLZvUd3nLeeK1trVlGrPT2LmXd ZOVMbX6ri4n5GWDpREPAardEBSXB1eya+hJdNi7jIXEoMt1kLFIG5OUnDP9uvMzpaw6o GDsjqbRgnO3Ykk7zMPMTCmf8iAUNmBxwLKnTHaesXItvHHPSsF2HEk2Gn6o5wZUXGmcD fUSajb9UqP+gcyBL0fPCbrQUUOO0EQbPDKqv6VKg7PKXFHWs1aZ5gHjJYleZPo1B5gN0 3CQZR1HhCMKbd4BL31PUNCA3MymYl5Tby85WqzexhfrCS80Q/gC9VgGs/IbeoZnhK3Vc x3gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lZdKwyZiumYGvQbLwgvXVvBks2dSrXavoorQLj9ViOo=; b=fMk7QPYOhpwGnkKiBYWvcWw428nRfAp3z2YQyplAfDJcWmwodqluDlxwMS9015wFHt hgvLUUDYWoHxzpVGX+XjnNQdlOEifQ5J+ckCRxcYbru1M8SeZfgWfFfyJZ2lpyALc23J v1mnkpwt+XOgqhfdGGTuwqr6i8Pv5SdDfd4JcVHNvc8ZqmxqEi1k6CtSVMTxEzBAeeAy ZZSakgKQJ+kxt4s/IHsfwH2xCFfEI7/VvOY29dsrR8ctmmObAnNRUphhK0yrsTJq8+Hd eBk2PLcKT/z5w4MtZuWFTC83seQKqQnFDVf650ekzTB+lhtxEPWitbX2mh0wRSXU9B85 XUzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HbdJcTrT; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si166877edi.362.2020.12.01.08.14.35; Tue, 01 Dec 2020 08:14:59 -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=@gmail.com header.s=20161025 header.b=HbdJcTrT; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403893AbgLAQLl (ORCPT + 99 others); Tue, 1 Dec 2020 11:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388364AbgLAQLl (ORCPT ); Tue, 1 Dec 2020 11:11:41 -0500 Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567CAC0613CF for ; Tue, 1 Dec 2020 08:11:01 -0800 (PST) Received: by mail-ua1-x92c.google.com with SMTP id h26so734993uan.10 for ; Tue, 01 Dec 2020 08:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lZdKwyZiumYGvQbLwgvXVvBks2dSrXavoorQLj9ViOo=; b=HbdJcTrT+Bm5snlT4I8yNuYKtWRopqXB48P4o3VVBeVAKEZL2VohViYi5I7dTIuu6p 5zwVGXKQl/m16KeuJUWiQw6oE7pRxrRVuNZmMiUOWVQKYSDRVWBgOugNyNB0k+1cAd/j lGNwiuuUgxQMVVqUebDRL1GyK2PGnDmOeWg6OInjZ27Kg39hr0Kpt1HL5wTZESE3UD3R DnHIlKTYC86/oUVGyrZGOTd4DuGfvxHr4lRRuk9rIWdYRuvGDnML7bVuMl3jAauWNYwx jk1OPrdKd7DZ3mSdzI1B6o1RjaruFzkJy3Z2HGj9lcMjSyz1zRsAe0gpbeb/QokLF16Z aByw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lZdKwyZiumYGvQbLwgvXVvBks2dSrXavoorQLj9ViOo=; b=hY/l4KfN3jCy2TY9w74R/m0FZgTWD/kLoCkAVB4mzPzJ8yq6wJVQCSqvSV0r1ulfgd U4tOXw5ygomwsn+Cr5Cg86ke5OYdioin2Wu4KLfVwiCKfy+gegLvZ6dL/9L4wX+ltSnm Q3gn1yNCAQuuSpB7wGSYJbbRc8ONoq3vVlQw4Q4el+Q3/m/SFQLFCc2VjjH8gZJr9ay/ 9sG445PdSrg4vgiVh8DrY9hSl0UXjAUMeFjbP0Ooabn12cXNecmCYbo4j+csL1LemWu4 xitLf/z4N8XQAC0GegTCX+qhIfVurHwzxHmeDmIFZ0m+G2yVvifItlSWB4HrWeNtq4nW Y9EQ== X-Gm-Message-State: AOAM531vAlayh2F+SO4hR80o3FJNn14VHdJU2YMrHvnQaA+isdYuzDjb j0xlxpioPPQiY8u57hHBwW2RRZAnpH7vJ0mIE4/Fr1L6jZE= X-Received: by 2002:ab0:45c6:: with SMTP id u64mr748318uau.58.1606839060547; Tue, 01 Dec 2020 08:11:00 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <6283C16F-549C-4463-BC08-E2C1A1D78B2F@goldelico.com> From: Sven Van Asbroeck Date: Tue, 1 Dec 2020 11:10:49 -0500 Message-ID: Subject: Re: [BUG] SPI broken for SPI based panel drivers To: "H. Nikolaus Schaller" Cc: Linus Walleij , Mark Brown , kernel list , Laurent Pinchart , Discussions about the Letux Kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nikolaus, On Tue, Dec 1, 2020 at 9:38 AM H. Nikolaus Schaller wrote: > > Let's work on a fix for the fix now. > 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? See page 17 here: http://www.lcd-source.com/datasheet/TPO/TD028TTEC1.pdf It is of course possible that you are driving that line behind some inverting circuitry. Hardware designers seem to do that all the time, if they need to go from one voltage domain to the other, etc.