요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/ti,twl6030-usb.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Texas Instruments TWL6030 USB Comparator
maintainers:
- Peter Ujfalusi <[email protected]>
description:
Bindings for the USB comparator module found within the TWL6030
family of companion chips.
properties:
compatible:
const: ti,twl6030-usb
interrupts:
items:
- description: OTG for ID events in host mode
- description: USB device mode for VBUS events
usb-supply:
description:
Phandle to the VUSB regulator. For TWL6030, this should be the 'vusb'
regulator. For TWL6032 subclass, it should be the 'ldousb' regulator.
required:
- compatible
- interrupts
- usb-supply
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
usb {
compatible = "ti,twl6030-usb";
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>, <10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
usb-supply = <®_vusb>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
TWL6030 USB comparator
1-15GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 TWL6030 companion chip 계열에 포함된 USB comparator module을 정의합니다. 관리자는 Peter Ujfalusi입니다.
host·device interrupt와 VUSB regulator
16-29compatible은 `ti,twl6030-usb`입니다. 첫 interrupt는 host mode의 ID event용 OTG interrupt이고, 둘째는 USB device mode의 VBUS event용 interrupt입니다.
`usb-supply`는 VUSB regulator phandle입니다. TWL6030에서는 `vusb` regulator를, TWL6032 subclass에서는 `ldousb` regulator를 지정해야 합니다.
properties:
compatible:
const: ti,twl6030-usb
interrupts:
items:
- description: OTG for ID events in host mode
- description: USB device mode for VBUS events
usb-supply:
description:
Phandle to the VUSB regulator. For TWL6030, this should be the 'vusb'
regulator. For TWL6032 subclass, it should be the 'ldousb' regulator.
필수 속성과 확장 제한
30-36compatible, interrupts와 `usb-supply`가 필수이며 추가 속성은 허용하지 않습니다.
required:
- compatible
- interrupts
- usb-supply
additionalProperties: false
TWL6030 comparator 예제
37-48예제 `usb` node는 high-level interrupt 4와 10을 GIC에 연결하고 `reg_vusb` regulator를 USB supply로 사용합니다.
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
usb {
compatible = "ti,twl6030-usb";
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>, <10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
usb-supply = <®_vusb>;
};
요약과 해설
ti,twl6030-usb.yaml:1-48TWL6030 comparator의 host·device interrupt와 VUSB regulator를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, compatible, register, interrupt, regulator, USB ID, graph 구조, source path와 원문 줄 좌표를 원형대로 보존합니다.