From patchwork Thu Dec 22 22:38:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 13080411 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75013C4332F for ; Thu, 22 Dec 2022 22:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=o/6RFpLbP2FvVRJV7EJ5ebEjD9Xnpl2XmPtoQ1O1UdQ=; b=kof3WDevokMOHn C/27HqBztEwA4P7QjLVcuaaZLTX5bSfWhHARvl9BOTCWic8wniN9pCJ2lgnRW19JjWpOkf+OO/Y0j WmX1aD5uLja1GN+EAWbXHLLwTYBlDjONJKFNs+6u2ZZWOPCf+HtzJtA1I12WQN6d/mTPsHAty9HBw Hpn/T/a8kanTmXMJZn8zmJNE2qSHNWYN55n8sbbM/1nWoALgXvqPZaI6h1AlcarHbHG0/bfUTUqtS pv3Q28YB14X2L2r6qeKXSc3SIivC7LZ7p2n1+xXXruqz2ivH6Nzn8HwudZWJWWDRTzOE0NyyxhLT6 baPHZ9tYlJh9nxVQ5oHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8UDO-000ESG-E2; Thu, 22 Dec 2022 22:39:02 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8UDF-000EJn-3L for linux-arm-kernel@lists.infradead.org; Thu, 22 Dec 2022 22:38:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671748723; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TE23DSdNWuSZ0vKWHoTlUXd7XsU2QKplwAo6+35hXVY=; b=e+64sIAHPWsK7naYsrLLHD+nbzB5DWS2V1/rT0r8LLNR0fBYayBty8pzgIYZauDlnaLeTX xMIljlEdT5bT9nD1sHUZXLGAS1lnUvB0n7ZASuw/ZISGTbr/wCv4elBQiqR9RsYgsHnmHK /8VCglt8FblQHpJS20mugiiJ7Q/SUeg= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-530-SH_keNnIN-qv30nDe5BAaA-1; Thu, 22 Dec 2022 17:38:42 -0500 X-MC-Unique: SH_keNnIN-qv30nDe5BAaA-1 Received: by mail-wm1-f69.google.com with SMTP id bg25-20020a05600c3c9900b003cf3ed7e27bso1365190wmb.4 for ; Thu, 22 Dec 2022 14:38:42 -0800 (PST) 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=TE23DSdNWuSZ0vKWHoTlUXd7XsU2QKplwAo6+35hXVY=; b=kndUINE766jzg3QKD/PUMw+i6NYhKzCjwEfy30DLcyAOqBoEVfDTiM1SYrGX1aWb0n utKV4TBpYEsqL5pFcPmpii9ArdR1KR2uxe/y0oSgjmhUl1XoGu9FbHUP/vLG3mMPKCmS +xvEB1NYDxosXCVo3OJArOvdlleQoOX6gzRktS7UEIXa9M5/VorSKs36K7ifmGCouztQ jGrfuXP7kL1s2PKQvqhmNTbeP/QXZV/ZT10/7LOvvB/yJVKl5mWVFBUzyMAK4uGwvZnG yPmisxDQKTvJc+nmkxl4oi193luzkOCm79RoVmb68/PZXI5FYADmfEYyWQU6GAZKgvlZ UvPw== X-Gm-Message-State: AFqh2kr6t6pMVn1N/YsXD0G15jafUHYBRJU5mO/M0c5CTVY5+WNHDDak +FEbWGaMylMHlKmQCg9aV8agQgUL5a5HzB0/szMdvdjw7XqTvaeHO2D1+iJCaZ88y2gOCNmABiD 9IdeWaCFd5CY4+s8j+xjxpGw9iG7JL5+eOUE= X-Received: by 2002:a05:600c:1ca5:b0:3d1:d746:7bca with SMTP id k37-20020a05600c1ca500b003d1d7467bcamr5584847wms.4.1671748721343; Thu, 22 Dec 2022 14:38:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXt17D6lN1ULKnX6zKVXMwfCh9S42fx9uklw7XxdwaE+3NeI3tkubhfYDOtnhDoxlw6v3WzhTQ== X-Received: by 2002:a05:600c:1ca5:b0:3d1:d746:7bca with SMTP id k37-20020a05600c1ca500b003d1d7467bcamr5584825wms.4.1671748721075; Thu, 22 Dec 2022 14:38:41 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id n25-20020a7bc5d9000000b003d969a595fbsm2386239wmk.10.2022.12.22.14.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 14:38:40 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Ondrej Jirman , Robert Mader , Peter Robinson , =?utf-8?q?Kamil_Trzci=C5=84ski?= , Martijn Braam , Javier Martinez Canillas , Caleb Connolly , Daniel Vetter , David Airlie , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , Sam Ravnborg , Thierry Reding , Tom Fitzhenry , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 0/4] Add PinePhone Pro display support Date: Thu, 22 Dec 2022 23:38:26 +0100 Message-Id: <20221222223830.2494900-1-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221222_143853_245303_86FF1512 X-CRM114-Status: GOOD ( 19.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series add support for the display present in the PinePhone Pro. Patch #1 adds a driver for panels using the Himax HX8394 panel controller, such as the HSD060BHW4 720x1440 TFT LCD panel present in the PinePhone Pro. Patch #2 adds a devicetree binding schema for this driver and patch #3 adds an entry for the driver in the MAINTAINERS file. Finally patch #4 adds the needed devicetree nodes in the PinePhone Pro DTS, to enable both the display and the touchscreen. This makes the upstream DTS much more usable and will allow for example to enable support for the phone in the Fedora distribution. I only added myself as the maintainer for the driver because I don't know if Kamil and Ondrej that worked in the driver would be interested. Please let me know folks if you are, and I can add you too in the next revision. The patches were tested on a PinePhone Pro Explorer Edition using a Fedora 37 Workstation image. Best regards, Javier Javier Martinez Canillas (2): dt-bindings: display: Add Himax HX8394 panel controller bindings MAINTAINERS: Add entry for Himax HX8394 panel controller driver Kamil TrzciƄski (1): drm: panel: Add Himax HX8394 panel controller driver Ondrej Jirman (1): arm64: dts: rk3399-pinephone-pro: Add internal display support .../bindings/display/panel/himax,hx8394.yaml | 68 +++ MAINTAINERS | 7 + .../dts/rockchip/rk3399-pinephone-pro.dts | 124 +++++ drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-himax-hx8394.c | 460 ++++++++++++++++++ 6 files changed, 672 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml create mode 100644 drivers/gpu/drm/panel/panel-himax-hx8394.c