요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller
Required properties:
- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
- reg: Base address and size of the controllers memory area
- clocks: phandle of the AHB clock.
- clock-names: has to be "ahb".
- #address-cells: <1>, as required by generic SPI binding.
- #size-cells: <0>, also as required by generic SPI binding.
Child nodes as per the generic SPI binding.
Example:
spi@1f000000 {
compatible = "qca,ar9132-spi", "qca,ar7100-spi";
reg = <0x1f000000 0x10>;
clocks = <&pll 2>;
clock-names = "ahb";
#address-cells = <1>;
#size-cells = <0>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Qualcomm Atheros AR7xxx/AR9xxx SPI 요구사항
1-12이 binding은 Qualcomm Atheros AR7xxx/AR9xxx SPI controller를 설명합니다. `compatible`은 SoC별 `qca,<soc-type>-spi` 뒤에 fallback `qca,ar7100-spi`를 둡니다.
`reg`는 controller memory 영역의 base address와 size이고 `clocks`는 AHB clock phandle입니다. `clock-names`는 `ahb`여야 합니다. Generic SPI binding에 따라 `#address-cells`는 1, `#size-cells`는 0입니다. Child node도 generic SPI binding을 따릅니다.
AR9132 SPI 예제
13-24예제의 `spi@1f000000`은 `qca,ar9132-spi`와 fallback `qca,ar7100-spi`, register `<0x1f000000 0x10>`, PLL AHB clock 2를 사용합니다.
spi@1f000000 {
compatible = "qca,ar9132-spi", "qca,ar7100-spi";
reg = <0x1f000000 0x10>;
clocks = <&pll 2>;
clock-names = "ahb";
#address-cells = <1>;
#size-cells = <0>;
};
요약과 해설
spi-ath79.txt:1-24AR7xxx/AR9xxx SPI의 fallback compatible, AHB clock과 controller 예제를 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·표·수치·조건부 제약·예제 코드를 원형대로 유지합니다.