Bootrom has capability to issue i2c command to device
Provide i2c command for PMIC to set core voltage to
1.0V before bootrom jump for higher frequency.
Add this configuration properties on power tree files of
different platform.
bug
200115315
Change-Id: Id4e2e003eb4c73ea82d787fe26980f470883f9bc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit
e6d269d4aa96ed101507805e372d51a833d22bb9)
Reviewed-on: http://git-master/r/760553
Reviewed-by: Robert Shih <rshih@nvidia.com>
nvidia,deep-power-down-enable;
};
};
+
+ bootrom-commands {
+ nvidia,command-retries-count = <2>;
+ nvidia,delay-between-commands-us = <10>;
+ nvidia,wait-before-start-bus-clear-us = <10>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
extcon {
vddio-sdmmc1-supply = <&max77620_sd3>;
vddio-sdmmc2-supply = <&max77620_sd3>;
};
+
+ pmc@7000e400 {
+ bootrom-commands {
+ commands@4-003c {
+ nvidia,command-names = "pmic-rails";
+ reg = <0x3c>;
+ nvidia,enable-8bit-register;
+ nvidia,enable-8bit-data;
+ nvidia,controller-type-i2c;
+ nvidia,controller-id = <4>;
+ nvidia,enable-controller-reset;
+ nvidia,write-commands = <0x00000016 0x00000020>;
+ };
+ };
+ };
};
dmicvdd-supply = <&max77620_sd3>;
};
+ pmc@7000e400 {
+ bootrom-commands {
+ commands@4-003c {
+ nvidia,command-names = "pmic-rails";
+ reg = <0x3c>;
+ nvidia,enable-8bit-register;
+ nvidia,enable-8bit-data;
+ nvidia,controller-type-i2c;
+ nvidia,controller-id = <4>;
+ nvidia,enable-controller-reset;
+ nvidia,write-commands = <0x00000016 0x00000020>;
+ };
+ };
+ };
};
pwm-fan {
vdd-fan-supply = <&vdd_fan>;
};
+
+ pmc@7000e400 {
+ bootrom-commands {
+ commands@4-003c {
+ nvidia,command-names = "pmic-rails";
+ reg = <0x3c>;
+ nvidia,enable-8bit-register;
+ nvidia,enable-8bit-data;
+ nvidia,controller-type-i2c;
+ nvidia,controller-id = <4>;
+ nvidia,enable-controller-reset;
+ nvidia,write-commands = <0x00000016 0x00000020>;
+ };
+ };
+ };
};