~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/media/i2c/tvp514x.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/media/i2c/tvp514x.h (Version linux-6.12-rc7) and /include/media/i2c/tvp514x.h (Version linux-4.10.17)


  1 /* SPDX-License-Identifier: GPL-2.0-only */    << 
  2 /*                                                  1 /*
  3  * drivers/media/video/tvp514x.h                    2  * drivers/media/video/tvp514x.h
  4  *                                                  3  *
  5  * Copyright (C) 2008 Texas Instruments Inc         4  * Copyright (C) 2008 Texas Instruments Inc
  6  * Author: Vaibhav Hiremath <hvaibhav@ti.com>       5  * Author: Vaibhav Hiremath <hvaibhav@ti.com>
  7  *                                                  6  *
  8  * Contributors:                                    7  * Contributors:
  9  *     Sivaraj R <sivaraj@ti.com>                   8  *     Sivaraj R <sivaraj@ti.com>
 10  *     Brijesh R Jadav <brijesh.j@ti.com>           9  *     Brijesh R Jadav <brijesh.j@ti.com>
 11  *     Hardik Shah <hardik.shah@ti.com>            10  *     Hardik Shah <hardik.shah@ti.com>
 12  *     Manjunath Hadli <mrh@ti.com>                11  *     Manjunath Hadli <mrh@ti.com>
 13  *     Karicheri Muralidharan <m-karicheri2@ti     12  *     Karicheri Muralidharan <m-karicheri2@ti.com>
                                                   >>  13  *
                                                   >>  14  * This package is free software; you can redistribute it and/or modify
                                                   >>  15  * it under the terms of the GNU General Public License version 2 as
                                                   >>  16  * published by the Free Software Foundation.
                                                   >>  17  *
                                                   >>  18  * This program is distributed in the hope that it will be useful,
                                                   >>  19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  21  * GNU General Public License for more details.
                                                   >>  22  *
                                                   >>  23  * You should have received a copy of the GNU General Public License
                                                   >>  24  * along with this program; if not, write to the Free Software
                                                   >>  25  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
                                                   >>  26  *
 14  */                                                27  */
 15                                                    28 
 16 #ifndef _TVP514X_H                                 29 #ifndef _TVP514X_H
 17 #define _TVP514X_H                                 30 #define _TVP514X_H
 18                                                    31 
 19 /*                                                 32 /*
 20  * Other macros                                    33  * Other macros
 21  */                                                34  */
 22 #define TVP514X_MODULE_NAME             "tvp51     35 #define TVP514X_MODULE_NAME             "tvp514x"
 23                                                    36 
 24 #define TVP514X_XCLK_BT656              (27000     37 #define TVP514X_XCLK_BT656              (27000000)
 25                                                    38 
 26 /* Number of pixels and number of lines per fr     39 /* Number of pixels and number of lines per frame for different standards */
 27 #define NTSC_NUM_ACTIVE_PIXELS          (720)      40 #define NTSC_NUM_ACTIVE_PIXELS          (720)
 28 #define NTSC_NUM_ACTIVE_LINES           (480)      41 #define NTSC_NUM_ACTIVE_LINES           (480)
 29 #define PAL_NUM_ACTIVE_PIXELS           (720)      42 #define PAL_NUM_ACTIVE_PIXELS           (720)
 30 #define PAL_NUM_ACTIVE_LINES            (576)      43 #define PAL_NUM_ACTIVE_LINES            (576)
 31                                                    44 
 32 /* enum for different decoder input pin config !!  45 /**
                                                   >>  46  * enum tvp514x_input - enum for different decoder input pin
                                                   >>  47  *              configuration.
                                                   >>  48  */
 33 enum tvp514x_input {                               49 enum tvp514x_input {
 34         /*                                         50         /*
 35          * CVBS input selection                    51          * CVBS input selection
 36          */                                        52          */
 37         INPUT_CVBS_VI1A = 0x0,                     53         INPUT_CVBS_VI1A = 0x0,
 38         INPUT_CVBS_VI1B,                           54         INPUT_CVBS_VI1B,
 39         INPUT_CVBS_VI1C,                           55         INPUT_CVBS_VI1C,
 40         INPUT_CVBS_VI2A = 0x04,                    56         INPUT_CVBS_VI2A = 0x04,
 41         INPUT_CVBS_VI2B,                           57         INPUT_CVBS_VI2B,
 42         INPUT_CVBS_VI2C,                           58         INPUT_CVBS_VI2C,
 43         INPUT_CVBS_VI3A = 0x08,                    59         INPUT_CVBS_VI3A = 0x08,
 44         INPUT_CVBS_VI3B,                           60         INPUT_CVBS_VI3B,
 45         INPUT_CVBS_VI3C,                           61         INPUT_CVBS_VI3C,
 46         INPUT_CVBS_VI4A = 0x0C,                    62         INPUT_CVBS_VI4A = 0x0C,
 47         /*                                         63         /*
 48          * S-Video input selection                 64          * S-Video input selection
 49          */                                        65          */
 50         INPUT_SVIDEO_VI2A_VI1A = 0x44,             66         INPUT_SVIDEO_VI2A_VI1A = 0x44,
 51         INPUT_SVIDEO_VI2B_VI1B,                    67         INPUT_SVIDEO_VI2B_VI1B,
 52         INPUT_SVIDEO_VI2C_VI1C,                    68         INPUT_SVIDEO_VI2C_VI1C,
 53         INPUT_SVIDEO_VI2A_VI3A = 0x54,             69         INPUT_SVIDEO_VI2A_VI3A = 0x54,
 54         INPUT_SVIDEO_VI2B_VI3B,                    70         INPUT_SVIDEO_VI2B_VI3B,
 55         INPUT_SVIDEO_VI2C_VI3C,                    71         INPUT_SVIDEO_VI2C_VI3C,
 56         INPUT_SVIDEO_VI4A_VI1A = 0x4C,             72         INPUT_SVIDEO_VI4A_VI1A = 0x4C,
 57         INPUT_SVIDEO_VI4A_VI1B,                    73         INPUT_SVIDEO_VI4A_VI1B,
 58         INPUT_SVIDEO_VI4A_VI1C,                    74         INPUT_SVIDEO_VI4A_VI1C,
 59         INPUT_SVIDEO_VI4A_VI3A = 0x5C,             75         INPUT_SVIDEO_VI4A_VI3A = 0x5C,
 60         INPUT_SVIDEO_VI4A_VI3B,                    76         INPUT_SVIDEO_VI4A_VI3B,
 61         INPUT_SVIDEO_VI4A_VI3C,                    77         INPUT_SVIDEO_VI4A_VI3C,
 62                                                    78 
 63         /* Need to add entries for                 79         /* Need to add entries for
 64          * RGB, YPbPr and SCART.                   80          * RGB, YPbPr and SCART.
 65          */                                        81          */
 66         INPUT_INVALID                              82         INPUT_INVALID
 67 };                                                 83 };
 68                                                    84 
 69 /* enum for output format supported. */        !!  85 /**
                                                   >>  86  * enum tvp514x_output - enum for output format
                                                   >>  87  *                      supported.
                                                   >>  88  *
                                                   >>  89  */
 70 enum tvp514x_output {                              90 enum tvp514x_output {
 71         OUTPUT_10BIT_422_EMBEDDED_SYNC = 0,        91         OUTPUT_10BIT_422_EMBEDDED_SYNC = 0,
 72         OUTPUT_20BIT_422_SEPERATE_SYNC,            92         OUTPUT_20BIT_422_SEPERATE_SYNC,
 73         OUTPUT_10BIT_422_SEPERATE_SYNC = 3,        93         OUTPUT_10BIT_422_SEPERATE_SYNC = 3,
 74         OUTPUT_INVALID                             94         OUTPUT_INVALID
 75 };                                                 95 };
 76                                                    96 
 77 /**                                                97 /**
 78  * struct tvp514x_platform_data - Platform dat     98  * struct tvp514x_platform_data - Platform data values and access functions.
 79  * @clk_polarity: Clock polarity of the curren     99  * @clk_polarity: Clock polarity of the current interface.
 80  * @hs_polarity: HSYNC Polarity configuration     100  * @hs_polarity: HSYNC Polarity configuration for current interface.
 81  * @vs_polarity: VSYNC Polarity configuration     101  * @vs_polarity: VSYNC Polarity configuration for current interface.
 82  */                                               102  */
 83 struct tvp514x_platform_data {                    103 struct tvp514x_platform_data {
 84         /* Interface control params */            104         /* Interface control params */
 85         bool clk_polarity;                        105         bool clk_polarity;
 86         bool hs_polarity;                         106         bool hs_polarity;
 87         bool vs_polarity;                         107         bool vs_polarity;
 88 };                                                108 };
 89                                                   109 
 90                                                   110 
 91 #endif                          /* ifndef _TVP    111 #endif                          /* ifndef _TVP514X_H */
 92                                                   112 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php