]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/reset-uclass.h
Merge tag 'u-boot-rockchip-20190819' of https://gitlab.denx.de/u-boot/custodians...
[thirdparty/u-boot.git] / include / reset-uclass.h
index c17d738b319c74ca7a6b3c1db179c10f81628c04..7b5cc3cb3b47bd11e2e377d1c70b330961c7f0ff 100644 (file)
@@ -76,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