/* * Copyright (C) 2012 Avionic Design GmbH * Copyright (C) 2012 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include<linux/clk.h>#include<linux/debugfs.h>#include<linux/hdmi.h>#include<linux/regulator/consumer.h>#include<linux/reset.h>#include"hdmi.h"#include"drm.h"#include"dc.h"structtmds_config{unsignedintpclk;u32pll0;u32pll1;u32pe_current;u32drive_current;u32peak_current;};structtegra_hdmi_config{conststructtmds_config*tmds;unsignedintnum_tmds;unsignedlongfuse_override_offset;unsignedlongfuse_override_value;boolhas_sor_io_peak_current;};structtegra_hdmi{structhost1x_clientclient;structtegra_outputoutput;structdevice*dev;boolenabled;structregulator*vdd;structregulator*pll;void__iomem*regs;unsignedintirq;structclk*clk_parent;structc