Lines Matching +full:dra7 +full:- +full:dsp
1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/platform_data/pinctrl-single.h>
21 #include <linux/platform_data/hsmmc-omap.h>
22 #include <linux/platform_data/iommu-omap.h>
23 #include <linux/platform_data/ti-sysc.h>
25 #include <linux/platform_data/asoc-ti-mcbsp.h>
26 #include <linux/platform_data/ti-prm.h>
30 #include "common-board-devices.h"
33 #include "omap-secure.h"
59 * Note that if the pins are used for MMC1, pbias-regulator
122 pr_err("SBC-T3x: %s reset gpio request failed: %d\n", in omap3_sbc_t3x_usb_hub_init()
141 omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub"); in omap3_sbc_t3730_legacy_init()
146 omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub"); in omap3_sbc_t3530_legacy_init()
200 pr_err("SBC-T3517: wl12xx gpios request failed: %d\n", err); in omap3_sbc_t3517_wifi_init()
213 omap3_sbc_t3x_usb_hub_init(152, "cm-t3517 usb hub"); in omap3_sbc_t3517_legacy_init()
214 omap3_sbc_t3x_usb_hub_init(98, "sb-t35 usb hub"); in omap3_sbc_t3517_legacy_init()
233 pr_info("RX-51: Enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
237 pr_warn("RX-51: Not enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
256 .name = "pandora-backlight",
257 .id = -1,
282 if (hwclk && hwclk->clkdm_name) in ti_sysc_find_one_clockdomain()
283 clkdm = clkdm_lookup(hwclk->clkdm_name); in ti_sysc_find_one_clockdomain()
289 * ti_sysc_clkdm_init - find clockdomain based on clock
299 * and do not need to populate oh->_clk for dynamically
307 cookie->clkdm = ti_sysc_find_one_clockdomain(fck); in ti_sysc_clkdm_init()
308 if (cookie->clkdm) in ti_sysc_clkdm_init()
311 cookie->clkdm = ti_sysc_find_one_clockdomain(ick); in ti_sysc_clkdm_init()
312 if (cookie->clkdm) in ti_sysc_clkdm_init()
315 return -ENODEV; in ti_sysc_clkdm_init()
321 if (cookie->clkdm) in ti_sysc_clkdm_deny_idle()
322 clkdm_deny_idle(cookie->clkdm); in ti_sysc_clkdm_deny_idle()
328 if (cookie->clkdm) in ti_sysc_clkdm_allow_idle()
329 clkdm_allow_idle(cookie->clkdm); in ti_sysc_clkdm_allow_idle()
336 if (!cookie->data) in ti_sysc_enable_module()
337 return -EINVAL; in ti_sysc_enable_module()
339 return omap_hwmod_enable(cookie->data); in ti_sysc_enable_module()
345 if (!cookie->data) in ti_sysc_idle_module()
346 return -EINVAL; in ti_sysc_idle_module()
348 return omap_hwmod_idle(cookie->data); in ti_sysc_idle_module()
354 if (!cookie->data) in ti_sysc_shutdown_module()
355 return -EINVAL; in ti_sysc_shutdown_module()
357 return omap_hwmod_shutdown(cookie->data); in ti_sysc_shutdown_module()
402 if (dev->platform_data) in omap_auxdata_legacy_init()
405 if (strcmp("twl4030-gpio", dev_name(dev))) in omap_auxdata_legacy_init()
408 dev->platform_data = &twl_gpio_auxdata; in omap_auxdata_legacy_init()
429 { "nokia,n810-wimax", omap2420_n8x0_legacy_init, },
432 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_twl_init, },
441 OF_DEV_AUXDATA("ti,omap2420-mmc", 0x4809c000, "mmci-omap.0", NULL),
442 OF_DEV_AUXDATA("menelaus", 0x72, "1-0072", &n8x0_menelaus_platform_data),
443 OF_DEV_AUXDATA("tlv320aic3x", 0x18, "2-0018", &n810_aic33_data),
446 OF_DEV_AUXDATA("ti,omap2-iommu", 0x5d000000, "5d000000.mmu",
448 OF_DEV_AUXDATA("ti,omap2-iommu", 0x480bd400, "480bd400.mmu",
450 OF_DEV_AUXDATA("ti,omap3-smartreflex-core", 0x480cb000,
452 OF_DEV_AUXDATA("ti,omap3-smartreflex-mpu-iva", 0x480c9000,
454 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
455 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
458 OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
460 OF_DEV_AUXDATA("nokia,n900-rom-rng", 0, NULL, rx51_secure_rng_call),
463 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
464 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
468 OF_DEV_AUXDATA("ti,omap4-smartreflex-iva", 0x4a0db000,
470 OF_DEV_AUXDATA("ti,omap4-smartreflex-core", 0x4a0dd000,
472 OF_DEV_AUXDATA("ti,omap4-smartreflex-mpu", 0x4a0d9000,
476 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x40d01000, "40d01000.mmu",
478 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x41501000, "41501000.mmu",
480 OF_DEV_AUXDATA("ti,dra7-iommu", 0x58882000, "58882000.mmu",
484 OF_DEV_AUXDATA("simple-pm-bus", 0, NULL, omap_auxdata_lookup),
486 OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata),
487 OF_DEV_AUXDATA("ti,omap-prm-inst", 0, NULL, &ti_prm_pdata),
488 OF_DEV_AUXDATA("ti,omap-sdma", 0, NULL, &dma_plat_info),
498 { "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, },
499 { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
500 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
501 { "nokia,omap3-n900", nokia_n900_legacy_init, },
502 { "nokia,omap3-n9", hsmmc2_internal_input_clk, },
503 { "nokia,omap3-n950", hsmmc2_internal_input_clk, },
504 { "logicpd,dm3730-torpedo-devkit", omap3_logicpd_torpedo_init, },
505 { "ti,omap3-evm-37xx", omap3_evm_legacy_init, },
506 { "ti,am3517-evm", am3517_evm_legacy_init, },
507 { "technexion,omap3-tao3530", omap3_tao3530_legacy_init, },
508 { "openpandora,omap3-pandora-600mhz", omap3_pandora_legacy_init, },
509 { "openpandora,omap3-pandora-1ghz", omap3_pandora_legacy_init, },
516 while (quirks->compatible) { in pdata_quirks_check()
517 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
518 if (quirks->fn) in pdata_quirks_check()
519 quirks->fn(); in pdata_quirks_check()