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: 13084389 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 51D1DC4167B for ; Fri, 30 Dec 2022 13:48:12 +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=VqpPsNDLmMaomzj49Hb+OfdMd2W6ce90NKfqPf2HOBQ=; b=zd05NTWbfX0J0u L87Mp+c/4WwiicWTTLjLikHvp59291ib1m8fKvYJFLA8Vi+EpLOAn3lspi7Q6YgtR1Akq1I0WSxif USFw39Xptv/dIDKMB8B9jqrywj1GIplqtESbt1nbh3Q3Wb1bW7y08rYdB9zeTx84atSgqFmxGATgi QCCu6/E4qPQuJVyK6gN1JpBwQJ5XEJSN4NHuTYvHwkIZLZ2BW6xxkXncgey9BCX1GoVrTeVAwISmz BlefFgsFn2DqROZtUQFgTs+XvD4A2w8JER2j6RWGuFLbeh8VWF5UAQbmSIKZmCmlW3440BbPx70KC WT5QPY8zSBq7PfAl2odA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pBFiJ-009eFt-AQ; Fri, 30 Dec 2022 13:46:25 +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 1pBDcc-008YvR-B9 for linux-arm-kernel@lists.infradead.org; Fri, 30 Dec 2022 11:32:25 +0000 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-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-581-o04Nybs4Nr6A7wXVwoBgYw-1; Fri, 30 Dec 2022 06:32:18 -0500 X-MC-Unique: o04Nybs4Nr6A7wXVwoBgYw-1 Received: by mail-wr1-f71.google.com with SMTP id s1-20020adfa281000000b00241f7467851so2536915wra.17 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=wHnVOwjoNqy8d617JBeUVTUywdKU7B4x5Wapzc+qIAr3d4C7X2dBYO8YyKsQI47ZtR uB03NIzuuesrd+l3arUZ0dO0vTSpNxs6d6YQ0opI+EBeQCfRLBoQR7GXoqDcwkQsg0cQ 6KW+qT5y1V1iyFKZXIZqCN7meBLpTfaQ/H1uxoFJmfCuzhyvDQhrf55M4Q3yTa1/HxsX N5J+aLeo5MlQ2vlD4/uHlYYA9wX0ZTfvgBWjKmlvRejuPA1z63pBQMlpe561YWDZyACq iZmLklyLrkZfmR19yl3aSb8poX9+S0dnnFu3ywmHkaBUaPS83imZ/5YTcZcAWiMMucSc EnrQ== X-Gm-Message-State: AFqh2krXOIIcfh/kdUgSbtPkykJGIhrY6/eztcbxbzXvUV8uAkgctv1f B0tGhF8ZNp2oI/dYnjhRFob5HB6bJk7WtUBWfxiuHoxn2NiJnQu1awkKXAQo0AUKdsAzdMJJAb1 fecQMO883EnGrxMyhV1BLjPpymeyxawN+nnU= X-Received: by 2002:a05:600c:1da3:b0:3d3:4dbc:75ef with SMTP id p35-20020a05600c1da300b003d34dbc75efmr22353781wms.17.1672399937558; 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 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-20221230_033222_725637_938BC517 X-CRM114-Status: GOOD ( 21.10 ) 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. 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