Received: by 10.192.165.148 with SMTP id m20csp3118434imm; Mon, 23 Apr 2018 00:27:02 -0700 (PDT) X-Google-Smtp-Source: AIpwx49WVAPRmCEZdh3rWUtSJlpTT4SZFgIjuuuKa9ndwSFAopZyTlJocnFNpqyFKDqo/sSuYGHR X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10-v6mr20089307plb.329.1524468422025; Mon, 23 Apr 2018 00:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524468421; cv=none; d=google.com; s=arc-20160816; b=rqUUHvrFdHDVlSPGQee5qL8j6PNpyTbbbZAwTYq6h1GOGGnvIr0BXYQDlpN8lK9ytJ owfBElaR8uWgxLtYyR5FqBIeBktQiMXNKO1qUsFtcimIWY+dhDKjZUMu7SZYU0sGxeZx OrrDlXtQUtOr1pZJfNvY5cMwwcGWIBgPzaAARG4be67pzLnVU+otPXCaT0k2B+jQKlJl Waf5iH3Gtp404Ys9X9gRPQ6eqYjiuF7GXWHYf8QzP2JJ+/vU6g3mOwoeOWs9YtJnnmuw KgQu/rCryw91PHpEMRhNgylPXWcXC/3sOsco4q96Yq97WSkNv/uOUIbalavOwCIzWJ9+ vkvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=N2pwRUl+8TYUe312Lg8uZWjdyZvogGEXHz9rvrRaqVE=; b=bbpIlZXFpPELW4uRPP9PeZHjxoaofh1dpegQG71L9Zws/uEzA4mc8o1IuSPMzpESx1 VyicB67YOOePvv9QFftKeOD4Fz8FoHCm14//G9822mCp3t1NX8ynEs/XgOtOv7mxtnLa MNP6Su/ZvLuICnsqcJ+R2Ew/8UkjPOnCb1KMMfgnddadF+eougHmyHBMNk1DO1lL//oH /occ7JlVn9IPZAvUZahtLBZOy0qXevv7RBcYH4tx+gquST+j+70R9i+dqyu7C450Mm2p r59aKAtxIK+Q2PWAyRCh9AsciWKo1bB4yie6+pSVEjJpkiLcxUV3rT1/GiJNbZi/ivDn EtFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h0/C50Xr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x17si10525817pfm.330.2018.04.23.00.26.47; Mon, 23 Apr 2018 00:27:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h0/C50Xr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754453AbeDWHZL (ORCPT + 99 others); Mon, 23 Apr 2018 03:25:11 -0400 Received: from mail-ua0-f176.google.com ([209.85.217.176]:44521 "EHLO mail-ua0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754432AbeDWHZH (ORCPT ); Mon, 23 Apr 2018 03:25:07 -0400 Received: by mail-ua0-f176.google.com with SMTP id h15so3093624uan.11; Mon, 23 Apr 2018 00:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=N2pwRUl+8TYUe312Lg8uZWjdyZvogGEXHz9rvrRaqVE=; b=h0/C50XrgOKYqBFBShGy+rsIXixSt163VzpYOC8ilwxIp+XtDoQASxmLS69qOUsxi+ r0xWq/D62G1J+CeXRKMwvVEnkAovxJKW6WH8Jn+Rd6e5ENE7HQq5Q9H8gvwXScKfgmRL NZ1l0a9e4e6XTRZYI0KLdebJo2iHMqLtYEJ3QtYeHh6A/tCsIWIVGROlIKpBY1sXmiP9 I6OTDmE5Z3j0rEu5BvM/b+0SU4BFJehn9OZ19JsWqycmD+mwAqn2bcaG5zl+KG1oMVvz At/n2f4pphhD8tAU+Kue1AJlzSQ6mv1zbcuqfNjtkx4trGpMOt8G+YG/VE3/D2oONtO8 pX8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=N2pwRUl+8TYUe312Lg8uZWjdyZvogGEXHz9rvrRaqVE=; b=r3/fHsvLz2KuWsWn1CKFGKMv/X5UezzYwgwJDb6+qMLxJOlS4LIsIwzmnRm+Vh1fGT e+pdqw18vkzHJgzl5C194D1k6+UAaaKxRNzFQ9JDZPvMBKtG+xGpFjnkXVEMzEIcUiD2 h+LsAsbs+/0CoFqNz66F0LL9HkMlzH17uGmfnQTN5Yerf/NnX8A1x9Ey/Usa6bvVb7e1 Bso0qx1b5ULiluB8xa8rmjVHIcJzn7RABijQTjuQySzpqU8w/UjljQMyuJBeX9Smb3Bx cfyV4EmqDh4vfb/gPGW7lw0cO4d0/hDiqny4PM8CEmrGh0dL9rUUqnQyRk+xiVi2IlY9 Srng== X-Gm-Message-State: ALQs6tB55qM9g69he9TfPa8Sp5nl09v6EmJm23R5R9UGxjngnxYe5i+y PLLwuF1MIdvtjr6ncpQrOYDeqkrXbTpeneqCwpUFLA== X-Received: by 10.176.81.6 with SMTP id e6mr15741668uaa.33.1524468306228; Mon, 23 Apr 2018 00:25:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.122.68 with HTTP; Mon, 23 Apr 2018 00:25:05 -0700 (PDT) In-Reply-To: References: <20180418222905.10414-1-robh@kernel.org> From: Geert Uytterhoeven Date: Mon, 23 Apr 2018 09:25:05 +0200 X-Google-Sender-Auth: x07oIi5vBlIx1_fdQExd95vtCko Message-ID: Subject: Re: [RFC PATCH] dt-bindings: add a jsonschema binding example To: Rob Herring Cc: Frank Rowand , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , devicetree-spec@vger.kernel.org, "linux-kernel@vger.kernel.org" , Grant Likely , Mark Rutland , Geert Uytterhoeven , Linus Walleij , Thierry Reding , Mark Brown , Shawn Guo , Bjorn Andersson , Arnd Bergmann , Stephen Boyd , Jonathan Cameron Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Sat, Apr 21, 2018 at 3:28 AM, Rob Herring wrote: > On Fri, Apr 20, 2018 at 4:00 PM, Frank Rowand wrote: >> Others have already commented on a desire to have a way to specify that >> number of interrupts should match number of interrupt-names. > > Yeah, but I don't see a way to do that. You could stick the array size > constraints in a common definition and have a $ref to that definition > from both, but that doesn't really save you too much. As Bjorn said, this could be handled in the validation tool, for the myriad of standard list properties that have an accompanying names property. That avoids having to specify the relation in each and every binding document. 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