← Documents Documentation/devicetree/bindings/rtc/epson,rx6110.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / RTC

Epson RX6110 RTC

RX6110의 pin 기반 I2C·SPI 선택과 bus별 속성을 설명합니다.

Source pathDocumentation/devicetree/bindings/rtc/epson,rx6110.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

epson,rx6110.txt:1-39

장치의 연결 방식과 필수·선택 속성을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Epson RX6110 Real Time Clock
2 ============================
3
4 The Epson RX6110 can be used with SPI or I2C busses. The kind of
5 bus depends on the SPISEL pin and can not be configured via software.
6
7 I2C mode
8 --------
9
10 Required properties:
11 - compatible: should be: "epson,rx6110"
12 - reg : the I2C address of the device for I2C
13
14 Example:
15
16 rtc: rtc@32 {
17 compatible = "epson,rx6110"
18 reg = <0x32>;
19 };
20
21 SPI mode
22 --------
23
24 Required properties:
25 - compatible: should be: "epson,rx6110"
26 - reg: chip select number
27 - spi-cs-high: RX6110 needs chipselect high
28 - spi-cpha: RX6110 works with SPI shifted clock phase
29 - spi-cpol: RX6110 works with SPI inverse clock polarity
30
31 Example:
32
33 rtc: rtc@3 {
34 compatible = "epson,rx6110"
35 reg = <3>
36 spi-cs-high;
37 spi-cpha;
38 spi-cpol;
39 };
40

3. 한국어 전문 번역

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

Epson RX6110 bus 선택

1-5

Epson RX6110은 SPI 또는 I2C bus에서 사용할 수 있습니다. 사용할 bus 종류는 `SPISEL` pin으로 결정되며 소프트웨어로 구성할 수 없습니다.

I2C 모드

6-12

I2C 모드에서 `compatible`은 `epson,rx6110`이고 `reg`는 장치의 I2C 주소입니다.

I2C 예제

13-20

예제는 I2C 주소 `0x32`에 RX6110을 배치합니다.

rtc: rtc@32 {
        compatible = "epson,rx6110"
        reg = <0x32>;
};

SPI 모드

21-29

SPI 모드에서도 `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;
};