ARM: dts: qcom: msm8974-klte: Add max77826 pmic node
This introduces the MAX77826 PMIC that powers some pheripherals on the klte, like the touchpad, touchkeys and camera. Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20200414172250.2363235-4-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:

committed by
Bjorn Andersson

parent
65876ae91e
commit
cd13c72c18
@@ -297,6 +297,117 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl@fd510000 {
|
||||
i2c6_pins: i2c6 {
|
||||
mux {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "blsp_i2c6";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
i2c@f9928000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c6_pins>;
|
||||
|
||||
pmic@60 {
|
||||
reg = <0x60>;
|
||||
compatible = "maxim,max77826";
|
||||
|
||||
regulators {
|
||||
max77826_ldo1: LDO1 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
max77826_ldo2: LDO2 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1000000>;
|
||||
};
|
||||
|
||||
max77826_ldo3: LDO3 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
max77826_ldo4: LDO4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
max77826_ldo5: LDO5 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
max77826_ldo6: LDO6 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
max77826_ldo7: LDO7 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
max77826_ldo8: LDO8 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
max77826_ldo9: LDO9 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
max77826_ldo10: LDO10 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
max77826_ldo11: LDO11 {
|
||||
regulator-min-microvolt = <2700000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
max77826_ldo12: LDO12 {
|
||||
regulator-min-microvolt = <2500000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
max77826_ldo13: LDO13 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
max77826_ldo14: LDO14 {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
max77826_ldo15: LDO15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
max77826_buck: BUCK {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
max77826_buckboost: BUCKBOOST {
|
||||
regulator-min-microvolt = <3400000>;
|
||||
regulator-max-microvolt = <3400000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
|
@@ -974,6 +974,17 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
blsp_i2c6: i2c@f9928000 {
|
||||
status = "disabled";
|
||||
compatible = "qcom,i2c-qup-v2.1.1";
|
||||
reg = <0xf9928000 0x1000>;
|
||||
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
|
||||
clock-names = "core", "iface";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
blsp_i2c8: i2c@f9964000 {
|
||||
status = "disabled";
|
||||
compatible = "qcom,i2c-qup-v2.1.1";
|
||||
|
Reference in New Issue
Block a user