← Documents Documentation/devicetree/bindings/net/can/grcan.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Gaisler GRCAN and GRHCAN

GRLIB GRCAN/GRHCAN의 AMBA plug&play 속성과 TX bug workaround binding입니다.

Source pathDocumentation/devicetree/bindings/net/can/grcan.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

grcan.txt:1-28

Leon SPARC 환경에서 생성되는 register, bus frequency, interrupt와 systemid 판정을 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Aeroflex Gaisler GRCAN and GRHCAN CAN controllers.
2
3 The GRCAN and CRHCAN CAN controllers are available in the GRLIB VHDL IP core
4 library.
5
6 Note: These properties are built from the AMBA plug&play in a Leon SPARC system
7 (the ordinary environment for GRCAN and GRHCAN). There are no dts files for
8 sparc.
9
10 Required properties:
11
12 - name : Should be "GAISLER_GRCAN", "01_03d", "GAISLER_GRHCAN" or "01_034"
13
14 - reg : Address and length of the register set for the device
15
16 - freq : Frequency of the external oscillator clock in Hz (the frequency of
17 the amba bus in the ordinary case)
18
19 - interrupts : Interrupt number for this device
20
21 Optional properties:
22
23 - systemid : If not present or if the value of the least significant 16 bits
24 of this 32-bit property is smaller than GRCAN_TXBUG_SAFE_GRLIB_VERSION
25 a bug workaround is activated.
26
27 For further information look in the documentation for the GLIB IP core library:
28 http://www.gaisler.com/products/grlib/grip.pdf
29

3. 한국어 전문 번역

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

Aeroflex Gaisler GRCAN과 GRHCAN

1-9

GRCAN과 GRHCAN CAN controller는 GRLIB VHDL IP core library에서 제공됩니다.

이 속성들은 GRCAN과 GRHCAN의 일반 환경인 Leon SPARC 시스템에서 AMBA plug&play 정보로 만들어집니다. SPARC용 DTS 파일은 없습니다.

필수 속성

10-20

`name`은 `GAISLER_GRCAN`, `01_03d`, `GAISLER_GRHCAN`, `01_034` 중 하나여야 합니다.

`reg`는 장치 register set의 주소와 길이, `freq`는 외부 oscillator의 Hz 주파수이며 일반적인 경우 AMBA bus frequency입니다. `interrupts`는 이 장치의 interrupt number입니다.

systemid와 TX 버그 우회

21-28

선택 `systemid`가 없거나 이 32-bit 속성의 하위 16-bit 값이 `GRCAN_TXBUG_SAFE_GRLIB_VERSION`보다 작으면 버그 workaround를 활성화합니다.

자세한 내용은 GRLIB IP core library 문서 `http://www.gaisler.com/products/grlib/grip.pdf`를 참조하십시오.

GRCAN TX workaround 판정
systemid 없음TX bug workaround 활성
systemid low16 < safe versionTX bug workaround 활성
systemid low16 >= safe version정상 경로

systemid의 존재와 하위 16-bit version으로 workaround 활성화를 결정합니다.