From patchwork Wed Dec 13 14:03:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 178042 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp7798106dys; Wed, 13 Dec 2023 06:06:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8/hqE86ahgz7OebQaqgfxmL3TNyPW0RQcBHs+ewJ+lRpqjFPv0B4KtbxbfAhfoPDK7fif X-Received: by 2002:aa7:88c8:0:b0:6ce:7e2e:2170 with SMTP id k8-20020aa788c8000000b006ce7e2e2170mr4038621pff.36.1702476379558; Wed, 13 Dec 2023 06:06:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702476379; cv=none; d=google.com; s=arc-20160816; b=znOd2QIVUDtOEGQ4AFyKtWQ4M5NxjUMazA6j2l42oiTCgws2WDA86JzKy0yPgMF+T/ c/N3hrYOVuQP+9xgMBOuZnJrdw/JbQnbvhBXJJ9ndgBfQkF6uAQQTYAluS+B8wd8q94w EhPM4rlWkrGNSk8q2/IlA0KTD719+V37fD+wTXaHbt9U1R8IyxwbecRLxJPemaJdyTaA 314z/+qvPK1yHukwD6KPjoUDHibzUbI8rXTQHGvfzipSJrrHB9/ErDryiufJJE9gphsr UMQM56JKtxlQqIxeMNyvoA0TwNFRG/jbXzFkbj6nLUd46gHDiKFaLAIMbSf6sklgXWJv h41g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9dqXlBbcQt0R29oSjxr4jyi0yptqDX27ArBU37Ndav8=; fh=lgOgPSzyjowhGzwYowBR9Ne0BQfivme3yzjOKE5KM0w=; b=BbavhN3Q1BA40IViCrW1PkDQKnZ2osaLJjRkooft90jZp6xuIQEmZCBZFqm1y1J8qT WPK/VBYWLi+V/UIPo645o2IcyRQAcg+mQ5KRXZ8Dn4NR98jLZ5A5IVE4pNTtwNvaBGrW c501JjQnSLpXjYERwSmALKhliKCr44Wg1X8NxEhYcLjbzwV4Me7uVRJVJXLxaleuKBL0 v0e5LpTW6+Ls0sWSbY7iOZbppJ7ySPO4l3Ow+iyN5LIXXSXinR4kOS73wbu6rZiZ7Lxy DL+KxZ5SBPg/GiJjQRyvelh/UIUaeOD3CkCkYAkp++nLPCa9JEdM4nh7AfPKIPV3QGwJ 3pcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kxbvaXSF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t21-20020a056a0021d500b006ced275c406si9518082pfj.309.2023.12.13.06.06.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 06:06:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kxbvaXSF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4120F80775BA; Wed, 13 Dec 2023 06:05:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441896AbjLMOFY (ORCPT + 99 others); Wed, 13 Dec 2023 09:05:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379461AbjLMOFB (ORCPT ); Wed, 13 Dec 2023 09:05:01 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3928F1AA for ; Wed, 13 Dec 2023 06:04:54 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50bf69afa99so8920389e87.3 for ; Wed, 13 Dec 2023 06:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1702476291; x=1703081091; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9dqXlBbcQt0R29oSjxr4jyi0yptqDX27ArBU37Ndav8=; b=kxbvaXSF/MEAbg8xDALt/cWGtZO8PfqajBEdyKv4Gi1A/U8WV12E4U3Tvb+LJdnoKF DxHgjIka9Chmehg1/WDlnX/yJ52UJ5gPBPPqWWJDVzWCQ+sURjphhgbD7RqcFOHZtBi+ 2hSTEfXe/E+vttFd7vciVkQn+KTPoj+H15R7M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702476291; x=1703081091; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9dqXlBbcQt0R29oSjxr4jyi0yptqDX27ArBU37Ndav8=; b=hek2qc1suRThIUbjHW9FilsU+kKYbmvMc1sENJl+/Q2dqsyK3E3fFTfprwk3S6me5S aciPYRYB6I4uJdYNkYqEswVskb+pafdDim8x/eRYEZySrH2T01pKE4cFGdpdm/zDHp1E dFm/k1NSGeZSpdp864RYMPkpN3sq9UO6qtoaHT1xuOfosSWu1rdxC/w417DtLRD/q3xY DptRxoMTRFtevM5WUmS7xg3IjpilLdIIvuUCrUKdQjiJsqqBd4QbU51KIMUrbRke3XgI 6Ixnt2UqYTm1/KwuKa3khTg0iXvaWh7BrECuNOIncuRt94//eYui0WdXxDKMp1ZKynWH YXBA== X-Gm-Message-State: AOJu0Yw/GeiBX8Pfa686e5lXx4dSpcIYa86FWR9OvAqrLjkokZ7hdWJA OXQ0bXQMUWMM5zuE8WgK/DVHACfGL5U7U4dx3y2R0Q== X-Received: by 2002:a05:6512:5c3:b0:50b:f9b2:ced with SMTP id o3-20020a05651205c300b0050bf9b20cedmr3452370lfo.22.1702476291575; Wed, 13 Dec 2023 06:04:51 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-182-13-188.pool80182.interbusiness.it. [80.182.13.188]) by smtp.gmail.com with ESMTPSA id sf22-20020a1709078a9600b00a1ca020cdfasm7797635ejc.161.2023.12.13.06.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 06:04:51 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , Krzysztof Kozlowski , Conor Dooley , Daniel Vetter , David Airlie , Jessica Zhang , Krzysztof Kozlowski , Maarten Lankhorst , Maxime Ripard , Neil Armstrong , Rob Herring , Sam Ravnborg , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v6 3/4] dt-bindings: display: panel: Add synaptics r63353 panel controller Date: Wed, 13 Dec 2023 15:03:44 +0100 Message-ID: <20231213140437.2769508-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213140437.2769508-1-dario.binacchi@amarulasolutions.com> References: <20231213140437.2769508-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 06:05:37 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785175871756273325 X-GMAIL-MSGID: 1785175871756273325 From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Replace "synaptics,r63353" compatible with "syna,r63353", as required by vendor-prefixes.yaml. Changes in v2: - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backlight - Set port and backlight ad required - Replace additionalProperties with unevaluatedProperties .../display/panel/synaptics,r63353.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml diff --git a/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml new file mode 100644 index 000000000000..e5617d125567 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/synaptics,r63353.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics R63353 based MIPI-DSI panels + +maintainers: + - Michael Trimarchi + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - sharp,ls068b3sx02 + - const: syna,r63353 + + avdd-supply: true + dvdd-supply: true + reg: true + +required: + - compatible + - avdd-supply + - dvdd-supply + - reg + - reset-gpios + - port + - backlight + +unevaluatedProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sharp,ls068b3sx02", "syna,r63353"; + reg = <0>; + avdd-supply = <&avdd_display>; + dvdd-supply = <&dvdd_display>; + reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */ + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&mipi_dsi_out>; + }; + }; + }; + }; + +...