All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Jeremy McNicoll <jeremymc@redhat.com>
Cc: sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org,
	linux-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-mmc@vger.kernel.org, linux-clk@vger.kernel.org,
	andy.gross@linaro.org, robh@kernel.org, arnd@arndb.de,
	riteshh@codeaurora.org, git@kchr.de, ulf.hansson@linaro.org,
	jszhang@marvell.com
Subject: Re: [PATCH V4 4/6] arm64: dts: smem enablement for msm8992
Date: Tue, 13 Mar 2018 19:52:44 -0700	[thread overview]
Message-ID: <20180314025244.GD11034@tuxbook-pro> (raw)
In-Reply-To: <1485755073-6416-1-git-send-email-jeremymc@redhat.com>

On Sun 29 Jan 21:44 PST 2017, Jeremy McNicoll wrote:

> SMEM allows various subsystems/processors to share
> memory/data (heap format) in order to enable various
> peripherals.
> 

Fyi, the sfpb_mutex is actually called tcsr_mutex, but downstream kept
the old name...

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com>
> ---
> 
>  [ Moved sfpb_mutex and smem outside sock as they didn't have
>   'reg' entries.  Everything else is exactly the same. ]
> 
>  arch/arm64/boot/dts/qcom/msm8992.dtsi | 42 +++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi
> index 13fb6f7..1715787 100644
> --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi
> @@ -79,6 +79,19 @@
>  		regulator-always-on;
>  	};
>  
> +	sfpb_mutex: hwmutex {
> +		compatible = "qcom,sfpb-mutex";
> +		syscon = <&sfpb_mutex_regs 0x0 0x100>;
> +		#hwlock-cells = <1>;
> +	};
> +
> +	smem {
> +		compatible = "qcom,smem";
> +		memory-region = <&smem_region>;
> +		qcom,rpm-msg-ram = <&rpm_msg_ram>;
> +		hwlocks = <&sfpb_mutex 3>;
> +	};
> +
>  	soc {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
> @@ -93,6 +106,11 @@
>  				<0xf9002000 0x1000>;
>  		};
>  
> +		apcs: syscon@f900d000 {
> +			compatible = "syscon";
> +			reg = <0xf900d000 0x2000>;
> +		};
> +
>  		timer@f9020000 {
>  			#address-cells = <1>;
>  			#size-cells = <1>;
> @@ -183,12 +201,36 @@
>  			#power-domain-cells = <1>;
>  			reg = <0xfc400000 0x2000>;
>  		};
> +
> +		rpm_msg_ram: memory@fc428000 {
> +			compatible = "qcom,rpm-msg-ram";
> +			reg = <0xfc428000 0x4000>;
> +		};
> +
> +		sfpb_mutex_regs: syscon@fd484000 {
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			compatible = "syscon";
> +			reg = <0xfd484000 0x400>;
> +		};
>  	};
>  
>  	memory {
>  		device_type = "memory";
>  		reg = <0 0 0 0>; // bootloader will update
>  	};
> +
> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		smem_region: smem@6a00000 {
> +			reg = <0x0 0x6a00000 0x0 0x200000>;
> +			no-map;
> +		};
> +	};
> +
>  };
>  
>  
> -- 
> 2.6.1
> 

  reply	other threads:[~2018-03-14  2:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-27  9:09 [PATCH V4 0/6] Enable onboard SDHCI for Nexus 5X (msm8992) Jeremy McNicoll
2017-01-27  9:10 ` [PATCH V4 1/6] clk: qcom: SDHCI enablement on Nexus 5X / 6P Jeremy McNicoll
2017-01-27 17:00   ` kbuild test robot
2017-01-27 17:00     ` kbuild test robot
2017-01-27 21:33   ` Stephen Boyd
     [not found] ` <1485508205-1904-1-git-send-email-jeremymc-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-27  9:10   ` [PATCH V4 2/6] dt-bindings: qcom: clk: Add missing binding for SDCHI enablement on Nexus 5X/6P Jeremy McNicoll
2017-01-27  9:10     ` Jeremy McNicoll
2017-01-27 21:33     ` Stephen Boyd
2017-01-27  9:10 ` [PATCH V4 3/6] arm64: dts: msm8992 add fixed regulator Jeremy McNicoll
2017-01-27  9:10 ` [PATCH V4 4/6] arm64: dts: smem enablement for msm8992 Jeremy McNicoll
2017-01-27 19:58   ` Stephen Boyd
2017-01-30  5:44     ` Jeremy McNicoll
2018-03-14  2:52       ` Bjorn Andersson [this message]
2017-01-27  9:10 ` [PATCH V4 5/6] dts: arm64: Enable onboard SDHCI on msm8992 Jeremy McNicoll
2018-03-28 22:24   ` Bjorn Andersson
2017-01-27  9:10 ` [PATCH V4 6/6] dts: doc: rename rpm_requests to respect DT naming conventions Jeremy McNicoll
2017-02-01 14:06   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180314025244.GD11034@tuxbook-pro \
    --to=bjorn.andersson@linaro.org \
    --cc=andy.gross@linaro.org \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=git@kchr.de \
    --cc=jeremymc@redhat.com \
    --cc=jszhang@marvell.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=riteshh@codeaurora.org \
    --cc=robh@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.