Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1606534ybf; Thu, 27 Feb 2020 14:24:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwX/VHBy1i3wjnDEZkTfw740KdyapqFqG68rjftY6Ny5Z1tS5KgrBy5/0zzsC99KRyU+AEi X-Received: by 2002:a05:6830:18ce:: with SMTP id v14mr891948ote.36.1582842253840; Thu, 27 Feb 2020 14:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582842253; cv=none; d=google.com; s=arc-20160816; b=RVvd9nRzFLG83bL+HanC9gzvmfRuDp4cjQciZz9XzDJDs1HQC9AM6poth/Wx+2nJEQ X3Es4CC00XVnS49jTcBdwZ/2aIwM7pQXm2H5OCNUUyOWUsDYJobnxC56r16yYlS56iyt 70/QJstC8qtmN1dOcIm5vDxfTnebofCI0ssxrKPvSpnL0jfa5TJNbmUp4xGjdko6i8oN XgSgLVLsr/Z6fsyIgqqkdKv1U58JOYHwT2bpFvsr7DvbZuHSFDHjbOaWSl7JNeO78kLU SgTqPj/yhqiE6KYr7f2nfRuzgBg4moXpIFZdKrNAornd+CxJm3FR5/oMXVFegyxJE1aB LJFQ== 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=Twand65sZdOLPd8mLMV5yo/gk50yR6BORm4y7JCU1Fs=; b=n1zStK/RLMbOGfSD8WGAdOi0DNRAYaaNd+1cyGUmK9NNe9EVAGJIHA59d/KRb8nF1O ILVdNei3KTD/DbSS2aAbwREiX74XAxzFkulIRo5UiqIbOFYEyEJ0lZ4VkfCLOjnPLxpQ y5UTa8CAGPOobMYdu3UyU83Sq4puzwgzmJoxCNGMDZieiBD7l/Yd69RkugweXpONPU1z Mb6aNpxLTTh04GvRUJlq+my9fBtf6Zxe9ZUr83GTOg6+a7t39D+7rEpLDeqZUJlGXOb1 j46qOzVZeiv4eyXQQ3QV7EGAbXfFy7RqSR0W0dGlZMEAO/fnbi7DC463wv89ACU6hm50 /Rwg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si353846ota.300.2020.02.27.14.24.00; Thu, 27 Feb 2020 14:24:13 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730078AbgB0WWm (ORCPT + 99 others); Thu, 27 Feb 2020 17:22:42 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43471 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729434AbgB0WWm (ORCPT ); Thu, 27 Feb 2020 17:22:42 -0500 Received: by mail-ot1-f65.google.com with SMTP id p8so730361oth.10; Thu, 27 Feb 2020 14:22:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Twand65sZdOLPd8mLMV5yo/gk50yR6BORm4y7JCU1Fs=; b=hEzqBN6Mvj9KfgNlEKt9y8RJ6vQiLq0I9dOO5mn1uQgd4V3U9fxwAc/XodE9n439o9 gimQWAV+Gec6+PMph5xwuNfv2sfd3C2/3RQk/oatUzyzHNVwD7Lfax03IiD7oqBDfjeo tosQ9Umx67gLIdhE+h9khbddjRR8k4LP0aXT9WmYjC2FdswndPh/v5UbkSI2OT/qGtk+ Yx3N+6EjbF16r3saggOOm3HCEjtnxfI28qFM9jqFNHpkGuNtqqOxW08GGRV0OI9jomRa eOZCaRdWa17RiOxZccVkgAu9FsGF3SQG7AJzQD1puTNBQMzFmQtUi97aIt+EnNiBK760 05VQ== X-Gm-Message-State: APjAAAXdKaM0FNXGIEnSF3PVFgMCatPrk2lXV4yPBs6QdHwdtwLvIbN1 ALSnZfyRDYufTEOQWSPDrg== X-Received: by 2002:a9d:5e9:: with SMTP id 96mr871219otd.307.1582842161560; Thu, 27 Feb 2020 14:22:41 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id i6sm2396457oto.62.2020.02.27.14.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 14:22:41 -0800 (PST) Received: (nullmailer pid 25505 invoked by uid 1000); Thu, 27 Feb 2020 22:22:40 -0000 Date: Thu, 27 Feb 2020 16:22:40 -0600 From: Rob Herring To: Andre Przywara Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maxime Ripard , Robert Richter , soc@kernel.org, Jon Loeliger , Mark Langsdorf , Eric Auger , Will Deacon , Catalin Marinas Subject: Re: [PATCH v2 12/13] dt-bindings: arm: Add Calxeda system registers json-schema binding Message-ID: <20200227222240.GG26010@bogus> References: <20200227182210.89512-1-andre.przywara@arm.com> <20200227182210.89512-13-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200227182210.89512-13-andre.przywara@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2020 at 06:22:09PM +0000, Andre Przywara wrote: > The Calxeda system registers are a collection of MMIO register > controlling several more general aspects of the SoC. > Beside for some power management tasks this node is also somewhat > abused as the container for the clock nodes. > > Add a binding in DT schema format using json-schema. > > Signed-off-by: Andre Przywara > --- > .../bindings/arm/calxeda/hb-sregs.yaml | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml > > diff --git a/Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml b/Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml > new file mode 100644 > index 000000000000..4753e8dc5873 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml > @@ -0,0 +1,49 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license please. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Calxeda Highbank system registers > + > +description: | > + The Calxeda Highbank system has a block of MMIO registers controlling > + several generic system aspects. Those can be used to control some power > + management, they also contain some gate and PLL clocks. > + > +maintainers: > + - Andre Przywara > + > +properties: > + compatible: > + const: calxeda,hb-sregs > + > + reg: > + maxItems: 1 > + > + clocks: > + type: object > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + sregs@fff3c000 { > + compatible = "calxeda,hb-sregs"; > + reg = <0xfff3c000 0x1000>; > + > + clocks { > + #address-cells = <1>; > + #size-cells = <0>; > + > + osc: oscillator { > + #clock-cells = <0>; > + compatible = "fixed-clock"; > + clock-frequency = <33333000>; > + }; > + }; > + }; > -- > 2.17.1 >