Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323988

Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI peripheral

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI peripheral
Date 2016-02-02 12:20 +0100
Message-ID <qXHa2-1VJ-15@gated-at.bofh.it> (permalink)
References <qXvse-1cZ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello.

On 2/2/2016 1:44 AM, Joshua Henderson wrote:

> From: Purna Chandra Mandal <purna.mandal@microchip.com>
>
> Document the devicetree bindings for the SPI peripheral found
> on Microchip PIC32 class devices.
>
> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
> Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
> ---
>   .../bindings/spi/microchip,spi-pic32.txt           |   44 ++++++++++++++++++++
>   1 file changed, 44 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..a555618
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/spi/microchip,spi-pic32.txt
> @@ -0,0 +1,44 @@
> +* Microchip PIC32 SPI device
> +
> +Required properties:
> +- compatible: Should be "microchip,pic32mzda-spi".
> +- reg: Address and length of the register set 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.

    Please insert spaces after commas.

> +- clocks: phandles of baud generation clocks. Maximum two possible clocks

    Baud in the SPI context?

> +	  can be provided (&PBCLK2, &REFCLKO1).

    Please align.

> +          See: Documentation/devicetree/bindings/clock/clock-bindings.txt
> +- clock-names: Should be "mck0","mck1".

    Please insert space after comma.

[...]
> +Example:
> +
> +	spi1:spi@0x1f821000 {

     Please insert spaces after colon.

[...]

MBR, Sergei

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI peripheral Joshua Henderson <joshua.henderson@microchip.com> - 2016-02-01 23:50 +0100
  Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI  peripheral Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-02-02 12:20 +0100
    Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI  peripheral Purna Chandra Mandal <purna.mandal@microchip.com> - 2016-02-05 06:20 +0100
      Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI  peripheral Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-02-05 14:40 +0100
        Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI  peripheral Purna Chandra Mandal <purna.mandal@microchip.com> - 2016-02-08 06:10 +0100

csiph-web