Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4274103ybz; Mon, 20 Apr 2020 20:01:29 -0700 (PDT) X-Google-Smtp-Source: APiQypK5uB0/i5PK3L2lW9mjUkK7x9egnS40zZRlhmfmdLjKKsNjVr7EnbzlUQ5+bBm1nDybOr4j X-Received: by 2002:a50:b966:: with SMTP id m93mr16897959ede.346.1587438089171; Mon, 20 Apr 2020 20:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587438089; cv=none; d=google.com; s=arc-20160816; b=zoSkvJ8K0+wKdU10B/VA59nDRPHIr0x9E3v/93j4W5G14RkeLagedrSIYdMIUKfrpC j5xKmLbAnzhs1Bo1x7N3tOf/p3oAuyw/AQI2cuXpOzneMp91rpXtPaw/Ypc+mxZ73gvX hhSRhFmPWMW/YjcX8UR/o76TQJffaKOr8UUlB1ttF6qI+nvWHP3sjxBNmWJjYqOYq/ml cvG0y2GD0XaCCvGH/5LCOl65Rx5mh4zoSQkakjSDbtc7/vujgyUMRs/fNBAl4mpHZK8f Iu4H8/h7/FrnpSBYp/CHG8xGdT/89DoiZw2UFhr/8Ps99l5QpQpG5W1BUHZor8CrSHMv hS2w== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=EUyJYZLZtAfo6AgITDbfop1zS8RDHabIqgSZ/QA/muE=; b=tNzL0SNi3EbKzKREqbWqt/d05aHHCbQgJdnP2olG0jLN+0/l9lbxSyln5044NITvDw 6s0aKcMji12angtrI4An8qzKX7tEKhafuYZDcf/u9UTBFgeHchOTcH2wkwfXxqD9YMV0 l9mSU8R8+UziNfVZyD2BIj+Jaqaw/W2Vq6dcTmSgXSLi/tT4tGTGp/9RavGUnftlR8jp uRQfinn78PAWb+WzbVhwevfDOYMyH7B0zb1nJdsv+ctihgy11rn2Ho9aN3R3TZqHkwBe NMPyZkrXWygG+MezwyokkfkmGyjiIKf5sA6zz9twyiQBaO09V6C66ydcOUtJi7PY4p2y 7wYg== ARC-Authentication-Results: i=1; mx.google.com; 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck10si734199ejb.431.2020.04.20.20.01.06; Mon, 20 Apr 2020 20:01:29 -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; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727082AbgDUC7s (ORCPT + 99 others); Mon, 20 Apr 2020 22:59:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726793AbgDUC7r (ORCPT ); Mon, 20 Apr 2020 22:59:47 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E6AFC061A0E; Mon, 20 Apr 2020 19:59:47 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id C6B722A11CD Message-ID: <2d1da0b9d857c5607c989be85a04c9d7d9d19b38.camel@collabora.com> Subject: Re: [PATCH v4] dt-bindings: rockchip-vpu: Convert bindings to json-schema From: Ezequiel Garcia To: Johan Jonker , heiko@sntech.de Cc: devicetree@vger.kernel.org, hverkuil@xs4all.nl, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, mark.rutland@arm.com, robh@kernel.org Date: Mon, 20 Apr 2020 23:59:33 -0300 In-Reply-To: <12f6d7cf-6af6-4f54-3188-65e73b703a72@gmail.com> References: <20200326191343.1989-1-ezequiel@collabora.com> <12f6d7cf-6af6-4f54-3188-65e73b703a72@gmail.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Johan, On Mon, 2020-04-20 at 15:33 +0200, Johan Jonker wrote: > Hi Heiko, > > This patch was applied by the media people Hans and Ezequil without note > and test I think. > I did test it, but I guess something felt thru the cracks. If you'd be kind enough to submit a patch, that would be lovely. Thanks! Ezequiel > make ARCH=arm64 dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-vpu.yaml > > Errors for example: > > DTC arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml > CHECK arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml > arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000: > interrupts: [[0, 9, 4]] is too short > arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000: > interrupt-names: ['vdpu'] is too short > arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: video-codec@ff350000: > interrupt-names:0: 'vepu' was expected > > See: > https://lore.kernel.org/lkml/20200403124316.5445-1-jbx6244@gmail.com/ > > + interrupts: > + minItems: 1 > + maxItems: 2 > + > + interrupt-names: > + oneOf: > + - const: vdpu > + - items: > + - const: vepu > + - const: vdpu > > Vs.: > > > + interrupts: > + maxItems: 2 > + > + interrupt-names: > + items: > + - const: vepu > + - const: vdpu