pic32mzda.h 565 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Joshua Henderson <[email protected]>
  4. * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
  5. */
  6. #ifndef PIC32MZDA_COMMON_H
  7. #define PIC32MZDA_COMMON_H
  8. /* early clock */
  9. u32 pic32_get_pbclk(int bus);
  10. u32 pic32_get_sysclk(void);
  11. /* Device configuration */
  12. void __init pic32_config_init(void);
  13. int pic32_set_lcd_mode(int mode);
  14. int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs);
  15. u32 pic32_get_boot_status(void);
  16. int pic32_disable_lcd(void);
  17. int pic32_enable_lcd(void);
  18. #endif