Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp984705lqp; Sun, 14 Apr 2024 08:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQZGQEt0QkEmlavHaBaaN08/pNEy9SYn/Dd85X75VjaHxWG3m3atIJ9ro8wrh0Tv96zeilOQx4x4785IE4YtsuiTMAhOEoTvDIhvOgWw== X-Google-Smtp-Source: AGHT+IFR3NLHAdxeinUuc/ye0s5ikrqzsMuqg550ZADJNrN48eR5loDKuOtQ7v+oD5iVT/yTDOBT X-Received: by 2002:a05:6358:688b:b0:183:90a2:f4ce with SMTP id z11-20020a056358688b00b0018390a2f4cemr9120497rwh.0.1713108718411; Sun, 14 Apr 2024 08:31:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713108718; cv=pass; d=google.com; s=arc-20160816; b=v2vUXbjLKBP1HibIKlCDZNPSAs1q8SWh3mhYVSsGo3i+WUW67axPl3YrueaTIR3jq5 Q+MfBqsCTigkfWNzZffBKm+oXYyPrNNLOBLiou9sFu/+xdts9hyql5VDhBww52tmi6Fv 43RQiBsp12LVjg46KxjyCkUOGWLEDBiYJwMEO90NQC44J4Dz/F0tW1UKKNwP4JjdH5lS yM8k1+PVAsghD3WA+EKKLMReLyNR2813VDi0ibI6I5MzgC/TAy/MZtLqOtrf/SqEx0lg TL0ABrucqLKirsk54dmHTaPI/MKXF8YB93PW03AmNuN4n79K9rBjJM/4nomfjx9Vakz+ +OFw== 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=EtqK3uEi0BtvzaEa+6wDfgaSFywVG1Occvijkka7SVg=; fh=/JkotEnxorXBgA33P8MI7utgPJi7rpeczM9qftWN26I=; b=UMoOvT1okqbU6ctcc9UlnXnpG/R87YcTPrExEViYMZ5jU4bs1Ov7uc6km3zFDW8liz sR3AjE3XUBlx+96FNTMF5P7vujE84yzu88znwLqE03G+ndPbpwH1H6PEQRoFI7k+QbxR OiqoGV2xBQ+49qRd1mW9pN1xoh1Linv0OjQJtj1amXQOzcLf0yJf/bevVOo7Yt+XOaTd budElhLJYgejlB7R0nzK6Wx5w4nLQlQpAFaf9hRhRibvpVQ0eoFk7Fbfele6qREl2L0D QO+mssncKgVOrsqQ6GczKYS3mlyrE9V8rs6R7YHjPNIXgSj6s5yulYb0VbbxbzTKjfip 3oug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=GbQKyzGY; 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-144223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i34-20020a635862000000b005dbc6dc4cdasi6504221pgm.255.2024.04.14.08.31.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 08:31:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=GbQKyzGY; 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-144223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144223-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 40723B20F19 for ; Sun, 14 Apr 2024 15:31:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F160134CFA; Sun, 14 Apr 2024 15:31:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="GbQKyzGY" 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 AF364134432; Sun, 14 Apr 2024 15:31:32 +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=1713108694; cv=none; b=k9woZp7Bm7kzc2pIpBtvFcI2SyjFbCNmLXCS8J+0Lkncgf5UXpppHYIuFqjp+greHeNPoApxmMtBkqsk059YR4oieZKOBmy3qoP8oiPtkecXDtxvQsp5OWunzViZZmjTVYtsKArfOWUUz5guQT6GuzbxUm8XxWdlc6JPqIIRnM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713108694; c=relaxed/simple; bh=iaVKhaEtwD3vSAsF6Kkc8NkVIHXOiq0xCW909ztf0Zw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=orDnF89PxgsZolunzSgbvrF8o46FTeL+Tz+uFwyNHNvHp3Egq1MdyrWXRsRr5YU8pyvI/8geMNWcaum2x772ez2BUmyckcHzB9pPW2UrTbnoscGWQOz5xjiyrTQtbhe6fmqyIHttlAnVNfajZ4/jYfHmPTcgYWWHlb+T1ge6HXc= 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=GbQKyzGY; 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 35E83E21DB; Sun, 14 Apr 2024 15:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713108188; 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=EtqK3uEi0BtvzaEa+6wDfgaSFywVG1Occvijkka7SVg=; b=GbQKyzGY3vX5Ra2kUdZX+6zjq49WnTZR2+JQUMaCTnVtyaSxsX9ZETC035w2ScD/8u5xc0 SYUfkGYP3lL8zF90Bv7Xr2EG6CFsO+mrz5ehZuUKo1vcFvu8lZgud1Kl+KgZ6QkouT5aBN 0b+EVqbPQ1mKjwiLVrwu5mIs9lJQLn/4S3LwZCZkvxwd3c1WQtjK1FA35iUom6RhYJLOCB 5qMjYPGEaV7cnnYnFMOo6GdxBbrDfVrsiUFbWkwM+puAs8Tpy73YSvUqafrmngBP9iAVXW afzUr4qLb6YI7a/j9UeLAZkQgJpPttlNgseuz5wm8siMR3LB+gZ2wLiSDtYWCg== From: David Wronek Date: Sun, 14 Apr 2024 17:22:30 +0200 Subject: [PATCH 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: <20240414-raydium-rm69380-driver-v1-1-5e86ba2490b5@mainlining.org> References: <20240414-raydium-rm69380-driver-v1-0-5e86ba2490b5@mainlining.org> In-Reply-To: <20240414-raydium-rm69380-driver-v1-0-5e86ba2490b5@mainlining.org> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , 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, David Wronek X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713108185; l=2750; i=david@mainlining.org; s=20240121; h=from:subject:message-id; bh=iaVKhaEtwD3vSAsF6Kkc8NkVIHXOiq0xCW909ztf0Zw=; b=2qWujeaKtp1Jj2aeXeZqqhTLSo63aKqqMsvWwFXS1hqWu0fVA+wqK9mZQDiIL1XWNg5OZ+iDw Keo4kVMdbEGCxgW6FOij1pZxgNsX6R69WhP/zr04M0sJWe1OvXxtk6G 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 --- .../bindings/display/panel/raydium,rm69380.yaml | 94 ++++++++++++++++++++++ 1 file changed, 94 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..9b01b9c22ae9 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml @@ -0,0 +1,94 @@ +# 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. + +properties: + compatible: + items: + - const: lenovo,j716f-edo-rm69380 + - const: raydium,rm69380 + + avdd-supply: + description: Analog voltage rail + + vddio-supply: + description: I/O voltage rail + + reset-gpios: + maxItems: 1 + + reg: true + +required: + - compatible + - reg + - avdd-supply + - vddio-supply + - reset-gpios + +allOf: + - $ref: panel-common-dual.yaml# + - if: + properties: + compatible: + contains: + enum: + - lenovo,j716f-edo-rm69380 + then: + properties: + port: false + ports: + required: + - port@1 + +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