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=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 08147C3F2C6 for ; Thu, 27 Feb 2020 22:22:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1E1C24697 for ; Thu, 27 Feb 2020 22:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582842163; bh=c3j+vRp0Lh7Ozt/xPptH346wW5138N1TD0vkBGoWdB4=; h=Date:From:To:List-Id:Cc:Subject:References:In-Reply-To:List-ID: From; b=t73u1oM4MQf+1oSFdIawNPsGJKInlEN9zaoH7FQxvY/HdZfbXHhBYti5jp+drmxlF pnKspmd7hpC8iHGy4R+zikZhoKifE8gVFsbeQxfdIRF30arPmA22vWzQpfzgEqtGQQ yl19zqyQzeEkeQjjXuD+kkY0ZJmNbC41y4BeY4oQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730107AbgB0WWn (ORCPT ); Thu, 27 Feb 2020 17:22:43 -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-Google-Smtp-Source: APXvYqz5B7zZblz4z3k+XJtWJQ8eJGRpmeq7mhbk1IJZq3BK1sqHfVfQ2pt+9lrRhZUpnAzW5mSOdg== 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 List-Id: 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 > 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=-8.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable 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 21E46C3F2C2 for ; Thu, 27 Feb 2020 22:22:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7246246A2 for ; Thu, 27 Feb 2020 22:22:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JvxLCz7q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7246246A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sUH7J9ZZVTAlIzBJovCAMs2Cu0IS/XR7wV/+aAc+jRM=; b=JvxLCz7qgvT2DV 50xvl2drVBOFhk/wcS3m0O4WoQOdiASe+NeyJ5jYllqO4lGGz3/8PniPMalyMHiebxJUptl7RUfod yy7u3HXgNPohYjStIY03uBPi7CYvGnKp5pxkdQAF03UgPAjbNjCPbuYyi19NjHOY73EeEP0IhGZiB xKavTm6+pFLz1kMuKH7IDCth18ItVYeVnVLcnCrMJUpENcQhm38P54Qf3gPx96zKhtEUiQoF4a/2/ TENcqNTHSa/FyNkxHxgOb0OQZkYz3/Vq8Xqv2MS4AJ5qXIXLaop0q/eJZwDaDi+srW8hcEFKB0I4C zVLQdN1Uk029vbdZtsWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7RYN-0007J5-F3; Thu, 27 Feb 2020 22:22:47 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7RYI-0007IK-9p for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 22:22:45 +0000 Received: by mail-ot1-f65.google.com with SMTP id r16so782677otd.2 for ; 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=kfEhjDjkt5D72+86G20vvF5JG0aELOlUDqAnBfOzkU0c50o0j99BZcAum6E3ewSxHY bP7qiDhLg24QHa/k/t6pNHRztglStrIEc/2tT29XCaUU7ojQ+1DgAccrViIJQbd9S6G2 ED4dCcRjXP5mqWh8loyAuyqlS68ct/BUW8/ea9zFEZur/U41wyI4KHO5ErIzm0cYAuk3 jNKSN1DcGiEkArOv3RLlhjgP5niTvsSklRtmZXFyVUgZS/w8LF8p4iCK1Gxj/Y3PHHex MZyrsz383oemAA8V31EK4OcGoQkxA3VIHWsUxqoC0CgEgqbDIW0K4cOrLCNHyRU+bw2Q JZoQ== X-Gm-Message-State: APjAAAVQaszO2mZgtK5+uP2g05f12x5obfY5gH2ZxJwUXw3+OFlxC+ta h0YbuCmUoUmpVaDfkerWiw== X-Google-Smtp-Source: APXvYqz5B7zZblz4z3k+XJtWJQ8eJGRpmeq7mhbk1IJZq3BK1sqHfVfQ2pt+9lrRhZUpnAzW5mSOdg== 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 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-Disposition: inline In-Reply-To: <20200227182210.89512-13-andre.przywara@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200227_142244_084292_F5D53AA8 X-CRM114-Status: GOOD ( 17.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: devicetree@vger.kernel.org, Jon Loeliger , Mark Langsdorf , Robert Richter , Catalin Marinas , linux-kernel@vger.kernel.org, Maxime Ripard , Eric Auger , soc@kernel.org, Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel