From patchwork Thu Dec 7 14:16:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13483348 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B5B9C4167B for ; Thu, 7 Dec 2023 14:17:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E345A10E8D5; Thu, 7 Dec 2023 14:17:40 +0000 (UTC) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id D374310E8CD for ; Thu, 7 Dec 2023 14:17:35 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a1eb422b412so151338966b.1 for ; Thu, 07 Dec 2023 06:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701958654; x=1702563454; darn=lists.freedesktop.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=olMDXfY2Zr7B+pStUC3d7TttsF+mW6qz7O4Jj2D6midh5xUpVZFNw+vB7SKZ1endON UaoQyOLKQ9uJOnN2eCUJomzK01uxz3AMN1qHaMXTIcZ+vZEUMeF7WIr1PqDUqE14d22/ GYMePczXOYUal4FvieEAI+mywdG6+pmbM9PPk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701958654; x=1702563454; 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=VhVvH/G+vSSALkCT72A4JVf0WX5zZPgOm5gcqWI74+GII1XiVIQJilXbP8n3l+ZAmD XeemLlwHI/0Y1Pumezfc7kC3buMSBOutEVBNUV68IypxI4fZTZ0s0aQYkGo8zqeblzkb EvEcDeekRMR663FZ0l0AbT6xt8GOisf0WeOf9O6uBkgt1RpnxEgX7p5RYjtc1lsZj1M/ Uhf4yHdT0UD1Q9I+2hiGJ8ugUgnKVCiv9YyYQ2LMelUWDooePOMt2pNO1OK4w+WdMOoW Jl1WVExmCISBvo1cZcH2ComzA6FLrDjeZkDDrG+cmCn+w6hrMUfhySyfkirpzYWJNbV+ +1sQ== X-Gm-Message-State: AOJu0YxV7/pq2/Gp75QIYtBP89ipdRnfwY0E/FzNvSBOTP0xf5BYgNTt zea5nOAuwma8xLgmSN92mTFBSg== X-Google-Smtp-Source: AGHT+IGUsXPh/1mHOLB8zINVRPtfrNm/VIkLzErWqvPlYmZO9IqYL1s/WHV2wax9+Cs25yBY0eVUtw== X-Received: by 2002:a17:906:2558:b0:a0f:c538:4612 with SMTP id j24-20020a170906255800b00a0fc5384612mr4598113ejb.28.1701958654342; Thu, 07 Dec 2023 06:17:34 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:9bf:959c:3c66:46c2]) by smtp.gmail.com with ESMTPSA id f24-20020a170906c09800b00a1e814b7155sm885421ejz.62.2023.12.07.06.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:17:34 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Subject: [PATCH v5 05/10] dt-bindings: display: panel: Add synaptics r63353 panel controller Date: Thu, 7 Dec 2023 15:16:34 +0100 Message-ID: <20231207141723.108004-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231207141723.108004-1-dario.binacchi@amarulasolutions.com> References: <20231207141723.108004-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Conor Dooley , Dario Binacchi , Krzysztof Kozlowski , Sam Ravnborg , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Krzysztof Kozlowski , Rob Herring , Thomas Zimmermann , Jessica Zhang , michael@amarulasolutions.com, Amarula patchwork Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>; + }; + }; + }; + }; + +...