diff options
| author | Greg Malysa <[email protected]> | 2025-02-26 12:30:24 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-03-12 10:24:58 -0600 |
| commit | a0ffd8d7cd8efb8b348c07fa18a610a4534f9bea (patch) | |
| tree | ed4b502f294e293138268f5e738de8f4da521dcf /include | |
| parent | 79ccd6c7dc7055d5bbe375fddef925d7986c204d (diff) | |
doc: Add dt-bindings and descriptions for ADI SC5xx-family pinctrl
This adds the necessary dt-bindings and documentation to use the ADI
SC5xx pinctrl driver in a device tree. It is not yet available upstream
in the Linux kernel. Eventually, it will be moved there.
Signed-off-by: Vasileios Bimpikas <[email protected]>
Signed-off-by: Utsav Agarwal <[email protected]>
Signed-off-by: Arturs Artamonovs <[email protected]>
Signed-off-by: Greg Malysa <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/pinctrl/adi-adsp.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/adi-adsp.h b/include/dt-bindings/pinctrl/adi-adsp.h new file mode 100644 index 00000000000..7dc8a1ef5c4 --- /dev/null +++ b/include/dt-bindings/pinctrl/adi-adsp.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * (C) Copyright 2022 - Analog Devices, Inc. + * + * Written and/or maintained by Timesys Corporation + * + * Contact: Nathan Barrett-Morrison <[email protected]> + * Contact: Greg Malysa <[email protected]> + * + */ + +#ifndef DT_BINDINGS_PINCTRL_ADI_ADSP +#define DT_BINDINGS_PINCTRL_ADI_ADSP + +#define ADI_ADSP_PIN(port, pin) (16 * ((port) - 'A') + (pin)) +#define ADI_ADSP_PINFUNC_ALT0 0 +#define ADI_ADSP_PINFUNC_ALT1 1 +#define ADI_ADSP_PINFUNC_ALT2 2 +#define ADI_ADSP_PINFUNC_ALT3 3 + +#endif |
