From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754662AbcBBLLn (ORCPT ); Tue, 2 Feb 2016 06:11:43 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:35964 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754556AbcBBLLl (ORCPT ); Tue, 2 Feb 2016 06:11:41 -0500 Subject: Re: [PATCH 1/2] dt/bindings: Add bindings for the PIC32 SPI peripheral To: Joshua Henderson , linux-kernel@vger.kernel.org References: <1454366701-10847-1-git-send-email-joshua.henderson@microchip.com> Cc: linux-mips@linux-mips.org, Purna Chandra Mandal , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org From: Sergei Shtylyov Message-ID: <56B08EEB.3050808@cogentembedded.com> Date: Tue, 2 Feb 2016 14:11:39 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1454366701-10847-1-git-send-email-joshua.henderson@microchip.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On 2/2/2016 1:44 AM, Joshua Henderson wrote: > From: Purna Chandra Mandal > > Document the devicetree bindings for the SPI peripheral found > on Microchip PIC32 class devices. > > Signed-off-by: Purna Chandra Mandal > Signed-off-by: Joshua Henderson > --- > .../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 , , . > +- 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