요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/samsung,spi-peripheral-props.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Peripheral-specific properties for Samsung S3C/S5P/Exynos SoC SPI controller
maintainers:
- Krzysztof Kozlowski <[email protected]>
description:
See spi-peripheral-props.yaml for more info.
properties:
controller-data:
type: object
additionalProperties: false
properties:
samsung,spi-feedback-delay:
description: |
The sampling phase shift to be applied on the miso line (to account
for any lag in the miso line). Valid values:
- 0: No phase shift.
- 1: 90 degree phase shift sampling.
- 2: 180 degree phase shift sampling.
- 3: 270 degree phase shift sampling.
$ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1, 2, 3]
default: 0
additionalProperties: true
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Samsung SPI peripheral 속성 schema
1-14이 GPL-2.0 또는 BSD-2-Clause YAML schema는 Samsung S3C/S5P/Exynos SoC SPI controller에 연결되는 peripheral 전용 속성을 정의합니다. Schema ID는 `http://devicetree.org/schemas/spi/samsung,spi-peripheral-props.yaml#`, maintainer는 Krzysztof Kozlowski입니다.
공통 peripheral 속성에 관한 자세한 내용은 `spi-peripheral-props.yaml`을 참조합니다.
MISO sampling phase shift
15-32`controller-data`는 추가 속성을 허용하지 않는 object입니다. 그 안의 `samsung,spi-feedback-delay`는 MISO line의 지연을 보상하기 위해 적용할 sampling phase shift를 지정하는 `uint32`입니다.
허용 값 0은 phase shift 없음, 1은 90도, 2는 180도, 3은 270도 shifted sampling을 뜻합니다. 기본값은 0입니다.
다른 peripheral 속성 허용
33-33최상위 `additionalProperties: true`이므로 이 schema가 정의한 `controller-data` 이외에도 공통 또는 장치별 peripheral 속성을 함께 사용할 수 있습니다.
요약과 해설
samsung,spi-peripheral-props.yaml:1-33Samsung SPI peripheral의 MISO feedback delay와 sampling phase 값을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·phandle·interrupt·clock/DMA·chip-select 순서·수치·조건부 제약·예제 코드를 원형대로 유지합니다.