← Documents 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 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

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

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 <wsa+renesas@sang-engineering.com>
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 <wsa+renesas@sang-engineering.com>
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. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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 <wsa+renesas@sang-engineering.com>
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 <wsa+renesas@sang-engineering.com>
Description`/sys/devices/platform/<i2c-demux-name>/current_master`는 demultiplexed bus의 active I2C master를 선택하거나 표시합니다. `available_masters` file의 `<index>` value를 사용합니다.