요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Epson RX6110 Real Time Clock
============================
The Epson RX6110 can be used with SPI or I2C busses. The kind of
bus depends on the SPISEL pin and can not be configured via software.
I2C mode
--------
Required properties:
- compatible: should be: "epson,rx6110"
- reg : the I2C address of the device for I2C
Example:
rtc: rtc@32 {
compatible = "epson,rx6110"
reg = <0x32>;
};
SPI mode
--------
Required properties:
- compatible: should be: "epson,rx6110"
- reg: chip select number
- spi-cs-high: RX6110 needs chipselect high
- spi-cpha: RX6110 works with SPI shifted clock phase
- spi-cpol: RX6110 works with SPI inverse clock polarity
Example:
rtc: rtc@3 {
compatible = "epson,rx6110"
reg = <3>
spi-cs-high;
spi-cpha;
spi-cpol;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Epson RX6110 bus 선택
1-5Epson RX6110은 SPI 또는 I2C bus에서 사용할 수 있습니다. 사용할 bus 종류는 `SPISEL` pin으로 결정되며 소프트웨어로 구성할 수 없습니다.
I2C 모드
6-12I2C 모드에서 `compatible`은 `epson,rx6110`이고 `reg`는 장치의 I2C 주소입니다.
I2C 예제
13-20예제는 I2C 주소 `0x32`에 RX6110을 배치합니다.
rtc: rtc@32 {
compatible = "epson,rx6110"
reg = <0x32>;
};
SPI 모드
21-29SPI 모드에서도 `compatible`은 `epson,rx6110`이며 `reg`는 chip select 번호입니다.
RX6110은 active-high chip select, shifted clock phase, inverse clock polarity가 필요하므로 `spi-cs-high`, `spi-cpha`, `spi-cpol`을 모두 지정합니다.
SPI 예제
30-39예제는 chip select 3에 RX6110을 배치하고 필요한 세 SPI mode 속성을 모두 활성화합니다.
rtc: rtc@3 {
compatible = "epson,rx6110"
reg = <3>
spi-cs-high;
spi-cpha;
spi-cpol;
};
요약과 해설
epson,rx6110.txt:1-39장치의 연결 방식과 필수·선택 속성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.