Lines Matching +full:mipi +full:- +full:dsi1

1 // SPDX-License-Identifier: GPL-2.0+
3 * R-Car Display Unit DRM driver
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
11 #include <linux/dma-mapping.h>
31 /* -----------------------------------------------------------------------------
283 /* M2-W (r8a7791) and M2-N (r8a7793) are identical */
513 /* R8A779A0 has two MIPI DSI outputs. */
534 /* R8A779G0 has two MIPI DSI outputs. */
549 { .compatible = "renesas,du-r8a7742", .data = &rcar_du_r8a7790_info },
550 { .compatible = "renesas,du-r8a7743", .data = &rzg1_du_r8a7743_info },
551 { .compatible = "renesas,du-r8a7744", .data = &rzg1_du_r8a7743_info },
552 { .compatible = "renesas,du-r8a7745", .data = &rzg1_du_r8a7745_info },
553 { .compatible = "renesas,du-r8a77470", .data = &rzg1_du_r8a77470_info },
554 { .compatible = "renesas,du-r8a774a1", .data = &rcar_du_r8a774a1_info },
555 { .compatible = "renesas,du-r8a774b1", .data = &rcar_du_r8a774b1_info },
556 { .compatible = "renesas,du-r8a774c0", .data = &rcar_du_r8a774c0_info },
557 { .compatible = "renesas,du-r8a774e1", .data = &rcar_du_r8a774e1_info },
558 { .compatible = "renesas,du-r8a7779", .data = &rcar_du_r8a7779_info },
559 { .compatible = "renesas,du-r8a7790", .data = &rcar_du_r8a7790_info },
560 { .compatible = "renesas,du-r8a7791", .data = &rcar_du_r8a7791_info },
561 { .compatible = "renesas,du-r8a7792", .data = &rcar_du_r8a7792_info },
562 { .compatible = "renesas,du-r8a7793", .data = &rcar_du_r8a7791_info },
563 { .compatible = "renesas,du-r8a7794", .data = &rcar_du_r8a7794_info },
564 { .compatible = "renesas,du-r8a7795", .data = &rcar_du_r8a7795_info },
565 { .compatible = "renesas,du-r8a7796", .data = &rcar_du_r8a7796_info },
566 { .compatible = "renesas,du-r8a77961", .data = &rcar_du_r8a7796_info },
567 { .compatible = "renesas,du-r8a77965", .data = &rcar_du_r8a77965_info },
568 { .compatible = "renesas,du-r8a77970", .data = &rcar_du_r8a77970_info },
569 { .compatible = "renesas,du-r8a77980", .data = &rcar_du_r8a77970_info },
570 { .compatible = "renesas,du-r8a77990", .data = &rcar_du_r8a7799x_info },
571 { .compatible = "renesas,du-r8a77995", .data = &rcar_du_r8a7799x_info },
572 { .compatible = "renesas,du-r8a779a0", .data = &rcar_du_r8a779a0_info },
573 { .compatible = "renesas,du-r8a779g0", .data = &rcar_du_r8a779g0_info },
585 [RCAR_DU_OUTPUT_DSI1] = "DSI1", in rcar_du_output_name()
599 /* -----------------------------------------------------------------------------
610 .name = "rcar-du",
611 .desc = "Renesas R-Car Display Unit",
617 /* -----------------------------------------------------------------------------
625 return drm_mode_config_helper_suspend(&rcdu->ddev); in rcar_du_pm_suspend()
632 return drm_mode_config_helper_resume(&rcdu->ddev); in rcar_du_pm_resume()
638 /* -----------------------------------------------------------------------------
645 struct drm_device *ddev = &rcdu->ddev; in rcar_du_remove()
657 drm_atomic_helper_shutdown(&rcdu->ddev); in rcar_du_shutdown()
667 return -ENODEV; in rcar_du_probe()
669 /* Allocate and initialize the R-Car device structure. */ in rcar_du_probe()
670 rcdu = devm_drm_dev_alloc(&pdev->dev, &rcar_du_driver, in rcar_du_probe()
675 rcdu->dev = &pdev->dev; in rcar_du_probe()
677 rcdu->info = of_device_get_match_data(rcdu->dev); in rcar_du_probe()
682 rcdu->mmio = devm_platform_ioremap_resource(pdev, 0); in rcar_du_probe()
683 if (IS_ERR(rcdu->mmio)) in rcar_du_probe()
684 return PTR_ERR(rcdu->mmio); in rcar_du_probe()
687 * Set the DMA coherent mask to reflect the DU 32-bit DMA address space in rcar_du_probe()
692 ret = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(mask)); in rcar_du_probe()
703 if (ret != -EPROBE_DEFER) in rcar_du_probe()
704 dev_err(&pdev->dev, in rcar_du_probe()
713 ret = drm_dev_register(&rcdu->ddev, 0); in rcar_du_probe()
717 drm_info(&rcdu->ddev, "Device %s probed\n", dev_name(&pdev->dev)); in rcar_du_probe()
719 drm_fbdev_dma_setup(&rcdu->ddev, 32); in rcar_du_probe()
724 drm_kms_helper_poll_fini(&rcdu->ddev); in rcar_du_probe()
733 .name = "rcar-du",
742 MODULE_DESCRIPTION("Renesas R-Car Display Unit DRM Driver");