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

Alistair Popple alistair at popple.id.au
Mon Jun 15 17:27:53 AEST 2020


A pity we have to partially detect the different paths at run time it's the 
easiest solution.

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

On Wednesday, 10 June 2020 3:24:22 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay at 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 at 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 at 00:00/raw";
>  		reg = <0x0 0x$1 0x8000>;
>  		index = <0x$2>;
>  		status = "mustexist";
> 






More information about the Pdbg mailing list