[PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration
From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-08-31 12:43:49
Also in:
linux-devicetree, linux-samsung-soc, lkml
From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-08-31 12:43:49
Also in:
linux-devicetree, linux-samsung-soc, lkml
On Wednesday, August 31, 2016 2:13:25 PM CEST Krzysztof Kozlowski wrote:
+#define PIN_PULL_NONE 0 +#define PIN_PULL_DOWN 1 +#define PIN_PULL_UP 3 + +#define PIN_DRV_LV1 0 +#define PIN_DRV_LV2 2 +#define PIN_DRV_LV3 1 +#define PIN_DRV_LV4 3 + +#define PIN_FUNC_INPUT 0 +#define PIN_FUNC_OUTPUT 1 +#define PIN_FUNC_SPC_2 2 +#define PIN_FUNC_SPC_3 3 +#define PIN_FUNC_SPC_4 4 +#define PIN_FUNC_SPC_5 5 +#define PIN_FUNC_SPC_F 0xf
Any reason for having a copy in each of those files instead of one that is shared across all of them? Arnd