Documentation/ABI/testing/sysfs-driver-aspeed-uart-routing GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

ASPEED UART routing sysfs ABI

ASPEED UART와 physical IO serial port의 RX source를 available-option list와 bracket-marked current selection으로 제어하는 interface를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-driver-aspeed-uart-routing
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

UART and IO receive-source routing

sysfs-driver-aspeed-uart-routing:1-27

uart*와 io* file은 각각 UART device와 IO serial port의 RX source를 선택하며 read output에서 현재 route를 대괄호로 표시합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/uart\*
2 Date: September 2021
3 Contact: Oskar Senft <[email protected]>
4 Chia-Wei Wang <[email protected]>
5 Description: Selects the RX source of the UARTx device.
6
7 When read, each file shows the list of available options with currently
8 selected option marked by brackets "[]". The list of available options
9 depends on the selected file.
10
11 e.g.
12 cat /sys/bus/platform/drivers/aspeed-uart-routing/\*.uart_routing/uart1
13 [io1] io2 io3 io4 uart2 uart3 uart4 io6
14
15 In this case, UART1 gets its input from IO1 (physical serial port 1).
16
17 Users: OpenBMC. Proposed changes should be mailed to
19
20 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/io\*
21 Date: September 2021
22 Contact: Oskar Senft <[email protected]>
23 Chia-Wei Wang <[email protected]>
24 Description: Selects the RX source of IOx serial port. The current selection
25 will be marked by brackets "[]".
26 Users: OpenBMC. Proposed changes should be mailed to
28

3. 한국어 전문 번역

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

UART receive-source selection

1-19
항목한국어 전문 번역
What/sys/bus/platform/drivers/aspeed-uart-routing/\*/uart\*
Date2021년 9월
ContactOskar Senft <[email protected]>; Chia-Wei Wang <[email protected]>
DescriptionUARTx device의 RX source를 선택합니다. 각 file을 read하면 available option list가 표시되고 current selection에는 대괄호 "[]"가 붙습니다. Available option list는 선택한 file에 따라 달라집니다. 아래 예에서는 UART1이 IO1, 즉 physical serial port 1에서 input을 받습니다.
UsersOpenBMC. Proposed change는 [email protected]로 보내야 합니다.
cat /sys/bus/platform/drivers/aspeed-uart-routing/\*.uart_routing/uart1
[io1] io2 io3 io4 uart2 uart3 uart4 io6
UART1 receive routing example
Read uart1 routing file[io1] is selectedIO1 is physical serial port 1UART1 receives input from IO1

Bracketed option이 current source입니다.

Physical serial-port receive-source selection

20-27
항목한국어 전문 번역
What/sys/bus/platform/drivers/aspeed-uart-routing/\*/io\*
Date2021년 9월
ContactOskar Senft <[email protected]>; Chia-Wei Wang <[email protected]>
DescriptionIOx serial port의 RX source를 선택합니다. Current selection에는 대괄호 "[]"가 붙습니다.
UsersOpenBMC. Proposed change는 [email protected]로 보내야 합니다.