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: 3248 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp24692wrn; Thu, 22 Dec 2022 14:44:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXtCjuJm8XrB/GDX4kpAnFszg0tlFxAe73jgTdQNMnqEIDkU2tHRHKcwgAJgd7zSj/t0+A8e X-Received: by 2002:a05:6402:528e:b0:481:420e:206d with SMTP id en14-20020a056402528e00b00481420e206dmr580700edb.42.1671749041859; Thu, 22 Dec 2022 14:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671749041; cv=none; d=google.com; s=arc-20160816; b=lbhRcRbKv7tu95YH584j5qauamGsjc210ifGGP+5hDC8XO6X6bSeduIBVyGr9dtY1f GMLDLl6tco2EbEJ+J+koQE7hdnj52jyyI8A/+erXAXqsvw0wTWOuqQGkoXOoJJDNOO42 sqApMqEAm04S8xh7eAvGDrwe+62ukcnHfyKZMCIyEcg62bWIfJMqiUjNwvcUupiJwHlU JmoZ6wY+0grF6KOHeSiPqB71P7QOt/55Z5a/uEPll02QBpGrJ0l6BZyJEVpRvIm43cFF nGS+tP3rTZCtqUnwAmAM6IKoStp+oRmoyLEGtuzakQ2parJclJWH5y+8wT0saBLUo7/L bPFA== 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=TE23DSdNWuSZ0vKWHoTlUXd7XsU2QKplwAo6+35hXVY=; b=O2+8IWoi8UIMdTA+sh//jS63xSRC4txmC6smwsqTDos8ICn+5/upZb4Uc/bcTf9GHL 5S4yCoCFNxpRlCNGjMxvjrX62DyGUP1iHhUnol5QH6Wzf2b9Sm/5r8AGQUDteVrCgxXs oFA6Xo5gxZX80zfv7hTdDf8FR79Xp8/KBYXKKC9T1sqZUx9IxLVfCOTzpU7/9kDibST9 UY3rvrmsI9B0tCbDOPIvA6ng/GNmkS4+ekSkjIsBWEcPYcF6hH7vdIEgpkD60yK2Dr8b sk196EfBO+uivyc/6IGcQUvKjf/QVaz20FZzKLFSjQz0TZOWZI4yVaRuq1snByXWDSqs P2PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e+64sIAH; 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 m20-20020aa7d354000000b0047866149cdasi1284952edr.388.2022.12.22.14.43.38; Thu, 22 Dec 2022 14:44:01 -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=e+64sIAH; 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 S235678AbiLVWjd (ORCPT + 99 others); Thu, 22 Dec 2022 17:39:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiLVWjb (ORCPT ); Thu, 22 Dec 2022 17:39:31 -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 AEE0BA45A for ; Thu, 22 Dec 2022 14:38:44 -0800 (PST) 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-3-AOWeNwZYOLKelXvMyV2loQ-1; Thu, 22 Dec 2022 17:38:42 -0500 X-MC-Unique: AOWeNwZYOLKelXvMyV2loQ-1 Received: by mail-wm1-f69.google.com with SMTP id j2-20020a05600c1c0200b003cf7397fc9bso1364939wms.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=GDHE8TcWnqCXqwBrXqoN/opNUz2n5auj6W8veYhKIoS9uAQxGxLYTuBxoyc4AL36m+ pxVVJmAjltxeal6rq2XatlogbFwFkUG03BtRqNXd4+8sCqZ+mrUA6PgIce3YN88/Af8+ 28EH6oO/IfC/+kl9G7jx5qFKiKKWf3tERC7beAQr9U59UzW4V7TMkJ1QPvNpg753jlI7 yeXEPrb7NmOCD+wxJ8Se3rwncfJkTc4cUA+3o6QBwU7XuFxLOPMrTxFlIEG+TMHL8pbK DT2GVsvqFWrV+fHOpdoYOTtHAqJMsytuuP/gHDDuGIPkDh7XJVJjbLWJX99dLEyQjCiz Y7zw== X-Gm-Message-State: AFqh2kpJq7bv/tmtb4UA6spmpBx9+//B4q/DPxYf4Ls+EsOR6mWpaJNV 9j4I9KwmW5ZVFoCsfahbKnZA9ViR7UGSLWwamNEV7Ir+fxhh8cIEKCHrFRXiE5WT2/HEsiV8NAV x5P0ZpOdBxfVAn/srSdsgyDEwjgRoYPzv7/7y7Q9KRhwe6FebK1jN/hkgkOEUAtPuHV7P8BKFIt Q= X-Received: by 2002:a05:600c:1ca5:b0:3d1:d746:7bca with SMTP id k37-20020a05600c1ca500b003d1d7467bcamr5584848wms.4.1671748721359; Thu, 22 Dec 2022 14:38:41 -0800 (PST) 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-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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752955923356015837?= X-GMAIL-MSGID: =?utf-8?q?1752955923356015837?= 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