I am trying to get the tas5720m to initiate in linux (kernel version 4.14). But there are problems initializing the pvdd:
tas5720@6c {
compatible = "ti,tas5720";
reg = <0x6c>;
pvdd-supply = <®_pvdd>;
dvdd-supply = <®_dvdd>;
};
#REGULATORS#
reg_dvdd: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "3P3V-fixed";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
reg_pvdd: regulator@3 {
reg = <3>;
regulator-name = "tas5720_amp";
regulator-min-microvolt = <4500000>;
regulator-max-microvolt = <26400000>;
regulator-always-on;
};
dvdd seems to be loaded correctly but pvdd throws errors:
root@k414:~# dmesg |grep 006c [ 3.306393] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.307449] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.307483] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.307605] tas5720 1-006c: failed to request supplies: -517 [ 3.382518] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.382596] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.382612] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.382759] tas5720 1-006c: failed to request supplies: -517 [ 3.558210] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.558296] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.558313] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.558437] tas5720 1-006c: failed to request supplies: -517 [ 3.603592] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.603688] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.603706] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.603898] tas5720 1-006c: failed to request supplies: -517 [ 3.682918] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.682989] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.683004] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.683120] tas5720 1-006c: failed to request supplies: -517 [ 3.784706] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.784782] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.784799] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.784929] tas5720 1-006c: failed to request supplies: -517 [ 3.880421] tas5720 1-006c: Looking up dvdd-supply from device tree [ 3.880495] tas5720 1-006c: Looking up pvdd-supply from device tree [ 3.880511] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 3.880712] tas5720 1-006c: failed to request supplies: -517 [ 4.109107] tas5720 1-006c: Looking up dvdd-supply from device tree [ 4.109182] tas5720 1-006c: Looking up pvdd-supply from device tree [ 4.109197] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 4.109698] tas5720 1-006c: failed to request supplies: -517 [ 4.649993] tas5720 1-006c: Looking up dvdd-supply from device tree [ 4.650096] tas5720 1-006c: Looking up pvdd-supply from device tree [ 4.650115] tas5720 1-006c: Failed to get supply 'pvdd': -517 [ 4.650269] tas5720 1-006c: failed to request supplies: -517
I have no idea what to change in the pvdd regulator entry or if that is even the source of the error.