Documentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

I2C demux pinctrl sysfs ABI

Demultiplexed I2C bus에서 선택 가능한 master 목록을 index:name으로 표시하고 active master를 index로 전환합니다.

Source pathDocumentation/ABI/testing/sysfs-platform-i2c-demux-pinctrl
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Master inventory와 active selection

sysfs-platform-i2c-demux-pinctrl:1-18

Human-readable controller path에 stable numeric index를 붙여 목록을 제공하고 같은 index로 pinctrl route를 전환합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/devices/platform/<i2c-demux-name>/available_masters
2 Date: January 2016
3 KernelVersion: 4.6
4 Contact: Wolfram Sang <[email protected]>
5 Description:
6 Reading the file will give you a list of masters which can be
7 selected for a demultiplexed bus. The format is
8 "<index>:<name>". Example from a Renesas Lager board::
9
10 0:/i2c@e6500000 1:/i2c@e6508000
11
12 What: /sys/devices/platform/<i2c-demux-name>/current_master
13 Date: January 2016
14 KernelVersion: 4.6
15 Contact: Wolfram Sang <[email protected]>
16 Description:
17 This file selects/shows the active I2C master for a demultiplexed
18 bus. It uses the <index> value from the file 'available_masters'.
19

3. 한국어 전문 번역

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

I2C demux pinctrl sysfs ABI: available masters

1-11
항목한국어 전문 번역
What/sys/devices/platform/<i2c-demux-name>/available_masters
Date2016년 1월
KernelVersion4.6
ContactWolfram Sang <[email protected]>
Description`/sys/devices/platform/<i2c-demux-name>/available_masters`를 read하면 demultiplexed bus에서 선택할 수 있는 masters list가 반환됩니다. Format은 `"<index>:<name>"`입니다. Renesas Lager board의 예는 `0:/i2c@e6500000 1:/i2c@e6508000`입니다.
I2C demux master mapping
IndexMaster nameSelect with
0/i2c@e6500000current_master = 0
1/i2c@e6508000current_master = 1

available_masters의 index가 current_master write value가 됩니다.

0:/i2c@e6500000 1:/i2c@e6508000

I2C demux pinctrl sysfs ABI: current master

12-18
항목한국어 전문 번역
What/sys/devices/platform/<i2c-demux-name>/current_master
Date2016년 1월
KernelVersion4.6
ContactWolfram Sang <[email protected]>
Description`/sys/devices/platform/<i2c-demux-name>/current_master`는 demultiplexed bus의 active I2C master를 선택하거나 표시합니다. `available_masters` file의 `<index>` value를 사용합니다.