public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: mdf@kernel.org (Moritz Fischer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv5 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi
Date: Thu, 24 May 2018 10:04:59 -0700	[thread overview]
Message-ID: <20180524170459.GB4051@archbook> (raw)
In-Reply-To: <1527179600-26441-3-git-send-email-richard.gong@linux.intel.com>

Hi Richard,

On Thu, May 24, 2018 at 11:33:14AM -0500, richard.gong at linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add Intel Stratix10 service layer to the device tree
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
> ---
> v2: Change to put service layer driver node under the firmware node
>     Change compatible to "intel, stratix10-svc"
> v3: No change
> v4: s/service driver/stratix10 service driver/ in subject line
> v5: No change
> ---
>  arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index d8c94d5..c257287 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -24,6 +24,19 @@
>  	#address-cells = <2>;
>  	#size-cells = <2>;
>  
> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		service_reserved: svcbuffer at 0 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x0 0x0 0x0 0x1000000>;
> +			alignment = <0x1000>;
> +			no-map;
> +		};
> +	};
> +
>  	cpus {
>  		#address-cells = <1>;
>  		#size-cells = <0>;
> @@ -487,5 +500,13 @@
>  
>  			status = "disabled";
>  		};
> +
> +		firmware {
> +			svc {
> +				compatible = "intel,stratix10-svc";
> +				method = "smc";
> +				memory-region = <&service_reserved>;
> +			};
> +		};
>  	};
>  };
> -- 
> 2.7.4
> 

  reply	other threads:[~2018-05-24 17:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 16:33 [PATCHv5 0/8] Add Intel Stratix10 FPGA manager and service layer richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 1/8] dt-bindings, firmware: add Intel Stratix10 service layer binding richard.gong at linux.intel.com
2018-05-24 17:04   ` Moritz Fischer
2018-05-24 16:33 ` [PATCHv5 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi richard.gong at linux.intel.com
2018-05-24 17:04   ` Moritz Fischer [this message]
2018-05-24 16:33 ` [PATCHv5 3/8] driver, misc: add Intel Stratix10 service layer driver richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 4/8] dt-bindings: fpga: add Stratix10 SoC FPGA manager binding richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 5/8] arm64: dts: stratix10: add fpga manager and region richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 6/8] fpga: add intel stratix10 soc fpga manager driver richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 7/8] defconfig: enable fpga and service layer richard.gong at linux.intel.com
2018-05-24 16:33 ` [PATCHv5 8/8] Documentation: driver-api: add stratix10 " richard.gong at linux.intel.com

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=20180524170459.GB4051@archbook \
    --to=mdf@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox