From patchwork Fri Feb 16 10:10:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 202062 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp413230dyb; Fri, 16 Feb 2024 02:12:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWrRshGOIrYuqr1nd0JMDtH0UeG+eEbyASDmhxLK2U5MdIwwbM4hFkbfBzrQ5QAlXemvSZMIFxRL9BAKlLGS19TMfEew== X-Google-Smtp-Source: AGHT+IFO5CEAqS7Uj/gFiEDeHXsQytR0WGdwTtHYXTuDkUgotd2fJ9UjSb4E72PSM5DjofP54Al4 X-Received: by 2002:aa7:d614:0:b0:561:5a24:65fc with SMTP id c20-20020aa7d614000000b005615a2465fcmr3322405edr.5.1708078344558; Fri, 16 Feb 2024 02:12:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708078344; cv=pass; d=google.com; s=arc-20160816; b=kKeuwChoaXlhXKsnfT6YZrSvzRTqQ7GTw2QBXWqmuwyfh19agnwFJT2RhomzQ4Q3vZ j21HzSG9s05EnWBP8GF2Itw4/RwfOMMomX3GaKiMCF1XG08oTSTKKoIfomCOt58qvLD3 Myo6iwlAsNNJ6KOJRwlYci5F4yrApsg1uS9JCQ5tkuAwtbUuaTAgZ/TNBDfxWg6pM4Uf MRozgqxnxaLKAkAK0G1pfdH6P5mDq8DYgagVjzPR7d3I5GV0bMVUYdvpt/PXur1+0rJs s0RzuUYBYlq4l9xeZrYk20Ck5RduauRreiZCVhDrp64zLTWyaPw/Krk9R20rwFlUtZps Z0/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ytAhWz1L3xYxXELaLgaUujOMD+Gva0kVPECBIzo4HAQ=; fh=d00g4LsJOSoFMhbXygP4VUXzoQhiDFpIiM272tnJrkM=; b=BWpJfMU+d1ztJoXKcECYrBlMo2M7UKHlrhHIQ4fRL3YMtGHaH/PFiqfT5k+bHuOQIr Q2MxubC/go6RkOCF5hpd0vgDjuq5HAWIDgOqOp78V/ytprdd+MJNc5MOpE0FpD/Z+uBc /itODF+9YaYgDnXXmCRGnHchRDkvWT0MEkPI5M1gGMR6ayRSi4jPkAi9A5pOh7JMIks4 Wpi6wuIyOU+hmiX7nLGhHa5byiPLuzPLJKjjebqMuxY7Tbn9lFH19Ml/Yfo/vN+2hVJL mobpo01ge/uXakttVQxsPOdgLDv7wmQIRnmwBvjQX/jf3zXFxo09k0jvWrI5hXGHb7kg QNRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=TQvFmFoj; 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-68420-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68420-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cm25-20020a0564020c9900b00563fc51160csi243342edb.677.2024.02.16.02.12.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68420-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=TQvFmFoj; 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-68420-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68420-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 751941F24EB0 for ; Fri, 16 Feb 2024 10:12:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1CD1208A5; 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="TQvFmFoj" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 2B7271CD13 for ; Fri, 16 Feb 2024 10:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078256; cv=none; b=Nf3ClAutyD8prao+mod0LNoKBdnZfVrggOskK5H6sGrkUjnU7TpLh33eBnTCnrwT5tlXebhwQY5M66tC7ylfZAyMW4BS5iVfKklLFfV3Nvz0HvTgbllam+j86U5lX0WBM/L4Z7x6d33Q2/UDO0WuhO9y/nBZuYAOzdLIxlmVlxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078256; c=relaxed/simple; bh=ibncrYSMoUQ3CoKZDrifhpZ0i3VODGcZmC6xuCZUXbc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=n/tajE5bztYRUmq/kYhL99HI95fHFNtYdbDjSAIFFJ1we/WlDodQescFQH0iXgUe85m1PohYkQOYcMCHbNBHlKXq5CKU+vKdmeHCWz+jDEPAVSkK2+HG5VZzQz0RQ4MH58t3fZlnBU63K5ylf6a2p63/10v6mMFJm1rDlG3E1k0= 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=TQvFmFoj; arc=none smtp.client-ip=209.85.167.54 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-lf1-f54.google.com with SMTP id 2adb3069b0e04-5128812662eso776167e87.0 for ; Fri, 16 Feb 2024 02:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1708078252; x=1708683052; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ytAhWz1L3xYxXELaLgaUujOMD+Gva0kVPECBIzo4HAQ=; b=TQvFmFojycJeF2Z2j79M23GDp/vPI6XhPa2c2/LCyYN7oEG1a+Dtv8ZMfVoc8iai2u MQuQknk8LilwVKYoSM1himwn75nr5j0AOOtNr8biRMlA8MGIyiF2UkbvfOYRC/OqqPTz 5XzVIstRB4eLQFf1y/p/t6UgDjM3Ve1GdbpD4rbTlbVn4dwbX9S+lZAQnVkMr/ZEPARV km/2k5LHCVOb1/SNg5BRrRPpwScyNe2bXAZeXowIyqofODV7I/DVIFDOlXxVFLYHRJvJ 8HuJm8cSpVXReIipQqCDJsWSHxc5iJ5aUfzdYZcObcblndA8ZSQE/gauFKeb9KOiK/uJ uc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078252; x=1708683052; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ytAhWz1L3xYxXELaLgaUujOMD+Gva0kVPECBIzo4HAQ=; b=aTU43vqpm+H6jqVrSEJHfezeIyimz+751rI78ThmrPwUBdEINIrdLHdnuH+Eh+5RTt awI1AWiW2u42CR32eWoybSmQzzx+JZ7DLTAkZmqoJrytmYSYPBFYMzEa/cVG3qb3io6D 0zVEGvnb3qxGHkZHXGDgWu+IadK9oodpdcBw03cmn+U8qkiQbm62eOsCzlDchp5xJ6FJ SpdCRzVf3eSJ2znmJjFQfTJKODlQyBEnAQgMLDm9/3ilBoFEQbpkZs0mDW+nNwATuJ9g BJnJ3HiHKuVpWT58p3aWL9h7FJcujMahoNTKjm+YEspe2OJGmIuyIzEPlzhLM79KEhUo mxww== X-Forwarded-Encrypted: i=1; AJvYcCUkeJTdoWRNcOZMuj+kVrBUcmBWXJPh0qh0a1fnHavv53lB3DMnLeZ3/Hy1hGadQs9lYJgdjHgAlYxJtrM0wKumn6bpzOQjHyXtUDDa X-Gm-Message-State: AOJu0Yx/HLjhgR5NsAAK8S5nCJHBiYsbYejspW0XIwN3QteryWD5zoFw QCg3P8LLRQD0Vq6UXhj9a7TGgPsTXdHJONgDSWIJmvaUI4Gr0AxPcR97wyX4P7E= X-Received: by 2002:ac2:4db7:0:b0:511:dc62:7f95 with SMTP id h23-20020ac24db7000000b00511dc627f95mr3369194lfe.15.1708078252249; Fri, 16 Feb 2024 02:10:52 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 02:10:51 -0800 (PST) From: Luca Weiss Date: Fri, 16 Feb 2024 11:10:48 +0100 Subject: [PATCH v3 1/4] dt-bindings: display: panel: Add Himax HX83112A Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-fp4-panel-v3-1-a556e4b79640@fairphone.com> References: <20240216-fp4-panel-v3-0-a556e4b79640@fairphone.com> In-Reply-To: <20240216-fp4-panel-v3-0-a556e4b79640@fairphone.com> 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791049957913493460 X-GMAIL-MSGID: 1791049957913493460 Himax HX83112A is a display driver IC used to drive LCD DSI panels. Describe it and the DJN 9A-3R063-1102B using it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- .../bindings/display/panel/himax,hx83112a.yaml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml b/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml new file mode 100644 index 000000000000..174661d13811 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/himax,hx83112a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX83112A-based DSI display panels + +maintainers: + - Luca Weiss + +description: + The Himax HX83112A is a generic DSI Panel IC used to control + LCD panels. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + contains: + const: djn,9a-3r063-1102b + + vdd1-supply: + description: Digital voltage rail + + vsn-supply: + description: Positive source voltage rail + + vsp-supply: + description: Negative source voltage rail + + reg: true + port: true + +required: + - compatible + - reg + - reset-gpios + - vdd1-supply + - vsn-supply + - vsp-supply + - port + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "djn,9a-3r063-1102b"; + reg = <0>; + + backlight = <&pm6150l_wled>; + reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>; + + vdd1-supply = <&vreg_l1e>; + vsn-supply = <&pm6150l_lcdb_ncp>; + vsp-supply = <&pm6150l_lcdb_ldo>; + + port { + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +...