← Documents Documentation/devicetree/bindings/media/i2c/toshiba,tc358743.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Toshiba TC358743 HDMI to CSI-2 Bridge

HDMI stream을 2/4-lane MIPI CSI-2로 변환하는 bridge 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

toshiba,tc358743.txt:1-48

Lane mapping, non-continuous clock과 DDR link frequency를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge
2
3 The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts
4 a HDMI stream to MIPI CSI-2 TX. It is programmable through I2C.
5
6 Required Properties:
7
8 - compatible: value should be "toshiba,tc358743"
9 - clocks, clock-names: should contain a phandle link to the reference clock
10 source, the clock input is named "refclk".
11
12 Optional Properties:
13
14 - reset-gpios: gpio phandle GPIO connected to the reset pin
15 - interrupts: GPIO connected to the interrupt pin
16 - data-lanes: should be <1 2 3 4> for four-lane operation,
17 or <1 2> for two-lane operation
18 - clock-lanes: should be <0>
19 - clock-noncontinuous: Presence of this boolean property decides whether the
20 MIPI CSI-2 clock is continuous or non-continuous.
21 - link-frequencies: List of allowed link frequencies in Hz. Each frequency is
22 expressed as a 64-bit big-endian integer. The frequency
23 is half of the bps per lane due to DDR transmission.
24
25 For further information on the MIPI CSI-2 endpoint node properties, see
26 Documentation/devicetree/bindings/media/video-interfaces.txt.
27
28 Example:
29
30 tc358743@f {
31 compatible = "toshiba,tc358743";
32 reg = <0x0f>;
33 clocks = <&hdmi_osc>;
34 clock-names = "refclk";
35 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
36 interrupt-parent = <&gpio2>;
37 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
38
39 port {
40 tc358743_out: endpoint {
41 remote-endpoint = <&mipi_csi2_in>;
42 data-lanes = <1 2 3 4>;
43 clock-lanes = <0>;
44 clock-noncontinuous;
45 link-frequencies = /bits/ 64 <297000000>;
46 };
47 };
48 };
49

3. 한국어 전문 번역

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

HDMI-RX to CSI2-TX bridge

1-11

Toshiba TC358743 HDMI-RX to MIPI CSI2-TX(H2C)는 HDMI stream을 MIPI CSI-2 TX로 변환하는 I2C-programmable bridge입니다. 필수 `compatible`은 `toshiba,tc358743`입니다.

`clocks`와 `clock-names`는 reference clock source의 phandle을 담고 input clock 이름은 `refclk`이어야 합니다.

TC358743 bridge path
HDMI streamTC358743 HDMI-RX
Video conversionMIPI CSI2-TX
Clock lane 0CSI-2 clock
Data lanes 1..4mipi_csi2_in

HDMI input을 최대 4-lane MIPI CSI-2 stream으로 변환합니다.

CSI-2 lane과 link frequency

12-27

선택적인 `reset-gpios`는 reset pin GPIO, `interrupts`는 interrupt pin에 연결한 GPIO입니다. Four-lane operation의 `data-lanes`는 `<1 2 3 4>`, two-lane은 `<1 2>`이며 `clock-lanes`는 `<0>`입니다.

Boolean `clock-noncontinuous`의 존재 여부가 MIPI CSI-2 clock을 continuous 또는 non-continuous로 결정합니다. `link-frequencies`는 허용 frequency의 64-bit big-endian Hz 목록이며 DDR transmission 때문에 각 값은 lane당 bps의 절반입니다. 추가 endpoint 규칙은 `Documentation/devicetree/bindings/media/video-interfaces.txt`를 따릅니다.

4-lane 297MHz 예제

28-48

예제는 I2C 주소 `0x0f`, `hdmi_osc` refclk, active-low reset, GPIO2 line 5 level-high interrupt를 사용합니다. Endpoint는 data lane 1~4와 clock lane 0, non-continuous clock, 297MHz link frequency를 지정하고 `mipi_csi2_in`에 연결합니다.

tc358743@f {
        compatible = "toshiba,tc358743";
        reg = <0x0f>;
        clocks = <&hdmi_osc>;
        clock-names = "refclk";
        reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
        interrupt-parent = <&gpio2>;
        interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;

        port {
                tc358743_out: endpoint {
                        remote-endpoint = <&mipi_csi2_in>;
                        data-lanes = <1 2 3 4>;
                        clock-lanes = <0>;
                        clock-noncontinuous;
                        link-frequencies = /bits/ 64 <297000000>;
                };
        };
};