Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4171548pxb; Mon, 8 Feb 2021 09:32:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwf/rMGQAYuHLbOgZtDFkX0aMj9B93oqAIh1GhHfiPg4vQB9yTiBM3JWqFJdM6s50VIICg1 X-Received: by 2002:a19:f612:: with SMTP id x18mr10674398lfe.188.1612805573418; Mon, 08 Feb 2021 09:32:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612805573; cv=none; d=google.com; s=arc-20160816; b=GkCNu6pDO04t1QwR+rxq5dKha47eCUs9J4Zn+dbo7WbH423ZSfz9ouG2RaSFFkWE6a 7V0VaOP3CJ+Vmv2s2eRVZxUMOy3PZHfqtIv4Lq9Ypme9VK+7mSJmTwfH0Vt2/Y7p4SKS n2RKmz6KteO+HMJXLLuOKLcy2ykSDD3KICowqmOUC1fVJ42unl4eFORj58PV3g1ximOa eCNtf8Ukf6LiDXODr70zoGPhY2E1nFx8TDsiwtjOFgDj2DvKk/I6VOvASbvaTzXTP8hR PMg88iZ9TKN/QzQr0OeV/7XK/pv2x3VUfcCFkQQFzjX/KRGYudkUWAt73c/c/jkFjDvp 3+Bg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jfV5/XiLOvix6kUxBvcmnM/N/iK3oIv9LPkW6yC2pLA=; b=l9aDOGJFqwTbCAx+UCGCNd7dQekES12NBwSUc8oI0X7WXsM7+hK8bwyCe0dV9vLbXL xPYH6dx13DOtj08ejEn9zuyFQi5600MqWhJLIQDpa1FuIMolkfo5TYChas1FfGPL5KKP o0ATzHfk9dAx1hxA5UMlU45JA2C2nrLkUBjXvMn87IZVSB5x/86Ni2T8bS+nD/tRIBNZ 35Wg3FpCGMXLgS6tyeSLJw1yKecmqzqlz8wZ7E/dp24GO9LdbZhUfiRD2ViNtYbBevd6 UDDNZoiCSIPrDanjiSga/+TnqjJSgKk4q0EBFeMpB835Rk0rZ4xMrZGYev5BcNL+fvnz MlSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pdVX8MNT; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k21si12128598edo.563.2021.02.08.09.32.29; Mon, 08 Feb 2021 09:32:53 -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=@linuxfoundation.org header.s=korg header.b=pdVX8MNT; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbhBHRbk (ORCPT + 99 others); Mon, 8 Feb 2021 12:31:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:36394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232496AbhBHP3N (ORCPT ); Mon, 8 Feb 2021 10:29:13 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 80DEE64F26; Mon, 8 Feb 2021 15:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612797397; bh=i7aH55UCf84lDGj/wVz0K2TdKwppSpxqd0Kdj/FbDOQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pdVX8MNTX9NgBI5OyaEiSQdP/qxU/TV84RG6UShrd22IuFrzChu8arWht8zWc/OVn rMEjsQbJs4JnzRYRsO5izlnjnJrQTi8gNszLkpMiyMQen7r4Bxsqy1oV1o+CPnTbgy N0o3hp81GhoEPbVLs/ddWyP+Np5LYh4xTUVeRTgQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "H. Nikolaus Schaller" , Tony Lindgren Subject: [PATCH 5.10 094/120] DTS: ARM: gta04: remove legacy spi-cs-high to make display work again Date: Mon, 8 Feb 2021 16:01:21 +0100 Message-Id: <20210208145822.140858617@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208145818.395353822@linuxfoundation.org> References: <20210208145818.395353822@linuxfoundation.org> User-Agent: quilt/0.66 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 From: H. Nikolaus Schaller commit 07af7810e0a5bc4e51682c90f9fa19fc4cb93f18 upstream. This reverts commit f1f028ff89cb ("DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again") which had to be intruduced after commit 6953c57ab172 ("gpio: of: Handle SPI chipselect legacy bindings") broke the GTA04 display. This contradicted the data sheet but was the only way to get it as an spi client operational again. The panel data sheet defines the chip-select to be active low. Now, with the arrival of commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") the logic of interaction between spi-cs-high and the gpio descriptor flags has been changed a second time, making the display broken again. So we have to remove the original fix which in retrospect was a workaround of a bug in the spi subsystem and not a feature of the panel or bug in the device tree. With this fix the device tree is back in sync with the data sheet and spi subsystem code. Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") CC: stable@vger.kernel.org Signed-off-by: H. Nikolaus Schaller Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/omap3-gta04.dtsi | 1 - 1 file changed, 1 deletion(-) --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -124,7 +124,6 @@ spi-max-frequency = <100000>; spi-cpol; spi-cpha; - spi-cs-high; backlight= <&backlight>; label = "lcd";