Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473429

Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration
Date 2016-08-31 14:50 +0200
Message-ID <scd7P-2sm-3@gated-at.bofh.it> (permalink)
References <sccEN-2iO-11@gated-at.bofh.it> <sccEN-2iO-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/9] ARM: dts: exynos: Use macros for GPIO to make it more  readable Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 6/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos5250 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 2/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos3250 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 3/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos4210 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 5/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos4x12 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 4/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos4415 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 7/9] ARM: dts: exynos: Use macros for GPIO configuration on  exynos5260 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
  [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 14:20 +0200
    Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Arnd Bergmann <arnd@arndb.de> - 2016-08-31 14:50 +0200
      Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 15:00 +0200
        Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Arnd Bergmann <arnd@arndb.de> - 2016-08-31 15:10 +0200
          Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-31 15:10 +0200
            Re: [PATCH 1/9] ARM: dts: exynos: Add macros for GPIO configuration Arnd Bergmann <arnd@arndb.de> - 2016-08-31 15:40 +0200
  Re: [PATCH 0/9] ARM: dts: exynos: Use macros for GPIO to make it more  readable Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 14:50 +0200

csiph-web