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: 13080409 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 D4882C4332F for ; Thu, 22 Dec 2022 22:39:03 +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=707cXeCxAo4Kg0GsI7p7D9GuQv9kOJw40qMoitt+0LY=; b=Cm6xZ3T9+DFsDU IxhGRBicOkANJSFjcf/D8egBaX02/Td5TvQD+aDKdjqISfX1v79Ku/RQQYvxrsrnveYwjqUJQQUxZ CGvU6qFArq91bGNcqTFMIHqHaVF4dEeTfRNTrFUTnnT7y1hiPlbbkrpxRXxwgATVd2O8vFo6aH9k3 vCK4apHZBYDljBciwfwxxA5KJ+AyuGaESSwfkidvm6SquROlj+ET1Lon4PaHFqb1tuDW/KClqRfIf gYq35nxLY9BAnFO0koTyV1enuLqyFl7QF4ym9GhWxrQtkZRmsWciYBQc8YMo5hMkYRAqgOIZSkV5B 32TkFuwbkppyPVf4t3zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8UDC-000EM6-KL; Thu, 22 Dec 2022 22:38:50 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8UD8-000EJq-Mr for linux-rockchip@lists.infradead.org; Thu, 22 Dec 2022 22:38:49 +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-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-505-o3x6NI6yPCKo9cYIiTj-zA-1; Thu, 22 Dec 2022 17:38:42 -0500 X-MC-Unique: o3x6NI6yPCKo9cYIiTj-zA-1 Received: by mail-wm1-f71.google.com with SMTP id j2-20020a05600c1c0200b003cf7397fc9bso1364935wms.5 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=AzFMIDE0hY9egd3KOM3hMXibObrjYHYnjdVAAJBVmI8yAqwcH/X0Zllsrbetw7nQ2g vHp5TEiRUjUIiJ05lhryp1+Rasi+awOHn/V1rQtT8kbnkGI86aUqPeqTJOnbajyJYr37 amVrIzGAzPbuYdwq0dTPWqFHt9csv95ub/mzf1klXKEBHC5ZnrBgdxqViZnB5CmTJu1G iuEzsgFcTGoM1Raz2qi1l4bLZ9WUNgYR9ThND363yVEYMRKl9P9nrqKTiHHiwCI/mlVy /6JLKvK9bKQdFuLLkJ3aFqmtd8OQRYR+SJd6RJLqwCQzvzzM9ZFq5SYFCHwp+yUdpefO 2ykQ== X-Gm-Message-State: AFqh2krDGObG5bmJiTI+ERhHxQWwVvih2GRkr02lj3L3DNAtFLvnbPYp xrpsBSCA0WMWs+8tgHZHqsyKI97X8kAxgvzcN2ZLia6SnaHiBbyoYQ/OP1NBuw80HUFaq2+Db3J umu2WNr0rTcZQ+2yOpfdgH/DiwSJouD3P X-Received: by 2002:a05:600c:1ca5:b0:3d1:d746:7bca with SMTP id k37-20020a05600c1ca500b003d1d7467bcamr5584833wms.4.1671748721319; 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_143846_880863_FB93A39D X-CRM114-Status: GOOD ( 17.94 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=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