Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1048815rdd; Wed, 10 Jan 2024 07:14:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXIvZPvIF6HtbTlkPg7v7LjE58ZH1JkvfPgK2Iyrb3CfEW9/0IL2XGjPfUR8f1WP8UoTA5 X-Received: by 2002:a05:6808:3a18:b0:3bb:fc82:f36a with SMTP id gr24-20020a0568083a1800b003bbfc82f36amr1276973oib.93.1704899686343; Wed, 10 Jan 2024 07:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704899686; cv=none; d=google.com; s=arc-20160816; b=tZ0K6DR4w1HMZBRoX2vZXaLH6FgGZ/1WyMaOX97MAM2lcWn1/oA9UfctlxftZKNTSS 3959bEf4+OnC05liaRnsG00rx0cdRQsLzDc98DAA7abDBa/9BQpK+brZM9K9aS8Up5d8 UYvhN3pdmrj97WHdIesFFouxPQ12nfNzo0HlBddZB9agj9cq88s36/m5YyNRNoaJIXBO 2aXpQcIZyURUnRaMyUr/bwRJsf7Z/IuWLBG+pQm/RkxghBWsH2B3wE3MkBbKTF8gEYq/ 9dogu6VTHSJdNZOisNrQOlpkLBrSIUj5f6AUCY1JbQUEIwRiVT47Fp0rlRVJZXHWqcjo lmNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=8SieuMzS9DY3Pq9rPlup7/9ZFoFKz0B/pmDiOQsHEqI=; fh=2fKqleBRX7SBqXNwdBcqknvrBmcJ6EYgT2hGO5olphw=; b=xEySN8RxBQ07xQ3ZnrPPSC/13DLZFMi3LluylGA6Z7k8XETbRnoxLc/FHNYqtWsVWi c0x1j/ys/a3WWIBVMHIcW8mZxTbWHIsLUyehRgko8TfCJY4rjCERKVnUbblcTmOA81vS V/YpovNloSgmmdi/EULjZZ/5Edl2KPM4sSdU3Uq9D/MfJte/JgEJ1egaoF3h5uJkTHnN lqnERFOBu684c3R+qqF7tDhYOTUSGU8m1p3Y9MpSKa0flun6q0+L2p40I6cU15WP2n76 ijj9O1yvADL6UWMBYJRHHPvt+P6rrV0JdqDSsgx1WquAHRO5HRQEqnzFvnCZWp47Z3r/ piWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=it+DHZrv; spf=pass (google.com: domain of linux-kernel+bounces-22405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22405-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h14-20020a0cf44e000000b0068028d3a02esi3723673qvm.414.2024.01.10.07.14.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:14:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=it+DHZrv; spf=pass (google.com: domain of linux-kernel+bounces-22405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22405-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D1A81C21E30 for ; Wed, 10 Jan 2024 15:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 090F14C62A; Wed, 10 Jan 2024 15:14:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="it+DHZrv" Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E3064BA9B for ; Wed, 10 Jan 2024 15:14:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-a28cc85e6b5so496321266b.1 for ; Wed, 10 Jan 2024 07:14:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1704899657; x=1705504457; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=8SieuMzS9DY3Pq9rPlup7/9ZFoFKz0B/pmDiOQsHEqI=; b=it+DHZrvdiYS4KhFY35+ZNPhhteyoUoUJVav3AoO7iuDv95w2HVE0s9NNAVT77PtCJ vHuJVj20ocCUb/H6D6qBktjZVVUFz+z7SB+fILUkdHMfdYo2rfQyuuyWtJlgvlP7hRBQ OXoypi5lAGbt3IFReJj6wWHfGd3cC10u4gZrZlL07TSbUSMyg4Kw2Xof3YvuI+XjfD7f zQPUZq+Q5Bn56fOBj2TJazI6i/AvTPhqWogWqu7M5AgwbsLVVGZ8ish62f0FVfjBaE0Q J4Q78BWU2Y0oF9s7Zd2lFiw9CCi/4GGA7NGfr+iPm5hfjapClHr8r5iA8FFJ23sgsb5N uLdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704899657; x=1705504457; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8SieuMzS9DY3Pq9rPlup7/9ZFoFKz0B/pmDiOQsHEqI=; b=uHrEVpKCGbn3Qo8TgzwY+qZaxJ0DFOyxa/mHgnNqH4YbSIymexkOkT6uvbyU6CojRA dcxzj/gX5glC59Q0KyzGK7a9QJLfn95cxsZjsUXlhwWEod54amZCWBZSXiqRXwiiLLci KEJTkA/OWRkuWfnjHbWKVxsjhFvfktnwWKM05uNRNQOEJDiNgj8SuvrS7+EAg0RDsfAr khWuddrKMgLyeQBH0GpqUn0acLlmnYGxF8IiBqz+yExe5s90LAEIv1YqKPDGv3Q3kKAI 1KArBMDjIqnvUM6xnwOsHHyJoyngkRybq3wcfjM6VhwwQWgmqTsNPLxBbMFGinhJHYpa jPmA== X-Gm-Message-State: AOJu0YzG8JDI5UW6xGSRmHo99ng0WFf6ragys1Bn7zaKmJ2bo7q7CwVV 15DqI5NxIgOkFU54bBrGJKS3eS+hM8aLIA== X-Received: by 2002:a17:906:6d59:b0:a26:b37d:bab4 with SMTP id a25-20020a1709066d5900b00a26b37dbab4mr484522ejt.171.1704899656621; Wed, 10 Jan 2024 07:14:16 -0800 (PST) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id jx22-20020a170906ca5600b00a27a25afaf2sm2174517ejb.98.2024.01.10.07.14.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 07:14:16 -0800 (PST) From: Luca Weiss Subject: [PATCH v2 0/4] Add display support for Fairphone 4 Date: Wed, 10 Jan 2024 16:14:07 +0100 Message-Id: <20240110-fp4-panel-v2-0-8ad11174f65b@fairphone.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAD+0nmUC/23MQQ7CIBCF4as0sxYDWKpx5T1MFwMOMokCAdNoG u4udu3yf3n5VqhUmCqchxUKLVw5xR56N4ALGO8k+NYbtNSjVNIIn0eRMdJDGIkWT+YwoUTo/1z I83uzrnPvwPWVymejF/Vb/ymLElIo9BatM0Yfp4tHLjmkSHuXnjC31r5TdxQppgAAAA== To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Andy Gross Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss , Krzysztof Kozlowski X-Mailer: b4 0.12.4 Introduce the bindings and panel driver for the DJN LCD panel using HX83112A driver IC. Then we can add the panel to the device dts and also enable the GPU. Signed-off-by: Luca Weiss --- Changes in v2: - Driver: - Drop "bool prepared" from driver (Dmitry) - Use drm_connector_helper_get_modes_fixed (Dmitry) - Use dev_err_probe in error path (Dmitry) - Fix width/height variables (myself) - Dts: - Don't drop simple-framebuffer (Konrad) - Drop disablement of gmu in dtsi (Konrad) - Set zap shader path (myself) - Pick up tags - Link to v1: https://lore.kernel.org/r/20240105-fp4-panel-v1-0-1afbabc55276@fairphone.com --- Luca Weiss (4): dt-bindings: display: panel: Add Himax HX83112A drm/panel: Add driver for DJN HX83112A LCD panel arm64: dts: qcom: sm6350: Remove "disabled" state of GMU arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU .../bindings/display/panel/himax,hx83112a.yaml | 75 +++++ arch/arm64/boot/dts/qcom/sm6350.dtsi | 4 +- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 53 ++++ drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-himax-hx83112a.c | 352 +++++++++++++++++++++ 6 files changed, 492 insertions(+), 3 deletions(-) --- base-commit: c03393f04b540b66d267a402fcc9ac2d3733b9e3 change-id: 20240105-fp4-panel-50aba8536a0a Best regards, -- Luca Weiss