[Pdbg] [PATCH 09/23] libpdbg: Rename ibm, power8-i2c-slave -> ibm-power8-i2c-pib

Amitay Isaacs amitay at ozlabs.org
Tue Apr 14 12:47:36 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libpdbg/i2c.c | 2 +-
 p8-i2c.dts.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpdbg/i2c.c b/libpdbg/i2c.c
index e3d508b..672b981 100644
--- a/libpdbg/i2c.c
+++ b/libpdbg/i2c.c
@@ -164,7 +164,7 @@ int i2c_target_probe(struct pdbg_target *target)
 static struct pib p8_i2c_pib = {
 	.target = {
 		.name =	"POWER8 I2C Slave",
-		.compatible = "ibm,power8-i2c-slave",
+		.compatible = "ibm,power8-i2c-pib",
 		.class = "pib",
 		.probe = i2c_target_probe,
 	},
diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4
index 3ea4b59..a272d62 100644
--- a/p8-i2c.dts.m4
+++ b/p8-i2c.dts.m4
@@ -8,7 +8,7 @@
 	pib at 50 {
 		#address-cells = <0x2>;
 		#size-cells = <0x1>;
-		compatible = "ibm,power8-i2c-slave";
+		compatible = "ibm,power8-i2c-pib";
 		bus = "/dev/i2c4";
 		reg = <0x50>;
 		index = <0x0>;
-- 
2.25.2



More information about the Pdbg mailing list