X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Freset-uclass.h;h=7b5cc3cb3b47bd11e2e377d1c70b330961c7f0ff;hb=696f02d99b41190786b17ad28316a0cd45792c2c;hp=50fbeb10d6833fab460412b9f7a66e564e4b368c;hpb=40a475e8415a0fa3838e9d192507775d1d7fe754;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/reset-uclass.h b/include/reset-uclass.h index 50fbeb1..7b5cc3c 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