1.1 --- a/pkg/devices/lib/cpm/include/cpm-jz4730.h Thu Dec 31 18:09:12 2020 +0100
1.2 +++ b/pkg/devices/lib/cpm/include/cpm-jz4730.h Sun Jan 03 17:28:05 2021 +0100
1.3 @@ -1,5 +1,7 @@
1.4 /*
1.5 - * Copyright (C) 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.6 + * CPM (clock and power management) support for the JZ4730.
1.7 + *
1.8 + * Copyright (C) 2017, 2018, 2020 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -69,6 +71,9 @@
1.13 void set_lcd_pixel_divider(uint16_t division);
1.14 void set_lcd_frequencies(uint32_t pclk, uint8_t ratio);
1.15
1.16 + void start_i2c();
1.17 + void stop_i2c();
1.18 +
1.19 void start_lcd();
1.20 void stop_lcd();
1.21
1.22 @@ -97,6 +102,9 @@
1.23 int jz4730_cpm_have_clock(void *cpm);
1.24 void jz4730_cpm_start_clock(void *cpm);
1.25
1.26 +void jz4730_cpm_start_i2c(void *cpm);
1.27 +void jz4730_cpm_stop_i2c(void *cpm);
1.28 +
1.29 void jz4730_cpm_start_lcd(void *cpm);
1.30 void jz4730_cpm_stop_lcd(void *cpm);
1.31