mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 18:55:08 +07:00
d2912cb15b
Based on 2 normalized pattern(s): 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 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 # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2013 NVIDIA Corporation
|
|
*/
|
|
|
|
#ifndef DRM_TEGRA_MIPI_PHY_H
|
|
#define DRM_TEGRA_MIPI_PHY_H
|
|
|
|
/*
|
|
* D-PHY timing parameters
|
|
*
|
|
* A detailed description of these parameters can be found in the MIPI
|
|
* Alliance Specification for D-PHY, Section 5.9 "Global Operation Timing
|
|
* Parameters".
|
|
*
|
|
* All parameters are specified in nanoseconds.
|
|
*/
|
|
struct mipi_dphy_timing {
|
|
unsigned int clkmiss;
|
|
unsigned int clkpost;
|
|
unsigned int clkpre;
|
|
unsigned int clkprepare;
|
|
unsigned int clksettle;
|
|
unsigned int clktermen;
|
|
unsigned int clktrail;
|
|
unsigned int clkzero;
|
|
unsigned int dtermen;
|
|
unsigned int eot;
|
|
unsigned int hsexit;
|
|
unsigned int hsprepare;
|
|
unsigned int hszero;
|
|
unsigned int hssettle;
|
|
unsigned int hsskip;
|
|
unsigned int hstrail;
|
|
unsigned int init;
|
|
unsigned int lpx;
|
|
unsigned int taget;
|
|
unsigned int tago;
|
|
unsigned int tasure;
|
|
unsigned int wakeup;
|
|
};
|
|
|
|
int mipi_dphy_timing_get_default(struct mipi_dphy_timing *timing,
|
|
unsigned long period);
|
|
int mipi_dphy_timing_validate(struct mipi_dphy_timing *timing,
|
|
unsigned long period);
|
|
|
|
#endif
|