mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-26 08:00:56 +00:00

The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
56 lines
1.5 KiB
C
56 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Samsung Exynos DTS pinctrl constants
|
|
*
|
|
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
* Copyright (c) 2022 Linaro Ltd
|
|
* Author: Krzysztof Kozlowski <krzk@kernel.org>
|
|
*/
|
|
|
|
#ifndef __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__
|
|
#define __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__
|
|
|
|
#define EXYNOS_PIN_PULL_NONE 0
|
|
#define EXYNOS_PIN_PULL_DOWN 1
|
|
#define EXYNOS_PIN_PULL_UP 3
|
|
|
|
/* Pin function in power down mode */
|
|
#define EXYNOS_PIN_PDN_OUT0 0
|
|
#define EXYNOS_PIN_PDN_OUT1 1
|
|
#define EXYNOS_PIN_PDN_INPUT 2
|
|
#define EXYNOS_PIN_PDN_PREV 3
|
|
|
|
/* Drive strengths for Exynos3250, Exynos4 (all) and Exynos5250 */
|
|
#define EXYNOS4_PIN_DRV_LV1 0
|
|
#define EXYNOS4_PIN_DRV_LV2 2
|
|
#define EXYNOS4_PIN_DRV_LV3 1
|
|
#define EXYNOS4_PIN_DRV_LV4 3
|
|
|
|
/* Drive strengths for Exynos5260 */
|
|
#define EXYNOS5260_PIN_DRV_LV1 0
|
|
#define EXYNOS5260_PIN_DRV_LV2 1
|
|
#define EXYNOS5260_PIN_DRV_LV4 2
|
|
#define EXYNOS5260_PIN_DRV_LV6 3
|
|
|
|
/*
|
|
* Drive strengths for Exynos5410, Exynos542x, Exynos5800 and Exynos850 (except
|
|
* GPIO_HSI block)
|
|
*/
|
|
#define EXYNOS5420_PIN_DRV_LV1 0
|
|
#define EXYNOS5420_PIN_DRV_LV2 1
|
|
#define EXYNOS5420_PIN_DRV_LV3 2
|
|
#define EXYNOS5420_PIN_DRV_LV4 3
|
|
|
|
#define EXYNOS_PIN_FUNC_INPUT 0
|
|
#define EXYNOS_PIN_FUNC_OUTPUT 1
|
|
#define EXYNOS_PIN_FUNC_2 2
|
|
#define EXYNOS_PIN_FUNC_3 3
|
|
#define EXYNOS_PIN_FUNC_4 4
|
|
#define EXYNOS_PIN_FUNC_5 5
|
|
#define EXYNOS_PIN_FUNC_6 6
|
|
#define EXYNOS_PIN_FUNC_EINT 0xf
|
|
#define EXYNOS_PIN_FUNC_F EXYNOS_PIN_FUNC_EINT
|
|
|
|
#endif /* __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__ */
|