← Documents Documentation/devicetree/bindings/media/i2c/ti,tvp7002.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Texas Instruments TVP7002

RGB·YPbPr digitizer의 sync, clock, Sync-on-green과 field polarity입니다.

Source pathDocumentation/devicetree/bindings/media/i2c/ti,tvp7002.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

ti,tvp7002.txt:1-53

각 polarity의 기본값과 inversion 예제를 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 * Texas Instruments TV7002 video decoder
2
3 The TVP7002 device supports digitizing of video and graphics signal in RGB and
4 YPbPr color space.
5
6 Required Properties :
7 - compatible : Must be "ti,tvp7002"
8
9 Optional Properties:
10 - hsync-active: HSYNC Polarity configuration for the bus. Default value when
11 this property is not specified is <0>.
12
13 - vsync-active: VSYNC Polarity configuration for the bus. Default value when
14 this property is not specified is <0>.
15
16 - pclk-sample: Clock polarity of the bus. Default value when this property is
17 not specified is <0>.
18
19 - sync-on-green-active: Active state of Sync-on-green signal property of the
20 endpoint.
21 0 = Normal Operation (Active Low, Default)
22 1 = Inverted operation
23
24 - field-even-active: Active-high Field ID output polarity control of the bus.
25 Under normal operation, the field ID output is set to logic 1 for an odd field
26 (field 1) and set to logic 0 for an even field (field 0).
27 0 = Normal Operation (Active Low, Default)
28 1 = FID output polarity inverted
29
30 For further reading of port node refer Documentation/devicetree/bindings/media/
31 video-interfaces.txt.
32
33 Example:
34
35 i2c0@1c22000 {
36 ...
37 ...
38 tvp7002@5c {
39 compatible = "ti,tvp7002";
40 reg = <0x5c>;
41
42 port {
43 tvp7002_1: endpoint {
44 hsync-active = <1>;
45 vsync-active = <1>;
46 pclk-sample = <0>;
47 sync-on-green-active = <1>;
48 field-even-active = <0>;
49 };
50 };
51 };
52 ...
53 };
54

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

TVP7002 RGB·YPbPr digitizer

1-8

Texas Instruments TVP7002는 RGB와 YPbPr color space의 video·graphics signal을 digitize합니다. 필수 `compatible`은 `ti,tvp7002`입니다.

TVP7002 signal path
RGB / YPbPr inputTVP7002 A/D
HSYNC / VSYNC / SOG / FIDPolarity control
Pixel clockSample edge
Digital video endpointReceiver

Analog RGB/YPbPr를 sync polarity 설정과 함께 digital endpoint로 변환합니다.

Sync, clock과 field polarity

9-32

선택적인 `hsync-active`, `vsync-active`, `pclk-sample`은 각각 HSYNC polarity, VSYNC polarity, bus clock polarity이며 생략 시 모두 `<0>`입니다.

`sync-on-green-active`는 Sync-on-green의 active state입니다. 0은 active-low normal operation이자 기본값이고 1은 inverted operation입니다.

`field-even-active`는 Field ID output polarity를 제어합니다. Normal operation에서는 odd field(field 1)가 logic 1, even field(field 0)가 logic 0입니다. 값 0은 active-low 기본 동작이고 1은 FID polarity inversion입니다. Port node 규칙은 `Documentation/devicetree/bindings/media/video-interfaces.txt`를 따릅니다.

Inverted sync-on-green 예제

33-53

예제는 I2C 주소 `0x5c`의 TVP7002 endpoint에 active-high HSYNC·VSYNC, PCLK sample 0, inverted Sync-on-green, normal field-even polarity를 설정합니다.

i2c0@1c22000 {
        ...
        ...
        tvp7002@5c {
                compatible = "ti,tvp7002";
                reg = <0x5c>;

                port {
                        tvp7002_1: endpoint {
                                hsync-active = <1>;
                                vsync-active = <1>;
                                pclk-sample = <0>;
                                sync-on-green-active = <1>;
                                field-even-active = <0>;
                        };
                };
        };
        ...
};