reset-prcc.h 566 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __RESET_PRCC_H
  3. #define __RESET_PRCC_H
  4. #include <linux/reset-controller.h>
  5. #include <linux/io.h>
  6. /**
  7. * struct u8500_prcc_reset - U8500 PRCC reset controller state
  8. * @rcdev: reset controller device
  9. * @phy_base: the physical base address for each PRCC block
  10. * @base: the remapped PRCC bases
  11. */
  12. struct u8500_prcc_reset {
  13. struct reset_controller_dev rcdev;
  14. u32 phy_base[CLKRST_MAX];
  15. void __iomem *base[CLKRST_MAX];
  16. };
  17. void u8500_prcc_reset_init(struct device_node *np, struct u8500_prcc_reset *ur);
  18. #endif