Home
last modified time | relevance | path

Searched refs:of_device_is_compatible (Results 1 – 25 of 182) sorted by relevance

12345678

/drivers/usb/host/
Dfsl-mph-dr-of.c140 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info()
141 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info()
143 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info()
145 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info()
147 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info()
156 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info()
159 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info()
160 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info()
162 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info()
164 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info()
[all …]
Dxhci-rcar.c84 return of_device_is_compatible(node, "renesas,xhci-r8a7790") || in xhci_rcar_is_gen2()
85 of_device_is_compatible(node, "renesas,xhci-r8a7791") || in xhci_rcar_is_gen2()
86 of_device_is_compatible(node, "renesas,xhci-r8a7793") || in xhci_rcar_is_gen2()
87 of_device_is_compatible(node, "renensas,rcar-gen2-xhci"); in xhci_rcar_is_gen2()
94 return of_device_is_compatible(node, "renesas,xhci-r8a7795") || in xhci_rcar_is_gen3()
95 of_device_is_compatible(node, "renesas,rcar-gen3-xhci"); in xhci_rcar_is_gen3()
Dohci-ppc-of.c102 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe()
103 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe()
135 if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
137 if (of_device_is_compatible(dn, "mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
/drivers/gpu/drm/sun4i/
Dsun4i_drv.c217 return of_device_is_compatible(node, "hdmi-connector"); in sun4i_drv_node_is_connector()
222 return of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") || in sun4i_drv_node_is_frontend()
223 of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") || in sun4i_drv_node_is_frontend()
224 of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend"); in sun4i_drv_node_is_frontend()
229 return of_device_is_compatible(node, "allwinner,sun5i-a13-tcon") || in sun4i_drv_node_is_tcon()
230 of_device_is_compatible(node, "allwinner,sun6i-a31-tcon") || in sun4i_drv_node_is_tcon()
231 of_device_is_compatible(node, "allwinner,sun6i-a31s-tcon") || in sun4i_drv_node_is_tcon()
232 of_device_is_compatible(node, "allwinner,sun8i-a33-tcon"); in sun4i_drv_node_is_tcon()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c186 if (of_device_is_compatible(plat->mdio_node, "snps,dwmac-mdio")) in stmmac_dt_phy()
268 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt()
269 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt()
270 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt()
271 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt()
292 if (of_device_is_compatible(np, "snps,dwmac-4.00") || in stmmac_probe_config_dt()
293 of_device_is_compatible(np, "snps,dwmac-4.10a")) { in stmmac_probe_config_dt()
299 if (of_device_is_compatible(np, "snps,dwmac-3.610") || in stmmac_probe_config_dt()
300 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt()
/drivers/phy/
Dphy-ti-pipe3.c276 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_init()
298 if ((val & PLL_LOCK) && of_device_is_compatible(phy->dev->of_node, in ti_pipe3_init()
321 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata") && in ti_pipe3_exit()
326 if (!of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_exit()
349 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata")) { in ti_pipe3_exit()
382 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) in ti_pipe3_get_clk()
386 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { in ti_pipe3_get_clk()
396 if (!of_device_is_compatible(node, "ti,phy-pipe3-pcie") || in ti_pipe3_get_clk()
405 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_get_clk()
477 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_get_sysctrl()
[all …]
/drivers/mmc/host/
Dsdhci-pltfm.c93 if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc")) in sdhci_get_of_property()
96 if (of_device_is_compatible(np, "fsl,p2020-esdhc") || in sdhci_get_of_property()
97 of_device_is_compatible(np, "fsl,p1010-esdhc") || in sdhci_get_of_property()
98 of_device_is_compatible(np, "fsl,t4240-esdhc") || in sdhci_get_of_property()
99 of_device_is_compatible(np, "fsl,mpc8536-esdhc")) in sdhci_get_of_property()
Dsdhci-of-esdhc.c639 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe()
640 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe()
641 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe()
642 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe()
643 of_device_is_compatible(np, "fsl,t1040-esdhc")) in sdhci_esdhc_probe()
646 if (of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe()
649 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in sdhci_esdhc_probe()
/drivers/clk/versatile/
Dclk-icst.c528 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup()
531 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup()
534 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup()
537 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup()
540 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup()
543 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup()
546 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
/drivers/irqchip/
Dirq-omap-intc.c311 if (of_device_is_compatible(node, "ti,omap2-intc") || in omap_init_irq()
312 of_device_is_compatible(node, "ti,omap3-intc")) { in omap_init_irq()
386 if (of_device_is_compatible(node, "ti,dm814-intc") || in intc_of_init()
387 of_device_is_compatible(node, "ti,dm816-intc") || in intc_of_init()
388 of_device_is_compatible(node, "ti,am33xx-intc")) { in intc_of_init()
/drivers/power/supply/
Daxp20x_usb_power.c89 if (of_device_is_compatible(power->np, in axp20x_usb_power_get_property()
133 if (of_device_is_compatible(power->np, in axp20x_usb_power_get_property()
220 if (of_device_is_compatible(power->np, in axp20x_usb_power_probe()
238 } else if (of_device_is_compatible(power->np, in axp20x_usb_power_probe()
/drivers/tty/hvc/
Dhvc_opal.c174 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe()
177 } else if (of_device_is_compatible(dev->dev.of_node, in hvc_opal_probe()
380 if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) { in hvc_opal_init_early()
385 else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) { in hvc_opal_init_early()
Dhvc_vio.c308 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) { in hvc_vio_probe()
311 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) { in hvc_vio_probe()
410 if (of_device_is_compatible(of_stdout, "hvterm1")) { in hvc_vio_init_early()
414 else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) { in hvc_vio_init_early()
/drivers/net/ethernet/ti/
Dcpsw-common.c87 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac")) in ti_cm_get_macid()
90 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac")) in ti_cm_get_macid()
/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c701 if (of_device_is_compatible(dev->of_node, "socionext,ph1-ld4-pinctrl") || in uniphier_pinctrl_probe()
702 of_device_is_compatible(dev->of_node, "socionext,ph1-pro4-pinctrl") || in uniphier_pinctrl_probe()
703 of_device_is_compatible(dev->of_node, "socionext,ph1-sld8-pinctrl") || in uniphier_pinctrl_probe()
704 of_device_is_compatible(dev->of_node, "socionext,ph1-pro5-pinctrl") || in uniphier_pinctrl_probe()
705 of_device_is_compatible(dev->of_node, "socionext,proxstream2-pinctrl") || in uniphier_pinctrl_probe()
706 of_device_is_compatible(dev->of_node, "socionext,ph1-ld6b-pinctrl")) { in uniphier_pinctrl_probe()
/drivers/thermal/samsung/
Dexynos_tmu.c1116 if (of_device_is_compatible(np, "samsung,exynos3250-tmu")) in exynos_of_get_soc_type()
1118 else if (of_device_is_compatible(np, "samsung,exynos4210-tmu")) in exynos_of_get_soc_type()
1120 else if (of_device_is_compatible(np, "samsung,exynos4412-tmu")) in exynos_of_get_soc_type()
1122 else if (of_device_is_compatible(np, "samsung,exynos5250-tmu")) in exynos_of_get_soc_type()
1124 else if (of_device_is_compatible(np, "samsung,exynos5260-tmu")) in exynos_of_get_soc_type()
1126 else if (of_device_is_compatible(np, "samsung,exynos5420-tmu")) in exynos_of_get_soc_type()
1128 else if (of_device_is_compatible(np, in exynos_of_get_soc_type()
1131 else if (of_device_is_compatible(np, "samsung,exynos5433-tmu")) in exynos_of_get_soc_type()
1133 else if (of_device_is_compatible(np, "samsung,exynos5440-tmu")) in exynos_of_get_soc_type()
1135 else if (of_device_is_compatible(np, "samsung,exynos7-tmu")) in exynos_of_get_soc_type()
/drivers/watchdog/
Dorion_wdt.c494 if (of_device_is_compatible(node, "marvell,orion-wdt")) { in orion_wdt_get_regs()
501 } else if (of_device_is_compatible(node, "marvell,armada-370-wdt") || in orion_wdt_get_regs()
502 of_device_is_compatible(node, "marvell,armada-xp-wdt")) { in orion_wdt_get_regs()
510 } else if (of_device_is_compatible(node, "marvell,armada-375-wdt") || in orion_wdt_get_regs()
511 of_device_is_compatible(node, "marvell,armada-380-wdt")) { in orion_wdt_get_regs()
/drivers/spi/
Dspi-fsl-lib.c155 else if (of_device_is_compatible(np, "fsl,cpm2-spi")) in of_mpc8xxx_spi_probe()
157 else if (of_device_is_compatible(np, "fsl,cpm1-spi")) in of_mpc8xxx_spi_probe()
/drivers/crypto/caam/
Dctrl.c598 if (of_device_is_compatible(nprop, "fsl,sec-v5.0")) in caam_probe()
612 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe()
613 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) in caam_probe()
626 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe()
627 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) { in caam_probe()
/drivers/memory/
Dof_memory.c125 if (of_device_is_compatible(np_tim, tim_compat)) in of_get_ddr_timings()
136 if (of_device_is_compatible(np_tim, tim_compat)) { in of_get_ddr_timings()
/drivers/of/
Dof_mdio.c53 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy()
180 if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c45")) in of_mdiobus_child_is_phy()
183 if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c22")) in of_mdiobus_child_is_phy()
/drivers/input/touchscreen/
Dsun4i-ts.c262 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) { in sun4i_ts_probe()
266 } else if (of_device_is_compatible(np, "allwinner,sun4i-a10-ts")) { in sun4i_ts_probe()
353 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) in sun4i_ts_probe()
/drivers/macintosh/ams/
Dams-core.c202 if (np && of_device_is_compatible(np, "AAPL,accelerometer_1")) in ams_init()
209 if (np && of_device_is_compatible(np, "sms")) in ams_init()
/drivers/edac/
Daltera_edac.c1051 if (!of_device_is_compatible(child, compat)) in altr_init_a10_ecc_device_type()
1898 if (of_device_is_compatible(child, "altr,socfpga-a10-l2-ecc") || in altr_edac_a10_probe()
1899 of_device_is_compatible(child, "altr,socfpga-a10-ocram-ecc") || in altr_edac_a10_probe()
1900 of_device_is_compatible(child, "altr,socfpga-eth-mac-ecc") || in altr_edac_a10_probe()
1901 of_device_is_compatible(child, "altr,socfpga-nand-ecc") || in altr_edac_a10_probe()
1902 of_device_is_compatible(child, "altr,socfpga-dma-ecc") || in altr_edac_a10_probe()
1903 of_device_is_compatible(child, "altr,socfpga-usb-ecc") || in altr_edac_a10_probe()
1904 of_device_is_compatible(child, "altr,socfpga-qspi-ecc") || in altr_edac_a10_probe()
1905 of_device_is_compatible(child, "altr,socfpga-sdmmc-ecc")) in altr_edac_a10_probe()
1909 else if (of_device_is_compatible(child, "altr,sdram-edac-a10")) in altr_edac_a10_probe()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1187 if (of_device_is_compatible(np, "fsl,cpm1-scc-uart") || in cpm_uart_init_port()
1188 of_device_is_compatible(np, "fsl,cpm2-scc-uart")) { in cpm_uart_init_port()
1191 } else if (of_device_is_compatible(np, "fsl,cpm1-smc-uart") || in cpm_uart_init_port()
1192 of_device_is_compatible(np, "fsl,cpm2-smc-uart")) { in cpm_uart_init_port()
1319 if (!of_device_is_compatible(np, "fsl,cpm1-smc-uart") && in cpm_uart_console_setup()
1320 !of_device_is_compatible(np, "fsl,cpm1-scc-uart") && in cpm_uart_console_setup()
1321 !of_device_is_compatible(np, "fsl,cpm2-smc-uart") && in cpm_uart_console_setup()
1322 !of_device_is_compatible(np, "fsl,cpm2-scc-uart")) in cpm_uart_console_setup()

12345678