phy: ti: am654: show up in regmap debugfs
authorRoger Quadros <rogerq@ti.com>
Wed, 13 May 2020 13:12:53 +0000 (16:12 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 18 May 2020 14:00:56 +0000 (19:30 +0530)
The max_register property must be set in order to
show up the registers in debugfs.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200513131254.10497-2-rogerq@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/ti/phy-am654-serdes.c

index 88a047b9fa6fa4e79ca3f9fd18decafcdf568327..29e34d29895ad149d2bef2ab6bc11a22eaa4a811 100644 (file)
@@ -77,6 +77,7 @@ static struct regmap_config serdes_am654_regmap_config = {
        .val_bits = 32,
        .reg_stride = 4,
        .fast_io = true,
+       .max_register = 0x1ffc,
 };
 
 static const struct reg_field cmu_master_cdn_o = REG_FIELD(CMU_R07C, 24, 24);