From patchwork Thu Nov 17 08:47:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 1813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp286143wrr; Thu, 17 Nov 2022 00:49:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf50vxTT+bAyevfsmI2QS27Mq0pkaus50TEMBGbFCyN8JdoQhnm1Szn8iv8r4Ka5R/yIBL70 X-Received: by 2002:a17:906:8c4:b0:7ae:fbe6:e7ca with SMTP id o4-20020a17090608c400b007aefbe6e7camr1342421eje.408.1668674977374; Thu, 17 Nov 2022 00:49:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668674977; cv=none; d=google.com; s=arc-20160816; b=cdEdOKvmUxHaBhzS6VQbUgalllNJ4O+o9ZqebwGjBcsSYk06goEzRbX9QihCfrnHsG MwKYkgDUgHow4a9dGrtTdGHRndkvLfa3dgT9yoqPZ1aduruIF1tvfE/UF4UnZAZq8CUK pDMyjntZcSsIwtZIRFoil0YpCfA+evyJwgo16rShN/CsO0+K9G8iddRO+yed3mTpg/Ic /M8SauoyNyL3lME+YK5RgfSerpyCC+83XGS+7t+VF+W7r9X3TJA7U+hV9jqp3YjF2YU3 SHDonUervPNWjUOiczUGdKxHuMYCNI8ca2eEA8TO1RBUImVO+TzcY94HydpOrTq0Wpfa Azog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=5sycVuNTi+/lWP5w5Y+7Py7HL44YtQg/RIL/+2UUkSY=; b=Hz1HsXx0UUgBqN320e/lcvYAhqW407UUZbOsmeHtUALNylULWTeIfKhzL9GWSgxk8l 7nUAQQlPitcMxdryiavE44OYpU1ZG60ikZY/bWhGk2FrZjT4Qu1EtVtSSFlGboj/5O8z hYoThWvhCuhHWVjPMM0bDu4bu+R3QzLT3dxuBtF6HE75GyvG3lTBS0efGeQnllrnx98j fN1nTu3dSjJQaCnq9B4obrtHA3gUfwBO3pgod+LkeWS0Vk/EsJEZdOpE5183v+vIkvNL Vx4tKsvlQNtOjIPYHmtK4tuMOVzR8mWNnpG4aDbNq2HI5bqo7wsqBN8+K2m5xxgAbMEy 8CcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=LerjEkGD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di7-20020a170906730700b007b2a3ee2d2asi121689ejc.703.2022.11.17.00.49.14; Thu, 17 Nov 2022 00:49:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=LerjEkGD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239615AbiKQIsH (ORCPT + 99 others); Thu, 17 Nov 2022 03:48:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiKQIry (ORCPT ); Thu, 17 Nov 2022 03:47:54 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 296E1BCBC for ; Thu, 17 Nov 2022 00:47:53 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id a5so1501165edb.11 for ; Thu, 17 Nov 2022 00:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=5sycVuNTi+/lWP5w5Y+7Py7HL44YtQg/RIL/+2UUkSY=; b=LerjEkGDet8twDf7kawTGEK6yjpahMcCxhAgmIj+Uhp5Y2ToZA2vL105irqZLSsKfU c+LQ37p+1ejyh2oDDCwlx+71iys9g+yYbxQOSVTdRIPpMZKMebD3L6vbY7xvoYTj2ysA dA+1tq50hVlm9jtGhn6ygV7yQvatY5f62oJr0EllmSAhG1qR9mcE7PHFmrOHZLF2HrTe NXS/KTJ2K6dBfbV5Zar4Nm8GSb5Ol6M2VVfam7vqizfUetbz5uvxzdbINt9a3yc7z/yl RJqyEWRb93Q8tblau3bK9Yl/7ROUCkYlh+IeZDpHfHy3HSWP8vcLEJ/nu4cLNNs3gNDH K6HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5sycVuNTi+/lWP5w5Y+7Py7HL44YtQg/RIL/+2UUkSY=; b=kr4cPolcRXdaBbLtoztwfdOvUGwyKchGPZ8x7dG1J9kpOR5nuPXchr4MP4OCjcMKzQ 02uoZiMNf0/jBTUoljWg/wumhgxcrEWRQLXLCvwnZJwjPblzhUIgIdovWMRJYr6PBtzb 0PhnfSdDemgh8pAyk+NQYXCYAHtvqqMLW+URWZWqBB5BSlMsvNYYuSqKwVQGyTLC8LEx S3gnZBHSLcyM5bFl/bZSnr1KcbvjSeaoiyk+Ch+Ba1YA4b+r+tsvi0R0kuCUgYg53+b4 usEpVXJ9WcxKJc9OsQ3CuI2ntcaYcehSHQaJBAbsIq9OeU8qY0wcu5VOjiLedIJ/HKFO yp9g== X-Gm-Message-State: ANoB5pk0KHBR3hbaQa+mRX35jCRFabtMIayAQN9ohR+pcunqlKwXCSIQ t8dVyqm7KueKcG11fMW9wY5EGvrmNEd0yZXM X-Received: by 2002:a05:6402:3895:b0:468:15f1:54b5 with SMTP id fd21-20020a056402389500b0046815f154b5mr1306318edb.8.1668674871621; Thu, 17 Nov 2022 00:47:51 -0800 (PST) Received: from [127.0.1.1] ([2a0e:41a:894f:0:7a60:27eb:954c:5ab1]) by smtp.gmail.com with ESMTPSA id s22-20020a1709067b9600b0077205dd15basm77332ejo.66.2022.11.17.00.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 00:47:51 -0800 (PST) Subject: [PATCH 0/3] Fix SPICC and ILI9486 drivers MIME-Version: 1.0 X-b4-tracking: H4sIACr1dWMC/w3LSQqAMAwAwK9IzhZMXVA/I11SDZQqDYpQ/Ls9zmEKCGUmgbUpkOlh4TNVYNuAO0 zaSbGvBt1pjYiTkqUb300u3jjyMsyTMuTHIYTeWY1QnzVCymaT3FFnumP8vh/jeo0xaAAAAA== From: Carlo Caione Date: Thu, 17 Nov 2022 09:47:38 +0100 Message-Id: <20221116-s905x_spi_ili9486-v1-0-630401cb62d5@baylibre.com> To: Kamlesh Gurudasani , Mark Brown , Neil Armstrong , Jerome Brunet , David Airlie , Martin Blumenstingl , Kevin Hilman , Daniel Vetter Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, dri-devel@lists.freedesktop.org, Carlo Caione X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749732533085192087?= X-GMAIL-MSGID: =?utf-8?q?1749732533085192087?= This patchset is trying to fix problems seen on S905X boards when interfacing with an ILI9486 equipped SPI panel. The color corruption and the performance issues are actually due to two different problems in the SPICC driver and in the ILI9486 tiny DRM driver. We try to fix both in the same patcheset to be able to correctly use the SPI panel again. To: Kamlesh Gurudasani To: David Airlie To: Daniel Vetter To: Mark Brown To: Neil Armstrong To: Kevin Hilman To: Jerome Brunet To: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Cc: linux-spi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Signed-off-by: Carlo Caione --- Carlo Caione (3): drm/tiny: rpi-lcd-35: Enable driver module autoloading drm/tiny: ili9486: Do not assume 8-bit only SPI controllers spi: meson-spicc: Lower CS between bursts drivers/gpu/drm/tiny/ili9486.c | 14 ++++++++++---- drivers/spi/spi-meson-spicc.c | 6 ++++++ 2 files changed, 16 insertions(+), 4 deletions(-) --- base-commit: 15f3bff12cf6a888ec2ad39652828c60e6836b3d change-id: 20221116-s905x_spi_ili9486-aed54ff3cb21 Best regards,