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: 175172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4814480vqy; Thu, 7 Dec 2023 06:21:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUeF5DmtPBv5FgYntQCOxOm07j/UqJr/X/mxyNerLIJZLNTc4u+v7tNyr32eANkrsaHGso X-Received: by 2002:a05:6358:882b:b0:16b:f6c6:b8aa with SMTP id hv43-20020a056358882b00b0016bf6c6b8aamr4475743rwb.1.1701958918846; Thu, 07 Dec 2023 06:21:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958918; cv=none; d=google.com; s=arc-20160816; b=AlFLjilIusrZHMT/bOlzxKUn1T2sSyIgURkwo0dNkaRP5AjAEAIzu3MGwixh4X0lBW 1g2XhIFn4XgTxBMty4wzf/WyLjlqxE/CKX0y3LKqW+R4My/7h/gyqZnF//qNKR18kfjw f0zFXIqBuSjdc4+19tlHMAGanmYU4FFiDykoYwf44xrxo54mAVsqfEWn8VjUNO8wT4lf eJnEa8AmIIfwdGsckRYoQfw7KbrhjN1H1VysaABfmfFAEcFpXNPKn4Kyd2L0jCkHNu/g 7wTbioC9fnGoX6fcNc6bT1CVCxG9Wn6DygeSKAcGRXNx04D/x8w0IOVQYHbpKr4Rj+Be rC4A== 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 Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h14-20020a63c00e000000b005c621f7280csi1288165pgg.466.2023.12.07.06.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:21:58 -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 4CA6B80977BE; Thu, 7 Dec 2023 06:21:50 -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 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:50 -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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784633275502457180 X-GMAIL-MSGID: 1784633275502457180 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>; + }; + }; + }; + }; + +...