fsd-pinctrl.h 849 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Tesla FSD DTS pinctrl constants
  4. *
  5. * Copyright (c) 2016 Samsung Electronics Co., Ltd.
  6. * http://www.samsung.com
  7. * Copyright (c) 2022 Linaro Ltd
  8. * Author: Krzysztof Kozlowski <[email protected]>
  9. */
  10. #ifndef __DTS_ARM64_TESLA_FSD_PINCTRL_H__
  11. #define __DTS_ARM64_TESLA_FSD_PINCTRL_H__
  12. #define FSD_PIN_PULL_NONE 0
  13. #define FSD_PIN_PULL_DOWN 1
  14. #define FSD_PIN_PULL_UP 3
  15. #define FSD_PIN_DRV_LV1 0
  16. #define FSD_PIN_DRV_LV2 1
  17. #define FSD_PIN_DRV_LV4 2
  18. #define FSD_PIN_DRV_LV6 3
  19. #define FSD_PIN_FUNC_INPUT 0
  20. #define FSD_PIN_FUNC_OUTPUT 1
  21. #define FSD_PIN_FUNC_2 2
  22. #define FSD_PIN_FUNC_3 3
  23. #define FSD_PIN_FUNC_4 4
  24. #define FSD_PIN_FUNC_5 5
  25. #define FSD_PIN_FUNC_6 6
  26. #define FSD_PIN_FUNC_EINT 0xf
  27. #define FSD_PIN_FUNC_F FSD_PIN_FUNC_EINT
  28. #endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */