]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/reset.h
Merge tag 'u-boot-rockchip-20190819' of https://gitlab.denx.de/u-boot/custodians...
[thirdparty/u-boot.git] / include / reset.h
index 57bbc0b49de09f48bf2070c6ce35c9da7cc8738d..4fac4e6a202a1d19d128d5987082cc31dd01ff4b 100644 (file)
@@ -44,6 +44,8 @@ struct udevice;
  * @data: An optional data field for scenarios where a single integer ID is not
  *       sufficient. If used, it can be populated through an .of_xlate op and
  *       processed during the various reset ops.
+ * @polarity: An optional polarity field for drivers that support
+ *       different reset polarities.
  *
  * Should additional information to identify and configure any reset signal
  * for any provider be required in the future, the struct could be expanded to
@@ -60,6 +62,7 @@ struct reset_ctl {
         */
        unsigned long id;
        unsigned long data;
+       unsigned long polarity;
 };
 
 /**