1 /* 2 * Clock identifiers for clock and power management. 3 * 4 * Copyright (C) 2021, 2023 Paul Boddie <paul@boddie.org.uk> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of 9 * the License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * Boston, MA 02110-1301, USA 20 */ 21 22 #pragma once 23 24 /* Identifiers for controllable "logical" or "abstract" clocks. Operations 25 involving these clocks may operate on multiple "physical" or "specific" 26 clocks. */ 27 28 enum Clock_identifiers 29 { 30 Clock_ahb2_apb, 31 Clock_aic_bitclk, 32 Clock_aic_pclk, 33 Clock_can0, 34 Clock_can1, 35 Clock_cdbus, 36 Clock_cim, 37 Clock_cpu, 38 Clock_ddr, 39 Clock_dma, 40 Clock_emac, 41 Clock_external, 42 Clock_hclock0, 43 Clock_hclock2, 44 Clock_hdmi, 45 Clock_i2c, 46 Clock_i2c0, 47 Clock_i2c1, 48 Clock_i2s, 49 Clock_i2s0_rx, 50 Clock_i2s0_tx, 51 Clock_kbc, 52 Clock_lcd, 53 Clock_lcd_pixel, 54 Clock_mac, 55 Clock_main, 56 Clock_msc, 57 Clock_msc0, 58 Clock_msc1, 59 Clock_none, 60 Clock_pclock, 61 Clock_pll_A, 62 Clock_pll_E, 63 Clock_pll_M, 64 Clock_pwm, 65 Clock_pwm0, 66 Clock_pwm1, 67 Clock_scc, 68 Clock_sfc, 69 Clock_smb0, 70 Clock_smb1, 71 Clock_smb2, 72 Clock_smb3, 73 Clock_smb4, 74 Clock_ssi, 75 Clock_timer, 76 Clock_uart0, 77 Clock_uart1, 78 Clock_uart2, 79 Clock_uart3, 80 Clock_udc, 81 Clock_uhc, 82 Clock_uprt, 83 Clock_identifier_count, /* not a clock: limit for array definition */ 84 Clock_undefined, /* not a clock: special value */ 85 }; 86 87 // vim: tabstop=2 expandtab shiftwidth=2