Message ID | 20221226134909.2822179-1-javierm@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp918419wrt; Mon, 26 Dec 2022 05:51:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXuMx7oDsqXEUpk0NQucp5jN3ahhqZnxXG/AWpZ7xr6QIIKy8ncFwmrEh6yocZLoV9Jo1Uvg X-Received: by 2002:a05:6a20:8346:b0:a7:8ce5:6fc6 with SMTP id z6-20020a056a20834600b000a78ce56fc6mr17264900pzc.13.1672062692718; Mon, 26 Dec 2022 05:51:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672062692; cv=none; d=google.com; s=arc-20160816; b=CVF5fC7z3EPMpfH2DENpvadgBF17GcrwpfaiiRyLrxKHEAx1VK60nCzgn7OhvpwIyc 0ZDKxeY6qpFZhsLliZSFeXixfvChvcoAIMOxTiJoj0n1BSdU+L101n/3sAxdFIkNRthB GdD9PBlfo/dOplyMBsiHpWfptTuTnsg1LwI51qGUxb9yqeGOKzxR3VM5BJNQ/qB3kDSZ 7iGhmDQChWqCH/mYyEz1pO0qYnJaot0ag15Nm8pFVZRSI5ivnY7IwJaE/GuYGDp3E2V+ bXmZ3Pmv1ugYh0+jEvnVUlIbyh6pRCg2FvCT1Ns2YWgK64ymARtKAmhytFMUl5tQwpX/ eziQ== 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=zUK8ohDvHrqcANf/NgU5DC4WBrgNFcEfShtnNkgckEM=; b=xTkoGf53SVBrEtzU6+s3KB0LfgMULXK441ExJXrLg+c+8pbxlIorVKvY/nnZ4jl22l phY6EBdweCfFTWY06xfpvwW/tvPjjPnmyndjq4mHu3B3QTwR3RwKBqbU+Rk5ntdUct+S 2E6pzbYApBji5gQZ69QOl4TuG3nEAQceEazm9izPoQKqnFUEj6j9cyFavVOSLmukjYXO y5nQIEuLaXxONN4aGGUoKAbfS8MQzSK46/EZY9BzSvXbF8wrH9ha0Wr4CfKYj+qtObIj 7MeVDoBqNTDE1LndGjwZqDJpiPi+hnXxkEAE5ueZBpE9HAvzXmh6AUAMkcn7hYtRy4Mr 4OcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O4MI79to; 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=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w189-20020a6382c6000000b00496731929d4si9157237pgd.354.2022.12.26.05.51.20; Mon, 26 Dec 2022 05:51:32 -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=@redhat.com header.s=mimecast20190719 header.b=O4MI79to; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbiLZNuO (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Mon, 26 Dec 2022 08:50:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbiLZNuL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 26 Dec 2022 08:50:11 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2238A10D4 for <linux-kernel@vger.kernel.org>; Mon, 26 Dec 2022 05:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672062563; 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=zUK8ohDvHrqcANf/NgU5DC4WBrgNFcEfShtnNkgckEM=; b=O4MI79toXJnEL7uzduGYR9A2y3+ObMwOyFBlON8EAmeYRDjWbao+ELwsc3ap8z5aijVjwW PVSYsjmt7x3xokGugenWapj812X40MePXf54Tp4pFMHwUeZCT/xEyYcGsZDQmwSZp1poT+ Pfty1GG6KAB61pSyhjrdpoG446/NOl4= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-281-M5PxgIjzNyWH-dGmtcIH4g-1; Mon, 26 Dec 2022 08:49:22 -0500 X-MC-Unique: M5PxgIjzNyWH-dGmtcIH4g-1 Received: by mail-wm1-f70.google.com with SMTP id bg25-20020a05600c3c9900b003cf3ed7e27bso5638655wmb.4 for <linux-kernel@vger.kernel.org>; Mon, 26 Dec 2022 05:49:21 -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=zUK8ohDvHrqcANf/NgU5DC4WBrgNFcEfShtnNkgckEM=; b=zmuWTcAJMbL5ejo0VcsamQagJQRh8sy86q4nEkOZb7AlmgjR160vy00NWPWB2bf0I3 KqCKO/0HUUfgLHXQ7KLUcw/ta23/8s+GWkyIQvyj8d+bHOmIrVZ7BIrrFAdqEAlY476+ h3KmKvaK22gYgdf+B4rBVof8dY3lViev6QQ8l7sfjoJmsEiGKqi+NHM+EOdiYubfG0zF xJcFqKLv3b0h9N0BgdiRu5TXiLXUxabNAJPy0Ere/xLeXK2oiBPfh/Rh5LbLnQDEqkdT FIeDcvY5owtuO2JUCgO0koBMUSQy0WMCqr0ctUVoGQZ0OI7wGFOTHyNi4xcJh6dHfq3x sGww== X-Gm-Message-State: AFqh2kpLw4RuynbscAcQIhBmbiTI0ZIJqvzRnEoRE1wOWlil+fhALZ+Z /d4IqBaUv5LNRDreK+mtHWVgFwrnNJs8448r2GPdOmhrTuYp2tZuS2RkOx74gaAknZZPUSrsjvH w0Md/sOhrg3zG4MkpZvEFAe6qH2bO5tIvFyPHCBgcOnWNLBIaND5HU9a8kipGBIaa/gZ+4qD6BU o= X-Received: by 2002:a5d:53cd:0:b0:261:d8be:3047 with SMTP id a13-20020a5d53cd000000b00261d8be3047mr12086650wrw.3.1672062560830; Mon, 26 Dec 2022 05:49:20 -0800 (PST) X-Received: by 2002:a5d:53cd:0:b0:261:d8be:3047 with SMTP id a13-20020a5d53cd000000b00261d8be3047mr12086623wrw.3.1672062560498; Mon, 26 Dec 2022 05:49:20 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id a18-20020adfed12000000b0027cfd9463d7sm3340947wro.110.2022.12.26.05.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 05:49:19 -0800 (PST) From: Javier Martinez Canillas <javierm@redhat.com> To: linux-kernel@vger.kernel.org Cc: Ondrej Jirman <megi@xff.cz>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Robert Mader <robert.mader@posteo.de>, Sam Ravnborg <sam@ravnborg.org>, Maya Matuszczyk <maccraft123mc@gmail.com>, =?utf-8?q?Kamil_Trzci=C5=84ski?= <ayufan@ayufan.eu>, Martijn Braam <martijn@brixit.nl>, Peter Robinson <pbrobinson@gmail.com>, Tom Fitzhenry <tom@tom-fitzhenry.me.uk>, Javier Martinez Canillas <javierm@redhat.com>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Heiko Stuebner <heiko@sntech.de>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v2 0/4] Add PinePhone Pro display support Date: Mon, 26 Dec 2022 14:49:04 +0100 Message-Id: <20221226134909.2822179-1-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753284809842716227?= X-GMAIL-MSGID: =?utf-8?q?1753284809842716227?= |
Series |
Add PinePhone Pro display support
|
|
Message
Javier Martinez Canillas
Dec. 26, 2022, 1:49 p.m. UTC
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. This is a v2 of the patch-set that addresses issues pointed out in v1: https://lore.kernel.org/all/20221222223830.2494900-1-javierm@redhat.com/T/#m692655a06093fe8df0d8748b3df338e57494af2a The patches were tested on a PinePhone Pro Explorer Edition using a Fedora 37 Workstation image. Best regards, Javier Changes in v2: - Add year to driver's copyright notice (Sam Ravnborg) - Remove unused <video/display_timing.h> header include (Sam Ravnborg). - Use mipi_dsi_dcs_write_seq() helper and drop custom macro (Sam Ravnborg). - Drop unnecessary info messages and move useful one to debug (Sam Ravnborg). - Drop redundant "bindings" in subject (Krzysztof Kozlowski). - Drop "device tree bindings" in title (Krzysztof Kozlowski). - Put port next to other "true" properties (Krzysztof Kozlowski). - Add Krzysztof Kozlowski's Reviewed-by tag. - Fix regulator node names (Maya Matuszczyk). - Drop non-existent "poweroff-in-suspend" property (Maya Matuszczyk). - Remove unnecessary comments in panel node (Maya Matuszczyk). Javier Martinez Canillas (2): dt-bindings: display: Add Himax HX8394 panel controller 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 | 65 +++ MAINTAINERS | 7 + .../dts/rockchip/rk3399-pinephone-pro.dts | 123 +++++ drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-himax-hx8394.c | 446 ++++++++++++++++++ 6 files changed, 654 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml create mode 100644 drivers/gpu/drm/panel/panel-himax-hx8394.c