요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/power_supply/rt9471-*/sysoff_enable
2
Date: Feb 2023
3
KernelVersion: 6.3
4
Contact: ChiYuan Huang <[email protected]>
5
Description:
6
This entry allows enabling the sysoff mode of rt9471 charger devices.
7
If enabled and the input is removed, the internal battery FET is turned
8
off to reduce the leakage from the BAT pin. See device datasheet for details.
9
It's commonly used when the product enter shipping stage. After entering
10
shipping mode, only 'VBUS' or 'Power key" pressed can make it leave this
11
mode. 'Disable' also can help to leave it, but it's more like to abort
12
the action before the device really enter shipping mode.
14
Access: Read, Write
15
Valid values:
16
- 1: enabled
17
- 0: disabled
19
What: /sys/class/power_supply/rt9471-*/port_detect_enable
20
Date: Feb 2023
21
KernelVersion: 6.3
22
Contact: ChiYuan Huang <[email protected]>
23
Description:
24
This entry allows enabling the USB BC12 port detect function of rt9471 charger
25
devices. If enabled and VBUS is inserted, device will start to do the BC12
26
port detect and report the usb port type when port detect is done. See
27
datasheet for details. Normally controlled when TypeC/USBPD port integrated.
29
Access: Read, Write
30
Valid values:
31
- 1: enabled
32
- 0: disabled
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
RT9471 shipping mode
1-17| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/power_supply/rt9471-*/sysoff_enable |
| Date | 2023년 2월 |
| KernelVersion | 6.3 |
| Contact | ChiYuan Huang <[email protected]> |
| Description | RT9471 charger device의 sysoff mode를 enable할 수 있습니다. Enable한 상태에서 input을 제거하면 internal battery FET를 꺼 BAT pin leakage를 줄입니다. 자세한 내용은 datasheet를 참조하십시오. Product가 shipping stage에 들어갈 때 흔히 사용합니다. Shipping mode 진입 후에는 VBUS 또는 Power key press만 mode를 해제할 수 있습니다. Disable도 해제에 도움이 되지만, 실제 진입 전에 action을 abort하는 것에 더 가깝습니다. |
| Access | Read, Write |
| Valid values | 1: enabled, 0: disabled |
sysoff_enable = 1→Input 제거→Internal battery FET off, BAT leakage 감소→VBUS 연결 또는 Power key로 mode 해제
Shipping mode의 activation과 일반적인 recovery·abort 경로입니다.
RT9471 USB BC1.2 port detection
19-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/power_supply/rt9471-*/port_detect_enable |
| Date | 2023년 2월 |
| KernelVersion | 6.3 |
| Contact | ChiYuan Huang <[email protected]> |
| Description | RT9471 charger device의 USB BC1.2 port detect function을 enable할 수 있습니다. Enable한 상태에서 VBUS가 삽입되면 device가 BC1.2 port detect를 시작하고 완료 후 USB port type을 보고합니다. 자세한 내용은 datasheet를 참조하십시오. 보통 Type-C/USB-PD port가 통합된 경우 제어합니다. |
| Access | Read, Write |
| Valid values | 1: enabled, 0: disabled |
port_detect_enable = 1→VBUS insertion→BC1.2 port detection→USB port type 보고
Enable된 detector가 VBUS insertion을 계기로 port type을 보고합니다.
System-off and BC1.2 detection
sysfs-class-power-rt9471:1-32Battery leakage 저감 shipping mode와 Type-C·USB-PD 통합 환경의 BC1.2 port detect를 제공합니다.