Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp899452lqb; Wed, 17 Apr 2024 14:17:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfjXY7JImNH0vx1z+bj2HBvAbQAgXKdqQLc9qg/jWjbiOQuAW0o5hzl3Rz7ilgkaFyNNd68I6A1eOnj5s1th1IRUI3pjCDOnKyWZOvnQ== X-Google-Smtp-Source: AGHT+IHq3IeKXWN0Rmv/7fnTzZOhuvQ3UYOTCaLb7B5sdu0u9GHIYwudky5Ecl8ZvoXFMTaQQDIc X-Received: by 2002:a17:906:299b:b0:a52:f99:1930 with SMTP id x27-20020a170906299b00b00a520f991930mr388433eje.68.1713388620064; Wed, 17 Apr 2024 14:17:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713388620; cv=pass; d=google.com; s=arc-20160816; b=P50KjeuAoXRu2wT8O+0vfbt09HEudjdCVuSl2X84eZ1CT6avNsfFUA5pME1TmhCBFR vEmrKkb+11wbmWMYM4wp4IaSrNNip/9hmgIfQ9ViE38nDWRrHWcZpq1m74iMhB2t1Ezu v2GY0Pcq0ZKLiM2Mut8rbI9f8Gab9IbMFqVP56ChZGrpyl5BmVcTWNAPwOkfAmFQGeUr Xol46yiI0bAP9ih+nwQmLICuY5dU+4SmUyA25yyqxrEx7942bEPspJPGoCSQ9lv9g4Pe Jw5XtUUdl8FsiAekuNn77sUJAjxw0ST1x+gWw4Y9IP5pLl07GbDM2WnlrzoxZiWGkb7a bkvw== 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=kCC1OXHE0ahT9Hbuxs9gCsCWn97AcT+f1n3yOCFLu98=; fh=ha59hl4kDvrytrd1pL/FXbaRAsCh93ICCSzMMh7wxvw=; b=LCWGX/UVpvbmW2C/FSGcfIHr2hE8pLy29ESF5Ue3wzxgRVsz1iVWf9hiAAHpCqdy9n oIaNRMCd5DSDtl+Qo192x/+NHG0bkA91ods0Quh1YxIp/7vFUjN0rYvOYxTjOEKR3/FN gd87XN4DZOYBg6wmJq7YFde42586ll9SJMwmjUAV2022CQiq41SL8HFlPG9MIrj7Y7Y0 rO3IYPGt9b/sNGyRQBR5zUUeRxnuGroE5zm4P13HWBWLQkctwVSppNsDzKStT2TPiuRI 2OA5AjVD523oeGjxrym9cuKegqz1kUjFPQ+Hy8bwq3c+6QkYc8EU3xapit2Qo2VgnYwa hzbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=DNNzHnfJ; 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-148914-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148914-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q20-20020a170906361400b00a5256ebaf41si48553ejb.145.2024.04.17.14.16.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 14:17:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148914-linux.lists.archive=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=@mainlining.org header.s=psm header.b=DNNzHnfJ; 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-148914-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148914-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2FDAC1F2359F for ; Wed, 17 Apr 2024 16:30:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B26ED15356C; Wed, 17 Apr 2024 16:29:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="DNNzHnfJ" 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 5E475148836; Wed, 17 Apr 2024 16:29:40 +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=1713371381; cv=none; b=NzxA7MvXnIfUY2UsR/HXVfVf4YYcT20cPV51NXrTA2+5lHP5QUMFHbmYRPaa8kS/63D1ec80P4NFrEWkQ0V99Sjxtp0UVvUkbiONQO8dhLOhhdZvZ7rJ8S/aiqh5iKfLNnJy951x+g0UkwIJrYG7fwh4AAqEfa7461W1dtmIy5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713371381; c=relaxed/simple; bh=h5qZZjzoTRxtLs57A1m+Ned2UYZ4J/B9Lk8ufvsTNtI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LmcfdILWwN/9T1CV0mJ3ZHVTFvxZsKM5DTaL+wSvpt+Y+9jmu0RY8GeN9n3c85naSDm8T+N4MNz3BeA7EaNEs08mPDD1jvIdirYjSTZ4Lf9jXFKsev9lDUCCt7vTpkv1bsVMhR8QbUeW5cVGHmA4jujRl3c8F5C3j3s2lw8jo3A= 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=DNNzHnfJ; 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 5EEFDE1E3E; Wed, 17 Apr 2024 16:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713371378; 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=kCC1OXHE0ahT9Hbuxs9gCsCWn97AcT+f1n3yOCFLu98=; b=DNNzHnfJEZUv0cIGdTJ/OC8ngcj7KdNkf94kxES9YjOFvqUB+Os5ravoHXQjDbotNiCOJ/ AKNDYo9Gwm8WiQ617N/a/HKpESYEozPWoKiP34go9ditLObkeltDdjLFwJPWPu3sBMdVSr HnZ9zHXNCedm1F7jajNyc9lwBLCE36NJxYyIf7DALGKn90g9ur9QdS5CMjpkVjj9wG/LMm j31HdJIkKcmWD88ZRJCEUtjxm5fJxMrp3bwX54kT/6Z4xOdxXo9rbK2aBUjxDBdtx+indc pwQmjLvnGVccYb+OYFmeLJLNX/r3BMr7f0Owfrgs8On8Uoiyl8FjB9fbbLoSYw== From: David Wronek Date: Wed, 17 Apr 2024 18:29:33 +0200 Subject: [PATCH v4 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: <20240417-raydium-rm69380-driver-v4-1-e9c2337d0049@mainlining.org> References: <20240417-raydium-rm69380-driver-v4-0-e9c2337d0049@mainlining.org> In-Reply-To: <20240417-raydium-rm69380-driver-v4-0-e9c2337d0049@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 , Dmitry Baryshkov 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=1713371375; l=3031; i=david@mainlining.org; s=20240121; h=from:subject:message-id; bh=h5qZZjzoTRxtLs57A1m+Ned2UYZ4J/B9Lk8ufvsTNtI=; b=eEA2bl2+/AK7NVt/QBJD2qR7+rPLWt1oPhkBMkZ6U7ine90Eo5D2gA9itUHshahPPuY3bgedf xtLA2Rr9H+YCWx3X5GQyETgNGsIqUsDqu+b1GzAd7gPd48lkwbPUZVa 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 | 89 ++++++++++++++++++++++ 1 file changed, 89 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..b17765b2b351 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml @@ -0,0 +1,89 @@ +# 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 RM69380-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 + + reg: true + +required: + - compatible + - reg + - avdd-supply + - vddio-supply + - reset-gpios + +unevaluatedProperties: 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