Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soc: add samsung,boot-mode definitions

Adds samsung,boot-mode.h header file which contains boot mode
definitions for bootloader. As for now, there are only boot mode
definitions for Exynos Auto v9 SoC.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220523121244.67341-2-chanho61.park@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Chanho Park and committed by
Krzysztof Kozlowski
95099951 53555595

+18
+18
include/dt-bindings/soc/samsung,boot-mode.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2022 Samsung Electronics Co., Ltd. 4 + * Author: Chanho Park <chanho61.park@samsung.com> 5 + * 6 + * Device Tree bindings for Samsung Boot Mode. 7 + */ 8 + 9 + #ifndef __DT_BINDINGS_SAMSUNG_BOOT_MODE_H 10 + #define __DT_BINDINGS_SAMSUNG_BOOT_MODE_H 11 + 12 + /* Boot mode definitions for Exynos Auto v9 SoC */ 13 + 14 + #define EXYNOSAUTOV9_BOOT_FASTBOOT 0xfa 15 + #define EXYNOSAUTOV9_BOOT_BOOTLOADER 0xfc 16 + #define EXYNOSAUTOV9_BOOT_RECOVERY 0xff 17 + 18 + #endif /* __DT_BINDINGS_SAMSUNG_BOOT_MODE_H */