Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2930369ybb; Mon, 30 Mar 2020 16:19:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv6r7wSqjxGR0Jhoapxjg0d4kaiJpK442avjdyKcCW7JkUoMiuVAyatpqYUeWv1NAPeGLq3 X-Received: by 2002:aca:d553:: with SMTP id m80mr351028oig.30.1585610372132; Mon, 30 Mar 2020 16:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585610372; cv=none; d=google.com; s=arc-20160816; b=Fz3NSsY7D4rCKeMkdpKayxXUOPtWpA3CHq474Nk/swnAZo9OaAVXvmEVlWXh/LT7+I LnR7KW1g5HvBSIg9vWKBIM1VMO9K2SvMt+Tx60H0fUB6SPDbOLkBD0CeNNNm2imchKWP 92G6KIJA8K7AyJH5ovqgCaKPg6m0D+/6HIfjQsmxUxjTUdaDB8gNsPnNyPp+9q7mpBgE aXraUupBQErckBKcPj2v2ZcU7CfB1iNChKI5Vvtz9tDCtXhwFH/gMms74R59XjgPu/I9 JG3ocfBpRPbA/MXXBziL78VlTU99gAE6Znp023a+YtxgRFQJ8mMWcxDdpAmRtRjyFurU XXWQ== 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=BTXjifd7ocglD8FboIBeR1N5hRHtq0vpT75Dg952cWQ=; b=cQ9YbaEO3lHi9PM6oPosueL1xVswnQS9AJgN/fTYVjkjIloJ4QqmVj9q8FV03I7OQ2 ks4bPjfIIQGiKOcayr7nrmWAFzfJo17Z42cAvccZA6xIR8VEjSRjXb1fzazKlAIAVIN4 M8DOsfsPJpbJD4uMN2ZhPpmJZRfCWjiaszC+f0ivqKzcfVVx2NBEoGRLHbrGsmVSA+dj xklxqNWkMZfcrhHoiGMHKD0thUGB3wlB81Y+nIzgYtJ/0X+BMwqIJtW37iwsyvylNEK7 jY6Lr3Z5LBMGLWnTFjZTaSEe24p6C0q9ei8B+pYZwUePFNPL0pDYJd40Vlj5zDtwl+6K GcyQ== 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 r25si3861200otq.113.2020.03.30.16.19.18; Mon, 30 Mar 2020 16:19:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729319AbgC3XRv (ORCPT + 99 others); Mon, 30 Mar 2020 19:17:51 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:37687 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728876AbgC3XRv (ORCPT ); Mon, 30 Mar 2020 19:17:51 -0400 Received: by mail-il1-f193.google.com with SMTP id a6so17634628ilr.4; 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=IxTjHjqDhMsozwd2HNXFbYcM2Rc1oO/xdRR3vMNh187q0tjc7XmpjiX0MCC8EPQoZG O5+wyoD2ghu4Lq0M6/sgetwEHT69BgZrvpYWHeGVbyFlAMU4+CVPGcA2Y7wH27191HZU nSDqmNLZoBWA4v0e+1lus0q75C8n+CB+i+HlJcO0hM80nja2VxWCkmNbhXL469jNQxSm 5dw8OC0VgAkhtPdULC8cDanANbJENlI970Bky5MLIyz56UX7UbNAO1Ljss56mBKWOAsk bn8G6FgemD2x4cki9mn2JVFQG2gQ+liB8FCxPWfh1jc4JaIjGKFOBqkzkyyN3bcX37Oh 0Rlw== X-Gm-Message-State: ANhLgQ2QsdVkKJUvcwYe8aTrx2XhtPMXzHE66iefGyWonNcMpW3l/2mK qBP+dDt4ME2CpObdnLKfgw== 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 Cc: heiko@sntech.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200319161159.24548-1-jbx6244@gmail.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, 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 >