Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1687574rdb; Thu, 7 Dec 2023 06:22:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrmn3VohdmVGFI5o/9hIq4+Pw+VChBg7Skfb6Mc4JYsgSIItRgsHTLN163ieF2SWkbaBHx X-Received: by 2002:a17:90b:4f90:b0:288:62f6:2807 with SMTP id qe16-20020a17090b4f9000b0028862f62807mr2167038pjb.33.1701958921258; Thu, 07 Dec 2023 06:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958921; cv=none; d=google.com; s=arc-20160816; b=VoXCmXfMuxY3AbQIOCtn/B3yxyxO4R09TeA2bm9vKmab1tnu4MLV0ycLlhBmq06gUW Ml546IO2MKvxca36IhK+ZfAyArA1tCjS7iFGo0ko6EKnbnClepPy5VEgUTLMKNPoxuay KmU3SuIH/Q5FAeNhN6oWBpLaGfypkdJPUZVcT3FDQMljk/xryMnN48OZsYAwdG5wfFyw l3zrHDejK+AIOkVE4TVIXNwrlS1f0hLxWbI+/ymdTm3KehHfNUKCPgDMj5rtgMYuUHOP nGH4UunbIIf3C+MTEKNkIiXKRbLzlQTWl78BBaPcZmav+AzH4pNkBeUThTsT5mPagP+Y 9PbQ== 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=Lnfcl+xGcZaVaSiEbrLmOIuOeFLP66KSKvq8kyj8O1U=; fh=6zMG0Z8XcspgSxDk55siqf83pNQJKdG1GaqIeIrDDYI=; b=OmavkU8Teq0VrUVZxH0PrHHGKV5NZbwiHq/8Yu2gxK6YOYx5x34laU+vV24TqVai5e NsO4dWzmY32anJfheAuY2/e3RSSOLn3U0akgpge5dxZO0N0vQuzEYp0Z9VQDphQtXuam mRCg5tfdO6Xr6jKJTcTcCFDbtz5OrwzjnCnMcnSRvXRVhj7FENqzEDxvUupyzOjm5wjO U/oVH8wwsVK37y46EmiM5OI5PVXniZy+0gLmcr10EZdHMYMH6ygnwqs9gU398Y4JR+87 vkYHqv3RlHT5SjpH9Hvufiet+JsFpEvhHOdABlOLYRamPFA6GUr8tijRROeJXTlbcGPE 5RPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZ8+Da5f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id i4-20020a17090a974400b0028524fc80c4si1140809pjw.55.2023.12.07.06.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:22:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZ8+Da5f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 4BED7828081D; Thu, 7 Dec 2023 06:21:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443313AbjLGOV1 (ORCPT + 99 others); Thu, 7 Dec 2023 09:21:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443300AbjLGOVB (ORCPT ); Thu, 7 Dec 2023 09:21:01 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39BA9271C for ; Thu, 7 Dec 2023 06:17:53 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a1ceae92ab6so123978666b.0 for ; Thu, 07 Dec 2023 06:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701958657; x=1702563457; 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=Lnfcl+xGcZaVaSiEbrLmOIuOeFLP66KSKvq8kyj8O1U=; b=NZ8+Da5fHKMFSu0LpyzL+R+w8s3rY83cQ4VDa9wQuQMpcetGK4oJdS8mzKWBJZVgjh C3LaBFFvYY2nyXueOmSQy8kcl9P68LK41z/7VemV1MowCS8UoOf3Yy/JSlJkHOMX1dWJ AdzDJf/OW8aCU5n2YFI1ClABXnS/Xseg85Ifc= 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=aFH9lD8IUlRQfbnBSj+USLFIciLwLf4pBoq0X5kfVu7sX6cnnRXHSX5bGqgUyDoVBj 4AUj+mmSwl1OG2CI6QVdAL3nbLSJlHiuT9xVEXtbmqXVzhLYcKtz+VjzjGSz1xd/OTyV sOkbsPryIrgPEHLEtvqJhUI8orW1646S+DeqXrWVgKWejb7CeMmKw0aILefEC6LSKvgf W6MhFKQv8ZBDDwCZNAaqxnRq/fMfeFyjGIFY6GJnr2hTjPCwCdQ8ejoa/RR7otrb+eMx /GfO8IcEtt0y2T3oxk9YG5gvmUmtYOLS9Lxoaf2l/nM9w6QVsf1Ishf2/Ip/OdioyoHt IMfA== X-Gm-Message-State: AOJu0YzlNOiUCZJGNiI5nGbGBSxdFWbKONc8NGr4QdW9H/RXIwygDAiX Rcf9a83YZa0uu5dRiJGhMQ8mNy/CfEy9oBDpwBdeEA== 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 Cc: Amarula patchwork , michael@amarulasolutions.com, 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 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 Content-Transfer-Encoding: 8bit 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 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:21:56 -0800 (PST) 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 howler.vger.email 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>; + }; + }; + }; + }; + +... -- 2.43.0