/* * Copyright (C) 2013 NVIDIA Corporation * * 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/io.h>#include<linux/platform_device.h>#include<linux/reset.h>#include<soc/tegra/powergate.h>#include<drm/drm_dp_helper.h>#include"dc.h"#include"drm.h"#include"sor.h"structtegra_sor{structhost1x_clientclient;structtegra_outputoutput;structdevice*dev;void__iomem*regs;structreset_control*rst;structclk*clk_parent;structclk*clk_safe;structclk*clk_dp;structclk*clk;structtegra_dpaux*dpaux;structmutexlock;boolenabled;structdentry*debugfs;};structtegra_sor_config{u32bits_per_pixel;u32active_polarity;u32active_count;u32tu_size;u32active_frac;u32watermark;u32hblank_symbols;u32vblank_symbols;};staticinlinestruct<