pmc.h 534 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016 Atmel Corporation
  4. * Wenyou.Yang <wenyou.yang@atmel.com>
  5. */
  6. #ifndef __AT91_PMC_H__
  7. #define __AT91_PMC_H__
  8. #include <regmap.h>
  9. struct pmc_platdata {
  10. struct at91_pmc *reg_base;
  11. struct regmap *regmap_sfr;
  12. };
  13. int at91_pmc_core_probe(struct udevice *dev);
  14. int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name);
  15. int at91_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args);
  16. int at91_clk_probe(struct udevice *dev);
  17. #endif