mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Sam Protsenko](/assets/img/avatar_default.png)
Add constants for choosing USIv2 configuration mode in device tree. Those are further used in USI driver to figure out which value to write into SW_CONF register. Also document USIv2 IP-core bindings. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211204195757.8600-2-semen.protsenko@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
17 lines
464 B
C
17 lines
464 B
C
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
|
/*
|
|
* Copyright (c) 2021 Linaro Ltd.
|
|
* Author: Sam Protsenko <semen.protsenko@linaro.org>
|
|
*
|
|
* Device Tree bindings for Samsung Exynos USI (Universal Serial Interface).
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
|
|
#define __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H
|
|
|
|
#define USI_V2_NONE 0
|
|
#define USI_V2_UART 1
|
|
#define USI_V2_SPI 2
|
|
#define USI_V2_I2C 3
|
|
|
|
#endif /* __DT_BINDINGS_SAMSUNG_EXYNOS_USI_H */
|