aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-10-07 06:13:53 -0400
committerGrant Likely <grant.likely@linaro.org>2014-10-07 06:13:53 -0400
commit7419eb064e74fba852f1a51842d3e27e248212fa (patch)
treefcf05577b2806d1ef630a89be782f466150ebcb5
parent669a36302641fb8ea34b558dc0e2ce1df6f262be (diff)
parentd22e9131187df5c220d435b02e7bf346202c00a8 (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux into devicetree/next
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt5
-rw-r--r--Documentation/devicetree/booting-without-of.txt53
2 files changed, 58 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index ac7269f90764..114bfe6fee8a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -29,6 +29,7 @@ calxeda Calxeda
29capella Capella Microsystems, Inc 29capella Capella Microsystems, Inc
30cavium Cavium, Inc. 30cavium Cavium, Inc.
31cdns Cadence Design Systems Inc. 31cdns Cadence Design Systems Inc.
32chipidea Chipidea, Inc
32chrp Common Hardware Reference Platform 33chrp Common Hardware Reference Platform
33chunghwa Chunghwa Picture Tubes Ltd. 34chunghwa Chunghwa Picture Tubes Ltd.
34cirrus Cirrus Logic, Inc. 35cirrus Cirrus Logic, Inc.
@@ -43,6 +44,7 @@ dmo Data Modul AG
43ebv EBV Elektronik 44ebv EBV Elektronik
44edt Emerging Display Technologies 45edt Emerging Display Technologies
45emmicro EM Microelectronic 46emmicro EM Microelectronic
47energymicro Silicon Laboratories (formerly Energy Micro AS)
46epcos EPCOS AG 48epcos EPCOS AG
47epfl Ecole Polytechnique Fédérale de Lausanne 49epfl Ecole Polytechnique Fédérale de Lausanne
48epson Seiko Epson Corp. 50epson Seiko Epson Corp.
@@ -56,6 +58,7 @@ globalscale Globalscale Technologies, Inc.
56gmt Global Mixed-mode Technology, Inc. 58gmt Global Mixed-mode Technology, Inc.
57google Google, Inc. 59google Google, Inc.
58gumstix Gumstix, Inc. 60gumstix Gumstix, Inc.
61gw Gateworks Corporation
59haoyu Haoyu Microelectronic Co. Ltd. 62haoyu Haoyu Microelectronic Co. Ltd.
60hisilicon Hisilicon Limited. 63hisilicon Hisilicon Limited.
61honeywell Honeywell 64honeywell Honeywell
@@ -65,6 +68,7 @@ ibm International Business Machines (IBM)
65idt Integrated Device Technologies, Inc. 68idt Integrated Device Technologies, Inc.
66iom Iomega Corporation 69iom Iomega Corporation
67img Imagination Technologies Ltd. 70img Imagination Technologies Ltd.
71innolux Innolux Corporation
68intel Intel Corporation 72intel Intel Corporation
69intercontrol Inter Control Group 73intercontrol Inter Control Group
70isee ISEE 2007 S.L. 74isee ISEE 2007 S.L.
@@ -125,6 +129,7 @@ silabs Silicon Laboratories
125simtek 129simtek
126sii Seiko Instruments, Inc. 130sii Seiko Instruments, Inc.
127sirf SiRF Technology, Inc. 131sirf SiRF Technology, Inc.
132sitronix Sitronix Technology Corporation
128smsc Standard Microsystems Corporation 133smsc Standard Microsystems Corporation
129snps Synopsys, Inc. 134snps Synopsys, Inc.
130solidrun SolidRun 135solidrun SolidRun
diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/booting-without-of.txt
index 1f013bd0d320..77685185cf3b 100644
--- a/Documentation/devicetree/booting-without-of.txt
+++ b/Documentation/devicetree/booting-without-of.txt
@@ -51,6 +51,8 @@ Table of Contents
51 51
52 VIII - Specifying device power management information (sleep property) 52 VIII - Specifying device power management information (sleep property)
53 53
54 IX - Specifying dma bus information
55
54 Appendix A - Sample SOC node for MPC8540 56 Appendix A - Sample SOC node for MPC8540
55 57
56 58
@@ -1332,6 +1334,57 @@ reasonably grouped in this manner, then create a virtual sleep controller
1332(similar to an interrupt nexus, except that defining a standardized 1334(similar to an interrupt nexus, except that defining a standardized
1333sleep-map should wait until its necessity is demonstrated). 1335sleep-map should wait until its necessity is demonstrated).
1334 1336
1337IX - Specifying dma bus information
1338
1339Some devices may have DMA memory range shifted relatively to the beginning of
1340RAM, or even placed outside of kernel RAM. For example, the Keystone 2 SoC
1341worked in LPAE mode with 4G memory has:
1342- RAM range: [0x8 0000 0000, 0x8 FFFF FFFF]
1343- DMA range: [ 0x8000 0000, 0xFFFF FFFF]
1344and DMA range is aliased into first 2G of RAM in HW.
1345
1346In such cases, DMA addresses translation should be performed between CPU phys
1347and DMA addresses. The "dma-ranges" property is intended to be used
1348for describing the configuration of such system in DT.
1349
1350In addition, each DMA master device on the DMA bus may or may not support
1351coherent DMA operations. The "dma-coherent" property is intended to be used
1352for identifying devices supported coherent DMA operations in DT.
1353
1354* DMA Bus master
1355Optional property:
1356- dma-ranges: <prop-encoded-array> encoded as arbitrary number of triplets of
1357 (child-bus-address, parent-bus-address, length). Each triplet specified
1358 describes a contiguous DMA address range.
1359 The dma-ranges property is used to describe the direct memory access (DMA)
1360 structure of a memory-mapped bus whose device tree parent can be accessed
1361 from DMA operations originating from the bus. It provides a means of
1362 defining a mapping or translation between the physical address space of
1363 the bus and the physical address space of the parent of the bus.
1364 (for more information see ePAPR specification)
1365
1366* DMA Bus child
1367Optional property:
1368- dma-ranges: <empty> value. if present - It means that DMA addresses
1369 translation has to be enabled for this device.
1370- dma-coherent: Present if dma operations are coherent
1371
1372Example:
1373soc {
1374 compatible = "ti,keystone","simple-bus";
1375 ranges = <0x0 0x0 0x0 0xc0000000>;
1376 dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
1377
1378 [...]
1379
1380 usb: usb@2680000 {
1381 compatible = "ti,keystone-dwc3";
1382
1383 [...]
1384 dma-coherent;
1385 };
1386};
1387
1335Appendix A - Sample SOC node for MPC8540 1388Appendix A - Sample SOC node for MPC8540
1336======================================== 1389========================================
1337 1390