mpc5xxx.h 610 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
  4. *
  5. * Author: John Rigby, <[email protected]>, Friday Apr 13 2007
  6. *
  7. * Description:
  8. * MPC5xxx Prototypes and definitions
  9. */
  10. #ifndef __ASM_POWERPC_MPC5xxx_H__
  11. #define __ASM_POWERPC_MPC5xxx_H__
  12. #include <linux/property.h>
  13. unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode);
  14. static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev)
  15. {
  16. return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev));
  17. }
  18. #endif /* __ASM_POWERPC_MPC5xxx_H__ */