]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pinctrl: renesas: Show bit position in config write
authorHai Pham <hai.pham.ud@renesas.com>
Mon, 27 Oct 2025 16:53:52 +0000 (17:53 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 6 Nov 2025 19:09:59 +0000 (20:09 +0100)
Show bit position in config write debug log, which is helpful for cases
where the p port setting is applied at the exact p bit position.

Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> # Unsplit the string
drivers/pinctrl/renesas/pfc.c

index db6be39a52855b7b7a27f0511f3f7f6d4e349af3..dfbb8457bbdc77d2526c45e20c95f65d9a4223ef 100644 (file)
@@ -188,9 +188,9 @@ static void sh_pfc_write_config_reg(struct sh_pfc *pfc,
 
        sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos);
 
-       dev_dbg(pfc->dev, "write_reg addr = %x, value = 0x%x, field = %u, "
-               "r_width = %u, f_width = %u\n",
-               crp->reg, value, field, crp->reg_width, crp->field_width);
+       dev_dbg(pfc->dev,
+               "write_reg addr = %x, value = 0x%x, field = %u, pos = %u, r_width = %u, f_width = %u\n",
+               crp->reg, value, field, pos, crp->reg_width, crp->field_width);
 
        mask = ~(mask << pos);
        value = value << pos;