From patchwork Sat Jan 27 15:28:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 193021 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp541561dyb; Sat, 27 Jan 2024 07:28:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2OSaSsmgRjWS9543tysMfux2KnlrYQ1rYCs+jf4uWMRWWWXvy9Sbm4bZfoiP8+4Y069Qb X-Received: by 2002:a17:906:54e:b0:a35:518f:551a with SMTP id k14-20020a170906054e00b00a35518f551amr806828eja.26.1706369329299; Sat, 27 Jan 2024 07:28:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706369329; cv=pass; d=google.com; s=arc-20160816; b=N12erGlHXVI4OpnwchutjmjyLHGmlzJ6DFzho1qgji8Mo2lWlSq2UyBrVt2U/UmE6X FwMtpebvgYvt1BlSXGVNhVpuVPbqZxlSzUaEgPyuGAJxM2IZUd0Ej2bbuGvqh34fzRMN rB5r4ovPLPaGjwgLto/JRvzDAw1TVjJwS2vU9VQ5EkdP5R7NJsTOocXLoz3D6MAT1m6B zkVbGJfNODZuuy6giGXDRId50lptxWhVrh5hiruW4I56e8iTGXWgJ7jH+yML+m0zU0oi rU6uLjASF/s2bFe7DTIQdt5iWuJiN/j+ohl35+77L7/RPnTOwQMfP4ZN4An4UBZhbUXZ grCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=haBaXjP3IuqWi4Vh3TynqcBtGi5D9/RbAjyH8MaxFEk=; fh=5ec1vxHTJq/5vOZSCPLXOMSk2iXDS6HscyIpMYAKKps=; b=zTLjqwPiwIy2cXRHiqqpOFcR6KGl86t9GA6AY67E3uvhT41pgmX+Ekap9dm8KcYDlW TiPTs/X+yHTPvRuexVEfM6t3ipIBwQgg4dmzD0e3ol+n74/1GXnsSia17r4P8zs61wWz nHXe5RuoO0SmbFwmTapxHvZOosINrJmXFSkXAR6yu5NrqUX09D8LtAgv/xBM5Z5ygJNt Pe/pWdhHm3cBP0dGOCJU7CcdTfXDRhaXsPe2kbsD2qtZEGtNuBiCyc/Pt2LQfMuqQFge k9F4dZgofYjBj3cZxegChTy9M3kZvyBgDL+SJa9X1jv8hjw/ejY2dQiLrJl+2xYMe8vi SedA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gcSbM8Ck; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41243-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41243-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gv16-20020a170906f11000b00a351a617b32si1258713ejb.991.2024.01.27.07.28.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41243-ouuuleilei=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=@amarulasolutions.com header.s=google header.b=gcSbM8Ck; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-41243-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41243-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.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 E0E331F22634 for ; Sat, 27 Jan 2024 15:28:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC80629428; Sat, 27 Jan 2024 15:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="gcSbM8Ck" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 50F0228DC9 for ; Sat, 27 Jan 2024 15:28:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369311; cv=none; b=Cmc+b+i1SzeAaKIj48lTHMfpv8oA8XnmMA+zAoYFpVQFdpLjA+imO/xmqy+THVVfx4Axt5uOqRwldfkFLpbJeCz6Vvj/mXUJTeywCSB3LniOUysAQzfPCCS7cS9CfJdEhCeFIW1idWC2quR5HxsC/McIkb5KEwiRSbKdmJyfTqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706369311; c=relaxed/simple; bh=B1lQN2DRgn3nQBtFdWkRtHnud7Y315A8P2HYAFO7EV4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q3BBt5PmyTi8I6tpaUofGOoLBTqmLAiHvsuRmwVY53+JdQSsOrKKElOcjiV+yQ0JGkMKr939mM4mXPgiiwpFg+CCb4SlYX44LmYrt8zo6apjxLWK3hhuXpvDVzgdFN7IX/awTOx4bBzh1BN80N/xXdAJnRFH6P9BOcZxVXVIO7c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=gcSbM8Ck; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a277339dcf4so129603866b.2 for ; Sat, 27 Jan 2024 07:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369308; x=1706974108; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=haBaXjP3IuqWi4Vh3TynqcBtGi5D9/RbAjyH8MaxFEk=; b=gcSbM8CkOWCDF+p+eNKp7quYEF1qTbiUKuPCtutrj74yh7XXteIhq1thvHMUJW3z9f Nwee7ZIKqZb7EMrRgHx0uO3iQxemyB10MpeOXmQ4i/0+bqi9b58fORmNFrrJBI7RNYR8 ofXaySANPiWe81hUVtcWIcaz47T7Kco5T8Q6k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369308; x=1706974108; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=haBaXjP3IuqWi4Vh3TynqcBtGi5D9/RbAjyH8MaxFEk=; b=CA0+eIvcgMQqtQDMFo9rVFnO5PgU3BKDpNpvGTwur6SprpLZfOPHH7Kuee+DlUWibX 44HUuvSC1/RNm3WgMZ+fPW1x3Yo99Q2reed5xy+L+4O+DQ2RPnMqh4YdUhu20nKpQtV7 bFQQjKhsa7ctZ5/Aehad9n/P/HGw88YXcNYTa+yMpj2on9x4RfPJlJf/K/J/FHYCeqc/ PX1GI9RFqgFzOUCCkd9JUpAvNnwGotmCFSvC4vLdTfv8bys3o4FzTfQL8lu/p7TnmApL 0LYeOvYTXHyJAl46LJvrJgLzpvwxILZOLUlFlYceRtSt1ilTD2i1l2125wUIJ47M7HXw GbLQ== X-Gm-Message-State: AOJu0YzM0/HlKT54pelglAUpz+vSE0p/i7bKtB+VEe6bpqew45uLKkbH zUIYzLZrtLFUQ/Hh9XD6bxyT6k8Dyp3A4rp6L6H7B1nj9WR5FpPcYDpcCnkyK6RqLKSW56Fq9Wo 5 X-Received: by 2002:a17:906:6953:b0:a34:af8a:ee3d with SMTP id c19-20020a170906695300b00a34af8aee3dmr1160137ejs.16.1706369308266; Sat, 27 Jan 2024 07:28:28 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id vs3-20020a170907a58300b00a3550c56127sm509361ejc.9.2024.01.27.07.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:27 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Jessica Zhang , Krzysztof Kozlowski , Linus Walleij , Maarten Lankhorst , Maxime Ripard , Neil Armstrong , Rob Herring , Sam Ravnborg , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property Date: Sat, 27 Jan 2024 16:28:08 +0100 Message-ID: <20240127152821.65744-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789257926113552779 X-GMAIL-MSGID: 1789257926113552779 Allow 'port' property (coming from panel-common.yaml) to be used in DTS: st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Dario Binacchi Cc: Alexandre Torgue --- .../display/panel/novatek,nt35510.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml index a4afaff483b7..72913719df23 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml @@ -31,6 +31,22 @@ properties: vddi-supply: description: regulator that supplies the vddi voltage backlight: true + port: + $ref: /schemas/graph.yaml#/properties/port + +if: + properties: + compatible: + contains: + enum: + - frida,frd400b25025 +then: + required: + - port + +else: + properties: + port: false required: - compatible @@ -54,5 +70,23 @@ examples: backlight = <&gpio_bl>; }; }; + - | + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + reg = <0>; /* dsi virtual channel (0..3) */ + reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>; + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + }; ...