[RAMEN9610-10736][9610][ERD] arm64: configs: Enable sleep gpio
authorSoomin Kim <sm8326.kim@samsung.com>
Thu, 10 Jan 2019 14:01:24 +0000 (23:01 +0900)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:37 +0000 (17:30 +0800)
Change-Id: Id680941ed7f41a2135618e958958983742bee8ba
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610_gpio_config_macros.dtsi
arch/arm64/configs/erd9610_defconfig

index aba0fb5d64ce3300c86deeebb5bb3595e7d02c39..f5bae9616c7b53640c84a9e548409c5eecd3d2ed 100644 (file)
                samsung,pin-pud = <PIN_PULL_ ##_pud>;   \
        }
 
+#define PIN_OUT_PUD(_pin, _pud)                                        \
+       _pin {                                                                          \
+               samsung,pins = #_pin;                                   \
+               samsung,pin-function = <1>;                             \
+               samsung,pin-pud = <PIN_PULL_ ##_pud>;   \
+       }
+
+#define PIN_OUT_DAT(_pin, _val)                                        \
+       _pin {                                                                          \
+               samsung,pins = #_pin;                                   \
+               samsung,pin-function = <1>;                             \
+               samsung,pin-val = <_val>;                               \
+               samsung,pin-pud = <0>;                                  \
+       }
+
 #define PIN_FUNC_PUD(_pin, _pud)                               \
        _pin {                                                                          \
                samsung,pins = #_pin;                                   \
index 4f692427dae24fea3d7c01ca34068882e5078e3e..146353398f1b1a7633acb14df4ca7d4b8849a975 100644 (file)
@@ -516,6 +516,7 @@ CONFIG_GNSS_PMUCAL=y
 CONFIG_SHUB_PMUCAL=y
 CONFIG_ECT=y
 CONFIG_ECT_DUMP=y
+CONFIG_EXYNOS_SLEEP_GPIO=y
 CONFIG_EXYNOS_RGT=y
 CONFIG_EXYNOS_CORESIGHT=y
 CONFIG_EXYNOS_DVFS_MANAGER=y