All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver
  2016-03-04 13:44 ` [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver Purna Chandra Mandal
@ 2016-03-04 15:22 ` kbuild test robot
  -1 siblings, 0 replies; 19+ messages in thread
From: kbuild test robot @ 2016-03-04 15:22 UTC (permalink / raw)
  To: Purna Chandra Mandal
  Cc: kbuild-all-JC7UmRfGjtg, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-spi-u79uwXL29TY76Z2rM5mHXA, Purna Chandra Mandal,
	Mark Brown, Joshua Henderson, Sergei Shtylyov

Hi Purna,

[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.5-rc6 next-20160303]
[cannot apply to spi/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Purna-Chandra-Mandal/dt-bindings-Add-bindings-for-PIC32-SPI-peripheral/20160304-214814
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next


coccinelle warnings: (new ones prefixed by >>)

>> drivers/spi/spi-pic32.c:993:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral
@ 2016-03-04 13:44 ` Purna Chandra Mandal
  0 siblings, 0 replies; 19+ messages in thread
From: Purna Chandra Mandal @ 2016-03-04 13:44 UTC (permalink / raw)
  To: linux-kernel, linux-spi
  Cc: Purna Chandra Mandal, devicetree, linux-mips, Sergei Shtylyov,
	Kumar Gala, Ian Campbell, Rob Herring, Pawel Moll, Mark Rutland

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>

---

Changes in v2:
 - fix indentation
 - add space after comma
 - moved 'cs-gpios' section under 'required' properties.

 .../bindings/spi/microchip,spi-pic32.txt           | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt

diff --git a/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt b/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt
new file mode 100644
index 0000000..79de379f
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt
@@ -0,0 +1,34 @@
+Microchip PIC32 SPI Master controller
+
+Required properties:
+- compatible: Should be "microchip,pic32mzda-spi".
+- reg: Address and length of register space for the device.
+- interrupts: Should contain all three spi interrupts in sequence
+              of <fault-irq>, <receive-irq>, <transmit-irq>.
+- interrupt-names: Should be "fault", "rx", "tx" in order.
+- clocks: Phandle of the clock generating SPI clock on the bus.
+- clock-names: Should be "mck0".
+- cs-gpios: Specifies the gpio pins to be used for chipselects.
+            See: Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Optional properties:
+- dmas: Two or more DMA channel specifiers following the convention outlined
+        in Documentation/devicetree/bindings/dma/dma.txt
+- dma-names: Names for the dma channels. There must be at least one channel
+             named "spi-tx" for transmit and named "spi-rx" for receive.
+
+Example:
+
+spi1: spi@1f821000 {
+        compatible = "microchip,pic32mzda-spi";
+        reg = <0x1f821000 0x200>;
+        interrupts = <109 IRQ_TYPE_LEVEL_HIGH>,
+                     <110 IRQ_TYPE_LEVEL_HIGH>,
+                     <111 IRQ_TYPE_LEVEL_HIGH>;
+        interrupt-names = "fault", "rx", "tx";
+        clocks = <&PBCLK2>;
+        clock-names = "mck0";
+        cs-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>;
+        dmas = <&dma 134>, <&dma 135>;
+        dma-names = "spi-rx", "spi-tx";
+};
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-04-04 17:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 15:22 [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver kbuild test robot
2016-03-04 15:22 ` kbuild test robot
     [not found] ` <1457099082-12587-2-git-send-email-purna.mandal-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2016-03-04 15:22   ` [PATCH] spi: spi-pic32: fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-03-04 15:22     ` kbuild test robot
2016-03-05  3:40   ` [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver Mark Brown
2016-03-05  3:40     ` Mark Brown
     [not found]     ` <20160305034011.GV18327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-03-05 15:15       ` Purna Chandra Mandal
2016-03-05 15:15         ` Purna Chandra Mandal
     [not found]         ` <56DAF80A.2060805-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2016-03-06  2:25           ` Mark Brown
2016-03-06  2:25             ` Mark Brown
2016-03-05  6:36   ` kbuild test robot
2016-03-05  6:36     ` kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2016-03-04 13:44 [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral Purna Chandra Mandal
2016-03-04 13:44 ` Purna Chandra Mandal
2016-03-04 13:44 ` Purna Chandra Mandal
2016-03-04 13:44 ` Purna Chandra Mandal
2016-03-04 13:44 ` [PATCH v2 2/2] spi: spi-pic32: Add PIC32 SPI master driver Purna Chandra Mandal
2016-03-05  4:31 ` [PATCH v2 1/2] dt/bindings: Add bindings for PIC32 SPI peripheral Rob Herring
     [not found] ` <1457099082-12587-1-git-send-email-purna.mandal-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2016-04-04 17:05   ` Applied "spi: pic32: Add bindings for PIC32 SPI peripheral" to the spi tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.