Message ID | 20200610052426.150225-4-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Make kernel fsi driver generic | expand |
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 |
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 --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";
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- bmc-kernel.dts.m4 | 1 + bmc-sbefifo.dts.m4 | 1 + 2 files changed, 2 insertions(+)