← Documents Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / SPI

Qualcomm Atheros AR934x SPI controller

AR934x/QCA95xx SPI controller의 register와 AHB clock을 설명합니다.

Source pathDocumentation/devicetree/bindings/spi/qca,ar934x-spi.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

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

요약과 해설

qca,ar934x-spi.yaml:1-43

AR934x/QCA95xx SPI controller의 register와 AHB clock을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·clock/DMA 순서·수치·예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Atheros AR934x/QCA95xx SoC SPI controller
8
9 maintainers:
10 - Chuanhong Guo <gch981213@gmail.com>
11
12 allOf:
13 - $ref: spi-controller.yaml#
14
15 properties:
16 compatible:
17 const: qca,ar934x-spi
18
19 reg:
20 maxItems: 1
21
22 clocks:
23 maxItems: 1
24
25 required:
26 - compatible
27 - reg
28 - clocks
29 - '#address-cells'
30 - '#size-cells'
31
32 unevaluatedProperties: false
33
34 examples:
35 - |
36 #include <dt-bindings/clock/ath79-clk.h>
37 spi: spi@1f000000 {
38 compatible = "qca,ar934x-spi";
39 reg = <0x1f000000 0x1c>;
40 clocks = <&pll ATH79_CLK_AHB>;
41 #address-cells = <1>;
42 #size-cells = <0>;
43 };
44

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Qualcomm Atheros AR934x SPI schema

1-14

이 GPL-2.0 YAML schema는 Qualcomm Atheros AR934x/QCA95xx SoC SPI controller를 정의합니다. Schema ID는 `http://devicetree.org/schemas/spi/qca,ar934x-spi.yaml#`, maintainer는 Chuanhong Guo입니다.

`spi-controller.yaml#`의 공통 SPI controller 속성을 상속합니다.

Compatible, resource와 필수 bus cell

15-33

`compatible`은 `qca,ar934x-spi`이고 `reg`와 `clocks`는 각각 최대 한 항목입니다.

필수 속성은 `compatible`, `reg`, `clocks`, `#address-cells`, `#size-cells`입니다. `unevaluatedProperties: false`로 평가되지 않은 추가 속성을 금지합니다.

AR934x SPI 예제

34-43

예제는 address `0x1f000000`, register 길이 `0x1c`와 `ATH79_CLK_AHB` clock을 사용하는 controller를 선언합니다.

#include <dt-bindings/clock/ath79-clk.h>
spi: spi@1f000000 {
    compatible = "qca,ar934x-spi";
    reg = <0x1f000000 0x1c>;
    clocks = <&pll ATH79_CLK_AHB>;
    #address-cells = <1>;
    #size-cells = <0>;
};