Message ID | 20200421041655.82856-8-amitay@ozlabs.org |
---|---|
State | Superseded |
Headers | show |
Series | Add sbefifo backend | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (6ae2ba655ca5e24b403a33bf15dff7261d3e7052) |
snowpatch_ozlabs/build-multiarch | success | Test build-multiarch on branch master |
Reviewed-by: Alistair Popple <alistair@popple.id.au> On Tuesday, 21 April 2020 2:16:43 PM AEST Amitay Isaacs wrote: > Specific backend must always use specific drivers for backend specific > devices. All other devices which appear in system device tree can > potentially match multiple drivers depending on the backend. > > Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> > --- > p8-fsi.dts.m4 | 6 +++--- > p8-i2c.dts.m4 | 4 ++-- > p8-kernel.dts.m4 | 4 ++-- > p9-fsi.dtsi.m4 | 4 ++-- > 4 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 > index 70fdb14..8d10966 100644 > --- a/p8-fsi.dts.m4 > +++ b/p8-fsi.dts.m4 > @@ -26,7 +26,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x0>; > system-path = "/proc0/pib"; > }; > @@ -44,7 +44,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x1>; > system-path = "/proc1/pib"; > }; > @@ -64,7 +64,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x2>; > system-path = "/proc2/pib"; > }; > diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 > index 3ea4b59..a7a18a2 100644 > --- a/p8-i2c.dts.m4 > +++ b/p8-i2c.dts.m4 > @@ -34,7 +34,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x1>; > system-path = "/proc1/pib"; > }; > @@ -53,7 +53,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x2>; > system-path = "/proc2/pib"; > }; > diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4 > index 6eacb92..b00ed54 100644 > --- a/p8-kernel.dts.m4 > +++ b/p8-kernel.dts.m4 > @@ -18,7 +18,7 @@ > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > index = <0x0>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > system-path = "/proc0/pib"; > }; > > @@ -35,7 +35,7 @@ > #address-cells = <0x2>; > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; > + compatible = "ibm,fsi-pib"; > index = <0x1>; > system-path = "/proc1/pib"; > }; > diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 > index 3bbe43d..ab3c2e1 100644 > --- a/p9-fsi.dtsi.m4 > +++ b/p9-fsi.dtsi.m4 > @@ -17,7 +17,7 @@ > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > index = <0x0>; > - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; > + compatible = "ibm,fsi-pib"; > system-path = "/proc0/pib"; > }; > > @@ -35,7 +35,7 @@ > #size-cells = <0x1>; > reg = <0x0 0x1000 0x7>; > index = <0x1>; > - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; > + compatible = "ibm,fsi-pib"; > system-path = "/proc1/pib"; > }; > };
diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4 index 70fdb14..8d10966 100644 --- a/p8-fsi.dts.m4 +++ b/p8-fsi.dts.m4 @@ -26,7 +26,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x0>; system-path = "/proc0/pib"; }; @@ -44,7 +44,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -64,7 +64,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4 index 3ea4b59..a7a18a2 100644 --- a/p8-i2c.dts.m4 +++ b/p8-i2c.dts.m4 @@ -34,7 +34,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; @@ -53,7 +53,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x2>; system-path = "/proc2/pib"; }; diff --git a/p8-kernel.dts.m4 b/p8-kernel.dts.m4 index 6eacb92..b00ed54 100644 --- a/p8-kernel.dts.m4 +++ b/p8-kernel.dts.m4 @@ -18,7 +18,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #address-cells = <0x2>; #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; - compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib"; + compatible = "ibm,fsi-pib"; index = <0x1>; system-path = "/proc1/pib"; }; diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4 index 3bbe43d..ab3c2e1 100644 --- a/p9-fsi.dtsi.m4 +++ b/p9-fsi.dtsi.m4 @@ -17,7 +17,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x0>; - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc0/pib"; }; @@ -35,7 +35,7 @@ #size-cells = <0x1>; reg = <0x0 0x1000 0x7>; index = <0x1>; - compatible = "ibm,fsi-pib", "ibm,power9-fsi-pib"; + compatible = "ibm,fsi-pib"; system-path = "/proc1/pib"; }; };
Specific backend must always use specific drivers for backend specific devices. All other devices which appear in system device tree can potentially match multiple drivers depending on the backend. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- p8-fsi.dts.m4 | 6 +++--- p8-i2c.dts.m4 | 4 ++-- p8-kernel.dts.m4 | 4 ++-- p9-fsi.dtsi.m4 | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-)