pinctrl-snapdragon.h 595 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * This header provides constants for Qualcomm Snapdragon pinctrl bindings.
  4. *
  5. * (C) Copyright 2018 Ramon Fried <ramon.fried@gmail.com>
  6. *
  7. */
  8. #ifndef _DT_BINDINGS_PINCTRL_SNAPDRAGON_H
  9. #define _DT_BINDINGS_PINCTRL_SNAPDRAGON_H
  10. /* GPIO Drive Strength */
  11. #define DRIVE_STRENGTH_2MA 0
  12. #define DRIVE_STRENGTH_4MA 1
  13. #define DRIVE_STRENGTH_6MA 2
  14. #define DRIVE_STRENGTH_8MA 3
  15. #define DRIVE_STRENGTH_10MA 4
  16. #define DRIVE_STRENGTH_12MA 5
  17. #define DRIVE_STRENGTH_14MA 6
  18. #define DRIVE_STRENGTH_16MA 7
  19. #endif