Part Number:AM3358
Tool/software: Linux
I'm using AM3358 with processor sdk 4.02.
I'm able to initialize tps65218 from u-boot after adding power_init_board function in board.c file.
I'm trying to initialize tps65218 in kernel .
While initializing tps65218 i'm getting error
[ 1.892345] tps65218 0-0024: Failed to request IRQ 0 for tps65218: -22
[ 1.899069] tps65218: probe of 0-0024 failed with error -22
Here is my dts node.
tps65218: tps65218@24 {
reg = <0x24>;
compatible = "ti,tps65218";
regulators {
dcdc1_reg: regulator@0 {
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
regulator-name = "vdd_mpu";
compatible = "ti,tps65218-dcdc1";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1351500>;
regulator-boot-on;
regulator-always-on;
};
dcdc2_reg: regulator@1 {
/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
regulator-name = "vdd_core";
compatible = "ti,tps65218-dcdc2";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1150000>;
regulator-boot-on;
regulator-always-on;
};
dcdc3_reg: regulator@2 {
/* VDDS_DDR voltage limits 1.35V with +/-4% tolerance */
regulator-name = "vdds_ddr";
compatible = "ti,tps65218-dcdc3";
regulator-min-microvolt = <1283000>;
regulator-max-microvolt = <1418000>;
regulator-boot-on;
regulator-always-on;
};
dcdc4_reg: regulator@3 {
/* VDDS_SYSTEM_33 voltage 3.3v */
regulator-name = "vdd_3v3";
compatible = "ti,tps65218-dcdc4";
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
dcdc5_reg: regulator@4 {
regulator-always-on;
compatible = "ti,tps65218-dcdc5";
};
dcdc6_reg: regulator@5 {
regulator-always-on;
compatible = "ti,tps65218-dcdc6";
};
ldo1_reg: regulator@6 {
/* VDDS_SYSTEM_18 voltage 1.8v */
regulator-name = "vdd_1v8";
compatible = "ti,tps65218-ldo1";
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
Following device tree documentation it includes interrupt
How to define it?