mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
760188c1aa
Create driver to support the soft reset (i.e. peripheral) of all Rockchip SoCs. Example of usage: i2c driver: ret = reset_get_by_name(dev, "i2c", &reset_ctl); if (ret) { error("reset_get_by_name() failed: %d\n", ret); } reset_assert(&reset_ctl); udelay(50); reset_deassert(&reset_ctl); i2c dts node: resets = <&cru SRST_P_I2C1>, <&cru SRST_I2C1>; reset-names = "p_i2c", "i2c"; Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [Fixed commit tag:] Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
15 lines
592 B
Makefile
15 lines
592 B
Makefile
# Copyright (c) 2016, NVIDIA CORPORATION.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_DM_RESET) += reset-uclass.o
|
|
obj-$(CONFIG_SANDBOX_MBOX) += sandbox-reset.o
|
|
obj-$(CONFIG_SANDBOX_MBOX) += sandbox-reset-test.o
|
|
obj-$(CONFIG_STI_RESET) += sti-reset.o
|
|
obj-$(CONFIG_STM32_RESET) += stm32-reset.o
|
|
obj-$(CONFIG_TEGRA_CAR_RESET) += tegra-car-reset.o
|
|
obj-$(CONFIG_TEGRA186_RESET) += tegra186-reset.o
|
|
obj-$(CONFIG_RESET_BCM6345) += reset-bcm6345.o
|
|
obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o
|
|
obj-$(CONFIG_AST2500_RESET) += ast2500-reset.o
|
|
obj-$(CONFIG_RESET_ROCKCHIP) += reset-rockchip.o
|