Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp282826pxk; Wed, 23 Sep 2020 03:09:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9tO8+DbPV721EtA3s6haRfSQAUP9XtcWjftVE5VboZa+4WWIcGbchuDyiez03hwlmFr9G X-Received: by 2002:a05:6402:a51:: with SMTP id bt17mr9068237edb.186.1600855760834; Wed, 23 Sep 2020 03:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600855760; cv=none; d=google.com; s=arc-20160816; b=YKM1C6GzbGQOjDsiyUTgsmJ62c35/6Yq4BctpBi8FgEqlS6W2XxbwdKPT/VEAteeen DtueOcUO/NJ9rNSGreOxL7FwsBuRrRMtW2DhZLYz5rMLi+Ugt7E+I539tJOwawCO48rj SY637GtMuWcCfTQELjBdzYA1fsgdElQhurRc3N5FIvxjTv5ZP9vuJR2kggGZ92JJn7da apBylNc/lsh69vUbUpb3/yl/D6ZiCiuV2DpZS4IS153lWYnIj+Le5DqJvtWzzS/oDgcs Rw6PDotJB33EF/4JHV0j4k4w380mxmqSHeD2cqU87MgQQh136wBHm7GaaBz05vsrxIbz ilfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=9XK+a5D95/1wbJzORmRvs/BV2jYI+52XziQI659z+Uw=; b=iybEY1e33Y/LbdgPmkpGReK8sQZY+9aAdPQw8PNgblKWPW1nUU68JPoe8IosF8tow5 xTGbD9Rb+97BBb4JaqM5Ws2ZXvWmmSRcEM9w1OZpu6Ziehk3hLg7VWNK9kIB5wu6O/oK dsPXwbDAdGWuGdRhIPNyrbkJXmQggCwziDcmZ/tz5Y0gXioQg1uRtJdJyUa0G6K7cMTW GKCDkMzG3LagiySYuTT8p/kHEWzVRfabzd087nf7bRdv3qrEie+PI2lE8f78cp+nklOh QmNBNrCMSOWy+1PmlVGjQ+d3EdcjEfnDSkp95EzUxq3A9uc2dHI9sX9eMQmXb+yv/ZvT mNMA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si13334064edq.397.2020.09.23.03.08.57; Wed, 23 Sep 2020 03:09:20 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgIWKH3 (ORCPT + 99 others); Wed, 23 Sep 2020 06:07:29 -0400 Received: from mail-oo1-f67.google.com ([209.85.161.67]:35466 "EHLO mail-oo1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgIWKH3 (ORCPT ); Wed, 23 Sep 2020 06:07:29 -0400 Received: by mail-oo1-f67.google.com with SMTP id k13so4897514oor.2; Wed, 23 Sep 2020 03:07:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9XK+a5D95/1wbJzORmRvs/BV2jYI+52XziQI659z+Uw=; b=AiNUSh3eJtfbMQdjgvoP5PvXNVTCgXKydW2bl6FHmygEIfNWBx3WirKusOFksP+48V mcFo2NrkiV4wZ8ocWQGeFs8jegX8F999h9xMeBbiGSwAY2ERRULubaIDBSO12A6hKDRE 3nz3dOPuGE0YXUMX2vDHMRBNIeakL9pg3QBz1NImymZN/WzduIkHqAysBXWYlL3CURrg YIVih4D4tKOopd6d7Y883zkJpJnPqLNQ1Sl0Hf5Q2S/T0YsRHhnUeHnuDuzRMMrf4iBD 7jTr0OADbhtQJk0P82E3yZPoqjkgg//lH1ShgAvuTBikQnXl8zhQ5NQF6iHsd8tdeIhn WwRA== X-Gm-Message-State: AOAM530GfdX4ihZk8cAcbHBv2kZyCidusUrxJ6sSFpCcZ6OgkWdJ3zic GgjpU1PyzkdiU3/QR0mpSHrLhov8vsPeqLqikek= X-Received: by 2002:a4a:e616:: with SMTP id f22mr6038730oot.11.1600855648513; Wed, 23 Sep 2020 03:07:28 -0700 (PDT) MIME-Version: 1.0 References: <20200916105949.24858-1-fabrizio.castro.jz@renesas.com> <20200916105949.24858-3-fabrizio.castro.jz@renesas.com> In-Reply-To: <20200916105949.24858-3-fabrizio.castro.jz@renesas.com> From: Geert Uytterhoeven Date: Wed, 23 Sep 2020 12:07:17 +0200 Message-ID: Subject: Re: [PATCH v2 2/3] media: dt-bindings: media: renesas,drif: Convert to json-schema To: Fabrizio Castro Cc: Mauro Carvalho Chehab , Rob Herring , Ramesh Shanmugasundaram , Linux Media Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux-Renesas , Chris Paterson , Biju Das , Prabhakar Mahadev Lad , Laurent Pinchart Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabrizio, On Wed, Sep 16, 2020 at 1:00 PM Fabrizio Castro wrote: > Convert the Renesas DRIF bindings to DT schema and update > MAINTAINERS accordingly. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Lad Prabhakar > Reviewed-by: Laurent Pinchart Thanks for your patch! > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml > +properties: > + pinctrl-0: > + maxItems: 1 > + > + pinctrl-names: > + maxItems: 1 > + items: > + - const: default I think these are added automatically by the tooling, so there is no need to list them explicitly. Or do you need to list them here because of the required logic below? > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - resets > + - dmas > + - dma-names > + - renesas,bonding Missing "power-domains". > + > +if: > + required: > + - renesas,primary-bond > +then: > + required: > + - pinctrl-0 > + - pinctrl-names > + - port The last 3 properties must not be present for a secondary interface, right? To express that, I think you need to add: else: properties: - pinctrl-0: false - pinctrl-names: false - port: false Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds