Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2479067rdh; Sun, 26 Nov 2023 07:47:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFT6ghUzZzoRq2cvr9bPC8cwsLPV+8L0WWUT1UvmhpNtFUIFiMPGU0KwvnG0DYuVEpuMsry X-Received: by 2002:a05:6808:f09:b0:3ae:bae2:fa76 with SMTP id m9-20020a0568080f0900b003aebae2fa76mr12527882oiw.36.1701013669734; Sun, 26 Nov 2023 07:47:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701013669; cv=none; d=google.com; s=arc-20160816; b=sFdhr9Q5rUYO1XkoOd+XvR/4QnGc9WywexEj/YQ6RAYeKq0+RnKoSsL0mSHoEa0WND YYPMWst/P5wkpcpKfujO0FMhPKgjAhncZrNfxG1qcEQJq8SzDkQ1iovgpYK4mzrONKuQ 78iVjJ6DSSkxp+9Blm2vfI2fSleo1c66w4bjS6mmJmKDTAOVqyqfIDmxJaoivID8h8f5 GjDWvKO2SrqzbWNSBhl3albaETFUmVHna2/W9+jEW0ta15tUENd0CQbsLg41bufaLG0V bNiQps1fitDxrUYjV9Pcp9qZggQsQk58qImgdP8+ihS5HweSe6v1eJMoOYN1pOa2tjz2 m8nw== 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=dvYwFATyIvmV3iv8lQG/WHQRHMyZF8eGnwS5y8SkTH4=; fh=rMUSeLjxyqS7ImFw5qehWtEuci36kDflDWRo++pMzKs=; b=EWXZHbg5TkC0aScpwnIeZRKmHzgMIuIMBagCQ2/vdF3nK7IuWt4NnyK7ORbunO2gmg BgxUOr5VaYD7ocwKmnaM56pHANPzUAvCfgJyhfi6jFGkq/DllbluG18IH/4R7cBQSuN2 F49Ek4Avq/xBjIEot0fuQxVRumd6jjwuFByKxGO9h++Jja8Sb77Im8TpN0vSYaYD9bRg ypV8IQYoExZaNBfogYiNRYGw2wfrvGnhk9romvFhfnJIHsDmHLcwDJV91oRryuF8WtL5 /mm0m9oryEZ5u7KNPnYyEwMAHKVQsjJYYZi1cN0edEIWSVrFG9lkbWlVHj/jit9jLKyO SwZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Rwo9PSiE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id k1-20020a635a41000000b005b8ddb9c305si7447140pgm.30.2023.11.26.07.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 07:47:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Rwo9PSiE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 5717B80657F5; Sun, 26 Nov 2023 07:47:48 -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 S231996AbjKZPre (ORCPT + 99 others); Sun, 26 Nov 2023 10:47:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231905AbjKZPrR (ORCPT ); Sun, 26 Nov 2023 10:47:17 -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 6ED2719A3 for ; Sun, 26 Nov 2023 07:46:53 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50a6ff9881fso5253759e87.1 for ; Sun, 26 Nov 2023 07:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701013611; x=1701618411; 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=dvYwFATyIvmV3iv8lQG/WHQRHMyZF8eGnwS5y8SkTH4=; b=Rwo9PSiEY0rmCczZ8NlaZ3zxS283qeWPXOIUVyWrZfxEIMR1QdyTS+olS78/HZlrxW IT+yu4Uq4W/w6C89edwYNctssFxMAA44gLAZt8Fa+8b3oDzZaLEZzBgjJ+2IS+AaIOic EOj3H2YR5ljopANfZGMv097HyumuhKhXE7yBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701013611; x=1701618411; 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=dvYwFATyIvmV3iv8lQG/WHQRHMyZF8eGnwS5y8SkTH4=; b=edUrx2++SWH6tmMvPUQ940USdTr9YmckgOKumwZTkp+BXgzxauSNPe74qRsa1ClXG4 6ETAZeHSTL5M5sagm1MFWC7hWw8snrp3jBZ90dLOhHTn3FpO5b5blp8Kqn6gC9Xi2MGy rnwc+3Bdn4+SkUaldZBsGhXjFzAcMy3IN9m7ljTr7zuLeM8ipv+YoJ0DtLPaOC1PZbS1 paK/OtCE8xAZCubw3XKwqJyYqW9f6jsl2k9H2x8e7w8RJv8QXT9EulvKi67zIt46AiOi rA3FzsuRr9ABtfPIXFMnFuRWuc7zxNx4KkL5jyqoxzXE+otz0tmtc446skYJlIVH9dRH 2btg== X-Gm-Message-State: AOJu0Yyx3H/YxyKTGUiTrRsB22cftbQGnfqlXMxgwkLHhgpBZDEtZvf/ tvyMZbxnsUazXVGYCkeTY0kISY3msQeWMmCTaRgFeg== X-Received: by 2002:ac2:5a0f:0:b0:509:4f70:f6f3 with SMTP id q15-20020ac25a0f000000b005094f70f6f3mr6257684lfn.64.1701013611530; Sun, 26 Nov 2023 07:46:51 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-244-100-54.retail.telecomitalia.it. [95.244.100.54]) by smtp.gmail.com with ESMTPSA id h24-20020a170906591800b009fdc684a79esm4656158ejq.124.2023.11.26.07.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 07:46:51 -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 v2 07/11] dt-bindings: display: panel: Add Ilitek ili9805 panel controller Date: Sun, 26 Nov 2023 16:44:59 +0100 Message-ID: <20231126154605.15767-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231126154605.15767-1-dario.binacchi@amarulasolutions.com> References: <20231126154605.15767-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=ham 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]); Sun, 26 Nov 2023 07:47:48 -0800 (PST) From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- 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 | 63 +++++++++++++++++++ 1 file changed, 63 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..e08af5f0b2e9 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml @@ -0,0 +1,63 @@ +# 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 + - const: ilitek,ili9805 + + avdd-supply: true + dvdd-supply: true + power-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>; + power-supply = <®_display>; + 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.42.0