From patchwork Tue Oct 18 16:45:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 4250 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2057389wrs; Tue, 18 Oct 2022 09:50:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OTEK4LWWLNNaAcJL7TCq0xcKbXIQSUiKKUCBb8UTYY4f2nbIDBxE80+8LS+Fp7NvXsgMt X-Received: by 2002:a17:902:e548:b0:186:1269:928d with SMTP id n8-20020a170902e54800b001861269928dmr4046036plf.167.1666111839730; Tue, 18 Oct 2022 09:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666111839; cv=none; d=google.com; s=arc-20160816; b=epKlBglhCqrQcnekTzMZonsibjyyPm7q/dKMGbAHoalKlBfiEx03f+jYhcbiIjAj7p y/nchoPqd7J9WC6q6V5QlAHoughxK3opl6kDFSVgYSaOQr2FxbFxJChC9UCRLU2WVTkU FNa7mbdfl4raGTi2dDnj6WZPd1W6hknhqpdsWvc349XkWJO2soE7ilOrxqIMzC83LlLQ qh0bexUBGGqDX1IqsbDs1WOZ6nJe0qnqBoHEsCAQ/tdxeXrZqV2eHTBw/L8kBq44v3Sw aRxU/z0+3NJ/CmZ37HUjSyGx0vcH4a+qbDDARuuaoZ0R4UmcOjuuqQiSYFQMrk4Hhz/N dgeQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+orLHdjN22tP869vCnaab3e5mhNvntEtV9jpkeSTRtw=; b=JupXPpN74WUSp5koLqGiAZTvhUCwIHX4rls9YKz4KHdk9Qd8sTWQToA21eaIPLCsqG S+oyK+25UVmQCQTrzS9RUIDIdBTjM46FzGYd5I6peJr3NlnevWynNGwCQpXwjZ6Txqku lPdmFggS6IjJ5/mRpsxOleVMXKveiQI8gIxhYBCXw9+3iKcMgizXop15YiBwko8Jkdye MGJEtCbhLFp1Bu/Xluau2ybU64u8d1CcOfwqOtAflT5xWL3ELYKvTz3bbjDAnlRW1YIo eCJgUS6SiKbUCn9xxSq9FhYQVBMsu6SrYXU2wnzj+SdStHRkdL5NhQiXyTF2Nt7bAAp7 lb3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S6dvHcLh; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a170903205400b00176dd113d9fsi12987815pla.461.2022.10.18.09.50.26; Tue, 18 Oct 2022 09:50:39 -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=S6dvHcLh; 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 S229720AbiJRQp5 (ORCPT + 99 others); Tue, 18 Oct 2022 12:45:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbiJRQpz (ORCPT ); Tue, 18 Oct 2022 12:45:55 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC057E8C52 for ; Tue, 18 Oct 2022 09:45:53 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id t4so11119607wmj.5 for ; Tue, 18 Oct 2022 09:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+orLHdjN22tP869vCnaab3e5mhNvntEtV9jpkeSTRtw=; b=S6dvHcLhvq0gyDjYHLftknwwXLAGEmhHTtaYQfFpeTBoqo8p56p6xiDIqySooNZomx YxJJrJQuRywSPrB82azwjh/OJo9/vqIe8iTLEJbVBSN5dy2IEi4L3QewHM/h+of4i81K DK8VKsPBPYQ80RGi7Pjg7b/hv9A1ozHZfRGtY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+orLHdjN22tP869vCnaab3e5mhNvntEtV9jpkeSTRtw=; b=kJqj/4ivaP/9ypssYhu/H6mzdcVIBtLWEzY5muYLQ9rWLXkS5ihiy7ZwQfTDkfAbEo s0+22Gxmw1MArTlvK0ZFBVFrm63qVhcCXUN4pZTubfiSkiSsOsbZM6GU2XrJW71PqId7 A2/S2af9HjSRcelGzX/8mi9jc8DhtSli+KVGaJvS/p2d0b1EGdWBQvoA4K611S9euMJP nWm7s/+24RJICRF+QWvdoDyHpyU5wKyxaW30BrtFFDBPS5EsQedJxMbBESiC/BOFsqqY aPIiW25j0xL4ukJRA7HooXAtgZ7YO7ltxwpYIGQ2DOmpvVPN0aA6Y3qA/bPkmUJd/inc o5gA== X-Gm-Message-State: ACrzQf0BE+bg1n1T0v5KZVuVQv/HHxkU37eq7l8hFtFhlsDZATFb0xMB fGrNtBss2NE8naMxRYNfHrsMCg== X-Received: by 2002:a05:600c:4e06:b0:3c6:ce02:ece4 with SMTP id b6-20020a05600c4e0600b003c6ce02ece4mr2582171wmq.58.1666111551336; Tue, 18 Oct 2022 09:45:51 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 09:45:50 -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 , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , Thomas Zimmermann , Javier Martinez Canillas , Sam Ravnborg , =?utf-8?q?Noralf_Tr=C3=B8nnes?= , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: add binding for tft displays based on ilitek,ili9488 Date: Tue, 18 Oct 2022 18:45:25 +0200 Message-Id: <20221018164532.1705215-2-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> References: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 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=unavailable 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?1747044888452922507?= X-GMAIL-MSGID: =?utf-8?q?1747044888452922507?= This binding is for the tft displays based on ilitek,ili9488. waveshare,waveshare,pico-rt-lcd-35 (waveshare pico-restouch-lcd-3.5) Signed-off-by: Tommaso Merciai --- .../bindings/display/ilitek,ili9488.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9488.yaml diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9488.yaml b/Documentation/devicetree/bindings/display/ilitek,ili9488.yaml new file mode 100644 index 0000000000000..879ecc42c350c --- /dev/null +++ b/Documentation/devicetree/bindings/display/ilitek,ili9488.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/ilitek,ili9488.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9488 display panels device tree bindings + +maintainers: + - Kamlesh Gurudasani + - Michael Trimarchi + - Tommaso Merciai + +description: + This binding is for display panels using an Ilitek ILI9488 controller in SPI + mode. + +allOf: + - $ref: panel/panel-common.yaml# + +properties: + compatible: + items: + - enum: + # Waveshare 3.5" 320x480 Color TFT LCD + - "waveshare,pico-rt-lcd-35" + - const: ilitek,ili9488 + + spi-max-frequency: + maximum: 20000000 + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + backlight: true + reg: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - dc-gpios + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; + }; + spi { + #address-cells = <1>; + #size-cells = <0>; + + + display@0{ + compatible = "waveshare,pico-rt-lcd-35", "ilitek,ili9488"; + reg = <0>; + spi-max-frequency = <20000000>; + dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + backlight = <&backlight>; + }; + }; + +... From patchwork Tue Oct 18 16:45:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 4251 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2057952wrs; Tue, 18 Oct 2022 09:52:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5sCX0zVrXGBo25X5sQG+nN3iw5sv/7/9PaBvj3oC5j/F9P/RgIK8sqYfeT4p9Bb4fgsoWp X-Received: by 2002:a17:906:fd8d:b0:780:997:8b7b with SMTP id xa13-20020a170906fd8d00b0078009978b7bmr3222509ejb.635.1666111930430; Tue, 18 Oct 2022 09:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666111930; cv=none; d=google.com; s=arc-20160816; b=LM2sUTUtwIidbCiXu4yrFS1bVRgIkglvs3RVz7e7x99PUpg3rJ9MCddR62f8S0aIa/ 7wt6CJ2Fl6NUVrdfpvELYz4b8AT10VIpCOOOAp25xOLGdpu52uD69YOItmE5YjKz1ypC HsZXMAKZ1QmNs+ZC+y3oS7TvHiESyoRJMnvPJMw/rPq91WG05RuJQ6UUHfshsUd3f271 hVXOYM3v8LwMjnSPf/76ZeSsaDdcl1dcK9w1LLlWpP0dVbDGbCgwuWskjQuKSosNTHa6 KqOaSVi2bZKBfA1F9c1WId5koLL8rebNg257IxTP36LoWdL3ozHZN8tzd5s+wrAQ9Dqf 4WPQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gKjYCg4q49kkphz9i6T9qW9XIPEe2OGxCyqrNNxW728=; b=yi3GJxl3ly0GlPjHc7TZdNoaIFpviukQEbxr/jbBHq4hkcr8/mlyNOBFkIfffCt5c1 3cyLzO0RhEPwG3sNKQpCfGVVJq1vePJE2LyfD0BsBXxwPJimocAaJo8rKpHSLz8mnFca ebk8W+tym21KnvWNrGR3mRdSyRSLL+Nmt+FN2Uhh2v9NDp/wmIK0DoWZNQTUK8mmVCwv KtoX4pVNHmjtlGcocfcKQN5SzdB3WBEA1kniZAUQuStJ0GSZNH+xor0xL3ee8yk5m4aa 6c8T2WAY797bmdxcRHGLQBzEfaiak6Ys3bQpV8MsBXXZS1yaL0AfOVuNNp7t9FMelvrb NOtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=REoGGe4Z; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb17-20020a0564020b7100b00459c448d32csi10543144edb.446.2022.10.18.09.51.43; Tue, 18 Oct 2022 09:52:10 -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=REoGGe4Z; 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 S229885AbiJRQqS (ORCPT + 99 others); Tue, 18 Oct 2022 12:46:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiJRQqH (ORCPT ); Tue, 18 Oct 2022 12:46:07 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E94E1E22D1 for ; Tue, 18 Oct 2022 09:46:05 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id b4so24538113wrs.1 for ; Tue, 18 Oct 2022 09:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gKjYCg4q49kkphz9i6T9qW9XIPEe2OGxCyqrNNxW728=; b=REoGGe4Z9/ePyGJRACjbP5CKVeR5h+N8kYMxc2WLpU9HoBnzAT28HZfj5BUJaOmX04 Onb+5k2EpM3ugyUaQUPSjzbsYEDbb2DwidUKzlXAtQdDUXPE8kjANdIrZU+7629eQ3tL /jB1VofqDjxm6PEJPmRovh0CuBeRBARVLWUg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gKjYCg4q49kkphz9i6T9qW9XIPEe2OGxCyqrNNxW728=; b=AAaKSW78cFrR2BzdF1NONu+nITqtV3DVFHxD4FYmISPp+qBwyLPRvQT2n60HF0nCCB N4nDTmFEE4cUjwQDDM9y/b4iiB/Qt87UH5E2rzb5g4g6j1rXiLMCXP4Edavd1zT9Rr/B vZ37ol/PQ7xdaXKWJhW5W/z3m+6yqmGX9IAY5/5cZkaio0i89aFyPII1pawvCDMpNIlm 2nuIEVSa9ugOKMN2LCca0K1hD5KrIMIykL6ZYt36YItLuzx4B/S0p7Y4D9OTXD0tZ+C7 gFsxwdLS+hny8TjCUYvRvxUAFBi1wph7UIMHr5OGY45m9B3l+Q4zCZlApL6UOOpDzNnw lbJw== X-Gm-Message-State: ACrzQf2oHKkhlj6wRv57qZ4CLtB972jE+9oKBT8TZEwhjb8zZQG/MSQm VTZ9LREPVScjmVg5Nntjq5n8NmvNej6NfQ== X-Received: by 2002:a05:6000:1561:b0:22f:7201:74ad with SMTP id 1-20020a056000156100b0022f720174admr2494172wrz.340.1666111564006; Tue, 18 Oct 2022 09:46:04 -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.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 09:46:02 -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 , Javier Martinez Canillas , Sam Ravnborg , =?utf-8?q?Noralf_Tr=C3=B8nnes?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/tiny: add support for tft displays based on ilitek,ili9488 Date: Tue, 18 Oct 2022 18:45:26 +0200 Message-Id: <20221018164532.1705215-3-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> References: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747044983709438148?= X-GMAIL-MSGID: =?utf-8?q?1747044983709438148?= This adds support for ilitek,ili9488 based displays with shift register in front of controller. Waveshare,pico-restouch-lcd-3.5 are such displays Signed-off-by: Tommaso Merciai --- drivers/gpu/drm/tiny/Kconfig | 13 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny/ili9488.c | 440 +++++++++++++++++++++++++++++++++ 3 files changed, 454 insertions(+) create mode 100644 drivers/gpu/drm/tiny/ili9488.c diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig index 027cd87c3d0d7..6e708e8414806 100644 --- a/drivers/gpu/drm/tiny/Kconfig +++ b/drivers/gpu/drm/tiny/Kconfig @@ -148,6 +148,19 @@ config TINYDRM_ILI9486 If M is selected the module will be called ili9486. +config TINYDRM_ILI9488 + tristate "DRM support for ILI9488 display panels" + depends on DRM && SPI + select DRM_KMS_HELPER + select DRM_GEM_CMA_HELPER + select DRM_MIPI_DBI + select BACKLIGHT_CLASS_DEVICE + help + DRM driver for the following Ilitek ILI9488 panels: + * LCD 3.5" 320x480 TFT (Waveshare Pico-ResTouch-LCD-3.5") + + If M is selected the module will be called ili9486. + config TINYDRM_MI0283QT tristate "DRM support for MI0283QT" depends on DRM && SPI diff --git a/drivers/gpu/drm/tiny/Makefile b/drivers/gpu/drm/tiny/Makefile index 1d9d6227e7ab7..aad6683b2ac40 100644 --- a/drivers/gpu/drm/tiny/Makefile +++ b/drivers/gpu/drm/tiny/Makefile @@ -11,6 +11,7 @@ obj-$(CONFIG_TINYDRM_ILI9163) += ili9163.o obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o obj-$(CONFIG_TINYDRM_ILI9341) += ili9341.o obj-$(CONFIG_TINYDRM_ILI9486) += ili9486.o +obj-$(CONFIG_TINYDRM_ILI9488) += ili9488.o obj-$(CONFIG_TINYDRM_MI0283QT) += mi0283qt.o obj-$(CONFIG_TINYDRM_REPAPER) += repaper.o obj-$(CONFIG_TINYDRM_ST7586) += st7586.o diff --git a/drivers/gpu/drm/tiny/ili9488.c b/drivers/gpu/drm/tiny/ili9488.c new file mode 100644 index 0000000000000..b94d9d4ff4544 --- /dev/null +++ b/drivers/gpu/drm/tiny/ili9488.c @@ -0,0 +1,440 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * DRM driver for Ilitek ILI9488 panels + * + * Copyright 2020 Kamlesh Gurudasani + */ + +#include +#include +#include +#include +#include +#include +#include