主控端可以通过指令查看时钟树,enable_cnt为1,表示时钟已使能。
# cat d/clk/clk_summary
cat d/clk/clk_summary clock enable_cnt prepare_cnt rate --------------------------------------------------------------------- hsadc_1_tsp 0 0 0 g_hsadc_1_tsp 0 0 0 hsadc_0_tsp 0 0 0 g_hsadc_0_tsp 0 0 0 pclkin_isp 0 0 0 g_pclkin_isp 0 0 0 pclkin_isp_inv 0 0 0 clkin_isp 0 0 0 pclkin_cif 0 0 0 g_pclkin_cif 0 0 0 pclkin_cif_inv 0 0 0 clkin_cif 0 0 0 jtag_clkin 0 0 0 clk_jtag 0 0 0 clk_hsadc_ext 0 0 0 gmac_clkin 1 1 125000000 clk_mac 2 2 125000000 g_mac_refout 0 0 125000000 g_clk_mac_ref 0 0 125000000 g_clk_mac_tx 1 1 125000000 g_clk_mac_rx 0 0 125000000 edp_24m_clkin 0 0 0 clk_edp_24m 0 0 0 i2s_clkin 0 0 0 dummy_cpll 0 0 0 clk_spi2 0 0 0 clk_nandc1 0 0 0 clk_cif_pll 0 0 0 clk_cif_out 0 0 0 clk_spi1 0 0 0 clk_hsadc_pll 0 0 0 clk_hsadc_out 0 0 0 clk_hsadc 0 0 0 clk_hsadc_inv 0 0 0 clk_uart0_pll 0 0 0 uart0_frac 0 0 0 dummy 0 0 0 g_aclk_lcdc_iep 0 0 0 g_clk_wifi 0 0 0 testout_div 0 0 0 io_27m_in 0 0 27000000 g_clk_27m_tsp 0 0 27000000 xin32k 1 1 32000 clk_otg_adp 0 0 32000 g_hdmi_cec_clk 0 0 32000 clk_tsadc 2 1 8000 xin24m 15 16 24000000 clk_sdmmc 1 1 800000 g_clk_lcdc_pwm1 0 0 24000000 g_clk_lcdc_pwm0 0 0 24000000 clk_otgphy2 1 1 24000000 otgphy2_480m 1 1 480000000 usbphy_480m 1 1 480000000 ehci1phy_480m 0 0 480000000 ehci1phy_12m_div 0 0 12000000 clk_otgphy1 1 1 24000000 otgphy1_480m 0 0 480000000 clk_otgphy0 1 1 24000000 otgphy0_480m 0 0 480000000 g_mipidsi_24m 0 0 24000000 g_ps2c_clk 0 0 24000000 g_hdmi_hdcp_clk 0 0 24000000 g_clk_pvtm_gpu 0 0 24000000 g_clk_pvtm_core 0 0 24000000 clk_timer5 1 1 24000000 clk_timer4 1 1 24000000 clk_timer3 1 1 24000000 clk_timer2 1 1 24000000 clk_timer1 1 1 24000000 clk_timer0 1 1 24000000 clk_acc_efuse 0 0 24000000 clk_sdio1 0 0 24000000 clk_saradc 0 1 1000000 clk_uart3 0 0 24000000 clk_uart2 1 1 24000000 clk_uart1 0 0 24000000 clk_uart0 0 0 24000000 clk_uart4 0 0 24000000 clk_npll 0 0 1250000000 clk_isp 0 0 416666667 clk_tspout 0 0 78125000 clk_tsp 0 0 78125000 clk_isp_jpe 0 0 416666667 aclk_hevc 0 0 312500000 hclk_hevc 0 0 156250000 clk_mac_pll 0 0 125000000 clk_gpll 11 11 594000000 clk_gpu 0 0 99000000 clk_sdio0 1 1 74250000 clk_emmc 1 1 148500000 clk_spi0 1 1 45692308 clk_edp 0 0 198000000 clk_vdpu 0 0 297000000 hclk_vdpu 0 0 74250000 clk_vepu 0 0 297000000 hclk_vepu 0 0 74250000 clk_rga 0 0 297000000 aclk_rga 0 0 297000000 clk_hevc_core 0 0 297000000 clk_hevc_cabac 0 0 297000000 clk_spdif_pll 1 1 594000000 spdif_8ch_div 0 0 594000000 spdif_8ch_frac 0 0 29700000 spdif_div 1 1 594000000 spdif_frac 1 1 11289600 clk_spdif 1 1 11289600 clk_i2s_pll 1 1 594000000 i2s_frac 1 1 11289600 clk_i2s 2 2 11289600 clk_i2s_out 1 1 11289600 uart_pll_mux 0 0 594000000 clk_uart3_div 0 0 594000000 uart3_frac 0 0 29700000 clk_uart2_div 0 0 594000000 uart2_frac 0 0 29700000 clk_uart1_div 0 0 594000000 uart1_frac 0 0 29700000 clk_uart4_div 0 0 594000000 uart4_frac 0 0 29700000 clk_arm_gpll 1 1 594000000 clk_nandc0 0 0 99000000 pclk_pd_alive 11 11 99000000 g_p_alive_niu 1 1 99000000 g_pclk_grf 1 1 99000000 g_pclk_gpio8 2 2 99000000 g_pclk_gpio7 1 1 99000000 g_pclk_gpio6 1 1 99000000 g_pclk_gpio5 1 1 99000000 g_pclk_gpio4 1 1 99000000 g_pclk_gpio3 1 1 99000000 g_pclk_gpio2 1 1 99000000 g_pclk_gpio1 1 1 99000000 pclk_pd_pmu 6 6 99000000 g_pclk_gpio0 1 1 99000000 g_pclk_sgrf 1 1 99000000 g_pclk_pmu_niu 1 1 99000000 g_pclk_intmem1 1 1 99000000 g_pclk_pmu 1 1 99000000 aclk_peri 8 8 297000000 g_aclk_peri_mmu 1 1 297000000 g_hclk_gps 0 0 297000000 g_aclk_gmac 1 1 297000000 g_aclk_peri_niu 1 1 297000000 g_aclk_dmac2 1 1 297000000 g_ap_axi_matrix 1 1 297000000 pclk_peri 5 9 74250000 g_pclk_gmac 1 1 74250000 g_pclk_sim 0 0 74250000 g_pclk_tsadc 2 1 74250000 g_pclk_saradc 0 1 74250000 g_pclk_i2c5 0 0 74250000 g_pclk_i2c4 0 1 74250000 g_pclk_i2c3 0 1 74250000 g_pclk_i2c1 0 1 74250000 g_pclk_uart4 0 0 74250000 g_pclk_uart3 0 0 74250000 g_pclk_uart1 0 0 74250000 g_pclk_uart0 0 0 74250000 g_pclk_ps2c 0 0 74250000 g_pclk_spi2 0 0 74250000 g_pclk_spi1 0 0 74250000 g_pclk_spi0 1 1 74250000 g_pp_axi_matrix 1 1 74250000 hclk_peri 11 11 148500000 g_hclk_tsp 0 0 148500000 g_hclk_hsadc 0 0 148500000 g_hclk_emmc 1 1 148500000 g_hclk_sdio1 0 0 148500000 g_hclk_sdio0 1 1 148500000 g_hclk_sdmmc 1 1 148500000 g_hclk_nandc1 0 0 148500000 g_hclk_nandc0 0 0 148500000 g_hclk_mem_peri 1 1 148500000 g_h_emem_peri 1 1 148500000 g_hp_ahb_arbi 1 1 148500000 g_hclk_usb_peri 1 1 148500000 g_hclk_ehci1 0 0 148500000 g_hclk_host1 0 0 148500000 g_hclk_host0 1 1 148500000 g_pmu_hclk_otg0 0 0 148500000 g_hclk_otg0 1 1 148500000 g_hp_matrix 1 1 148500000 aclk_bus_src 2 2 297000000 g_clk_c2c_host 1 1 297000000 aclk_bus 11 11 297000000 g_aclk_ccp 0 0 297000000 g_aclk_crypto 0 0 297000000 g_aclk_strc_sys 2 2 297000000 g_aclk_dmac1 1 1 297000000 g_clk_intmem2 1 1 297000000 g_clk_intmem1 1 1 297000000 g_clk_intmem0 1 1 297000000 g_aclk_intmem 1 1 297000000 aclk_bus_2pmu 1 1 297000000 g_aclk_bus 1 1 297000000 clk_crypto 0 0 148500000 pclk_bus 3 6 74250000 g_pclk_rkpwm 0 1 74250000 g_p_efuse_256 0 0 74250000 g_pclk_uart2 2 2 74250000 g_pclk_tzpc 0 0 74250000 g_p_efuse_1024 0 0 74250000 g_pclk_i2c2 0 1 74250000 g_pclk_i2c0 0 1 74250000 g_pclk_timer 1 1 74250000 g_pclk_pwm 0 0 74250000 hclk_bus 4 4 148500000 g_hclk_crypto 0 0 148500000 g_h_spdif_8ch 1 1 148500000 g_hclk_spdif 0 0 148500000 g_hclk_rom 2 2 148500000 g_hclk_i2s 1 1 148500000 clk_cpll 3 3 409600000 dclk_lcdc1 1 1 51200000 hdmi_dclk1 0 0 51200000 hdmi_dclk 0 0 51200000 aclk_vio1 1 1 409600000 clk_hdcp 0 0 409600000 aclk_hdcp 0 0 409600000 g_aclk_vio1_niu 1 1 409600000 g_aclk_isp 0 0 409600000 g_aclk_lcdc1 1 1 409600000 aclk_vio0 1 1 409600000 g_aclk_vio0_niu 1 1 409600000 g_aclk_vip 0 0 409600000 hclk_vio 1 1 81920000 g_p_hdmi_ctrl 0 0 81920000 g_pclk_edp_ctrl 0 0 81920000 g_pclk_lvds_phy 0 0 81920000 g_p_mipi_csi 0 0 81920000 g_p_mipi_dsi1 0 0 81920000 g_p_mipi_dsi0 0 0 81920000 g_hclk_isp 0 0 81920000 g_hclk_vip 0 0 81920000 g_hclk_lcdc1 1 1 81920000 g_hclk_lcdc0 0 0 81920000 g_hclk_iep 0 0 81920000 g_hclk_rga 0 0 81920000 g_aclk_iep 0 0 409600000 g_aclk_lcdc0 0 0 409600000 dclk_lcdc0 0 0 51200000 hdmi_dclk0 0 0 51200000 clk_dpll 1 1 396000000 clk_ddr 0 0 396000000 clk_apll 1 1 126000000 clk_core 9 9 126000000 pclk_dbg_src 5 5 31500000 g_pclk_core_niu 1 1 31500000 g_cs_dbg_clk 1 1 31500000 g_dbg_core_clk 1 1 31500000 atclk_core 1 1 31500000 clk_l2ram 1 1 63000000 clk_core3 1 1 15750000 clk_core2 1 1 126000000 clk_core1 1 1 126000000 clk_core0 1 1 15750000 aclk_core_m0 1 1 63000000 aclk_core_mp 1 1 31500000 xin12m 0 0 12000000 g_clk_ehci1_12m 0 0 12000000 ehci1phy_12m 0 0 12000000 clk_spdif_8ch 0 0 12000000 pd_hevc 0 0 0 pd_vio 1 1 0 pd_hdmi 0 0 0 pd_lvds 0 0 0 pd_mipidsi 0 0 0 pd_mipicsi 0 0 0 pd_rga 0 0 0 pd_iep 0 0 0 pd_isp 0 0 0 pd_vop1 1 1 0 pd_vop0 0 0 0 pd_edp 0 0 0 pd_video 0 0 0 pd_gpu 0 0 0