From patchwork Thu Dec 7 14:16:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13483346 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 65C0DC4167B for ; Thu, 7 Dec 2023 14:17:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D42C510E8D3; 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 409FF10E8D0 for ; Thu, 7 Dec 2023 14:17:38 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a1e35c2807fso120642466b.3 for ; Thu, 07 Dec 2023 06:17:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701958657; x=1702563457; 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=Lnfcl+xGcZaVaSiEbrLmOIuOeFLP66KSKvq8kyj8O1U=; b=a4Y7Yf9TOw4p1zQMLA2yAUmNCNpvJ2NFbqKqz+R6mQaVYBoQLh0jj6iFIGT8IuZPui PoNBnj20brLJVirGgjrgs3plOqAPxlJJ1UgiI1bYBEnqagCv6KtpRzdLDgduBxZ6HX4/ a5J4VpA4OMQPIYqC0ifzhc8hzLDFHDNpzL5pM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701958657; x=1702563457; 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=Lnfcl+xGcZaVaSiEbrLmOIuOeFLP66KSKvq8kyj8O1U=; b=UeppuPZheU2vvaVzgrTzRteq8Lv8cobQguEXWdao8yQhIeifqUtmnzBhXz8+1oTYuL 3EvoGqnSv/JPx60fLR4Loc1FrNYC0w2Tsa/DBf+kapBCGzT8596dHqz2ep3xsIr0GFp4 ljSSM7lFwUFMcuTpmYEMvHGYg4SoMdTGvjmgrCtfAdkAbc2Mrktqqt7bBG7oro3Gj9qi LVXU5Aodhlk3F+/QH02to+BPMlB5WeyoAk9kzriYCZRV8uu1iMLZ2ynD3dCOzcDL+De6 MNQA0FU/6y35CKro0DB2dP1howXuTn/maHkh5QgCfh6wJkrRVLoJ8iMbN7fs3hljy4UC tAwA== X-Gm-Message-State: AOJu0Yyc+L2AYmAvrhmNtThnyI0wn5+4DmIsUdJEOvdmijgvuj3cU4Lt P7iOtl+E2a8MtJO7sg38pKLREA== X-Google-Smtp-Source: AGHT+IFtossF30BRk7kiXSxr96Y10pvhW8uv10PwvHYm08qEzDZZ582D1xtILrbPaDhUujjEIXgLmQ== X-Received: by 2002:a17:906:ad0:b0:a1d:7e27:4d28 with SMTP id z16-20020a1709060ad000b00a1d7e274d28mr1399465ejf.146.1701958656739; Thu, 07 Dec 2023 06:17:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:17:36 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Subject: [PATCH v5 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller Date: Thu, 7 Dec 2023 15:16:36 +0100 Message-ID: <20231207141723.108004-8-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 "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- Changes in v5: - Add 'Reviewed-by' tag of Krzysztof Kozlowski Changes in v3: - Drop power-supply 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/ilitek,ili9805.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml new file mode 100644 index 000000000000..f4f91f93f490 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,ili9805.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9805 based MIPI-DSI panels + +maintainers: + - Michael Trimarchi + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - giantplus,gpm1790a0 + - tianma,tm041xdhg01 + - const: ilitek,ili9805 + + 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 = "giantplus,gpm1790a0", "ilitek,ili9805"; + 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>; + }; + }; + }; + }; + +...