X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Freset-uclass.h;h=7b5cc3cb3b47bd11e2e377d1c70b330961c7f0ff;hb=17fd9915a4c639381804ed28274fa136ae3b0bee;hp=50fbeb10d6833fab460412b9f7a66e564e4b368c;hpb=b07d044d5bfa8c440b172eb3f8a9d537f82e21b6;p=oweals%2Fu-boot.git diff --git a/include/reset-uclass.h b/include/reset-uclass.h index 50fbeb10d6..7b5cc3cb3b 100644 --- a/include/reset-uclass.h +++ b/include/reset-uclass.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016, NVIDIA CORPORATION. - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef _RESET_UCLASS_H @@ -77,6 +76,14 @@ struct reset_ops { * @return 0 if OK, or a negative error code. */ int (*rst_deassert)(struct reset_ctl *reset_ctl); + /** + * rst_status - Check reset signal status. + * + * @reset_ctl: The reset signal to check. + * @return 0 if deasserted, positive if asserted, or a negative + * error code. + */ + int (*rst_status)(struct reset_ctl *reset_ctl); }; #endif