요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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·표·수치·조건부 제약·예제 코드를 원형대로 유지합니다.