← Documents Documentation/devicetree/bindings/spi/st,ssc-spi.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / SPI

STMicroelectronics SSC SPI

STi SSC SPI controller의 register·clock·interrupt 요구사항을 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

st,ssc-spi.yaml:1-61

STi SSC SPI controller의 register·clock·interrupt 요구사항을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·수치·예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/spi/st,ssc-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: STMicroelectronics SSC SPI Controller
8
9 description: |
10 The STMicroelectronics SSC SPI controller can be found on STi platforms
11 and it used to communicate with external devices using the
12 Serial Peripheral Interface.
13
14 maintainers:
15 - Patrice Chotard <[email protected]>
16
17 allOf:
18 - $ref: spi-controller.yaml#
19
20 properties:
21 compatible:
22 const: st,comms-ssc4-spi
23
24 reg:
25 maxItems: 1
26
27 clocks:
28 maxItems: 1
29
30 clock-names:
31 const: ssc
32
33 interrupts:
34 maxItems: 1
35
36 required:
37 - compatible
38 - reg
39 - clocks
40 - clock-names
41 - interrupts
42
43 unevaluatedProperties: false
44
45 examples:
46 - |
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 #include <dt-bindings/clock/stih407-clks.h>
49 spi@9840000 {
50 compatible = "st,comms-ssc4-spi";
51 reg = <0x9840000 0x110>;
52 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
53 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
54 clock-names = "ssc";
55 pinctrl-0 = <&pinctrl_spi0_default>;
56 pinctrl-names = "default";
57 #address-cells = <1>;
58 #size-cells = <0>;
59 };
60
61 ...
62

3. 한국어 전문 번역

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

STMicroelectronics SSC SPI controller

1-19

이 GPL-2.0-only 또는 BSD-2-Clause YAML schema는 STi platform에 탑재되어 Serial Peripheral Interface로 external device와 통신하는 STMicroelectronics SSC SPI controller를 정의합니다. Maintainer는 Patrice Chotard이며 공통 `spi-controller.yaml#`을 상속합니다.

Compatible과 SSC clock

20-35

`compatible`은 `st,comms-ssc4-spi`로 고정됩니다. `reg`, `clocks`, `interrupts`는 각각 최대 한 항목이고 `clock-names`는 `ssc`입니다.

필수 속성과 추가 속성 제한

36-44

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

STi SSC SPI 예제

45-61

예제의 `spi@9840000`은 `st,comms-ssc4-spi`, GIC SPI 112, `CLK_EXT2F_A9` clock과 이름 `ssc`, 기본 `pinctrl_spi0_default` state를 사용합니다.

    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/clock/stih407-clks.h>
    spi@9840000 {
      compatible = "st,comms-ssc4-spi";
      reg = <0x9840000 0x110>;
      interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
      clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
      clock-names = "ssc";
      pinctrl-0 = <&pinctrl_spi0_default>;
      pinctrl-names = "default";
      #address-cells = <1>;
      #size-cells = <0>;
    };

...