Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1899426ybk; Sun, 17 May 2020 04:11:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxn6oxGKp8Su1XNEZaVLIGV84B5O7tS/qo3E+azGE3Vepn7li8nqYvIiWD+XjZOoNM514z X-Received: by 2002:a17:906:3048:: with SMTP id d8mr11031427ejd.97.1589713913700; Sun, 17 May 2020 04:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589713913; cv=none; d=google.com; s=arc-20160816; b=PCdGnBy6G1GkQydq11McmwGzcyxp5QJpcwMGjG0MMqPgZkdtBHNViil1+SV181v5m7 Z3tKQu46TFEcC/0dzntjDVvb4EYfjGcpf/UwdUSkzDdXDjvgQVJSj65CQZGETLj+/3lN PfzCli1fqQyBOKszoOgmev1LQq2v2eCnxewM9EQiM8RbmmmBAVdydBjchW/FfMf6JgCb HSqAwqYLk+IhXIL3R+7oQjAUflUlVsgxpK2laBU/35WpRyLwOVqNeWYreDrhqnuXvxCm VtGfZMwkdJLllnr71NcqNCB31hBeFxVpzbDzqzLR09LUlvbcXa7ZbzFE+Ots0Kw4h9A/ JYTw== 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:cc:to:subject:from:date :dkim-signature; bh=a+8uUs3KZErtQFYLwRFcI4Y9Qu/GahR4WBEx76kMicU=; b=AqPIrPHbxtD9hZhdSIlYoEO/uaw6a0tIC69Jrnb8DszMq33nSadexZBxHdFCxhwJly RrELPzl2yqslZSU9IqU21A+IprohSJNXJojFA2AwhOpz+yR5BbQqxvwRocddJ5hFjvD5 W1zvrVmlbk4asM/dHp7ZVIiDrlaSE4e2j/gfudZXknKnwe5uQMXKu7aOZZz5BnoQt+Mj LVk1AJpJaFhGIM6TnbwYpTbQyJYRN713IobBF3vhdlw7kLBgPqI7HK8bVlGlVCjjU4jQ AhpYT78eH+2bK+BSnseECZYX6YEY8GfXVIG1cGNm/cSVxTNuZANTgYEypZX7qHqaLlnZ ZkFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b="JcNP/sXX"; 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 me7si4687013ejb.191.2020.05.17.04.11.30; Sun, 17 May 2020 04:11:53 -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="JcNP/sXX"; 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 S1727857AbgEQLGv (ORCPT + 99 others); Sun, 17 May 2020 07:06:51 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:43824 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727785AbgEQLGv (ORCPT ); Sun, 17 May 2020 07:06:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1589713609; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a+8uUs3KZErtQFYLwRFcI4Y9Qu/GahR4WBEx76kMicU=; b=JcNP/sXXR5LlAQyGgIDVT84jR1N8QUsQZViSBBi4neVMfuz8zSKI3xrAbm6Kt4hZTkGpY8 oANNPgIIs9BhTuh23iqoxGTXZyOnEhbUrzyq5kOrxlI15KXhg6XigZB2qW1jydrd/+UJ55 TLLg3EO0buSMfIKZ5hHd8H+D4AJM7O8= Date: Sun, 17 May 2020 13:06:38 +0200 From: Paul Cercueil Subject: Re: [PATCH 02/12] dt-bindings: display: Add ingenic,ipu.yaml To: Sam Ravnborg Cc: David Airlie , Daniel Vetter , Rob Herring , Greg Kroah-Hartman , "Rafael J . Wysocki" , devicetree@vger.kernel.org, od@zcrc.me, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-Id: <2V2HAQ.FED0YBJJAZ7D2@crapouillou.net> In-Reply-To: <20200517061710.GB609600@ravnborg.org> References: <20200516215057.392609-1-paul@crapouillou.net> <20200516215057.392609-2-paul@crapouillou.net> <20200517061710.GB609600@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, Le dim. 17 mai 2020 =E0 8:17, Sam Ravnborg a =E9crit : > Hi Paul. > On Sat, May 16, 2020 at 11:50:47PM +0200, Paul Cercueil wrote: >> Add documentation of the Device Tree bindings for the Image=20 >> Processing >> Unit (IPU) found in most Ingenic SoCs. >>=20 >> Signed-off-by: Paul Cercueil >=20 > For me it fails like this: Oops. I missed the 'const:' in the item list. Will fix when I send a=20 V2, and verify it this time. Cheers, -Paul > /Documentation/devicetree/bindings/display/ingenic,ipu.yaml:=20 > ignoring, error in schema: properties: compatible: oneOf: 1: items > warning: no schema found in file:=20 > Documentation/devicetree/bindings/display/ingenic,ipu.yaml > make[2]: *** [Documentation/devicetree/bindings/Makefile:42:=20 > Documentation/devicetree/bindings/processed-schema.yaml] Error 255 > make[2]: *** Waiting for unfinished jobs.... > Documentation/devicetree/bindings/display/ingenic,ipu.yaml:=20 > properties:compatible:oneOf:1:items: ['ingenic,jz4770-ipu',=20 > 'ingenic,jz4760-ipu'] is not valid under any of the given schemas=20 > (Possible causes of the failure): > Documentation/devicetree/bindings/display/ingenic,ipu.yaml:=20 > properties:compatible:oneOf:1:items: ['ingenic,jz4770-ipu',=20 > 'ingenic,jz4760-ipu'] is not of type 'object', 'boolean' > Documentation/devicetree/bindings/display/ingenic,ipu.yaml:=20 > properties:compatible:oneOf:1:items:0: 'ingenic,jz4770-ipu' is not of=20 > type 'object', 'boolean' > Documentation/devicetree/bindings/display/ingenic,ipu.yaml:=20 > properties:compatible:oneOf:1:items:1: 'ingenic,jz4760-ipu' is not of=20 > type 'object', 'boolean' >=20 >=20 > Sam >=20 >> --- >> .../bindings/display/ingenic,ipu.yaml | 65=20 >> +++++++++++++++++++ >> 1 file changed, 65 insertions(+) >> create mode 100644=20 >> Documentation/devicetree/bindings/display/ingenic,ipu.yaml >>=20 >> diff --git=20 >> a/Documentation/devicetree/bindings/display/ingenic,ipu.yaml=20 >> 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=20 >> bindings/graph.txt). >> + >> +required: >> + - compatible >> + - reg >> + - interrupts >> + - clocks >> + - clock-names >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + ipu@13080000 { >> + compatible =3D "ingenic,jz4770-ipu", "ingenic,jz4760-ipu"; >> + reg =3D <0x13080000 0x800>; >> + >> + interrupt-parent =3D <&intc>; >> + interrupts =3D <29>; >> + >> + clocks =3D <&cgu JZ4770_CLK_IPU>; >> + clock-names =3D "ipu"; >> + >> + port { >> + ipu_ep: endpoint { >> + remote-endpoint =3D <&lcdc_ep>; >> + }; >> + }; >> + }; >> -- >> 2.26.2 >>=20 >> _______________________________________________ >> dri-devel mailing list >> dri-devel@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/dri-devel