1 /* 2 * Clock identifiers for clock and power management. 3 * 4 * Copyright (C) 2021 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_aic_bitclk, 31 Clock_aic_pclk, 32 Clock_cim, 33 Clock_dma, 34 Clock_emac, 35 Clock_hdmi, 36 Clock_i2c, 37 Clock_kbc, 38 Clock_lcd, 39 Clock_msc, 40 Clock_pmw0, 41 Clock_pwm1, 42 Clock_scc, 43 Clock_smb0, 44 Clock_smb1, 45 Clock_smb2, 46 Clock_smb3, 47 Clock_smb4, 48 Clock_ssi, 49 Clock_timer, 50 Clock_uart0, 51 Clock_uart1, 52 Clock_uart2, 53 Clock_uart3, 54 Clock_udc, 55 Clock_uhc, 56 Clock_uprt, 57 }; 58 59 /* Identifiers for clocks whose frequencies can be adjusted or inspected. */ 60 61 enum Clock_frequency_identifiers 62 { 63 Clock_frequency_lcd, 64 Clock_frequency_lcd_pixel, 65 Clock_frequency_hdmi, 66 }; 67 68 // vim: tabstop=2 expandtab shiftwidth=2