[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)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:54 +0000 (17:36 +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 a8c7332727a17b59a8be75ddbd1608d6e84ae117..fb5cdb3f2f2d849fc1304f6c7b381a90c6feb432 100644 (file)
@@ -517,6 +517,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