요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
STMicroelectronics STi family Sysconfig Peripheral SoftReset Controller
=============================================================================
This binding describes a reset controller device that is used to enable and
disable on-chip peripheral controllers such as USB and SATA, using
"softreset" control bits found in the STi family SoC system configuration
registers.
The actual action taken when softreset is asserted is hardware dependent.
However, when asserted it may not be possible to access the hardware's
registers and after an assert/deassert sequence the hardware's previous state
may no longer be valid.
Please refer to reset.txt in this directory for common reset
controller binding usage.
Required properties:
- compatible: Should be "st,stih407-softreset";
- #reset-cells: 1, see below
example:
softreset: softreset-controller {
#reset-cells = <1>;
compatible = "st,stih407-softreset";
};
Specifying softreset control of devices
=======================================
Device nodes should specify the reset channel required in their "resets"
property, containing a phandle to the softreset device node and an
index specifying which channel to use, as described in reset.txt
example:
ethernet0{
resets = <&softreset STIH415_ETH0_SOFTRESET>;
};
Macro definitions for the supported reset channels can be found in:
include/dt-bindings/reset/stih407-resets.h
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
STi Sysconfig peripheral soft reset
1-15이 바인딩은 STi 계열 SoC의 system configuration 레지스터에 있는 `softreset` 제어 비트를 사용해 USB, SATA 같은 온칩 주변장치 컨트롤러를 활성화하거나 비활성화하는 reset controller를 설명합니다.
soft reset을 assert했을 때의 실제 동작은 하드웨어에 따라 다릅니다. assert된 동안 레지스터에 접근하지 못할 수 있고, assert/deassert 순서 뒤에는 하드웨어의 이전 상태가 더 이상 유효하지 않을 수 있습니다. 공통 사용법은 같은 디렉터리의 `reset.txt`를 참조합니다.
필수 속성
16-19`compatible`은 `st,stih407-softreset`이어야 하며 `#reset-cells`는 1입니다.
soft reset provider 예제
20-28예제는 한 셀 reset 지정자를 사용하는 `softreset-controller` 노드를 정의합니다.
softreset: softreset-controller {
#reset-cells = <1>;
compatible = "st,stih407-softreset";
};
장치의 soft reset 제어
29-35장치 노드의 `resets` 속성에는 soft reset 장치 노드의 phandle과 사용할 채널의 인덱스를 지정합니다. 자세한 형식은 `reset.txt`를 따릅니다.
Ethernet 소비자와 매크로
36-44Ethernet 장치는 `STIH415_ETH0_SOFTRESET` 채널을 요청합니다. 지원하는 reset 채널 매크로는 `include/dt-bindings/reset/stih407-resets.h`에 정의되어 있습니다.
ethernet0{
resets = <&softreset STIH415_ETH0_SOFTRESET>;
};
요약과 해설
st,sti-softreset.txt:1-44reset provider와 consumer의 관계 및 지정자 형식을 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.