最終更新:2022-05-05 (木) 06:12:04 (693d)
DTS
Top / DTS
Device Tree Source
例
usb@12000000 { compatible = "samsung,exynos5250-dwusb3"; clocks = <&clock 286>; clock-names = "usbdrd30"; #address-cells = <1>; #size-cells = <1>; ranges; dwc3 { compatible = "synopsys,dwc3"; reg = <0x12000000 0x10000>; interrupts = <0 72 0>; usb-phy = <&usb2_phy &usb3_phy>; }; };
場所
- arch/arm/boot/dts
- arch/c6x/boot/dts?
- arch/microblaze/boot/dts?
- arch/xtensa/boot/dts?
- arch/x86/boot/dts?
- arch/arc/boot/dts?
- arch/arm64/boot/dts?
- arch/openrisc/boot/dts?
- arch/powerpc/boot/dts?
- arch/mips/boot/dts?
- arch/metag/boot/dts?
フォーマット
ドライバ側での使い方
Getting a reference to the clock
- described by the clocks property
- s->clk = clk_get?(&pdev->dev, NULL);
Getting the I/O registers resource (reg)
- described by the reg property
- r = platform_get_resource(pdev, IORESOURCE_MEM?, 0);
Getting the interrupt (interruputs)
- described by the interrupts property
- s->irq = platform_get_irq(pdev, 0);
- IORESOURCE_IRQ?
Get a DMA channel
- described by the dmas property
- s->rx_dma_chan = dma_request_slave_channel?(s->dev, "rx");
- s->tx_dma_chan = dma_request_slave_channel?(s->dev, "tx");
Check some custom property
- struct device_node? *np = pdev->dev.of_node;
- if (of_get_property(np, "fsl,uart-has-rtscts", NULL))
参考
サラウンド
- DTS, Inc.
- 従来はDigital Theater Systemsという名称であったが、略称が一般化し社名、システム名も現在の「DTS」に変更
DTS
- 標準的には5.1chサラウンド(48kHz/24ビット)
DTS:X
- 従来のチャンネルベース(5.1ch,7.1ch)のミキシング方式と、オブジェクトベースのダイナミックなオーディオミキシングを組み合わせ、最大7.1.4ch可能な精密な音の定位や移動を表現
DTS Virtual:X
- DTS独自のオーディオ処理技術を使用し、ハイトスピーカー(又は天井スピーカー)を接続しなくても、上方からの音声を含めた広々とした3Dサウンドを創出
- フロントスピーカー(2ch)の接続や、5.1ch・7.1chの接続など、どのようなスピーカーレイアウトでも選択することが可能