mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "drivers: Driver support for ADI SC5xx SoCs"
Greg Malysa <malysagreg@gmail.com> says: This series adds all of the supported peripheral drivers for the sc5xx series of SoCs from Analog Devices and other drivers that are used by the evaluation kits, such as a GPIO expander used by the EZLITE carrier boards. This series passes gitlab CI tests. Link: https://lore.kernel.org/r/20250226173150.13198-1-malysagreg@gmail.com
This commit is contained in:
21
include/dt-bindings/pinctrl/adi-adsp.h
Normal file
21
include/dt-bindings/pinctrl/adi-adsp.h
Normal file
@@ -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 <nathan.morrison@timesys.com>
|
||||
* Contact: Greg Malysa <greg.malysa@timesys.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user