hdmi4.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) | hdmi4.c (0b5e0f45af403cb6e9df574e1cb52691611dc0b8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 5 * Authors: Yong Zhi 6 * Mythri pk <mythripk@ti.com> 7 */ 8 --- 5 unchanged lines hidden (view full) --- 14#include <linux/io.h> 15#include <linux/interrupt.h> 16#include <linux/mutex.h> 17#include <linux/delay.h> 18#include <linux/string.h> 19#include <linux/platform_device.h> 20#include <linux/pm_runtime.h> 21#include <linux/clk.h> | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 5 * Authors: Yong Zhi 6 * Mythri pk <mythripk@ti.com> 7 */ 8 --- 5 unchanged lines hidden (view full) --- 14#include <linux/io.h> 15#include <linux/interrupt.h> 16#include <linux/mutex.h> 17#include <linux/delay.h> 18#include <linux/string.h> 19#include <linux/platform_device.h> 20#include <linux/pm_runtime.h> 21#include <linux/clk.h> |
22#include <linux/gpio.h> | 22#include <linux/of.h> |
23#include <linux/regulator/consumer.h> 24#include <linux/component.h> 25#include <video/omapfb_dss.h> 26#include <sound/omap-hdmi-audio.h> 27 28#include "hdmi4_core.h" 29#include "dss.h" 30#include "dss_features.h" --- 636 unchanged lines hidden (view full) --- 667/* HDMI HW IP initialisation */ 668static int hdmi4_bind(struct device *dev, struct device *master, void *data) 669{ 670 struct platform_device *pdev = to_platform_device(dev); 671 int r; 672 int irq; 673 674 hdmi.pdev = pdev; | 23#include <linux/regulator/consumer.h> 24#include <linux/component.h> 25#include <video/omapfb_dss.h> 26#include <sound/omap-hdmi-audio.h> 27 28#include "hdmi4_core.h" 29#include "dss.h" 30#include "dss_features.h" --- 636 unchanged lines hidden (view full) --- 667/* HDMI HW IP initialisation */ 668static int hdmi4_bind(struct device *dev, struct device *master, void *data) 669{ 670 struct platform_device *pdev = to_platform_device(dev); 671 int r; 672 int irq; 673 674 hdmi.pdev = pdev; |
675 dev_set_drvdata(&pdev->dev, &hdmi); | 675 platform_set_drvdata(pdev, &hdmi); |
676 677 mutex_init(&hdmi.lock); 678 spin_lock_init(&hdmi.audio_playing_lock); 679 680 if (pdev->dev.of_node) { 681 r = hdmi_probe_of(pdev); 682 if (r) 683 return r; --- 131 unchanged lines hidden --- | 676 677 mutex_init(&hdmi.lock); 678 spin_lock_init(&hdmi.audio_playing_lock); 679 680 if (pdev->dev.of_node) { 681 r = hdmi_probe_of(pdev); 682 if (r) 683 return r; --- 131 unchanged lines hidden --- |