From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01D5FC04EBF for ; Mon, 23 Sep 2019 12:40:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C3FA120835 for ; Mon, 23 Sep 2019 12:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569242441; bh=l8vQZJIUvgkbP7LvWo9qwqFBsXsB44W0ABkn+VKhM9I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=HIljx+pa3sjxKZQho4Z7mAk22mXTlzsOwYEAuULQCPKx4U0unXEScsJcj6i+bL2zx po7tvipO46XWUrrdTtNz5K/LH1imLIaPGwiF92y+a/WeiPUVGN03JymQxoNmO9w46d YhEKpKzd/GkxdxzZ83S3OK7Ame2CpKpR768sU79Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404757AbfIWMkl (ORCPT ); Mon, 23 Sep 2019 08:40:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:36482 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404312AbfIWMkl (ORCPT ); Mon, 23 Sep 2019 08:40:41 -0400 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7696120835; Mon, 23 Sep 2019 12:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569242440; bh=l8vQZJIUvgkbP7LvWo9qwqFBsXsB44W0ABkn+VKhM9I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=J6kcKYiTgnK4nzc8sAa0nnjlvXAPOaM/O0PtmhjWxEKUCCsJvqjuFyB/lw9anHQf9 SgsK9KsGX4I0xgHnmVdIMIFTUUxAnjxrbS0DmCJV4pQKYxINqTNJWZ0PcfNFDFVtRn 9LsB6vvCQv/kmH81olflVKNpXGK57MrW/1J81WB8= Received: by mail-qk1-f180.google.com with SMTP id 4so15164110qki.6; Mon, 23 Sep 2019 05:40:40 -0700 (PDT) X-Gm-Message-State: APjAAAVMhn5/TwS91b0LE/GqqrcYR8AQGW14/8SeJHyrgjCa6VNBGKWT wGgv0rVxSYD4c/Og4B/YNpKp/WIob1cM/2SVGA== X-Google-Smtp-Source: APXvYqz1pRqdLHsZJ6v7adCjiCuwEUNtG/aVqx8Kf1vfsRAqll0GVsbffAMnKewWt9yYsxHCla7JrcE26Y0aCEoDskw= X-Received: by 2002:a05:620a:549:: with SMTP id o9mr17340620qko.223.1569242439684; Mon, 23 Sep 2019 05:40:39 -0700 (PDT) MIME-Version: 1.0 References: <20190916153357.3880-1-horms+renesas@verge.net.au> <20190916153357.3880-2-horms+renesas@verge.net.au> <20190919151014.4azdfh2feg5ot6no@verge.net.au> <20190923115328.lpb5qeu6poacrb6y@verge.net.au> In-Reply-To: <20190923115328.lpb5qeu6poacrb6y@verge.net.au> From: Rob Herring Date: Mon, 23 Sep 2019 07:40:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: bus: simple-pm-bus: convert bindings to json-schema To: Simon Horman Cc: Mark Rutland , Geert Uytterhoeven , Magnus Damm , Yoshihiro Kaneko , devicetree@vger.kernel.org, "open list:MEDIA DRIVERS FOR RENESAS - FCP" Content-Type: text/plain; charset="UTF-8" Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On Mon, Sep 23, 2019 at 6:53 AM Simon Horman wrote: > > On Thu, Sep 19, 2019 at 02:33:58PM -0500, Rob Herring wrote: > > On Thu, Sep 19, 2019 at 10:10 AM Simon Horman wrote: > > > > > > On Tue, Sep 17, 2019 at 07:12:16AM -0500, Rob Herring wrote: > > > > On Mon, Sep 16, 2019 at 10:35 AM Simon Horman > > > > wrote: > > ... > > > > > > + > > > > > + power-domains: > > > > > + # Required if clocks is absent, optional otherwise > > > > > + minItems: 1 > > > > > + > > > > > +required: > > > > > + - compatible > > > > > + - '#address-cells' > > > > > + - '#size-cells' > > > > > + - ranges > > > > > > > > This will capture what you commented above: > > > > > > > > oneOf: > > > > - required: > > > > - clocks > > > > - required: > > > > - power-domains > > > > > > Thanks. Unfortunately dtbs_check does not seem happy > > > if both clocks and power-domains are present. > > > > I was thinking it was either or. Use 'anyOf' instead. > > Thanks, perhaps the tooling needs updating to handle this. Indeed. Now fixed. Rob