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.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 C0D86C43331 for ; Mon, 30 Mar 2020 23:17:59 +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 8E90A20409 for ; Mon, 30 Mar 2020 23:17:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Hzdo+C4d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E90A20409 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=OyFYf3ObuZTscILk1bbwmkiuWVSInwSO6oHEM6RbQ3c=; b=Hzdo+C4dIMzmPy TkW8S1nbJsufPlxuw9GiUsj1Eceq19o49K8vTO0oLFsxAHBcZchbSoZWDTf9MOQ2eFkOqtcoIbhtn 1m3gfeycmBtQBlA8iR+EUV95AlTDUoL664D4WUz3aCoOsrNM1aJalmM8lCbkEGIJr4sxgc83ZZoGS gRHjOvtevRjdmRmOYh2iqG3xKjOGBWsuKETp1MlIE+JiRR86g5R7MXrCAL9C7l3B5L9tRZxbmCcJH k4X8aXIl0ERDsRIVqfigO190GgAfjYRkAXY0euiOcM4y7tMXD+9DMhXhBAs0rzFmyOzh6i3O77WkA aGuU6vNnrUDPdNXspp0Q==; 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 1jJ3fG-0001US-6S; Mon, 30 Mar 2020 23:17:54 +0000 Received: from mail-il1-f194.google.com ([209.85.166.194]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJ3fC-0001U5-Rj; Mon, 30 Mar 2020 23:17:52 +0000 Received: by mail-il1-f194.google.com with SMTP id r5so17626532ilq.6; Mon, 30 Mar 2020 16:17:50 -0700 (PDT) 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=BTXjifd7ocglD8FboIBeR1N5hRHtq0vpT75Dg952cWQ=; b=C/voeORwlTFumL2Zz4igfYRihOT3RwgCp+zOD0Cgk2qOglD9/DOpbSxAM7+8aZHRSI jj3GYDK4zSKuDBbn/7h3wNgg+IkfGBdGQPUveWJksXx7DSjwJZl1bB3DFQsXVv9VSDgr 2qZvePdBRsjIbwVN+kLPHwsb3HFbu7Zn5TYwVMgwua+Ja6yREyJ6KfHGAzRiPzQMJ/qq K/IXVVG0r4OjnbJtkThtCvxQIzC7SK3927nV4YHQwmN5zrTptHbe+7YLMEH1cvljiZJw fmpe/u3VfobHqkSb/pb5Dz3PBT3wiT7juuyLzC5mzwdBSu85p90ko2W/JfRIr7oXm2rF 62vg== X-Gm-Message-State: ANhLgQ1uZhXoyCecV9Boh1mkWSItyzk3NlT/D6uJqVcoFkP2rje8n4Cx aW3FaBhP06aku4BpfdhQbfodM1o= X-Google-Smtp-Source: ADFU+vt94dHL8ZNH73PSwCvVDGJWSHYvQZp10YVT6AUavcgqdGX/LdcbPXO/CeDpMSVuIc6hSx48Og== X-Received: by 2002:a92:d0c7:: with SMTP id y7mr13779079ila.56.1585610269995; Mon, 30 Mar 2020 16:17:49 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id j1sm4600895iok.2.2020.03.30.16.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 16:17:49 -0700 (PDT) Received: (nullmailer pid 12466 invoked by uid 1000); Mon, 30 Mar 2020 23:17:48 -0000 Date: Mon, 30 Mar 2020 17:17:48 -0600 From: Rob Herring To: Johan Jonker Subject: Re: [RFC PATCH v2 1/2] dt-bindings: sram: convert rockchip-pmu-sram bindings to yaml Message-ID: <20200330231748.GA10021@bogus> References: <20200319161159.24548-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200319161159.24548-1-jbx6244@gmail.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-20200330_161750_897700_164413F9 X-CRM114-Status: GOOD ( 19.17 ) 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@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, Mar 19, 2020 at 05:11:58PM +0100, Johan Jonker wrote: > Current dts files with 'rockchip-pmu-sram' compatible nodes > are now verified with sram.yaml, although the original > text document still exists. Merge rockchip-pmu-sram.txt > with sram.yaml by adding it as description with an example. > > Signed-off-by: Johan Jonker > --- > Not tested with hardware. > > Changed v2: > Merge with sram.yaml > --- > .../devicetree/bindings/sram/rockchip-pmu-sram.txt | 16 ---------------- > Documentation/devicetree/bindings/sram/sram.yaml | 13 +++++++++++++ > 2 files changed, 13 insertions(+), 16 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/sram/rockchip-pmu-sram.txt > > diff --git a/Documentation/devicetree/bindings/sram/rockchip-pmu-sram.txt b/Documentation/devicetree/bindings/sram/rockchip-pmu-sram.txt > deleted file mode 100644 > index 6b42fda30..000000000 > --- a/Documentation/devicetree/bindings/sram/rockchip-pmu-sram.txt > +++ /dev/null > @@ -1,16 +0,0 @@ > -Rockchip SRAM for pmu: > ------------------------------- > - > -The sram of pmu is used to store the function of resume from maskrom(the 1st > -level loader). This is a common use of the "pmu-sram" because it keeps power > -even in low power states in the system. > - > -Required node properties: > -- compatible : should be "rockchip,rk3288-pmu-sram" > -- reg : physical base address and the size of the registers window > - > -Example: > - sram@ff720000 { > - compatible = "rockchip,rk3288-pmu-sram", "mmio-sram"; > - reg = <0xff720000 0x1000>; > - }; > diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml > index 7b83cc6c9..a9b1c2b74 100644 > --- a/Documentation/devicetree/bindings/sram/sram.yaml > +++ b/Documentation/devicetree/bindings/sram/sram.yaml > @@ -224,6 +224,19 @@ examples: > }; > > - | > + // Rockchip's rk3288 SoC uses the sram of pmu to store the function of > + // resume from maskrom(the 1st level loader). This is a common use of > + // the "pmu-sram" because it keeps power even in low power states > + // in the system. > + sram@ff720000 { > + compatible = "rockchip,rk3288-pmu-sram", "mmio-sram"; You need to document the compatible. > + reg = <0xff720000 0x1000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0xff720000 0x1000>; > + }; > + > + - | > // Allwinner's A80 SoC uses part of the secure sram for hotplugging of the > // primary core (cpu0). Once the core gets powered up it checks if a magic > // value is set at a specific location. If it is then the BROM will jump > -- > 2.11.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel