From patchwork Fri Dec 30 11:31:50 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: 638273 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EA3BC4167B for ; Fri, 30 Dec 2022 11:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234344AbiL3LdF (ORCPT ); Fri, 30 Dec 2022 06:33:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbiL3LdE (ORCPT ); Fri, 30 Dec 2022 06:33:04 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58088140C7 for ; Fri, 30 Dec 2022 03:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672399940; 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=+/oAGKz8UHTa57iRKW4s5lGYuywGUey4a7vrsAc6ygU=; b=EcvyVIlMhm4wLGraSAChKMIfXVQV5dwqobw0jvr/89MghzLMlN8w3G+iIMbGDC6FajFJfr jH/BE7Iud/jg0ezO892XqOR6uWE9DyYjDu05RMO1Q2btSCqUfihnq3I4W3Oe2A/+lkxk4S a1B9Y0hdrHZsIW1ylRcSOoAkAfDM8r0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-202-H2yXjCkzNDiw3_Z0fYWhng-1; Fri, 30 Dec 2022 06:32:18 -0500 X-MC-Unique: H2yXjCkzNDiw3_Z0fYWhng-1 Received: by mail-wm1-f72.google.com with SMTP id t24-20020a1c7718000000b003d1fd0b866fso5340516wmi.3 for ; Fri, 30 Dec 2022 03:32:18 -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=+/oAGKz8UHTa57iRKW4s5lGYuywGUey4a7vrsAc6ygU=; b=TM2viN+ipne9kqgEhjwiMfNMmbkX3InvV2UDuRIQch9xPIMGV4HhotdKNv7jL73oCG 1TwOV31LSeQH1MQkzEPKO4aK84+8RtmEO+QzyMe6aWP2/m5S5hF54R2upyIo09AAIy2w itAZNCBQBkMxuqimhnSpovFoWFhHlh8diNcU8L82vtORf3PrQae4x9cXjrm1+KvMzQo2 McEKGkoe8u1x58/fIxRR+FxWYaEi5kBqVVR0KV2ER/lUi1Zz6jVxPSSoXqZTgHS/j1Cu Eh/374m3P+w7zHmX2ahR2zOpAhPbWD82kWvKN6gA7kT19n42FTDH5ezMCoJPiREPGyIb yPGQ== X-Gm-Message-State: AFqh2kpp1B7QwgCGy7KDnf8IFG36IxaLg/wx9IGfGQu//r4wYCR58uP9 AIJ6rV892KcEyRzlxSQcN1OmTG3WMx8hlbX7p4YAzDEnEI1noOtjRPEdns+8/ok6ZQTrEJwMLac /sXoqV4orwo4xDjYIseBqOA== X-Received: by 2002:a05:600c:1da3:b0:3d3:4dbc:75ef with SMTP id p35-20020a05600c1da300b003d34dbc75efmr22353770wms.17.1672399937556; Fri, 30 Dec 2022 03:32:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXujD8ZzgS7Pb826oREyFiC1KNraLQbuNX7XL2S+SNLv8iwIINUvUgMCaq86xR2bPIYl4qfNTA== X-Received: by 2002:a05:600c:1da3:b0:3d3:4dbc:75ef with SMTP id p35-20020a05600c1da300b003d34dbc75efmr22353756wms.17.1672399937268; Fri, 30 Dec 2022 03:32:17 -0800 (PST) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id y22-20020a1c4b16000000b003d01b84e9b2sm27638432wma.27.2022.12.30.03.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Dec 2022 03:32:16 -0800 (PST) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: =?utf-8?q?Kamil_Trzci=C5=84ski?= , Martijn Braam , Sam Ravnborg , Robert Mader , Tom Fitzhenry , Peter Robinson , Onuralp Sezer , dri-devel@lists.freedesktop.org, Ondrej Jirman , Maya Matuszczyk , Neal Gompa , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Jagan Teki , Javier Martinez Canillas , Caleb Connolly , Daniel Vetter , David Airlie , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , Thierry Reding , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH v4 0/4] Add PinePhone Pro display support Date: Fri, 30 Dec 2022 12:31:50 +0100 Message-Id: <20221230113155.3430142-1-javierm@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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. This is a v4 of the patch-set that addresses issues pointed out in v3: https://lists.freedesktop.org/archives/dri-devel/2022-December/384560.html The patches were tested on a PinePhone Pro Explorer Edition using a Fedora 37 Workstation image. Best regards, Javier Changes in v4: - Add fallback "himax,hx8394" compatible for the panel controller (Jagan Teki). - Add Tom Fitzhenry's Tested-by tag. - Add Sam Ravnborg's Acked-by tag. - Add Tom Fitzhenry's Tested-by tag. - Keep the DTS nodes sorted alphabetically (Tom Fitzhenry). Changes in v3: - Fix example snippet for `make dt_binding_check` to pass (Krzysztof Kozlowski). - Add Sam Ravnborg's reviwed-by tag. - Move driver patch after one introducing the DT binding (Sam Ravnborg). Changes in v2: - 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. - Add year to driver's copyright notice (Sam Ravnborg) - Remove unused