Lines Matching +full:omap +full:- +full:sdma
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"
58 * Note that if the pins are used for MMC1, pbias-regulator
113 /* De-assert RESET */ in omap3_sbc_t3x_usb_hub_init()
121 GPIO_LOOKUP_IDX("gpio-160-175", 7, "reset", 0,
130 omap3_sbc_t3x_usb_hub_init("sb-t35 usb hub", 0); in omap3_sbc_t3730_legacy_init()
136 omap3_sbc_t3x_usb_hub_init("sb-t35 usb hub", 0); in omap3_sbc_t3530_legacy_init()
183 GPIO_LOOKUP("gpio-48-53", 8, "power",
185 GPIO_LOOKUP("gpio-0-15", 4, "noe",
220 GPIO_LOOKUP_IDX("gpio-144-159", 8, "reset", 0,
222 GPIO_LOOKUP_IDX("gpio-96-111", 2, "reset", 1,
231 omap3_sbc_t3x_usb_hub_init("cm-t3517 usb hub", 0); in omap3_sbc_t3517_legacy_init()
232 omap3_sbc_t3x_usb_hub_init("sb-t35 usb hub", 1); in omap3_sbc_t3517_legacy_init()
251 pr_info("RX-51: Enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
255 pr_warn("RX-51: Not enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
274 .name = "pandora-backlight",
275 .id = -1,
279 .dev_id = "soc-audio",
281 GPIO_LOOKUP("gpio-112-127", 6, "dac", GPIO_ACTIVE_HIGH),
282 GPIO_LOOKUP("gpio-0-15", 14, "amp", GPIO_ACTIVE_HIGH),
310 if (hwclk && hwclk->clkdm_name) in ti_sysc_find_one_clockdomain()
311 clkdm = clkdm_lookup(hwclk->clkdm_name); in ti_sysc_find_one_clockdomain()
317 * ti_sysc_clkdm_init - find clockdomain based on clock
327 * and do not need to populate oh->_clk for dynamically
335 cookie->clkdm = ti_sysc_find_one_clockdomain(fck); in ti_sysc_clkdm_init()
336 if (cookie->clkdm) in ti_sysc_clkdm_init()
339 cookie->clkdm = ti_sysc_find_one_clockdomain(ick); in ti_sysc_clkdm_init()
340 if (cookie->clkdm) in ti_sysc_clkdm_init()
343 return -ENODEV; in ti_sysc_clkdm_init()
349 if (cookie->clkdm) in ti_sysc_clkdm_deny_idle()
350 clkdm_deny_idle(cookie->clkdm); in ti_sysc_clkdm_deny_idle()
356 if (cookie->clkdm) in ti_sysc_clkdm_allow_idle()
357 clkdm_allow_idle(cookie->clkdm); in ti_sysc_clkdm_allow_idle()
364 if (!cookie->data) in ti_sysc_enable_module()
365 return -EINVAL; in ti_sysc_enable_module()
367 return omap_hwmod_enable(cookie->data); in ti_sysc_enable_module()
373 if (!cookie->data) in ti_sysc_idle_module()
374 return -EINVAL; in ti_sysc_idle_module()
376 return omap_hwmod_idle(cookie->data); in ti_sysc_idle_module()
382 if (!cookie->data) in ti_sysc_shutdown_module()
383 return -EINVAL; in ti_sysc_shutdown_module()
385 return omap_hwmod_shutdown(cookie->data); in ti_sysc_shutdown_module()
442 { "nokia,n810-wimax", omap2420_n8x0_legacy_init, },
451 OF_DEV_AUXDATA("ti,omap2420-mmc", 0x4809c000, "mmci-omap.0", NULL),
452 OF_DEV_AUXDATA("menelaus", 0x72, "1-0072", &n8x0_menelaus_platform_data),
455 OF_DEV_AUXDATA("ti,omap2-iommu", 0x5d000000, "5d000000.mmu",
457 OF_DEV_AUXDATA("ti,omap2-iommu", 0x480bd400, "480bd400.mmu",
459 OF_DEV_AUXDATA("ti,omap3-smartreflex-core", 0x480cb000,
461 OF_DEV_AUXDATA("ti,omap3-smartreflex-mpu-iva", 0x480c9000,
463 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
464 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
467 OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
469 OF_DEV_AUXDATA("nokia,n900-rom-rng", 0, NULL, rx51_secure_rng_call),
472 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
473 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
477 OF_DEV_AUXDATA("ti,omap4-smartreflex-iva", 0x4a0db000,
479 OF_DEV_AUXDATA("ti,omap4-smartreflex-core", 0x4a0dd000,
481 OF_DEV_AUXDATA("ti,omap4-smartreflex-mpu", 0x4a0d9000,
485 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x40d01000, "40d01000.mmu",
487 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x41501000, "41501000.mmu",
489 OF_DEV_AUXDATA("ti,dra7-iommu", 0x58882000, "58882000.mmu",
493 OF_DEV_AUXDATA("simple-pm-bus", 0, NULL, omap_auxdata_lookup),
495 OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata),
496 OF_DEV_AUXDATA("ti,omap-prm-inst", 0, NULL, &ti_prm_pdata),
497 OF_DEV_AUXDATA("ti,omap-sdma", 0, NULL, &dma_plat_info),
507 { "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, },
508 { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
509 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
510 { "nokia,omap3-n900", nokia_n900_legacy_init, },
511 { "nokia,omap3-n9", hsmmc2_internal_input_clk, },
512 { "nokia,omap3-n950", hsmmc2_internal_input_clk, },
513 { "logicpd,dm3730-torpedo-devkit", omap3_logicpd_torpedo_init, },
514 { "ti,omap3-evm-37xx", omap3_evm_legacy_init, },
515 { "ti,am3517-evm", am3517_evm_legacy_init, },
516 { "technexion,omap3-tao3530", omap3_tao3530_legacy_init, },
517 { "openpandora,omap3-pandora-600mhz", omap3_pandora_legacy_init, },
518 { "openpandora,omap3-pandora-1ghz", omap3_pandora_legacy_init, },
525 while (quirks->compatible) { in pdata_quirks_check()
526 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
527 if (quirks->fn) in pdata_quirks_check()
528 quirks->fn(); in pdata_quirks_check()