← Documents Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Motorola CPCAP Power Button

CPCAP ON IRQ를 power-button event로 제공하는 바인딩입니다.

Source pathDocumentation/devicetree/bindings/input/cpcap-pwrbutton.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

cpcap-pwrbutton.txt:1-20

CPCAP child node와 ON interrupt를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Motorola CPCAP on key
2
3 This module is part of the CPCAP. For more details about the whole
4 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
5
6 This module provides a simple power button event via an Interrupt.
7
8 Required properties:
9 - compatible: should be one of the following
10 - "motorola,cpcap-pwrbutton"
11 - interrupts: irq specifier for CPCAP's ON IRQ
12
13 Example:
14
15 &cpcap {
16 cpcap_pwrbutton: pwrbutton {
17 compatible = "motorola,cpcap-pwrbutton";
18 interrupts = <23 IRQ_TYPE_NONE>;
19 };
20 };
21

3. 한국어 전문 번역

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

CPCAP ON key 속성

1-13

이 module은 Motorola CPCAP chip의 일부이며 전체 chip은 `Documentation/devicetree/bindings/mfd/motorola-cpcap.txt`를 참조합니다. CPCAP ON interrupt를 통해 단순 power-button event를 제공합니다. 필수 `compatible`은 `motorola,cpcap-pwrbutton`, `interrupts`는 CPCAP ON IRQ specifier입니다.

CPCAP power button
Physical ON keyCPCAP ON IRQ
CPCAP child nodepwrbutton driver
Input subsystemPower-button event

CPCAP ON signal이 Linux power-button event가 되는 흐름입니다.

CPCAP IRQ 23 예제

14-20

예제는 CPCAP parent 아래에 power-button child를 두고 IRQ 23을 `IRQ_TYPE_NONE`으로 지정합니다.

&cpcap {
        cpcap_pwrbutton: pwrbutton {
                compatible = "motorola,cpcap-pwrbutton";
                interrupts = <23 IRQ_TYPE_NONE>;
        };
};