162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Tesla FSD DTS pinctrl constants
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2016 Samsung Electronics Co., Ltd.
662306a36Sopenharmony_ci *		http://www.samsung.com
762306a36Sopenharmony_ci * Copyright (c) 2022 Linaro Ltd
862306a36Sopenharmony_ci * Author: Krzysztof Kozlowski <krzk@kernel.org>
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifndef __DTS_ARM64_TESLA_FSD_PINCTRL_H__
1262306a36Sopenharmony_ci#define __DTS_ARM64_TESLA_FSD_PINCTRL_H__
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define FSD_PIN_PULL_NONE		0
1562306a36Sopenharmony_ci#define FSD_PIN_PULL_DOWN		1
1662306a36Sopenharmony_ci#define FSD_PIN_PULL_UP			3
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define FSD_PIN_DRV_LV1			0
1962306a36Sopenharmony_ci#define FSD_PIN_DRV_LV2			1
2062306a36Sopenharmony_ci#define FSD_PIN_DRV_LV4			2
2162306a36Sopenharmony_ci#define FSD_PIN_DRV_LV6			3
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#define FSD_PIN_FUNC_INPUT		0
2462306a36Sopenharmony_ci#define FSD_PIN_FUNC_OUTPUT		1
2562306a36Sopenharmony_ci#define FSD_PIN_FUNC_2			2
2662306a36Sopenharmony_ci#define FSD_PIN_FUNC_3			3
2762306a36Sopenharmony_ci#define FSD_PIN_FUNC_4			4
2862306a36Sopenharmony_ci#define FSD_PIN_FUNC_5			5
2962306a36Sopenharmony_ci#define FSD_PIN_FUNC_6			6
3062306a36Sopenharmony_ci#define FSD_PIN_FUNC_EINT		0xf
3162306a36Sopenharmony_ci#define FSD_PIN_FUNC_F			FSD_PIN_FUNC_EINT
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci#endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */
34