Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp854051pxu; Wed, 14 Oct 2020 16:03:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyD9jNfaPV3DPmuytExanIRb7/2T8O5f3+fuc+aZn08fStS3/ujv67x68oYt1CfY8rxWI01 X-Received: by 2002:a17:906:3b8e:: with SMTP id u14mr1398127ejf.127.1602716621348; Wed, 14 Oct 2020 16:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602716621; cv=none; d=google.com; s=arc-20160816; b=BDoj98xLIaoNI1Q9710PSpBYFpzBd0OOOHqEtAaTX9FOPVq8OTTsWVFLOy4qTEtcul XLcFNWwVt5KJU4I/6Y/TMCe69ovcofD9uT3WnAVyydQVVChdAs1VMKiFDZzSxREuAi45 o2RHZtILL5saQzaeUECY0qNSdR2In/KNF34aJAPcB9ZhqdZRuqLsUBpnc0qIpVHczplL 5KUIQGaiG6ueZehI9RmLM+DtMm/8C0pjkOzAyFReuPGJ3gLfudB/b9ER7xdBNW8MbiNQ S/3LSdBSaN7aFShirqb++qr5W2SrCMs3PV8h54NFgNYnp1JU9qgoOLjoeoqjDXd0QsXp ZL9A== 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=jCnZ/JpB+JXOTDIrqvdLg2bEBOQwlU7eY0le6lMCNEQ=; b=PiqJlXnYRGfapGdgfrfRaxRRgg2D71ngssoDjAajJHJfWAK3pFnZKO7+LDpoQ84oF2 OEWbC98QekG8UxEaznVo61tsf2dzhV9KyV0KJ2q2eyilk/7W3ref8yArkO1ZzBYf7dV8 frcaBUe2FmeXByhvOT0dJNwEmtOSmNIZ2FAqFrmZhsEGjRkPd04u8HfBsKcBjvRyq0gX FpNVVk5G9ucQJ+4TlPCgRk2wx+KtxwqBuQSikRSiiyubrQKwGrWk3Ah3RnT2+nEKMxfc 6mPTsAPfpvdDYmJQASRoUkiMd/XZNMtZ//QB82RArck11LqMYg4K9leEuVVU7DTP+QSG CyCA== 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 a20si923563ejb.550.2020.10.14.16.03.18; Wed, 14 Oct 2020 16:03:41 -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 S2388596AbgJNNkI (ORCPT + 99 others); Wed, 14 Oct 2020 09:40:08 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:38541 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbgJNNkI (ORCPT ); Wed, 14 Oct 2020 09:40:08 -0400 Received: by mail-oi1-f196.google.com with SMTP id h10so3251947oie.5; Wed, 14 Oct 2020 06:40:07 -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=jCnZ/JpB+JXOTDIrqvdLg2bEBOQwlU7eY0le6lMCNEQ=; b=KuG9M7cz4UWGQEe/qm6OH4axCB1FNOJR2NVEB2cR3hG3sGiq/8sBg8s5iVSYzGq4TV vZwop4tC8HtAsQQq9t7F7BLIN/PvPkeD/ArIubjlTcVj84yxRR45Mqsf/1+SCjd2Xbhj H6TysEXylt3jQFvE7xh/E77NgYQVgAri0h0e804dAoXUFHpZHbh402p/QUUCOStu+O8S aix5gyP9/2YbtUz6rHtrihh5z77p64ZKzTABs2qbVB8WGKqMFUwKQVmyyqAHPXIKsGiD VTRplHK8ggQsoYycki4+6HPXFfwkD1mPssVfd8HZN7SsF7lvUBWwaUvD/SfLv+H/5RcM LPDA== X-Gm-Message-State: AOAM5338fk1x7hVC3v9C3JRD/LOBcyGDzmu+gqtVcalNmDkkhKLxbzhX Ye3yh23uBg7XTZKV1Q8mJ8MOKI0tCH9cKuBNyU8= X-Received: by 2002:aca:f203:: with SMTP id q3mr2114100oih.148.1602682806605; Wed, 14 Oct 2020 06:40:06 -0700 (PDT) MIME-Version: 1.0 References: <20201013150150.14801-1-fabrizio.castro.jz@renesas.com> <20201013150150.14801-3-fabrizio.castro.jz@renesas.com> In-Reply-To: <20201013150150.14801-3-fabrizio.castro.jz@renesas.com> From: Geert Uytterhoeven Date: Wed, 14 Oct 2020 15:39:54 +0200 Message-ID: Subject: Re: [PATCH v3 2/5] 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 Tue, Oct 13, 2020 at 5:02 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 > --- > v2->3: > * Removed the definition of pinctrl-0 and pinctrl-names, as > suggested by Geert > * Added "power-domains" to the list of required properties, > as suggested by Geert > * Reworked the conditional requirements, Geert, what do you > think? Thanks for the update! > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml > +allOf: > + - if: > + required: > + - renesas,primary-bond > + then: > + required: > + - pinctrl-0 > + - pinctrl-names > + - port > + > + - if: > + required: > + - port > + then: > + required: > + - pinctrl-0 > + - pinctrl-names > + > + - if: > + not: > + required: > + - port > + then: This can just be an "else" branch for the previous "if" statement? > + properties: > + pinctrl-0: false > + pinctrl-names: false With the above fixed/clarified: Reviewed-by: Geert Uytterhoeven 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