Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp227246lqb; Tue, 16 Apr 2024 13:56:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWStWcl18F8fKZ/heEKUbWAD6YP3eqT+5xgQYObRVIwCOn8VSnScL6Q5PbIU2Ri9uPcJPvwPkc3qNX4PGGeeaaoXvlsYiXVhzhxI/BwEQ== X-Google-Smtp-Source: AGHT+IEMmWGIcxersmweob7RPgC98Oeh6FZRp4IPrQlKzALCiRj0UmHAG+gbXj7oFbOyjdYiBBtD X-Received: by 2002:a05:620a:820f:b0:78d:67a2:1548 with SMTP id ow15-20020a05620a820f00b0078d67a21548mr14514018qkn.65.1713301013799; Tue, 16 Apr 2024 13:56:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713301013; cv=pass; d=google.com; s=arc-20160816; b=aDjhDOs6zUzXgh3qCeXjwU8y4XpndWmblaXyze/tlJ8UFryIMeYuCBlD/8LvV4ooKq d+H8HsTwwG1pTRuwJJPUGa3dBGUy60R0JZZQJWfc+xApY763FpWmQ1/sSzPT6vBwWMIt wOOzN3qee7b8zxssAw51qtzmNIXoUKYzT/0J9qXNFzcExfg1yYvYu7A7UXC4OvVP221h BvPXeNG2thHw+1sbIdzRxEQu1EtrhVDjAyDI+0d9hVzRE7MvnKcNFBGCQEakfaIrIF2h 9o5HUT6HjnJhLdrZJ6+7KxiWcL163XfSSZ2FxIopJYVa8yC4zPHZ1spDbrMM5VJIjEef 9lYA== 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=RnGPoQ0r3htGk+5p1b1VSDz+6cHpvgMQDQZH9FEMlN4=; fh=2T9oUK0pCghLuQnaWWnpSMp2lwHtTmadg+lk3boDNQU=; b=lvXfmd9L/H7iZlVwgGgKoYd7JqQRXbpz6oGSN47OgzCx0ls8+3hYtrpfpWEXCOKCpy y5rIn/KgqdbaTFBqC/L9NsgeGovfI+FvF7elhXmNX/2p7MsxZhy73skHZKhdXRQxSfND 8yldBNikbtT0qGoVPix656Bzgp4lT3wq3E15HuVcJMTAPfFpGKAziL5+m0viOyg/cjO4 uMcyr2h7xk5hVavN5KZGYlC2kjnKFUlc+tmqQuwS6kUm+Pi7k2L8ZQ7rPJ+eRD3LTnYK V6Zh9bKpuBiYvM2hVfN/EqMedMBokwaZmbaa7JUDvnyYWd8nl1U2BcFYg3aC2BbH5xYX kyEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b="UgG/gtxC"; arc=pass (i=1 spf=pass spfdomain=mainlining.org dkim=pass dkdomain=mainlining.org dmarc=pass fromdomain=mainlining.org); spf=pass (google.com: domain of linux-kernel+bounces-147388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z6-20020a05620a08c600b0078d5ef14735si13446088qkz.682.2024.04.16.13.56.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 13:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147388-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=@mainlining.org header.s=psm header.b="UgG/gtxC"; arc=pass (i=1 spf=pass spfdomain=mainlining.org dkim=pass dkdomain=mainlining.org dmarc=pass fromdomain=mainlining.org); spf=pass (google.com: domain of linux-kernel+bounces-147388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org 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 61B691C21DC4 for ; Tue, 16 Apr 2024 18:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C861513776A; Tue, 16 Apr 2024 18:31:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="UgG/gtxC" Received: from mail.mainlining.org (mainlining.org [94.241.141.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79B80E555; Tue, 16 Apr 2024 18:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.241.141.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713292275; cv=none; b=Ei+E91wfOhUTYcUBki9JYvhlkWJ60i55at+2D+rDLwSqqsydoaQDUuKDvgNapeJTw/s8z/ywFNk9uC31octy2Cnm0VH/7KrEe5R/Wt2SsNOwZcbInMuy1heeNVR/JpsgHVq9+HlCNE0g2SwzR0TFdzYmw2lJvLFaavI0v+uOrug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713292275; c=relaxed/simple; bh=H4PFzqvmKwXu3PaRjVJ2GZOn4+++zfi7W3Cn2y64I2E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DpAJlKxDSlJc5RHdSzW2O71oL6y4E7vKn7XUgofv/j8r+cu4IRb7f80qDg50kz0A9993NtOZfpeZtIEtxDYawGY/hfbw0Bj+sh6lazR/XJoQ6iwoXG0Tq4MT+BJ0l+ydDKFeYk3aXXj+mFhE/Lg9bCUWmWctQV1Sk7mt50DUu+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=UgG/gtxC; arc=none smtp.client-ip=94.241.141.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Received: from david-ryuzu.localdomain (ipbcc3a836.dynamic.kabel-deutschland.de [188.195.168.54]) by mail.mainlining.org (Postfix) with ESMTPSA id 3A167E20E8; Tue, 16 Apr 2024 18:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713292272; 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: in-reply-to:in-reply-to:references:references; bh=RnGPoQ0r3htGk+5p1b1VSDz+6cHpvgMQDQZH9FEMlN4=; b=UgG/gtxCkxIJEfg7a7fu45DFLfcwBY0E+RUDaQpVsMIE9WnflnfqMQ8u1GvK8WXQtJgVzX iOdogn3yqI+WsfO0ZkRWs2A1TpuyyF/c5D9dSMlZAeIrDgngMqYHHAy6rxBPfPU/4Ea30B YprKphN89Dd86Qu0vlh/zmRG3CwLlFfIC0TlDzgvzil2riGp4673fmdMeKnYa5bLqRGEs2 /YEL2IvF2GwT5lxiX4fhHh0lFJ1As10OlE2Z9/CM1g4RBZLCaGbCQC2Rkc0SHzb+nXBYS2 S2bBVhgT6h2KD1uFGk2PSvKFhFS0a7lUw9aePHhl70OSVZE8cZPkvy4bs51sSA== From: David Wronek Date: Tue, 16 Apr 2024 20:30:48 +0200 Subject: [PATCH v3 1/2] dt-bindings: display: panel: Add Raydium RM69380 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 Message-Id: <20240416-raydium-rm69380-driver-v3-1-21600ac4ce5f@mainlining.org> References: <20240416-raydium-rm69380-driver-v3-0-21600ac4ce5f@mainlining.org> In-Reply-To: <20240416-raydium-rm69380-driver-v3-0-21600ac4ce5f@mainlining.org> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713292268; l=3057; i=david@mainlining.org; s=20240121; h=from:subject:message-id; bh=H4PFzqvmKwXu3PaRjVJ2GZOn4+++zfi7W3Cn2y64I2E=; b=8R6vLaLnAFMrla6QeH3sC3y4q+4yQ2ldcUICK1JxwYhChkT0O7xPmnRmNrG+rY/0zIDOUrufg z6y3FWAE77RDQ5oDJO7p8/+lzXxBRHydsJIuA54NV3HebqlZhsF2UEi X-Developer-Key: i=david@mainlining.org; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= Raydium RM69380 is a display driver IC used to drive OLED DSI panels. Add a dt-binding for it. Signed-off-by: David Wronek --- Note: Depends on commit 48a516363e29 ("dt-bindings: display: panel: add common dual-link schema") --- .../bindings/display/panel/raydium,rm69380.yaml | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml new file mode 100644 index 000000000000..0ac7d033cbe0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/raydium,rm69380.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raydium RM6380-based DSI display panels + +maintainers: + - David Wronek + +description: + The Raydium RM69380 is a generic DSI panel IC used to control + OLED panels. + +allOf: + - $ref: panel-common-dual.yaml# + +properties: + compatible: + items: + - enum: + - lenovo,j716f-edo-rm69380 + - const: raydium,rm69380 + description: This indicates the panel manufacturer of the panel + that is in turn using the RM69380 panel driver. The compatible + string determines how the RM69380 panel driver shall be configured + to work with the indicated panel. The raydium,rm69380 compatible shall + always be provided as a fallback. + + avdd-supply: + description: Analog voltage rail + + vddio-supply: + description: I/O voltage rail + + reset-gpios: + maxItems: 1 + description: phandle of gpio for reset line - This should be active low + + ports: true + reg: true + +required: + - compatible + - reg + - avdd-supply + - vddio-supply + - reset-gpios + - ports + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380"; + reg = <0>; + + avdd-supply = <&panel_avdd_regulator>; + vddio-supply = <&vreg_l14a>; + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + panel_in_0: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + panel_in_1: endpoint { + remote-endpoint = <&mdss_dsi1_out>; + }; + }; + }; + }; + }; + +... -- 2.44.0