요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
* Nuvoton NPCM KCS (Keyboard Controller Style) IPMI interface
The Nuvoton SOCs (NPCM) are commonly used as BMCs
(Baseboard Management Controllers) and the KCS interface can be
used to perform in-band IPMI communication with their host.
Required properties:
- compatible : should be one of
"nuvoton,npcm750-kcs-bmc"
"nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc"
- interrupts : interrupt generated by the controller
- kcs_chan : The KCS channel number in the controller
Example:
lpc_kcs: lpc_kcs@f0007000 {
compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
reg = <0xf0007000 0x40>;
reg-io-width = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xf0007000 0x40>;
kcs1: kcs1@0 {
compatible = "nuvoton,npcm750-kcs-bmc";
reg = <0x0 0x40>;
interrupts = <0 9 4>;
kcs_chan = <1>;
status = "disabled";
};
kcs2: kcs2@0 {
compatible = "nuvoton,npcm750-kcs-bmc";
reg = <0x0 0x40>;
interrupts = <0 9 4>;
kcs_chan = <2>;
status = "disabled";
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Nuvoton NPCM KCS IPMI 속성
1-13Nuvoton NPCM SoC는 BMC(Baseboard Management Controller)로 널리 쓰이며 KCS(Keyboard Controller Style) interface를 통해 host와 in-band IPMI 통신을 수행할 수 있습니다.
`compatible`은 `nuvoton,npcm750-kcs-bmc` 또는 NPCM845에서 fallback을 함께 둔 `nuvoton,npcm845-kcs-bmc`, `nuvoton,npcm750-kcs-bmc`입니다. `interrupts`는 controller가 생성하는 interrupt이고 `kcs_chan`은 controller 내부 KCS channel 번호입니다.
공유 LPC KCS register 영역 아래에 channel별 BMC interface를 둡니다.
NPCM750 두 KCS channel 예제
14-40예제의 LPC KCS parent는 `0xf0007000`의 0x40-byte register 영역을 `simple-mfd`와 `syscon`으로 노출하고 1-byte register I/O 폭과 child 주소 범위를 지정합니다. 두 child는 같은 영역과 interrupt `<0 9 4>`를 공유하지만 `kcs_chan`을 각각 1과 2로 구분하며 모두 초기 상태는 disabled입니다.
lpc_kcs: lpc_kcs@f0007000 {
compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
reg = <0xf0007000 0x40>;
reg-io-width = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xf0007000 0x40>;
kcs1: kcs1@0 {
compatible = "nuvoton,npcm750-kcs-bmc";
reg = <0x0 0x40>;
interrupts = <0 9 4>;
kcs_chan = <1>;
status = "disabled";
};
kcs2: kcs2@0 {
compatible = "nuvoton,npcm750-kcs-bmc";
reg = <0x0 0x40>;
interrupts = <0 9 4>;
kcs_chan = <2>;
status = "disabled";
};
};
요약과 해설
npcm7xx-kcs-bmc.txt:1-40공유 register 영역 아래 두 KCS channel 구성을 설명합니다.