Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4756943imm; Tue, 9 Oct 2018 04:57:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV60hUiqvTJmG5t7/u0tWTzPcPtDyyOpoyKhTHcUyszqgo2yFZ1yh2o0lGrWtJixU5RLxhUSo X-Received: by 2002:a17:902:708b:: with SMTP id z11-v6mr4674955plk.151.1539086276612; Tue, 09 Oct 2018 04:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539086276; cv=none; d=google.com; s=arc-20160816; b=O8dJ7L1SH7lRWf3/GHb+riIMXuDrEfG0tlXaW+OR9Dq6erGlSgUvZKp6tTRzKdpGB2 bC+OKMD8AOSwXuxHkgJxjyxNryVHWpg6liSRYwTWsolfHBMw5L/J3QpCQsw56HrCpgyE LJ83B3B3aAfFBD4maphSQoOKPVPOi9jwFuyhsyYqpQNgDsNzyT/TzWmWUyHJ7vSbKT9q IiM9TRJBOFT6Cz5oMhXiSxSfH6Qn/+sGMqOBAn7RUVkiJX4aVesH2pZ3sHAD1c6u5IPr GlhaZbmP8OKnt/bMEXwXGUzu24v/j0O6plyWCDUhG3ucmChG5+uZj5OyqdI9xv764ctr Jhjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rJXr7z5GHrb0Ho64rEbBzaOJNsjkkt2u6r9HNBTz5Bk=; b=P+hp7xMFFvPYFuiDj4ETYJnonJOre0NNWnfSEZBx2QCyqwZ3O2HypJZXNGtrnZgBzm QXcWiWAJcnEDwsceijPC3u/SSW9mTn53lfGqGBwI3VQl3ck6seldhRdD26xVYBh8+F1I auYhBCVUXWNdK8IMbQrnZz7Ynt7sTqog6JBOdvd9OazaBNs9zPqUid3Bk7k8jCzUd4jW ikVAyvPpJP71Ep00Mjkcu0XIRZfZv0m3GislkiXPbVGKICI6NBNVBLlJklmSk7iu50qP l2O0gOuK4eZzwCN1gQpqIT4CSIH4LmxdxlfYbXa+L3yUZrHeIAoTvkpe02srtLlZKhLU luKA== ARC-Authentication-Results: i=1; mx.google.com; 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 72-v6si21649886ple.354.2018.10.09.04.57.42; Tue, 09 Oct 2018 04:57:56 -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; 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 S1726855AbeJITNv (ORCPT + 99 others); Tue, 9 Oct 2018 15:13:51 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:36704 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbeJITNv (ORCPT ); Tue, 9 Oct 2018 15:13:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 597FE15BE; Tue, 9 Oct 2018 04:57:14 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2A9D23F5D3; Tue, 9 Oct 2018 04:57:14 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 782B61AE03D0; Tue, 9 Oct 2018 12:57:13 +0100 (BST) Date: Tue, 9 Oct 2018 12:57:13 +0100 From: Will Deacon To: Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Grant Likely , Kumar Gala , Frank Rowand , Mark Rutland , Linus Walleij , Olof Johansson , Arnd Bergmann , Mark Brown , Tom Rini , Pantelis Antoniou , Geert Uytterhoeven , Jonathan Cameron , Bjorn Andersson Subject: Re: [PATCH 13/36] dt-bindings: arm: Convert PMU binding to json-schema Message-ID: <20181009115713.GE6248@arm.com> References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-14-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005165848.3474-14-robh@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Fri, Oct 05, 2018 at 11:58:25AM -0500, Rob Herring wrote: > Convert ARM PMU binding to DT schema format using json-schema. > > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/arm/pmu.txt | 70 -------------- > .../devicetree/bindings/arm/pmu.yaml | 96 +++++++++++++++++++ > 2 files changed, 96 insertions(+), 70 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/pmu.txt > create mode 100644 Documentation/devicetree/bindings/arm/pmu.yaml [...] > -- interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu > - interrupt (PPI) then 1 interrupt should be specified. [...] > + interrupts: > + oneOf: > + - maxItems: 1 > + - minItems: 2 > + maxItems: 8 > + description: 1 interrupt per core. > + > + interrupts-extended: > + $ref: '#/properties/interrupts' This seems like a semantic different between the two representations, or am I missing something here? Specifically, both the introduction of interrupts-extended and also dropping any mention of using a single per-cpu interrupt (the single combined case is no longer support by Linux; not sure if you want to keep it in the binding). Will