[PATCH] PCI: mobiveil: Modified the Device tree bindings interrupt-map example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Karthikeyan Mitran <m.karthikeyan@xxxxxxxxxxxxxx>

Legacy IRQs Interrupt pins map 01h, 02h, 03h, and 04h while value of 00h
indicates Function uses no legacy interrupt Message

Signed-off-by: Karthikeyan Mitran <m.karthikeyan@xxxxxxxxxxxxxx>
---
 .../devicetree/bindings/pci/mobiveil-pcie.txt | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/mobiveil-pcie.txt b/Documentation/devicetree/bindings/pci/mobiveil-pcie.txt
index 64156993e05..b9dcb0ddc19 100644
--- a/Documentation/devicetree/bindings/pci/mobiveil-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/mobiveil-pcie.txt
@@ -31,9 +31,14 @@ Required properties:
 - interrupts: The interrupt line of the PCIe controller
 		last cell of this field is set to 4 to
 		denote it as IRQ_TYPE_LEVEL_HIGH type interrupt.
-- interrupt-map-mask,
-	interrupt-map: standard PCI properties to define the mapping of the
-	PCI interface to interrupt numbers.
+- interrupt-map-mask:
+		Its a 4-tuple like structure denoting phys.hi, phys.mid,
+		phys.low and interrupt-cell
+- interrupt-map: standard PCI properties to define the mapping of the
+		PCI interface to interrupt numbers. Here the first 4-tuple
+		are represented similar to interrupt-map-mask representation
+		while the next fields represents Interrupt controller phandle
+		and its #interrupt-cells fields
 - ranges: ranges for the PCI memory regions (I/O space region is not
 	supported by hardware)
 	Please refer to the standard PCI bus binding document for a more
@@ -63,10 +68,10 @@ Example:
 		#interrupt-cells = <1>;
 		interrupts = < 0 89 4 >;
 		interrupt-map-mask = <0 0 0 7>;
-		interrupt-map = <0 0 0 0 &pci_express 0>,
-				<0 0 0 1 &pci_express 1>,
-				<0 0 0 2 &pci_express 2>,
-				<0 0 0 3 &pci_express 3>;
+		interrupt-map = <0 0 0 1 &pci_express 0>,
+				<0 0 0 2 &pci_express 1>,
+				<0 0 0 3 &pci_express 2>,
+				<0 0 0 4 &pci_express 3>;
 		ranges = < 0x83000000 0 0x00000000 0xa8000000 0 0x8000000>;
 
 	};
-- 
2.17.1


-- 
Mobiveil INC., CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) and may 
contain proprietary confidential or privileged information or otherwise be 
protected by law. Any unauthorized review, use, disclosure or distribution 
is prohibited. If you are not the intended recipient, please notify the 
sender and destroy all copies and the original message.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux