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"
70 * Note that if the pins are used for MMC1, pbias-regulator
133 pr_err("SBC-T3x: %s reset gpio request failed: %d\n", in omap3_sbc_t3x_usb_hub_init()
152 omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub"); in omap3_sbc_t3730_legacy_init()
157 omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub"); in omap3_sbc_t3530_legacy_init()
211 pr_err("SBC-T3517: wl12xx gpios request failed: %d\n", err); in omap3_sbc_t3517_wifi_init()
224 omap3_sbc_t3x_usb_hub_init(152, "cm-t3517 usb hub"); in omap3_sbc_t3517_legacy_init()
225 omap3_sbc_t3x_usb_hub_init(98, "sb-t35 usb hub"); in omap3_sbc_t3517_legacy_init()
244 pr_info("RX-51: Enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
248 pr_warn("RX-51: Not enabling ARM errata 430973 workaround\n"); in nokia_n900_legacy_init()
267 .name = "pandora-backlight",
268 .id = -1,
317 if (hwclk && hwclk->clkdm_name) in ti_sysc_find_one_clockdomain()
318 clkdm = clkdm_lookup(hwclk->clkdm_name); in ti_sysc_find_one_clockdomain()
324 * ti_sysc_clkdm_init - find clockdomain based on clock
334 * and do not need to populate oh->_clk for dynamically
342 cookie->clkdm = ti_sysc_find_one_clockdomain(fck); in ti_sysc_clkdm_init()
343 if (cookie->clkdm) in ti_sysc_clkdm_init()
346 cookie->clkdm = ti_sysc_find_one_clockdomain(ick); in ti_sysc_clkdm_init()
347 if (cookie->clkdm) in ti_sysc_clkdm_init()
350 return -ENODEV; in ti_sysc_clkdm_init()
356 if (cookie->clkdm) in ti_sysc_clkdm_deny_idle()
357 clkdm_deny_idle(cookie->clkdm); in ti_sysc_clkdm_deny_idle()
363 if (cookie->clkdm) in ti_sysc_clkdm_allow_idle()
364 clkdm_allow_idle(cookie->clkdm); in ti_sysc_clkdm_allow_idle()
371 if (!cookie->data) in ti_sysc_enable_module()
372 return -EINVAL; in ti_sysc_enable_module()
374 return omap_hwmod_enable(cookie->data); in ti_sysc_enable_module()
380 if (!cookie->data) in ti_sysc_idle_module()
381 return -EINVAL; in ti_sysc_idle_module()
383 return omap_hwmod_idle(cookie->data); in ti_sysc_idle_module()
389 if (!cookie->data) in ti_sysc_shutdown_module()
390 return -EINVAL; in ti_sysc_shutdown_module()
392 return omap_hwmod_shutdown(cookie->data); in ti_sysc_shutdown_module()
437 if (dev->platform_data) in omap_auxdata_legacy_init()
440 if (strcmp("twl4030-gpio", dev_name(dev))) in omap_auxdata_legacy_init()
443 dev->platform_data = &twl_gpio_auxdata; in omap_auxdata_legacy_init()
464 { "nokia,n810-wimax", omap2420_n8x0_legacy_init, },
467 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_twl_init, },
476 OF_DEV_AUXDATA("ti,omap2420-mmc", 0x4809c000, "mmci-omap.0", NULL),
477 OF_DEV_AUXDATA("menelaus", 0x72, "1-0072", &n8x0_menelaus_platform_data),
478 OF_DEV_AUXDATA("tlv320aic3x", 0x18, "2-0018", &n810_aic33_data),
481 OF_DEV_AUXDATA("ti,omap2-iommu", 0x5d000000, "5d000000.mmu",
483 OF_DEV_AUXDATA("ti,omap2-iommu", 0x480bd400, "480bd400.mmu",
485 OF_DEV_AUXDATA("ti,omap3-smartreflex-core", 0x480cb000,
487 OF_DEV_AUXDATA("ti,omap3-smartreflex-mpu-iva", 0x480c9000,
489 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
490 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
493 OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
495 OF_DEV_AUXDATA("nokia,n900-rom-rng", 0, NULL, rx51_secure_rng_call),
498 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
499 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
503 OF_DEV_AUXDATA("ti,omap4-smartreflex-iva", 0x4a0db000,
505 OF_DEV_AUXDATA("ti,omap4-smartreflex-core", 0x4a0dd000,
507 OF_DEV_AUXDATA("ti,omap4-smartreflex-mpu", 0x4a0d9000,
511 OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x4809c000, "4809c000.mmc",
513 OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x480b4000, "480b4000.mmc",
515 OF_DEV_AUXDATA("ti,dra7-hsmmc", 0x480ad000, "480ad000.mmc",
517 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x40d01000, "40d01000.mmu",
519 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x41501000, "41501000.mmu",
521 OF_DEV_AUXDATA("ti,dra7-iommu", 0x58882000, "58882000.mmu",
525 OF_DEV_AUXDATA("simple-pm-bus", 0, NULL, omap_auxdata_lookup),
527 OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata),
528 OF_DEV_AUXDATA("ti,omap-prm-inst", 0, NULL, &ti_prm_pdata),
529 OF_DEV_AUXDATA("ti,omap-sdma", 0, NULL, &dma_plat_info),
539 { "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, },
540 { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
541 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
542 { "nokia,omap3-n900", nokia_n900_legacy_init, },
543 { "nokia,omap3-n9", hsmmc2_internal_input_clk, },
544 { "nokia,omap3-n950", hsmmc2_internal_input_clk, },
545 { "logicpd,dm3730-torpedo-devkit", omap3_logicpd_torpedo_init, },
546 { "ti,omap3-evm-37xx", omap3_evm_legacy_init, },
547 { "ti,am3517-evm", am3517_evm_legacy_init, },
548 { "technexion,omap3-tao3530", omap3_tao3530_legacy_init, },
549 { "openpandora,omap3-pandora-600mhz", omap3_pandora_legacy_init, },
550 { "openpandora,omap3-pandora-1ghz", omap3_pandora_legacy_init, },
553 { "ti,omap5-uevm", omap5_uevm_legacy_init, },
556 { "ti,dra7-evm", dra7x_evm_mmc_quirk, },
563 while (quirks->compatible) { in pdata_quirks_check()
564 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
565 if (quirks->fn) in pdata_quirks_check()
566 quirks->fn(); in pdata_quirks_check()