요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Toshiba TC358743 HDMI-RX to MIPI CSI2-TX Bridge
The Toshiba TC358743 HDMI-RX to MIPI CSI2-TX (H2C) is a bridge that converts
a HDMI stream to MIPI CSI-2 TX. It is programmable through I2C.
Required Properties:
- compatible: value should be "toshiba,tc358743"
- clocks, clock-names: should contain a phandle link to the reference clock
source, the clock input is named "refclk".
Optional Properties:
- reset-gpios: gpio phandle GPIO connected to the reset pin
- interrupts: GPIO connected to the interrupt pin
- data-lanes: should be <1 2 3 4> for four-lane operation,
or <1 2> for two-lane operation
- clock-lanes: should be <0>
- clock-noncontinuous: Presence of this boolean property decides whether the
MIPI CSI-2 clock is continuous or non-continuous.
- link-frequencies: List of allowed link frequencies in Hz. Each frequency is
expressed as a 64-bit big-endian integer. The frequency
is half of the bps per lane due to DDR transmission.
For further information on the MIPI CSI-2 endpoint node properties, see
Documentation/devicetree/bindings/media/video-interfaces.txt.
Example:
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>;
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
HDMI-RX to CSI2-TX bridge
1-11Toshiba 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`이어야 합니다.
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>;
};
};
};
요약과 해설
toshiba,tc358743.txt:1-48Lane mapping, non-continuous clock과 DDR link frequency를 설명합니다.