Documentation/devicetree/bindings/rtc/dallas,ds1390.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / RTC

Dallas DS1390 RTC

DS1390 SPI 주소와 trickle charger 설정을 설명합니다.

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

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

dallas,ds1390.txt:1-18

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

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 * Dallas DS1390 SPI Serial Real-Time Clock
2
3 Required properties:
4 - compatible: Should contain "dallas,ds1390".
5 - reg: SPI address for chip
6
7 Optional properties:
8 - trickle-resistor-ohms : Selected resistor for trickle charger
9 Values usable for ds1390 are 250, 2000, 4000
10 Should be given if trickle charger should be enabled
11 - trickle-diode-disable : Do not use internal trickle charger diode
12 Should be given if internal trickle charger diode should be disabled
13 Example:
14 ds1390: rtc@0 {
15 compatible = "dallas,ds1390";
16 trickle-resistor-ohms = <250>;
17 reg = <0>;
18 };
19

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Dallas DS1390 필수 속성

1-5

Dallas DS1390은 SPI serial real-time clock입니다. `compatible`은 `dallas,ds1390`이고 `reg`는 칩의 SPI 주소입니다.

trickle charger 선택 속성

6-12

trickle charger를 활성화하려면 `trickle-resistor-ohms`에 DS1390이 지원하는 250, 2000, 4000Ω 가운데 선택한 저항값을 지정합니다.

내부 trickle charger diode를 사용하지 않으려면 `trickle-diode-disable`을 지정합니다.

DS1390 예제

13-18

예제는 chip select 0에 연결된 DS1390에서 250Ω trickle resistor를 활성화합니다.

ds1390: rtc@0 {
        compatible = "dallas,ds1390";
        trickle-resistor-ohms = <250>;
        reg = <0>;
};