요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Bus clocks and controller address
sysfs-bus-i3c:25-44I3C SDR와 I2C mode의 SCL frequency를 Hz로 노출하고, re-initialization 때 바뀔 수 있는 master controller dynamic address를 제공합니다.
Controller characteristics
sysfs-bus-i3c:46-89Bus를 구동하는 master controller의 BCR, DCR, Provisioned ID와 hdr-ddr·hdr-tsp·hdr-tsl capabilities를 노출합니다.
Hot-Join control
sysfs-bus-i3c:91-104hotjoin은 새 Target이 Dynamic Address를 받을 준비가 되었음을 Active Controller에 알리는 Hot-Join을 current controller에서 enable하거나 disable합니다.
I3C device objects and characteristics
sysfs-bus-i3c:106-156각 device object는 master를 포함한 bus의 모든 I3C device를 나타내며 device별 dynamic address, BCR, DCR, PID와 HDR capabilities를 제공합니다.
Top-level device symbolic links
sysfs-bus-i3c:158-163Top-level <bus-id>-<device-pid> directories는 bus directory 아래의 corresponding device object를 가리키는 symbolic links입니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/i3c/devices/i3c-<bus-id>
KernelVersion: 5.0
Contact: [email protected]
Description:
An I3C bus. This directory will contain one sub-directory per
I3C device present on the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master
KernelVersion: 5.0
Contact: [email protected]
Description:
Expose the master that owns the bus (<bus-id>-<master-pid>) at
the time this file is read. Note that bus ownership can change
overtime, so there's no guarantee that when the read() call
returns, the value returned is still valid.
What: /sys/bus/i3c/devices/i3c-<bus-id>/mode
KernelVersion: 5.0
Contact: [email protected]
Description:
I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See
the I3C specification for a detailed description of what each
of these modes implies.
What: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency
KernelVersion: 5.0
Contact: [email protected]
Description:
The frequency (expressed in Hz) of the SCL signal when
operating in I3C SDR mode.
What: /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency
KernelVersion: 5.0
Contact: [email protected]
Description:
The frequency (expressed in Hz) of the SCL signal when
operating in I2C mode.
What: /sys/bus/i3c/devices/i3c-<bus-id>/dynamic_address
KernelVersion: 5.0
Contact: [email protected]
Description:
Dynamic address assigned to the master controller. This
address may change if the bus is re-initialized.
What: /sys/bus/i3c/devices/i3c-<bus-id>/bcr
KernelVersion: 5.0
Contact: [email protected]
Description:
BCR stands for Bus Characteristics Register and express the
device capabilities in term of speed, maximum read/write
length, etc. See the I3C specification for more details.
This entry describes the BCR of the master controller driving
the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/dcr
KernelVersion: 5.0
Contact: [email protected]
Description:
DCR stands for Device Characteristics Register and express the
device capabilities in term of exposed features. See the I3C
specification for more details.
This entry describes the DCR of the master controller driving
the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/pid
KernelVersion: 5.0
Contact: [email protected]
Description:
PID stands for Provisioned ID and is used to uniquely identify
a device on a bus. This PID contains information about the
vendor, the part and an instance ID so that several devices of
the same type can be connected on the same bus.
See the I3C specification for more details.
This entry describes the PID of the master controller driving
the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/hdrcap
KernelVersion: 5.0
Contact: [email protected]
Description:
Expose the HDR (High Data Rate) capabilities of a device.
Returns a list of supported HDR mode, each element is separated
by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl".
See the I3C specification for more details about these HDR
modes.
This entry describes the HDRCAP of the master controller
driving the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/hotjoin
KernelVersion: 6.8
Contact: [email protected]
Description:
I3C’s Hot-Join mechanism allows an I3C Device to inform the
Active Controller that a newly-joined Target is present on the
I3C Bus and is ready to receive a Dynamic Address, in order to
become fully functional on the Bus. Hot-Join is used when the
Target is mounted on the same I3C bus and remains depowered
until needed or until the Target is physically inserted into the
I3C bus
This entry allows to enable or disable Hot-join of the Current
Controller driving the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>
KernelVersion: 5.0
Contact: [email protected]
Description:
An I3C device present on I3C bus identified by <bus-id>. Note
that all devices are represented including the master driving
the bus.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address
KernelVersion: 5.0
Contact: [email protected]
Description:
Dynamic address assigned to device <bus-id>-<device-pid>. This
address may change if the bus is re-initialized.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr
KernelVersion: 5.0
Contact: [email protected]
Description:
BCR stands for Bus Characteristics Register and express the
device capabilities in term of speed, maximum read/write
length, etc. See the I3C specification for more details.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr
KernelVersion: 5.0
Contact: [email protected]
Description:
DCR stands for Device Characteristics Register and express the
device capabilities in term of exposed features. See the I3C
specification for more details.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid
KernelVersion: 5.0
Contact: [email protected]
Description:
PID stands for Provisioned ID and is used to uniquely identify
a device on a bus. This PID contains information about the
vendor, the part and an instance ID so that several devices of
the same type can be connected on the same bus.
See the I3C specification for more details.
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap
KernelVersion: 5.0
Contact: [email protected]
Description:
Expose the HDR (High Data Rate) capabilities of a device.
Returns a list of supported HDR mode, each element is separated
by space. Modes can be "hdr-ddr", "hdr-tsp" and "hdr-tsl".
See the I3C specification for more details about these HDR
modes.
What: /sys/bus/i3c/devices/<bus-id>-<device-pid>
KernelVersion: 5.0
Contact: [email protected]
Description:
These directories are just symbolic links to
/sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
I3C bus identity and mode
1-23다음 세 record의 KernelVersion은 5.0, Contact는 [email protected]입니다.
| What | 전문 번역 |
|---|---|
| /sys/bus/i3c/devices/i3c-<bus-id> | I3C bus입니다. 이 directory는 bus에 존재하는 I3C device마다 하나의 sub-directory를 포함합니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/current_master | 이 file을 읽는 시점에 bus를 소유한 master(<bus-id>-<master-pid>)를 노출합니다. Bus ownership은 시간에 따라 바뀔 수 있으므로 read() call이 반환될 때도 반환 값이 여전히 유효하다는 보장은 없습니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/mode | I3C bus mode입니다. 'pure', 'mixed-fast' 또는 'mixed-slow'일 수 있습니다. 각 mode의 자세한 의미는 I3C specification을 참조하십시오. |
Bus clocks and controller address
25-44다음 세 record의 KernelVersion은 5.0, Contact는 [email protected]입니다.
| What | 전문 번역 |
|---|---|
| /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency | I3C SDR mode로 동작할 때 SCL signal의 frequency를 Hz 단위로 나타냅니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency | I2C mode로 동작할 때 SCL signal의 frequency를 Hz 단위로 나타냅니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/dynamic_address | Master controller에 할당된 dynamic address입니다. Bus가 re-initialize되면 이 address가 바뀔 수 있습니다. |
Controller characteristics
46-89다음 네 record의 KernelVersion은 5.0, Contact는 [email protected]입니다.
| What | 전문 번역 |
|---|---|
| /sys/bus/i3c/devices/i3c-<bus-id>/bcr | BCR은 Bus Characteristics Register의 약자이며 speed, maximum read/write length 등의 관점에서 device capabilities를 나타냅니다. 자세한 내용은 I3C specification을 참조하십시오. 이 entry는 bus를 구동하는 master controller의 BCR을 설명합니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/dcr | DCR은 Device Characteristics Register의 약자이며 노출하는 features의 관점에서 device capabilities를 나타냅니다. 자세한 내용은 I3C specification을 참조하십시오. 이 entry는 bus를 구동하는 master controller의 DCR을 설명합니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/pid | PID는 Provisioned ID의 약자이며 bus의 device를 고유하게 식별하는 데 사용합니다. PID는 vendor, part와 instance ID 정보를 포함하므로 같은 type의 여러 devices를 같은 bus에 연결할 수 있습니다. 자세한 내용은 I3C specification을 참조하십시오. 이 entry는 bus를 구동하는 master controller의 PID를 설명합니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/hdrcap | Device의 HDR(High Data Rate) capabilities를 노출합니다. 지원하는 HDR modes를 space로 구분한 목록으로 반환합니다. Modes는 'hdr-ddr', 'hdr-tsp', 'hdr-tsl'일 수 있습니다. 자세한 내용은 I3C specification을 참조하십시오. 이 entry는 bus를 구동하는 master controller의 HDRCAP을 설명합니다. |
Hot-Join control
91-104| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/i3c/devices/i3c-<bus-id>/hotjoin |
| KernelVersion | 6.8 |
| Contact | [email protected] |
| Description | I3C의 Hot-Join mechanism은 새로 합류한 Target이 I3C Bus에 있고 완전히 동작하기 위해 Dynamic Address를 받을 준비가 되었음을 I3C Device가 Active Controller에 알리도록 합니다. Hot-Join은 Target이 같은 I3C bus에 장착되어 필요할 때까지 power가 꺼져 있거나 Target이 I3C bus에 물리적으로 삽입되는 경우에 사용합니다. 이 entry는 bus를 구동하는 Current Controller의 Hot-Join을 enable하거나 disable하도록 합니다. |
I3C device objects and characteristics
106-156다음 여섯 record의 KernelVersion은 5.0, Contact는 [email protected]입니다.
| What | 전문 번역 |
|---|---|
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid> | <bus-id>로 식별되는 I3C bus에 존재하는 I3C device입니다. Bus를 구동하는 master를 포함한 모든 devices가 표현됩니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address | Device <bus-id>-<device-pid>에 할당된 dynamic address입니다. Bus가 re-initialize되면 이 address가 바뀔 수 있습니다. |
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr | BCR은 Bus Characteristics Register의 약자이며 speed, maximum read/write length 등의 관점에서 device capabilities를 나타냅니다. 자세한 내용은 I3C specification을 참조하십시오. |
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr | DCR은 Device Characteristics Register의 약자이며 노출하는 features의 관점에서 device capabilities를 나타냅니다. 자세한 내용은 I3C specification을 참조하십시오. |
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid | PID는 Provisioned ID의 약자이며 bus의 device를 고유하게 식별하는 데 사용합니다. PID는 vendor, part와 instance ID 정보를 포함하므로 같은 type의 여러 devices를 같은 bus에 연결할 수 있습니다. 자세한 내용은 I3C specification을 참조하십시오. |
| /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap | Device의 HDR(High Data Rate) capabilities를 노출합니다. 지원하는 HDR modes를 space로 구분한 목록으로 반환합니다. Modes는 'hdr-ddr', 'hdr-tsp', 'hdr-tsl'일 수 있습니다. 자세한 내용은 I3C specification을 참조하십시오. |
Top-level device symbolic links
158-163| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/i3c/devices/<bus-id>-<device-pid> |
| KernelVersion | 5.0 |
| Contact | [email protected] |
| Description | 이 directories는 /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>를 가리키는 symbolic links일 뿐입니다. |
I3C bus identity and mode
sysfs-bus-i3c:1-23Bus directory는 연결된 I3C devices를 포함하고, current_master는 read 시점의 owner를 노출하며, mode는 pure·mixed-fast·mixed-slow 가운데 하나입니다.