mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
arm64: dts: rockchip: Add fp9931 pmic config for rk3576-ebook-v10
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com> Change-Id: I436749871368488b5e80f178d1b4302f2f34c17b
This commit is contained in:
@@ -484,6 +484,49 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&i2c7m2_xfer>;
|
pinctrl-0 = <&i2c7m2_xfer>;
|
||||||
|
|
||||||
|
fp9931: fp9931@18 {
|
||||||
|
compatible = "fitipower,fp9931-pmic";
|
||||||
|
reg = <0x18>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&fp9931_default>;
|
||||||
|
|
||||||
|
/* fp9931 EN_TS(pin15) and external power control pin */
|
||||||
|
power-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>, <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>;
|
||||||
|
/* fp9931 EN(pin16) */
|
||||||
|
enable-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
|
thermal-zone = "fp9931-pmic-thermal";
|
||||||
|
#thermal-sensor-cells = <0>;
|
||||||
|
|
||||||
|
regulators {
|
||||||
|
compatible = "fp9931-regulator";
|
||||||
|
fp9931_vcom: fp9931-vcom {
|
||||||
|
regulator-name = "vcom";
|
||||||
|
regulator-min-microvolt = <0>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-state-mem {
|
||||||
|
regulator-off-in-suspend;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fp9931_vpos_vneg: fp9931-vpos-vneg {
|
||||||
|
regulator-name = "vpos_vneg";
|
||||||
|
regulator-init-microvolt = <15060000>;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-state-mem {
|
||||||
|
regulator-off-in-suspend;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fp9931_thermal: fp9931-thermal {
|
||||||
|
compatible = "fp9931-thermal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sy7636a: sy7636a@62 {
|
sy7636a: sy7636a@62 {
|
||||||
compatible = "silergy,sy7636a-pmic";
|
compatible = "silergy,sy7636a-pmic";
|
||||||
reg = <0x62>;
|
reg = <0x62>;
|
||||||
@@ -723,6 +766,15 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fp9931 {
|
||||||
|
fp9931_default: fp9931-default {
|
||||||
|
rockchip,pins =
|
||||||
|
<3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
|
||||||
|
<3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
|
||||||
|
<3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
hall {
|
hall {
|
||||||
mh248_irq_gpio: mh248-irq-gpio {
|
mh248_irq_gpio: mh248-irq-gpio {
|
||||||
rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
|
rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||||
@@ -901,6 +953,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fp9931_pmic_thermal: fp9931-pmic-thermal {
|
||||||
|
polling-delay = <0>;
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
thermal-sensors = <&fp9931>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
fp9931_dummy_trip: fp9931-dummy-trip {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <0>;
|
||||||
|
type = "hot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&tsadc {
|
&tsadc {
|
||||||
|
|||||||
Reference in New Issue
Block a user