clk-phase.h 638 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2019 BayLibre, SAS.
  4. * Author: Jerome Brunet <[email protected]>
  5. */
  6. #ifndef __MESON_CLK_PHASE_H
  7. #define __MESON_CLK_PHASE_H
  8. #include <linux/clk-provider.h>
  9. #include "parm.h"
  10. struct meson_clk_phase_data {
  11. struct parm ph;
  12. };
  13. struct meson_clk_triphase_data {
  14. struct parm ph0;
  15. struct parm ph1;
  16. struct parm ph2;
  17. };
  18. struct meson_sclk_ws_inv_data {
  19. struct parm ph;
  20. struct parm ws;
  21. };
  22. extern const struct clk_ops meson_clk_phase_ops;
  23. extern const struct clk_ops meson_clk_triphase_ops;
  24. extern const struct clk_ops meson_sclk_ws_inv_ops;
  25. #endif /* __MESON_CLK_PHASE_H */