1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/pkg/devices/idl/cpm.idl Fri Jan 01 01:49:35 2021 +0100
1.3 @@ -0,0 +1,25 @@
1.4 +#include <l4/devices/protocols.h>
1.5 +#include <stdint.h>
1.6 +
1.7 +/* A clock and power management interface, currently with Ingenic-specific SoC
1.8 + details. */
1.9 +
1.10 +[protocol(LANDFALL_CPM)]
1.11 +interface CPM
1.12 +{
1.13 + void get_lcd_pixel_frequency(in uint8_t controller, out uint32_t frequency);
1.14 +
1.15 + void set_hdmi_frequency(in uint32_t frequency);
1.16 +
1.17 + void set_lcd_frequencies(in uint32_t pclk, in uint8_t multiplier);
1.18 +
1.19 + void start_hdmi();
1.20 +
1.21 + void stop_hdmi();
1.22 +
1.23 + void start_lcd();
1.24 +
1.25 + void stop_lcd();
1.26 +
1.27 + void update_output_frequency();
1.28 +};