Esempio n. 1
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();
	}
	omap_init_sti();
	omap_init_rng();
	omap_init_vout();
	omap_init_ocp2scp();
	if (soc_is_am33xx()) {
		am33xx_register_ehrpwm();
	}
	return 0;
}
Esempio n. 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;
}
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_mcpdm();
	omap_init_dmic();
	omap_init_camera();
	omap_init_mbox();
	omap_init_mcspi();
	omap_init_pmu();
	omap_hdq_init();
	omap_init_sti();
	omap_init_sham();
	omap_init_aes();
	omap_init_vout();
	am33xx_register_edma();
	am33xx_init_pcm();
#if defined (CONFIG_SOC_OMAPAM33XX)
	am335x_register_pruss_uio(&am335x_pruss_uio_pdata);
	if (omap3_has_sgx())
		platform_device_register(&am335x_sgx);
#endif
	return 0;
}
Esempio n. 4
0
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;
}
Esempio n. 5
0
/*
 * This gets called after board-specific INIT_MACHINE, and initializes most
 * on-chip peripherals accessible on this board (except for few like USB):
 *
 *  (a) Does any "standard config" pin muxing needed.  Board-specific
 *	code will have muxed GPIO pins and done "nonstandard" setup;
 *	that code could live in the boot loader.
 *  (b) Populating board-specific platform_data with the data drivers
 *	rely on to handle wiring variations.
 *  (c) Creating platform devices as meaningful on this board and
 *	with this kernel configuration.
 *
 * Claiming GPIOs, and setting their direction and initial values, is the
 * responsibility of the device drivers.  So is responding to probe().
 *
 * Board-specific knowlege like creating devices or pin setup is to be
 * kept out of drivers as much as possible.  In particular, pin setup
 * may be handled by the boot loader, and drivers should expect it will
 * normally have been done by the time they're probed.
 */
static int __init omap_init_devices(void)
{
	/* please keep these calls, and their implementations above,
	 * in alphabetical order so they're easier to sort through.
	 */
	omap_init_dsp();
	omap_init_kp();
	omap_init_rng();
	omap_init_mcpdm();
	omap_init_uwire();
	omap_init_vout();
	omap_init_wdt();
	return 0;
}
static int __init omap2_init_devices(void)
{
    omap_init_audio();
    omap_init_mcpdm();
    omap_init_dmic();
    omap_init_camera();
    omap_init_mbox();
    omap_init_mcspi();
    omap_init_pmu();
    omap_hdq_init();
    omap_init_sti();
    omap_init_sham();
    omap_init_aes();
    omap_init_vout();

    return 0;
}
Esempio n. 7
0
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_hsmmc_reset();
	omap_init_camera();
	omap_init_mbox();
	omap_init_mcspi();
	omap_init_pmu();
	omap_hdq_init();
	omap_init_sti();
	omap_init_sham();
	omap_init_vout();

	return 0;
}
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_32k();
	omap_init_abe();
	omap_init_audio();
	omap_init_camera();
	omap_init_mbox();
	omap_init_pmu();
	omap_hdq_init();
	omap_init_sti();
	omap_init_sham();
	omap_init_vout();
	if (cpu_is_omap44xx())
		omap_init_wb();
	omap_init_gpu();
	return 0;
}
Esempio n. 9
0
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_mcpdm();
	omap_init_aess();
	omap_init_abe();
	omap_init_audio();
	omap_init_camera();
	omap_init_mbox();
	omap_init_mcasp();
	omap_init_mcspi();
	omap_init_pmu();
	omap_init_sti();
	omap_init_sham();
	omap_init_aes();
	omap_init_vout();
	omap_init_gpu();

	return 0;
}