Message ID | 20240216-fp4-panel-v3-0-a556e4b79640@fairphone.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-68419-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp413201dyb; Fri, 16 Feb 2024 02:12:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVVDLaJvu3Mj7NxQ8Z5eqXl3SfOmUh1MaHdaCKsLe5wELf5Dyw2Jz37f3YIa8lBClOgmwPxzTYZL6QygA1g9YEuT7A2qA== X-Google-Smtp-Source: AGHT+IH8HuGAuX9Byb44LCMh77XVrt7qVDYkaeJXzHXAUzAsuMen1c9v6Fzxvq14uMTbipOpU2e0 X-Received: by 2002:a17:906:2e8b:b0:a38:8575:2333 with SMTP id o11-20020a1709062e8b00b00a3885752333mr3078743eji.46.1708078340187; Fri, 16 Feb 2024 02:12:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708078340; cv=pass; d=google.com; s=arc-20160816; b=oBarOMMxF2yCmZ0LJAjZjehTsoG2MZc7Awnpuik9gCz/wapmZM2YRZR3MRarimqcUk +6SwEUOSRzgMM0HG8FFB7/vfUawpZfxLkyhGdTSpJJcA5Gv8TQYNIbfKpSBXnN/Kbai6 6Zg3e9NAwFrscCSyz8alCQPv/BfHLtK/l+DwhgMHwpqg0BFGGEcE6zRRmCejnY9SFpNA SHvGuvcqqD/5Ca07GeeYJPhkQB5hFfILmFVDgOc7JZPBMrPde/MsWLcxMXnZXqBaZlhx L0Fv3218n1QAngQv7bo3OqCaaQi+FyPWJYCEj7Hc6ApTLB/K012NhfrBqZk/7tpfEC1C OGnw== ARC-Message-Signature: i=2; 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=ZMRql7L8hsqbp6cXp+TzNFFLmZVefcT65u0H9tbQLBo=; fh=ZlKKdA16SmukrOuaGUBy8cqvu2Fp0UgZRraqf8m6N1s=; b=SKi9dapoZAE877gTIy2pbutsXlaPxTTI9/RunPoNFnQtFj7Bu+lepX24sYXH83kwUb wE/tAsjFroBZAcM2K59RthjDtgFpfmf2VmDkgZRJ/L/qMCpD0RsSAoRWUDWvuGPa4psj i1FDacZm/ouNwgSu/5OzE+K3cxYEer0Khf4Ap9veowa6qJTDwDjaoRurUhbXzoLMOxSH 8j3QOlfJ9gVmpdVn75dyxHymC8Hd6TzCzOg4lKe5WRLvFtbLfwvvG4If9ozRTb5QMW4H ylRUWFo3kvKXIVULdcLNvf8rMSsFm4nbVgUo6FcQj+dQc4QxJHIbpsgC1xL06p/SsoSs 9bvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=WMtzc6KF; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-68419-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68419-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id me17-20020a170906aed100b00a3d6fe4fecbsi1511037ejb.594.2024.02.16.02.12.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:12:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68419-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=WMtzc6KF; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-68419-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68419-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 201611F248B7 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 10:11:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0518D200C3; Fri, 16 Feb 2024 10:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="WMtzc6KF" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 E19A01CD08 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 10:10:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078255; cv=none; b=CaJ0zMXGITWclc6CA2C/mg6pmge76wlM2uMz4LREse4okqxqmrb2a55Mt9k2DPy+L4+u8AuxPzTP/9NmHMRR27HHkK2WzmZovcp+9ylA6lgQ1HOdGqYcgYDGBMBs1mwfsoA+nctnMN9zqfgRTzvwehZAVKjND9BQn6VCWSih28c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078255; c=relaxed/simple; bh=+qmlePUCPEw55YerfIXLhUwFG622mu45eHNIVx7KqrY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=QwRMYEO61rYYXUPamjv2h2IB1GqC5u+hUwrXlrWNYAtFA4jZL/Gg3iL91quqsJ55xTXpKHr4jZrpSpb1BJfOTeVJPfvtawjD0yK3NfXFYpikoQkj3amXPLobdpRiE79LX6xCkGzTADKszl2qaqvtEj5QExm2+KeTgHmFYPhQ9yI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=WMtzc6KF; arc=none smtp.client-ip=209.85.218.51 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-f51.google.com with SMTP id a640c23a62f3a-a3deb3f563bso32980466b.2 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 02:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1708078251; x=1708683051; 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=ZMRql7L8hsqbp6cXp+TzNFFLmZVefcT65u0H9tbQLBo=; b=WMtzc6KFUxTL3bR8yQbxMxvz4nUy/y/Duk4HJAP6KQDOXanlz0dWk5FzAzCoXVHNgU GrQOXCzirhXUBV+xiWZsD14fAd1yXPWz96x5MLhm39oOIN+mQ47STwY/fWkfktrrh+E5 i/zTNT7zOBDPprB5P38C6HC6uFMZfjS5ytgZ/E24T6F5qcjTVg6+yBSEHf/vBqSO5Ttb oL9KCkHWL2ctAmYS3X1wEI/WxZDQAwDL30OBqJxVnm/ozw/32ljIy5ZHQ+nyDJiPpc/1 a85XUaWUcxvD0nKoaU89bfVCVHMoz5l2iY5BfQx8vaCreAXprrpyNS5ReAYSWYRZG9MA UTAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078251; x=1708683051; 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=ZMRql7L8hsqbp6cXp+TzNFFLmZVefcT65u0H9tbQLBo=; b=wx2+AlqHM+aycJaraJOMxa0RHs2X6P5D540SvqlD3+D/m+QC+WmbOWL9Ybo20am7Mp peeCUwFs5/9UC4RBTh5r/ecSE+/3tzdxsFRQOhwazzx3QzdnAfcH+d/iCMIw9z/LOIdP IJy50FgjnjiD1COErYqTLs4OFL5PQvJ95P0TCjxj6Y+/k71LIJ8ZuxM7/tMqgNx4479X 2GvS0X446pY1JyYTLQcW2SFUn7TvsjBirkrpZ0/KZGvlSBNFrcvZ2xdbmCKg2jbxhU/l skCFdOer5s0b9Aunu/PZri6RdFD9kwZ4h3q3iux/akgDoXUi9cey3Ck6zWTmkhJS8QMP vy7w== X-Forwarded-Encrypted: i=1; AJvYcCVzAIzelovOehSt1XFTgdbsjyWEG4f7Cvr+Rv6UloqNrPzSZTMzluRSn4JzGQQXPZEr9xUgMgMruQG4Sjnam8vtr6E/NqeCiCTZFibC X-Gm-Message-State: AOJu0YzA7hRvaaVnfZLpKMog7sXSBJntAFdg++YrBozTWO9jPTYYahWY MImffF3GuoiCSrPTJLeTCLzVGRmiIsG+Auu1RhNK7Sbaz23ZqYw3YZwQn4Hzlhzmnfb820PS/Yb i X-Received: by 2002:a17:906:b847:b0:a3d:6f46:ac3a with SMTP id ga7-20020a170906b84700b00a3d6f46ac3amr2958890ejb.11.1708078251164; Fri, 16 Feb 2024 02:10:51 -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 s18-20020a170906169200b00a3d1897ab68sm1398019ejd.113.2024.02.16.02.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:10:50 -0800 (PST) From: Luca Weiss <luca.weiss@fairphone.com> Subject: [PATCH v3 0/4] Add display support for Fairphone 4 Date: Fri, 16 Feb 2024 11:10:47 +0100 Message-Id: <20240216-fp4-panel-v3-0-a556e4b79640@fairphone.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKc0z2UC/22MwQ6DIBAFf8VwLs0uipqe/I+mh0WhkrRAoCFtj P9e9GSaHuflzSws6Wh1YpdqYVFnm6x3BepTxcaZ3F1zOxVmAkQDCJKb0PBATj+4BFLUy7olIFb +IWpj33vreis82/Ty8bOnM27rv0pGDhzJKFKjlKJrB0M2htk7fR79k22lLA42wtEWxe5pQsSuM a1Uv/a6rl8cd01w5AAAAA== To: Neil Armstrong <neil.armstrong@linaro.org>, Jessica Zhang <quic_jesszhan@quicinc.com>, Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Andy Gross <agross@kernel.org> 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 <luca.weiss@fairphone.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791049953909817507 X-GMAIL-MSGID: 1791049953909817507 |
Series | Add display support for Fairphone 4 | |
Message
Luca Weiss
Feb. 16, 2024, 10:10 a.m. UTC
Introduce the bindings and panel driver for the LCD panel with the model
number 9A-3R063-1102B from DJN which is using the HX83112A driver IC. It
is used on the Fairphone 4 smartphone.
Then we can add the panel to the device dts and also enable the GPU.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
Changes in v3:
- Update compatible to djn,9a-3r063-1102b
- Add defines for manufacturer-specific DSI commands
- Pick up tags
- Link to v2: https://lore.kernel.org/r/20240110-fp4-panel-v2-0-8ad11174f65b@fairphone.com
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 | 74 ++++
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 | 372 +++++++++++++++++++++
6 files changed, 511 insertions(+), 3 deletions(-)
---
base-commit: 91f11e5814cfbad83ee22fbcf96b0eb41302d889
change-id: 20240105-fp4-panel-50aba8536a0a
Best regards,
Comments
Hi, On Fri, 16 Feb 2024 11:10:47 +0100, Luca Weiss wrote: > Introduce the bindings and panel driver for the LCD panel with the model > number 9A-3R063-1102B from DJN which is using the HX83112A driver IC. It > is used on the Fairphone 4 smartphone. > > Then we can add the panel to the device dts and also enable the GPU. > > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/4] dt-bindings: display: panel: Add Himax HX83112A https://cgit.freedesktop.org/drm/drm-misc/commit/?id=3b59787a5170e12beb636cf1a66e481526f293cc [2/4] drm/panel: Add driver for DJN HX83112A LCD panel https://cgit.freedesktop.org/drm/drm-misc/commit/?id=654f26a0f43cfd35a5ebd19e008b6f065f2a1f92
On Fri, 16 Feb 2024 11:10:47 +0100, Luca Weiss wrote: > Introduce the bindings and panel driver for the LCD panel with the model > number 9A-3R063-1102B from DJN which is using the HX83112A driver IC. It > is used on the Fairphone 4 smartphone. > > Then we can add the panel to the device dts and also enable the GPU. > > > [...] Applied, thanks! [3/4] arm64: dts: qcom: sm6350: Remove "disabled" state of GMU commit: 2abe4a310cc742332038aed5f9f4a15e65a0bcc1 [4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Enable display and GPU commit: 891af1aa1ea42514b9a7f42caaa1fa0c32f8e232 Best regards,