Other Parts Discussed in Thread: TPS65224, TPS65224-Q1
Tool/software:
Good morning,
I have a Sitara board evm k3-am62p5.sk , with kernel 6.1.83 ti.
I also have a custom board, but the issue is the same, so I describe te problem with TI EVM board.
I wish to add the features for the PMIC tps65224, so I have added all the patches related to the link:
https://patchew.org/linux/0109018f2f24c15e-c50bfc29-5f1d-4368-a4b8-2c9f1d398abb-000000@ap-south-1.amazonses.com/0109018f2fdc0d44-9e032c9d-52ed-451e-bd22-bb51b8b474b0-000000@ap-south-1.amazonses.com/ , where there there is the support for adding the tps65224 pmic driver, including it into the tps6594 driver already existing.
In total there are 10 patches, the last one is the patch for the dts, the k3-am62ps-sk.dts. I have applied all of them, one by one.
I have also added something into the .dts, for reading the watchdog register of the pmic, working on the mcu_i2c0_pins_default, mcu-i2c0-pins-default (E11 MCU_I2C0_SCL and D11 MCU_I2C0_SDA ).
Then, I am able to see and read and modify the registers of the pmic, including the specific ones at its pag. 5 related to the watchdog registers at another i2c (I see and read both i2c-0 and i2c-1).
But the driver doesn't probe, I just see: " i2c 0-0048: deferred probe pending " and no other dmesg probing logs (even added by purpose).
Another thing: just modifying the dts alone (the last patch of the bunch), including further modification for the watchdog registers (as described above) and leaving all other files unmodified, the result is the same: I can read and write the correspondent registers of the pmic (including the watchdog registers too).
So the previous 9 patches (core, i2c, pinctrl, ..) seem to have no influence
A further note: on my custom board, the behavior is the same: I can read and write all registers just modifying its proper dts, without doing nothing else; when I add all other patches, I can perfectly compile and insert them, (I just had to add GPIO_REGMAP into the driver/gpio/Kconfig), building the proper Image, but in the end I cannot see any probe and I cannot see any behavior modification.
What I should add for having the tps65224 driver (included in tps6594) correctly probing?
Thanks and regards,
Lorenzo