[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B42E4C.8040201@microchip.com>
Date: Fri, 5 Feb 2016 10:38:28 +0530
From: Purna Chandra Mandal <purna.mandal@...rochip.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Joshua Henderson <joshua.henderson@...rochip.com>,
<linux-kernel@...r.kernel.org>
CC: <linux-mips@...ux-mips.org>, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI
peripheral
On 02/02/2016 04:41 PM, Sergei Shtylyov wrote:
> Hello.
> On 2/2/2016 1:44 AM, Joshua Henderson wrote:
>> From: Purna Chandra Mandal <purna.mandal@...rochip.com>
>> Document the devicetree bindings for the SPI peripheral found
>> on Microchip PIC32 class devices.
>> Signed-off-by: Purna Chandra Mandal <purna.mandal@...rochip.com>
>> Signed-off-by: Joshua Henderson <joshua.henderson@...rochip.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.
ack.
>> +- clocks: phandles of baud generation clocks. Maximum two possible clocks
>>
> Baud in the SPI context?
Yes, clock for generating spi clock (SCK). Will update the comment.
>> + can be provided (&PBCLK2, &REFCLKO1).
>>
> Please align.
ack.
>> + See: Documentation/devicetree/bindings/clock/clock-bindings.txt
>> +- clock-names: Should be "mck0","mck1".
>>
> Please insert space after comma.
ack.
> [...]
>> +Example:
>> +
>> + spi1:spi@...f821000 {
> Please insert spaces after colon.
ack
> [...]
> MBR, Sergei
>
Powered by blists - more mailing lists