• Home
  • Raw
  • Download

Lines Matching +full:de +full:- +full:asserts

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
104 /* This asserts the RESET line (reverse polarity) */ in omap3_sbc_t3x_usb_hub_init()
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",
197 /* This asserts the RESET line (reverse polarity) */ in omap3_sbc_t3517_wifi_init()
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,
300 if (hwclk && hwclk->clkdm_name) in ti_sysc_find_one_clockdomain()
301 clkdm = clkdm_lookup(hwclk->clkdm_name); in ti_sysc_find_one_clockdomain()
307 * ti_sysc_clkdm_init - find clockdomain based on clock
317 * and do not need to populate oh->_clk for dynamically
325 cookie->clkdm = ti_sysc_find_one_clockdomain(fck); in ti_sysc_clkdm_init()
326 if (cookie->clkdm) in ti_sysc_clkdm_init()
329 cookie->clkdm = ti_sysc_find_one_clockdomain(ick); in ti_sysc_clkdm_init()
330 if (cookie->clkdm) in ti_sysc_clkdm_init()
333 return -ENODEV; in ti_sysc_clkdm_init()
339 if (cookie->clkdm) in ti_sysc_clkdm_deny_idle()
340 clkdm_deny_idle(cookie->clkdm); in ti_sysc_clkdm_deny_idle()
346 if (cookie->clkdm) in ti_sysc_clkdm_allow_idle()
347 clkdm_allow_idle(cookie->clkdm); in ti_sysc_clkdm_allow_idle()
354 if (!cookie->data) in ti_sysc_enable_module()
355 return -EINVAL; in ti_sysc_enable_module()
357 return omap_hwmod_enable(cookie->data); in ti_sysc_enable_module()
363 if (!cookie->data) in ti_sysc_idle_module()
364 return -EINVAL; in ti_sysc_idle_module()
366 return omap_hwmod_idle(cookie->data); in ti_sysc_idle_module()
372 if (!cookie->data) in ti_sysc_shutdown_module()
373 return -EINVAL; in ti_sysc_shutdown_module()
375 return omap_hwmod_shutdown(cookie->data); in ti_sysc_shutdown_module()
432 { "nokia,n810-wimax", omap2420_n8x0_legacy_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),
445 OF_DEV_AUXDATA("ti,omap2-iommu", 0x5d000000, "5d000000.mmu",
447 OF_DEV_AUXDATA("ti,omap2-iommu", 0x480bd400, "480bd400.mmu",
449 OF_DEV_AUXDATA("ti,omap3-smartreflex-core", 0x480cb000,
451 OF_DEV_AUXDATA("ti,omap3-smartreflex-mpu-iva", 0x480c9000,
453 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
454 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
457 OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
459 OF_DEV_AUXDATA("nokia,n900-rom-rng", 0, NULL, rx51_secure_rng_call),
462 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
463 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
467 OF_DEV_AUXDATA("ti,omap4-smartreflex-iva", 0x4a0db000,
469 OF_DEV_AUXDATA("ti,omap4-smartreflex-core", 0x4a0dd000,
471 OF_DEV_AUXDATA("ti,omap4-smartreflex-mpu", 0x4a0d9000,
475 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x40d01000, "40d01000.mmu",
477 OF_DEV_AUXDATA("ti,dra7-dsp-iommu", 0x41501000, "41501000.mmu",
479 OF_DEV_AUXDATA("ti,dra7-iommu", 0x58882000, "58882000.mmu",
483 OF_DEV_AUXDATA("simple-pm-bus", 0, NULL, omap_auxdata_lookup),
485 OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata),
486 OF_DEV_AUXDATA("ti,omap-prm-inst", 0, NULL, &ti_prm_pdata),
487 OF_DEV_AUXDATA("ti,omap-sdma", 0, NULL, &dma_plat_info),
497 { "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, },
498 { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
499 { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
500 { "nokia,omap3-n900", nokia_n900_legacy_init, },
501 { "nokia,omap3-n9", hsmmc2_internal_input_clk, },
502 { "nokia,omap3-n950", hsmmc2_internal_input_clk, },
503 { "logicpd,dm3730-torpedo-devkit", omap3_logicpd_torpedo_init, },
504 { "ti,omap3-evm-37xx", omap3_evm_legacy_init, },
505 { "ti,am3517-evm", am3517_evm_legacy_init, },
506 { "technexion,omap3-tao3530", omap3_tao3530_legacy_init, },
507 { "openpandora,omap3-pandora-600mhz", omap3_pandora_legacy_init, },
508 { "openpandora,omap3-pandora-1ghz", omap3_pandora_legacy_init, },
515 while (quirks->compatible) { in pdata_quirks_check()
516 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
517 if (quirks->fn) in pdata_quirks_check()
518 quirks->fn(); in pdata_quirks_check()