From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 1/2] iio: adc: Add Renesas GyroADC bindings Date: Tue, 24 Jan 2017 00:15:30 +0100 Message-ID: References: <20170121144212.8858-1-marek.vasut@gmail.com> <20170123170827.tkatb2aizjhbfifo@rob-hp-laptop> <63b3660b-6ce0-134c-ef79-c06430c735c5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Geert Uytterhoeven Cc: Rob Herring , linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Geert Uytterhoeven , Simon Horman , Jonathan Cameron , Linux-Renesas , Wolfram Sang , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org On 01/23/2017 09:41 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, Jan 23, 2017 at 8:56 PM, Marek Vasut wrote: >> On 01/23/2017 06:08 PM, Rob Herring wrote: >>> On Sat, Jan 21, 2017 at 03:42:11PM +0100, Marek Vasut wrote: >>>> new file mode 100644 >>>> index 000000000000..081947367135 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt > >>>> +Required properties: >>>> +- compatible: Should be "renesas,-gyroadc", "renesas,rcar-gyroadc". >>> >>> Need to enumerate . >> >> It's enumerated below , the only special-case we handle at this point is >> the r8a7792 , which has extra interrupt block which we don't use anyway, >> but the driver disables those interrupts. > > It is not enumerated below. You just give an example for r8a7791. > > Please list all supported/tested compatible values, so checkpatch > can validate compatible values in DTS patches adding GyroADC device > nodes. What about this ? - compatible: Should be "renesas,-gyroadc", "renesas,rcar-gyroadc". The can be either of: r8a7791 - for the GyroADC block present in r8a7791 SoC r8a7792 - for the GyroADC with interrupt block present in r8a7792 SoC -- Best regards, Marek Vasut From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:35289 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708AbdAWXPd (ORCPT ); Mon, 23 Jan 2017 18:15:33 -0500 Subject: Re: [PATCH 1/2] iio: adc: Add Renesas GyroADC bindings To: Geert Uytterhoeven References: <20170121144212.8858-1-marek.vasut@gmail.com> <20170123170827.tkatb2aizjhbfifo@rob-hp-laptop> <63b3660b-6ce0-134c-ef79-c06430c735c5@gmail.com> Cc: Rob Herring , linux-iio@vger.kernel.org, Geert Uytterhoeven , Simon Horman , Jonathan Cameron , Linux-Renesas , Wolfram Sang , "devicetree@vger.kernel.org" From: Marek Vasut Message-ID: Date: Tue, 24 Jan 2017 00:15:30 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On 01/23/2017 09:41 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, Jan 23, 2017 at 8:56 PM, Marek Vasut wrote: >> On 01/23/2017 06:08 PM, Rob Herring wrote: >>> On Sat, Jan 21, 2017 at 03:42:11PM +0100, Marek Vasut wrote: >>>> new file mode 100644 >>>> index 000000000000..081947367135 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/iio/adc/renesas,gyroadc.txt > >>>> +Required properties: >>>> +- compatible: Should be "renesas,-gyroadc", "renesas,rcar-gyroadc". >>> >>> Need to enumerate . >> >> It's enumerated below , the only special-case we handle at this point is >> the r8a7792 , which has extra interrupt block which we don't use anyway, >> but the driver disables those interrupts. > > It is not enumerated below. You just give an example for r8a7791. > > Please list all supported/tested compatible values, so checkpatch > can validate compatible values in DTS patches adding GyroADC device > nodes. What about this ? - compatible: Should be "renesas,-gyroadc", "renesas,rcar-gyroadc". The can be either of: r8a7791 - for the GyroADC block present in r8a7791 SoC r8a7792 - for the GyroADC with interrupt block present in r8a7792 SoC -- Best regards, Marek Vasut