Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1540533ybk; Sat, 16 May 2020 14:53:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGeDDBr1VM2ofZjYiYMCbbdv489mLZQpxA0qvDBUAqoV2z7WYfGs5tSgrIh1r6obDQ+7K1 X-Received: by 2002:a50:9fe1:: with SMTP id c88mr8234484edf.228.1589665997558; Sat, 16 May 2020 14:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589665997; cv=none; d=google.com; s=arc-20160816; b=VRdOnjpAdhShTxEM5XXELssSja2bDxp8GcAmcaKlDwlQCjdhhywrNVV6wrK1iz8c2X oWR/4Yc9x8oMZClrPNuKP2maH5D1oGlPbWcTrvSNIEZtYJvVutWhOe7CcxmlNJ9cljs1 9hattUH56Hpn7iQ+wkSnQ3TkCetGSNFQOFjVX/9sndv/DmeonvYRJ3iM4aZOHzBDPRGL OaLimOyyxV7zNkiATzHcYlighR8cSImd1SDTZE4r0CRnI++fA0GuI2cJEgvJBb6aVtNk 5AJcB7bR04ICUqlXcqUERCINABLEDgoguyzVbcpvUKkCwKNCxWOpH9J3qDRskDparI7V 60Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5uLZ8sCI0EwvdKYjgJMHTthTMKa0Qq3AJ9evuU2KFG8=; b=i8YnWBQdnjj6vrYNv/fd52SrNROZ56kI0cy2u8viS8LGiuHoixUgS+kLx+vvoAerXC xwLq4GiiETvPl+s0V1kf1PlKG+7fSfyle3HJGOE4nB+Wh7XLfRYs7I2Drnd41iqV3w4U AjuHqC26geMP5unbIUF8N95wIWv/TcLk1zc23oK4U+GWGy0a2LxvdUP1MMAyibfCp8i8 fxBpmrXrHUlpLRLGJSuuObQ/KjM6fCVZS07GRnyYFBERbAa6ULTVFtsEwPTJ56KSaPz8 qPHl0Bb3oh0jFjZC5IAg7eslEhVfGvrHO5qnIty366f7vvO1cRR1encvtXNh1CyzwQPt q6sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=GSX0J6yZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si2165121edx.168.2020.05.16.14.52.54; Sat, 16 May 2020 14:53:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=GSX0J6yZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726831AbgEPVvS (ORCPT + 99 others); Sat, 16 May 2020 17:51:18 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:46396 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbgEPVvS (ORCPT ); Sat, 16 May 2020 17:51:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1589665869; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5uLZ8sCI0EwvdKYjgJMHTthTMKa0Qq3AJ9evuU2KFG8=; b=GSX0J6yZrxEfJH66SuvtN8PaoJKCoxOfhl8nq2QfhlWTkiTGWghcp493L+cDl958vvirAh 5MzasZ93b2F9gM0VlQAQl3Prd11ruBynrE3SneyVvTGPmql+FeQ0WzeYqBeTcR+06dlAZ/ UlDr4Ybuq5dgP9EuLOQcx5HxQbFI0yw= From: Paul Cercueil To: David Airlie , Daniel Vetter , Rob Herring , Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: od@zcrc.me, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 02/12] dt-bindings: display: Add ingenic,ipu.yaml Date: Sat, 16 May 2020 23:50:47 +0200 Message-Id: <20200516215057.392609-2-paul@crapouillou.net> In-Reply-To: <20200516215057.392609-1-paul@crapouillou.net> References: <20200516215057.392609-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation of the Device Tree bindings for the Image Processing Unit (IPU) found in most Ingenic SoCs. Signed-off-by: Paul Cercueil --- .../bindings/display/ingenic,ipu.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ingenic,ipu.yaml diff --git a/Documentation/devicetree/bindings/display/ingenic,ipu.yaml b/Documentation/devicetree/bindings/display/ingenic,ipu.yaml new file mode 100644 index 000000000000..22fe02ca866d --- /dev/null +++ b/Documentation/devicetree/bindings/display/ingenic,ipu.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/ingenic,ipu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ingenic SoCs Image Processing Unit (IPU) devicetree bindings + +maintainers: + - Paul Cercueil + +properties: + compatible: + oneOf: + - enum: + - ingenic,jz4725b-ipu + - ingenic,jz4760-ipu + - items: + - ingenic,jz4770-ipu + - ingenic,jz4760-ipu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: ipu + +patternProperties: + "^ports?$": + description: OF graph bindings (specified in bindings/graph.txt). + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + ipu@13080000 { + compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu"; + reg = <0x13080000 0x800>; + + interrupt-parent = <&intc>; + interrupts = <29>; + + clocks = <&cgu JZ4770_CLK_IPU>; + clock-names = "ipu"; + + port { + ipu_ep: endpoint { + remote-endpoint = <&lcdc_ep>; + }; + }; + }; -- 2.26.2