예제 #1
0
파일: devices.c 프로젝트: bbbLinux/kernel
static int __init omap2_init_devices(void)
{
	/* Enable dummy states for those platforms without pinctrl support */
	if (!of_have_populated_dt())
		pinctrl_provide_dummies();

	/*
	 * please keep these calls, and their implementations above,
	 * in alphabetical order so they're easier to sort through.
	 */
	omap_init_audio();
	omap_init_camera();
	omap_init_hdmi_audio();
	omap_init_mbox();
	/* If dtb is there, the devices will be created dynamically */
	if (!of_have_populated_dt()) {
		omap_init_dmic();
		omap_init_mcpdm();
		omap_init_mcspi();
		omap_init_sham();
		omap_init_aes();
	}
	omap_init_sti();
	omap_init_rng();
	omap_init_vout();
	omap_init_ocp2scp();
	if (soc_is_am33xx()) {
		am33xx_register_ehrpwm();
	}
	return 0;
}
예제 #2
0
static int __init omap2_init_devices(void)
{
    /* Enable dummy states for those platforms without pinctrl support */
    if (!of_have_populated_dt())
        pinctrl_provide_dummies();

    /*
     * please keep these calls, and their implementations above,
     * in alphabetical order so they're easier to sort through.
     */
    omap_init_audio();
    omap_init_camera();
    omap_init_hdmi_audio();
    omap_init_mbox();
    /* If dtb is there, the devices will be created dynamically */
    if (!of_have_populated_dt()) {
        omap_init_dmic();
        omap_init_mcpdm();
        omap_init_mcspi();
        omap_init_sham();
        omap_init_aes();
    } else {
        /* These can be removed when bindings are done */
        omap_init_wl12xx_of();
    }
    omap_init_sti();
    omap_init_rng();
    omap_init_vout();

    return 0;
}
예제 #3
0
파일: devices.c 프로젝트: aayushahuja/linux
static int __init omap2_init_devices(void)
{
	/*
	 * please keep these calls, and their implementations above,
	 * in alphabetical order so they're easier to sort through.
	 */
	omap_init_audio();
	omap_init_camera();
	omap_init_hdmi_audio();
	omap_init_mbox();
	/* If dtb is there, the devices will be created dynamically */
	if (!of_have_populated_dt()) {
		omap_init_dmic();
		omap_init_mcpdm();
		omap_init_mcspi();
	}
	omap_init_pmu();
	omap_hdq_init();
	omap_init_sti();
	omap_init_sham();
	omap_init_aes();
	omap_init_vout();

	return 0;
}