I am strugling withthe AXP223 gpio LDO configuration to initialise properly, otherwise the i2C lines to the touchscreen controller are unpowered. Therefore I will add traces in the axP223 rsb (reduced signal bus) driver code.
And I try to not be annoying here, but I am a bit lost. What is the common method for driver debugging/development in armbian?
I mean how to recompile the kernel without rebuilding all the image?
For now I changed the kernel configuration for the rsb driver to module. And I will compile it on the target to add my traces.
In case someone has the solution to my problem, my dts looks like this:
&axp_gpio {
gpio1_ldo_pin: gpio1-ldo-pin {
pins = "GPIO1";
function = "ldo";
};
};
®_ldo_io1 {
pinctrl-names = "default";
pinctrl-0 = <&gpio1_ldo_pin>;
regulator-always-on;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-name = "i2C0-iovcc";
status = "okay";
};
And while the regulator initialises for the AXP223 GPIO1/LDO, I have nothing but GND on the pin.
[ 1.223696] i2C0-iovcc: Bringing 3800000uV into 3000000-3000000uV
Because the driver configures the pin in the regulators, it seems like the axp_gpio and pinctrl definitions are useless.