staticstructrockchip_clk_branchrk3399_clk_branches[]__initdata={GATE(SCLK_USB2PHY0_REF,"clk_usb2phy0_ref","xin24m",CLK_IGNORE_UNUSED,RK3399_CLKGATE_CON(6),5,GFLAGS),GATE(SCLK_USB2PHY1_REF,"clk_usb2phy1_ref","xin24m",CLK_IGNORE_UNUSED,RK3399_CLKGATE_CON(6),6,GFLAGS),GATE(SC...
int (*is_enabled)(struct clk_hw *hw); void (*disable_unused)(struct clk_hw *hw); unsigned long (*recalc_rate)(struct clk_hw *hw, unsigned long parent_rate); long (*round_rate)(struct clk_hw *hw, unsigned long rate, unsigned long *parent_rate); int (*determine_rate)(struct clk...
GATE(PCLK_GPIO, "gpio", "pclk", CLKCON, 13, CLK_IGNORE_UNUSED, 0), GATE(PCLK_UART2, "uart2", "pclk", CLKCON, 12, 0, 0), GATE(PCLK_UART1, "uart1", "pclk", CLKCON, 11, 0, 0), GATE(PCLK_UART0, "uart0", "pclk", CLKCON, 10, 0, 0), GATE(PCLK_SDI, "sdi", "...
#define CLK_IGNORE_UNUSED BIT(3) /* do not gate even if unused */ 10: #define CLK_IS_ROOT BIT(4) /* root clk, has no parent */ 11: #define CLK_IS_BASIC BIT(5) /* Basic clk, can't do a to_clk_foo() */ 12: #define CLK_GET_RATE_NOCACHE BIT(6) /* do not use th...
clk_ignore_unused:chosen { bootargs = "earlyprintk=uart8250-32bit,0xff690000 clk_ignore_unused"...
7: #define CLK_SET_PARENT_GATE BIT(1) /* must be gated across re-parent */ 8: #define CLK_SET_RATE_PARENT BIT(2) /* propagate rate change up one level */ 9: #define CLK_IGNORE_UNUSED BIT(3) /* do not gate even if unused */ ...
然后设置“user set kernel bootargs”。移动到“user set kernel bootargs”,然后按键盘上的Enter键,进入下图所示界面,输入“earlycon cnotallow=ttyPS0,115200 clk_ignore_unusedroot=/dev/mmcblk1p2 rw rootwait”,如下图所示: 图9.2.7设置内核启动参数 ...
setargs_nand=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${ initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} init=${init} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} ...
我使用的是linuxkernel 3.10,它有一个函数of_clk_init,如下所示 matches = __clk_of_table; const structof_device_id *match = of_match_node(matches, np); 浏览1提问于2015-01-21得票数 1 1回答 Linux通用时钟框架-防止时钟被禁用 、 我可以用clk_ignore_unused来推翻这一点,但这将防止所有时钟被禁...
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused mmcargs=setenv bootargs ${jh_clk} console=${console} root=${mmcroot} mmcautodetect=yes mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt}...