요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
OpenCores tiny SPI
3
Required properties:
4
- compatible : should be "opencores,tiny-spi-rtlsvn2".
5
- gpios : should specify GPIOs used for chipselect.
6
Optional properties:
7
- clock-frequency : input clock frequency to the core.
8
- baud-width: width, in bits, of the programmable divider used to scale
9
the input clock to SCLK.
11
The clock-frequency and baud-width properties are needed only if the divider
12
is programmable. They are not needed if the divider is fixed.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
OpenCores tiny SPI 필수 속성
1-5이 문서는 OpenCores tiny SPI binding을 설명합니다. 필수 `compatible`은 `opencores,tiny-spi-rtlsvn2`이고 `gpios`는 chip-select에 사용할 GPIO들을 지정해야 합니다.
Programmable divider 속성
6-9선택 속성 `clock-frequency`는 core의 input clock frequency입니다. `baud-width`는 input clock을 SCLK로 scale하는 programmable divider의 bit width입니다.
고정 divider와 속성 생략
10-12`clock-frequency`와 `baud-width`는 divider가 programmable일 때만 필요합니다. Divider가 fixed이면 두 속성은 필요하지 않습니다.
요약과 해설
spi_oc_tiny.txt:1-12OpenCores tiny SPI의 GPIO chip-select와 programmable divider 속성을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·표·수치·조건부 제약·예제 코드를 원형대로 유지합니다.