diff mbox series

[v2,3/7] dts: Add fsi device (relative) path for kernel fsi driver

Message ID 20200610052426.150225-4-amitay@ozlabs.org
State Accepted
Headers show
Series Make kernel fsi driver generic | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (86851b290ac1771b9a6fb0d5238ebf459ea80a21)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs June 10, 2020, 5:24 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 bmc-kernel.dts.m4  | 1 +
 bmc-sbefifo.dts.m4 | 1 +
 2 files changed, 2 insertions(+)

Comments

Alistair Popple June 15, 2020, 7:27 a.m. UTC | #1
A pity we have to partially detect the different paths at run time it's the 
easiest solution.

Reviewed-by: Alistair Popple <alistair@popple.id.au>

On Wednesday, 10 June 2020 3:24:22 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
> ---
>  bmc-kernel.dts.m4  | 1 +
>  bmc-sbefifo.dts.m4 | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/bmc-kernel.dts.m4 b/bmc-kernel.dts.m4
> index 7cf43cf..ff9f527 100644
> --- a/bmc-kernel.dts.m4
> +++ b/bmc-kernel.dts.m4
> @@ -54,6 +54,7 @@ define(`FSI_PRE',
>  		#size-cells = <0x1>;
>  		reg = <0x0 0x$1 0x8000>;
>  		compatible = "ibm,kernel-fsi";
> +		device-path = "/fsi0/slave@00:00/raw";
>  		index = <0x$2>;
>  		system-path = "/proc$2/fsi";
>  		status = "mustexist";
> diff --git a/bmc-sbefifo.dts.m4 b/bmc-sbefifo.dts.m4
> index f4ec4ab..1ffbce4 100644
> --- a/bmc-sbefifo.dts.m4
> +++ b/bmc-sbefifo.dts.m4
> @@ -45,6 +45,7 @@ define(`FSI_PRE',
>  		#address-cells = <0x2>;
>  		#size-cells = <0x1>;
>  		compatible = "ibm,kernel-fsi";
> +		device-path = "/fsi0/slave@00:00/raw";
>  		reg = <0x0 0x$1 0x8000>;
>  		index = <0x$2>;
>  		status = "mustexist";
>
diff mbox series

Patch

diff --git a/bmc-kernel.dts.m4 b/bmc-kernel.dts.m4
index 7cf43cf..ff9f527 100644
--- a/bmc-kernel.dts.m4
+++ b/bmc-kernel.dts.m4
@@ -54,6 +54,7 @@  define(`FSI_PRE',
 		#size-cells = <0x1>;
 		reg = <0x0 0x$1 0x8000>;
 		compatible = "ibm,kernel-fsi";
+		device-path = "/fsi0/slave@00:00/raw";
 		index = <0x$2>;
 		system-path = "/proc$2/fsi";
 		status = "mustexist";
diff --git a/bmc-sbefifo.dts.m4 b/bmc-sbefifo.dts.m4
index f4ec4ab..1ffbce4 100644
--- a/bmc-sbefifo.dts.m4
+++ b/bmc-sbefifo.dts.m4
@@ -45,6 +45,7 @@  define(`FSI_PRE',
 		#address-cells = <0x2>;
 		#size-cells = <0x1>;
 		compatible = "ibm,kernel-fsi";
+		device-path = "/fsi0/slave@00:00/raw";
 		reg = <0x0 0x$1 0x8000>;
 		index = <0x$2>;
 		status = "mustexist";