Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1685584lqp; Mon, 15 Apr 2024 13:57:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWwi5zUW+ozgYTq4DaUASgW5R2waUpXEh1jq0cV9p9p9AHZKrpFK0PTfnLGxBZ2AIhemsfu7H8m8Sw7TrcHHMweOIJrU0c4+G2WIkp/w== X-Google-Smtp-Source: AGHT+IEoL5+XO7XqXxivVcEvpU/ryrPUvwAgskE7XmG/rrcFC9zpjwOg5GnLwS+DHU9CYNtJrTH1 X-Received: by 2002:a05:6a20:5648:b0:1a7:47ff:5f3e with SMTP id is8-20020a056a20564800b001a747ff5f3emr9057715pzc.9.1713214632126; Mon, 15 Apr 2024 13:57:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713214632; cv=pass; d=google.com; s=arc-20160816; b=OssLR/ixeoQOzi9Azi+6L6IOkYNufYZlNSf9pfXyImX8Occc8RmaRNoF+MRSZNY+4d L3OhVmU6cT0mM6Hjzn+b1I00bNIpzwyDY0CCaMQfHfKniNdL1khiquk/3UNhUTurFtR9 vPeWLF3Td+sg8rOjEM8kgVcXV1pgoqksUrpkBdjdtQc4IXlLWYKdetx13BOGYtHMq4qo YblIFOX8LPOUqEZq21rXgSK0uj9xKlmq93PuuBO3nmRz1nixKjl2xvloeYVeZb1leySE Wm3quF5B0jRvcpsr2ww+emOtBFVszpdau5CO2cXbeouFhP10p6CHp1bbj3kaZuPVhhbM SDRA== 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=6VYQhhD2wbjbQiZRixP3ePAg/EmEMxo1zpO0oJAxY/Y=; fh=pbrDKFzY9tCsmOKH8Wy4KaBuXRoAkSDn/mon0fsRmCE=; b=Z9cWs+rpyqIOjaCTJI9+F1X1yVZZcHqYqa7ucobaspkCxPBgLhZSnkyJHRKLuyJCWP 26QWo4zPxQAC5HEP+neiAZVF+OAtfEDh2DQjtWwkMEfRUlER30z5nz+LGtaLB90aWq34 QZJHm2tozGbDo9BR509aEEMJQbT1dOVICsW0aCE3hBpmQZ36DfaIyJV9JLWtoIwwUQcn yt6fOoUChvoeFUmA6vcDkJ8g8xzsgX3IcFANrkCCYkMmKRMwkl8N88KSEGWGjHUVZkCJ w5Pmi0VK6KpcbNguYOIhdGqK95bSUObeHagsZrqBP0uuCTjjsTsOQjeHbcGwnOd5rEog BSDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=KJ4Vk7g0; 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-145510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p26-20020a62ab1a000000b006ed010ff0c5si8468717pff.138.2024.04.15.13.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 13:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=KJ4Vk7g0; 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-145510-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145510-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B18CF28450E for ; Mon, 15 Apr 2024 16:11:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDD4980BF7; Mon, 15 Apr 2024 16:11:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="KJ4Vk7g0" 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 5C57A7FBA6; Mon, 15 Apr 2024 16:11:18 +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=1713197479; cv=none; b=fZnci/HK4qf3L1DH5dVXDznMaVdXboZEtFZdtloNWAqkJTcKVw0l8C1BXCh2ke3wE0dIb58cVU/pMQDekqnJbi9ZLAN/fsg4DxGHFkfSSdSXblxKrV12t2saZ82OwBas6OuK87N66ILoXSJGu8W9droNNwQdizRwho8GtVxq+jQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713197479; c=relaxed/simple; bh=CBDbfaw1bQFqtDrtwKojlcf8PInrM02KOlK7NoLMrso=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ipKpudc/SrpyXomYR5V2srhGThzf6fI+k55dfITmY58rt3k4uQwLXJ2ifTmWPX6pHXbvolo1vrzNOS3yVvrGRG6N9l9N5WvfyRsKjqX1klYC/1oeOxU9ScCegoDamdy9LzMw0ppGxZ0MmriARNFtu2sxCQyvdIry/LCxnmIjLu4= 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=KJ4Vk7g0; 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 22498E20B1; Mon, 15 Apr 2024 16:11:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713197470; 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=6VYQhhD2wbjbQiZRixP3ePAg/EmEMxo1zpO0oJAxY/Y=; b=KJ4Vk7g0dcIYyOfrJWqX3owpvSbFPaY8TpnKI6BykuXh3UvOwbFqD1szN6aZgw7/7u9WDv +O27UJRRQSiq+oJWEsFU5V8eCS7m75OKL/Jc+xi818QN0EDjr/4M7/86Mpx3RnrcZ/j1Ha IIvrwi5DZuswnbVxeDylk9Sk6znhx1QAJCRmMIWfhq7SsqfJSZu/KEfxqR/bhbjIHsUvLs irWjuvFm9jQ4ZuPm65VwjuRyPKG5B6OK0MGzi+ipoVTFG3IuZKa7xeuk2bF9QErcycJAbC 6y1YAHyhGNp1eaXgQ6MhKFFozFIyoeRZlCczZvpGtV+fGo0JazUp9iV+mA9uRw== From: David Wronek Date: Mon, 15 Apr 2024 18:10:41 +0200 Subject: [PATCH v2 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: <20240415-raydium-rm69380-driver-v2-1-524216461306@mainlining.org> References: <20240415-raydium-rm69380-driver-v2-0-524216461306@mainlining.org> In-Reply-To: <20240415-raydium-rm69380-driver-v2-0-524216461306@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, phone-devel@vger.kernel.org, David Wronek X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713197467; l=2952; i=david@mainlining.org; s=20240121; h=from:subject:message-id; bh=CBDbfaw1bQFqtDrtwKojlcf8PInrM02KOlK7NoLMrso=; b=kK7TaB4wXGFsvGU4WlAVjoC3cK3LbPsUJTOHNP8VyvCR7ToGMcJqk6hPx/m5BHuqFY3pKQom9 vkOkLaVrUXOD1n7NewYbfVV2KipTUFht2Wo7aT8hyx+lT0xQ5ESsgBX 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 | 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