From: Soomin Kim Date: Thu, 10 Jan 2019 14:01:24 +0000 (+0900) Subject: [RAMEN9610-10736][9610][ERD] arm64: configs: Enable sleep gpio X-Git-Tag: MMI-QSAS30.62-33-3~275 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=433d2470e95370feea70afbff12fda905461ec6f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [RAMEN9610-10736][9610][ERD] arm64: configs: Enable sleep gpio Change-Id: Id680941ed7f41a2135618e958958983742bee8ba Signed-off-by: Soomin Kim --- diff --git a/arch/arm64/boot/dts/exynos/exynos9610_gpio_config_macros.dtsi b/arch/arm64/boot/dts/exynos/exynos9610_gpio_config_macros.dtsi index aba0fb5d64ce..f5bae9616c7b 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610_gpio_config_macros.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610_gpio_config_macros.dtsi @@ -58,6 +58,21 @@ samsung,pin-pud = ; \ } +#define PIN_OUT_PUD(_pin, _pud) \ + _pin { \ + samsung,pins = #_pin; \ + samsung,pin-function = <1>; \ + samsung,pin-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; \ diff --git a/arch/arm64/configs/erd9610_defconfig b/arch/arm64/configs/erd9610_defconfig index 4f692427dae2..146353398f1b 100644 --- a/arch/arm64/configs/erd9610_defconfig +++ b/arch/arm64/configs/erd9610_defconfig @@ -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