From f2475bcde5db6c125983f0ba6866076b6d01587f Mon Sep 17 00:00:00 2001 From: Weixin Zhou Date: Wed, 30 Dec 2020 16:36:16 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3566-rk817-tablet-k108: sync some configs from rk3566-rk817-tablet Signed-off-by: Weixin Zhou Change-Id: I99aab0f5f0620d905a23882bbd72f70e05bfe4e5 --- .../dts/rockchip/rk3566-rk817-tablet-k108.dts | 56 ++++++++++++++----- 1 file changed, 41 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts index 84be19cf3e41..7b2d5fcfbcab 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet-k108.dts @@ -259,7 +259,7 @@ mipi_in_ucam1: endpoint@1 { reg = <1>; remote-endpoint = <&ov8858_out>; - data-lanes = <1 2>; + data-lanes = <1 2 3 4>; }; }; port@1 { @@ -575,11 +575,11 @@ interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default", "pmic-sleep", - "pmic-power-off"; + "pmic-power-off", "pmic-reset"; pinctrl-0 = <&pmic_int>; pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>; pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>; - pinctrl-3 = <&soc_slppin_rst>, <&rk817_slppin_rst>; + pinctrl-3 = <&soc_slppin_gpio>, <&rk817_slppin_rst>; rockchip,system-power-controller; wakeup-source; #clock-cells = <1>; @@ -638,7 +638,7 @@ regulator-initial-mode = <0x2>; regulator-name = "vdd_logic"; regulator-state-mem { - regulator-on-in-suspend; + regulator-off-in-suspend; regulator-suspend-microvolt = <900000>; }; }; @@ -652,7 +652,7 @@ regulator-ramp-delay = <6001>; regulator-initial-mode = <0x2>; regulator-name = "vdd_gpu"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -709,8 +709,8 @@ regulator-max-microvolt = <900000>; regulator-name = "vdda0v9_pmu"; regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <1000000>; + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; }; }; @@ -732,8 +732,7 @@ regulator-max-microvolt = <3300000>; regulator-name = "vccio_sd"; regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <3300000>; + regulator-off-in-suspend; }; }; @@ -745,7 +744,7 @@ regulator-name = "vcc3v3_pmu"; regulator-state-mem { regulator-on-in-suspend; - regulator-suspend-microvolt = <3300000>; + regulator-suspend-microvolt = <3000000>; }; }; @@ -755,7 +754,7 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc_1v8"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -766,7 +765,7 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc1v8_dvp"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -777,7 +776,7 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-name = "vcc2v8_dvp"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -788,10 +787,16 @@ regulator-min-microvolt = <4700000>; regulator-max-microvolt = <5400000>; regulator-name = "boost"; + regulator-state-mem { + regulator-off-in-suspend; + }; }; otg_switch: OTG_SWITCH { regulator-name = "otg_switch"; + regulator-state-mem { + regulator-off-in-suspend; + }; }; }; @@ -849,6 +854,17 @@ status = "okay"; pinctrl-0 = <&i2c2m1_xfer>; + dw9714: dw9714@c { + compatible = "dongwoon,dw9714"; + status = "okay"; + reg = <0x0c>; + rockchip,camera-module-index = <0>; + rockchip,vcm-start-current = <10>; + rockchip,vcm-rated-current = <85>; + rockchip,vcm-step-mode = <5>; + rockchip,camera-module-facing = "back"; + }; + gc2385: gc2385@37 { compatible = "galaxycore,gc2385"; status = "okay"; @@ -894,10 +910,11 @@ rockchip,camera-module-name = "HS5885-BNSM1018-V01"; rockchip,camera-module-lens-name = "default"; flash-leds = <&flash_rgb13h>; + lens-focus = <&dw9714>; port { ov8858_out: endpoint { remote-endpoint = <&mipi_in_ucam1>; - data-lanes = <1 2>; + data-lanes = <1 2 3 4>; }; }; }; @@ -908,6 +925,8 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c3m1_xfer>; clock-frequency = <400000>; + i2c-scl-rising-time-ns = <138>; + i2c-scl-falling-time-ns = <4>; gt9xx: gt9xx@14 { compatible = "goodix,gt9xx"; @@ -926,6 +945,8 @@ &i2c5 { status = "okay"; clock-frequency = <400000>; + i2c-scl-rising-time-ns = <144>; + i2c-scl-falling-time-ns = <4>; sensor@4c { compatible = "gs_mc3230"; @@ -1027,7 +1048,7 @@ }; lcd_stanby_gpio: lcd-stanby-gpio { - rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; + rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>; }; }; @@ -1154,6 +1175,10 @@ status = "okay"; }; +&route_dsi0 { + status = "okay"; +}; + &saradc { status = "okay"; vref-supply = <&vcc_1v8>; @@ -1197,6 +1222,7 @@ pinctrl-names = "default"; pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>; sd-uhs-sdr104; + rockchip,default-sample-phase = <90>; status = "okay"; };