1.1 --- a/pkg/devices/include/clocks.h Tue Sep 12 17:20:10 2023 +0200
1.2 +++ b/pkg/devices/include/clocks.h Thu Sep 14 00:11:14 2023 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Clock identifiers for clock and power management.
1.6 *
1.7 - * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2023 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 @@ -29,17 +29,32 @@
1.13 {
1.14 Clock_aic_bitclk,
1.15 Clock_aic_pclk,
1.16 + Clock_can0,
1.17 + Clock_can1,
1.18 + Clock_cdbus,
1.19 Clock_cim,
1.20 + Clock_ddr,
1.21 Clock_dma,
1.22 Clock_emac,
1.23 Clock_hdmi,
1.24 Clock_i2c,
1.25 + Clock_i2c0,
1.26 + Clock_i2c1,
1.27 + Clock_i2s,
1.28 + Clock_i2s0_rx,
1.29 + Clock_i2s0_tx,
1.30 Clock_kbc,
1.31 Clock_lcd,
1.32 + Clock_lcd_pixel,
1.33 + Clock_mac,
1.34 Clock_msc,
1.35 - Clock_pmw0,
1.36 + Clock_msc0,
1.37 + Clock_msc1,
1.38 + Clock_pwm,
1.39 + Clock_pwm0,
1.40 Clock_pwm1,
1.41 Clock_scc,
1.42 + Clock_sfc,
1.43 Clock_smb0,
1.44 Clock_smb1,
1.45 Clock_smb2,
1.46 @@ -54,15 +69,8 @@
1.47 Clock_udc,
1.48 Clock_uhc,
1.49 Clock_uprt,
1.50 -};
1.51 -
1.52 -/* Identifiers for clocks whose frequencies can be adjusted or inspected. */
1.53 -
1.54 -enum Clock_frequency_identifiers
1.55 -{
1.56 - Clock_frequency_lcd,
1.57 - Clock_frequency_lcd_pixel,
1.58 - Clock_frequency_hdmi,
1.59 + Clock_identifier_count, /* not a clock: limit for array definition */
1.60 + Clock_identifier_any /* not a clock: indicates any clock */
1.61 };
1.62
1.63 // vim: tabstop=2 expandtab shiftwidth=2