요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
* MCR20A IEEE 802.15.4 *
3
Required properties:
4
- compatible: should be "nxp,mcr20a"
5
- spi-max-frequency: maximal bus speed, should be set to a frequency
6
lower than 9000000 depends sync or async operation mode
7
- reg: the chipselect index
8
- interrupts: the interrupt generated by the device. Non high-level
9
can occur deadlocks while handling isr.
11
Optional properties:
12
- rst_b-gpio: GPIO spec for the RST_B pin
14
Example:
16
mcr20a@0 {
17
compatible = "nxp,mcr20a";
18
spi-max-frequency = <9000000>;
19
reg = <0>;
20
interrupts = <17 2>;
21
interrupt-parent = <&gpio>;
22
rst_b-gpio = <&gpio 27 1>
23
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
MCR20A IEEE 802.15.4 속성
1-13`compatible`은 `nxp,mcr20a`입니다. `spi-max-frequency`는 sync/async mode에 따라 9000000보다 낮아야 하고 `reg`는 chip select index입니다.
`interrupts`는 장치가 생성하는 interrupt입니다. High-level이 아닌 방식은 ISR 처리 중 deadlock을 일으킬 수 있습니다. 선택 `rst_b-gpio`는 RST_B pin의 GPIO specifier입니다.
MCR20A 예제
14-23예제는 chip select 0, 9MHz SPI, GPIO controller의 interrupt 17과 GPIO 27의 RST_B를 지정합니다.
mcr20a@0 {
compatible = "nxp,mcr20a";
spi-max-frequency = <9000000>;
reg = <0>;
interrupts = <17 2>;
interrupt-parent = <&gpio>;
rst_b-gpio = <&gpio 27 1>
};
요약과 해설
mcr20a.txt:1-23ISR deadlock을 피하기 위한 interrupt level 요구를 강조합니다.