Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp339286rdb; Thu, 30 Nov 2023 06:18:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IELSV42TANXNo6ytQmmwsmRmhxosdgLFF6mcKilvj2RfWd9ePyIw/9eXUUXVHscaUZ8/W7m X-Received: by 2002:a05:6808:1114:b0:3ad:fe8d:dfae with SMTP id e20-20020a056808111400b003adfe8ddfaemr16989319oih.57.1701353887439; Thu, 30 Nov 2023 06:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701353887; cv=none; d=google.com; s=arc-20160816; b=Z0kWL0jNwJ8FCxUymcs6+0LM+7JRm8J4d5gXLTuRPTcwOj/TzroPl5eafVIwK3Us1u dfXKKk1pGhcw3VA+4yenHXKQkks9oKKwiHvxfoHTsek7HTeJTc8RgbQx8bm0IJSldZw/ 40z3zqbpfMSCEWr4QoJd6o/3vza3oYDXnoBis/jtaIXEUOSx2lCRlhyUdcPXFInc2JcT WN7xTcBDAMKpQSZBZZFIf0DVPXFayLLCs/QBJZkNyUWxUU0CKxnDq083JRVqCnrpTed2 HE3nR/M5hCF7URMANWhcspY0kQyNwZHsmx87rOvTNNNM5bKpjRtpG4LgNKdUU0uJxIEY p2Lw== 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=iaOjjsreRhqLG2eeFhkZ0z2jBZuyXeD7iIf15AVT+Us=; fh=rMUSeLjxyqS7ImFw5qehWtEuci36kDflDWRo++pMzKs=; b=yjo8D80tziJKVWX1MjHWBM0Xe2lBFetLpKME3YF9De6mtDVtA5utp7etE9lmHaMW4q SNMaOy+09hoU2hP9bHYKiGclJuQvCvt0aY8fXmlu7Nmf8BFrfOxU/3mCH6k7eMLm24Zw xBJwXaA6swm9oiV2S+Wnx+rL85gPDX1OKSn7/ImxLuz/uZ1hEzinn7jgFNoBKxxAkku1 Rchr5hk23sLsXQql914sv4LjZhoAheZvumGsTfHiprIO/Fmsj3HBYF6eNzGdkZ3PYXIt wTxcJxmzoOSvtvmh7q5RGwC1XH3dxCLSN2J7F1IGnsLXj6vjpnlxiId4SZ6DqvCtb5/Y 7Sew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SrbkySxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a20-20020a63d214000000b0058572c8d5d5si1363523pgg.233.2023.11.30.06.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SrbkySxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id BD65480C778D; Thu, 30 Nov 2023 06:18:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346031AbjK3ORb (ORCPT + 99 others); Thu, 30 Nov 2023 09:17:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345940AbjK3ORW (ORCPT ); Thu, 30 Nov 2023 09:17:22 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D12F1B4 for ; Thu, 30 Nov 2023 06:17:24 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-548f853fc9eso1079337a12.1 for ; Thu, 30 Nov 2023 06:17:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701353842; x=1701958642; 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=iaOjjsreRhqLG2eeFhkZ0z2jBZuyXeD7iIf15AVT+Us=; b=SrbkySxOXSz1yMhdxh1LK7LJiPn0ioHk3/lmL8AUmvp+xhY5nLFah6xZzUNcvec6x5 xLGcUEUbdEejshQvE68QmQS6t/gPPDBcbWXJMZxh7F+c+OgUtaG5npS9Lb6JyrP0+tmD iI5Nq1YtIckRJD50fc5Sot0GQuCn3uah9vI9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701353842; x=1701958642; 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=iaOjjsreRhqLG2eeFhkZ0z2jBZuyXeD7iIf15AVT+Us=; b=DP5MMQIONbBe07GJ5HC4wkpRuK1vI7/FLJWvX0Bp1XAX9hoUx3w4O7+0k4lcBp2kI9 ZP0FcQDCv40g2aP39DpuAHi9gc/k7UL+d0qFYKKIsDQ0C7Z/U3yWgLzGgSBuvLcqitSh kFOrzl7W1bWu8F28X5EO9oEQcL07zaDxIdTqcHltFQkMCV9KJllmuS/4omm4qOHKB2Bi ktxRe4TB+EoTwrKVwSAxypckDc4phL5vrFbH/V4rDIxQComxbbHTd2EwWtlklCUpILwR fIsEmBEUI1U4NLzFLjarv/0U3Eh3G7XxfrHiKZHTTq5tlrxO31tGS27SA2z253iPmv8S jQ6Q== X-Gm-Message-State: AOJu0YwDirGycLjTvw867w1o+rHW3DuqBEdpC4eUqsriG08+KJER14UD WYsQoKQmTOo5OgJBbqe7+pP2dV0sjSUYRq/FQ9VhWA== X-Received: by 2002:a17:906:221c:b0:a19:34e1:990a with SMTP id s28-20020a170906221c00b00a1934e1990amr413692ejs.22.1701353842474; Thu, 30 Nov 2023 06:17:22 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:d1eb:b106:516d:db0a]) by smtp.gmail.com with ESMTPSA id my18-20020a1709065a5200b009f28db2b702sm716064ejc.209.2023.11.30.06.17.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:17:22 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , 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 v3 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller Date: Thu, 30 Nov 2023 15:16:24 +0100 Message-ID: <20231130141705.1796672-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231130141705.1796672-1-dario.binacchi@amarulasolutions.com> References: <20231130141705.1796672-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Thu, 30 Nov 2023 06:18:01 -0800 (PST) From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- 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>; + }; + }; + }; + }; + +... -- 2.43.0