diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2018-11-27 13:49:50 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-06 23:26:32 -0500 |
commit | 7f84fc670b17fca3d8d1b7c9472a19bb8085c890 (patch) | |
tree | 5af913847507ee1d58408c5f053bcdb2731b0133 /configs | |
parent | 3b074fb22b8f09178200b969395fa9f3d97a67e6 (diff) |
dm: Add Hardware Spinlock class
This is uclass for Hardware Spinlocks.
It implements two mandatory operations: lock and unlock
and one optional relax operation.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sandbox_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 1a76785498..2e761f9320 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -96,6 +96,8 @@ CONFIG_BOARD=y CONFIG_BOARD_SANDBOX=y CONFIG_PM8916_GPIO=y CONFIG_SANDBOX_GPIO=y +CONFIG_DM_HWSPINLOCK=y +CONFIG_HWSPINLOCK_SANDBOX=y CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y CONFIG_I2C_CROS_EC_LDO=y |