Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6245679rwi; Tue, 18 Oct 2022 09:51:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5GGEwnPDi6ZYpIKgqB1W06PDRfLLWrtfVESHbUwRRRQAYK48w8hKM+lmoqAd7qRvcYsC9M X-Received: by 2002:a17:907:5ce:b0:730:bae0:deb with SMTP id wg14-20020a17090705ce00b00730bae00debmr3277322ejb.181.1666111869088; Tue, 18 Oct 2022 09:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666111869; cv=none; d=google.com; s=arc-20160816; b=kV05iBXJK931BNF3Xt1Vyc9ipiSPRJoc/536XmPnDhDOjlFZZq2WrQ6B0nbmQqtBxu csDujIpMznkkjaI7zK/YNLUA4Ye8Et77vyLXV0jAMr6ZiwKy+cPSQXsoCzN32Ps1Ync6 copTiGcvAQ0jfVkpUCrpfSuT3VvnvHVg+Yd7j3HunTxSzyuIbwmsBU65iFvOvCWLwDNS FlvuoeZxjgo0cIe+XJDWWlflvXYKnH0tgIdxHJUF2CCEGemH6wL0hfIBjOBITeGo/6uR SgQtkoqjEgBDyQ/5RZhM5DGQDwjph5m46IqgVRef/g99ote46al0ZgAlx5EMe1wxYf2G ruxQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=xJHqz/NgmeygQyOjTE1MtbVMgIIcdyJ4beia91UBymk=; b=V5C5LaCRmK3PYjHDPNqtQWH9oW5Ml13STJ1REl+6kr3L/KOyFYIaT5KEAj7CEZV98M Q3m9pn+NQOPEul2+i0F2njdcSVxlu3txPH9Nl5pa968e2hu0fXdIZnD/tp7otbeGoHUm VNw8cEkUPDaOk7iprsKJXNM/f4NancIJdgeo0j+Vas6r65iIjqZcAJlVggMpkVwzefiN 26veWoN1QUFKztySZRTB40FKunJBxBR8FaazfvZEDRaH8aj78IpPdUzwIJTCxxcABcVI VFK7/msG+pHAjURxAMPLbMaeHNiB8We2DyPzY5y4wcJpBEgo5KiAQPEX59mr2QLi0V2h P7FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="N7a/utxE"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020a17090633d800b0078d20294fe1si11114737eja.168.2022.10.18.09.50.41; Tue, 18 Oct 2022 09:51:09 -0700 (PDT) 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=@amarulasolutions.com header.s=google header.b="N7a/utxE"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbiJRQpr (ORCPT + 99 others); Tue, 18 Oct 2022 12:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbiJRQpp (ORCPT ); Tue, 18 Oct 2022 12:45:45 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20B48B2744 for ; Tue, 18 Oct 2022 09:45:42 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id l16-20020a05600c4f1000b003c6c0d2a445so12678935wmq.4 for ; Tue, 18 Oct 2022 09:45:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xJHqz/NgmeygQyOjTE1MtbVMgIIcdyJ4beia91UBymk=; b=N7a/utxESGarBoQNzWgHerpAID5FzSF2po1uvvRf4SEXBwDpCOzNwq2gfrV+mDIWIH 5qcdxQD7E0pXC4fxzlNA1i3xTdAck/rGOCvgLjjVbECNfDRu1PX4afMJo5g+2XA12o7t zICV8SzSZT8GdfmyKLROUhCPkswwUSdRLiSw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xJHqz/NgmeygQyOjTE1MtbVMgIIcdyJ4beia91UBymk=; b=Ay9xo6+OKRQYHVzH2Dt0Mb96TusBQfMspXx/myQVGarOd1h9u7xkvHNaQLHOFjVu/t ByzhymVOUi1FRBmx8IMBkVD3scANZIm90iCabvmSeisnQutK41sqZxPoA/fU28MqFIJ9 1OaqC1AHjk6+B33GBTyRljkQZAYCMns74B1kOtfkRn+4Ogsyr471bhSNo52RzuUv3GdS ZONiFMVYEaZJjqU16wrHhRHqHdMRql6h2dRAwBzNveZS3mBPDMXJLvTh3Wnzk0wdQ6uk 3um6/Q92EShi6fRO/vtvCYLDzzCf3bdRKt0CQQjPboUz6pv/NPjLZSg0GdYpWHEcVVfY CuJg== X-Gm-Message-State: ACrzQf0qGAVMiIQenLt4ryv4vK3z7Bl/spfS1syZCLWxvMus5Vp51lw5 ch6e9GX/ENPBtt6z29of+zNyWQ== X-Received: by 2002:a1c:ed11:0:b0:3b4:d3e1:bec with SMTP id l17-20020a1ced11000000b003b4d3e10becmr2679777wmh.196.1666111540648; Tue, 18 Oct 2022 09:45:40 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-54-207.cust.vodafonedsl.it. [188.217.54.207]) by smtp.gmail.com with ESMTPSA id e26-20020a05600c4b9a00b003a5537bb2besm13545592wmp.25.2022.10.18.09.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 09:45:38 -0700 (PDT) From: Tommaso Merciai To: tommaso.merciai@amarulasolutions.com Cc: michael@amarulasolutions.com, linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, kamlesh.gurudasani@gmail.com, David Airlie , Daniel Vetter , Maxime Ripard , Thomas Zimmermann , Sam Ravnborg , Javier Martinez Canillas , =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/2] drm/tiny: add support tft display based on ilitek,ili9488 Date: Tue, 18 Oct 2022 18:45:24 +0200 Message-Id: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hi All, This series support for ilitek,ili9488 based displays like Waveshare-ResTouch-LCD-3.5 display. Tested on Waveshare-ResTouch-LCD-3.5 connected to px30-evb via SPI. This series is based on work done by Kamlesh Gurudasani in 2020: - "drm/tiny: add support for tft displays based on ilitek, ili9488" (Thanks Kamlesh for your starting point) Tests are done using the following tools coming from Yocto fs: - modetest -M "ili9488" -s 31:320x480@RG16 -v - fb-test - fb-rect References: - https://patchwork.kernel.org/project/dri-devel/patch/00719f68aca488a6476b0dda634617606b592823.1592055494.git.kamlesh.gurudasani@gmail.com/ - https://www.hpinfotech.ro/ILI9488.pdf - https://www.waveshare.com/wiki/Pico-ResTouch-LCD-3.5 Regards, Tommaso Tommaso Merciai (2): dt-bindings: add binding for tft displays based on ilitek,ili9488 drm/tiny: add support for tft displays based on ilitek,ili9488 .../bindings/display/ilitek,ili9488.yaml | 72 +++ drivers/gpu/drm/tiny/Kconfig | 13 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny/ili9488.c | 440 ++++++++++++++++++ 4 files changed, 526 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9488.yaml create mode 100644 drivers/gpu/drm/tiny/ili9488.c -- 2.25.1