History log of /fuchsia/zircon/system/dev/clk/amlogic-clk/aml-gxl-blocks.h
Revision Date Author Comments
# 7fa9fc80 24-Aug-2018 Brijen Raval <braval@google.com>

[amlogic-clk] Enable certain clocks to allow measuring of CPU freq

- Enable CLK_SYS_PLL_DIV16 & CLK_SYS_CPU_CLK_DIV16 so we can
measure the actual CPU core freq.
- Enable clock gating for G12A family
- Currently added only support to enable/disable SYS_CPU clock
gates.
- Use Clock Protocol to enable these clocks.

Test: Manual testing on Astro.

Change-Id: I52f16aca885e8e8566337204f9b1dbd8ba281993


# d17af78d 23-Aug-2018 Brijen Raval <braval@google.com>

[amlogic][clock] Add clkctl command line utility to measure clocks

Changes in this CL
- Memcpy the static array before creating fbl::Array so
static array doesn't get destroyed when fbl::Array gets destroyed.
- Added new IOCTL to get the count of clocks in the clock_table.
- Added a command line utility to measure clocks.
- Renamed the folder because of possibility of overlapping .so's
generated due to an existing bug in the build system

Test: manual testing on Astro

Change-Id: I2c06d19cdc2c41cdcca949db15de762d1eb9e6f4