From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C363EECE58C for ; Mon, 7 Oct 2019 12:41:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98D6821655 for ; Mon, 7 Oct 2019 12:41:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JjC4fdxP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727850AbfJGMlA (ORCPT ); Mon, 7 Oct 2019 08:41:00 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:32793 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727793AbfJGMlA (ORCPT ); Mon, 7 Oct 2019 08:41:00 -0400 Received: by mail-pg1-f193.google.com with SMTP id i76so989814pgc.0 for ; Mon, 07 Oct 2019 05:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=o1MuM4w6nZQj3YYsyjZt1J3u5QROZgoxO/xrK/RzJMI=; b=JjC4fdxPZPkA3Nw9t4f3P3/2H9g7ocjoojpPZh4AkYfyXrUyCA85UZa+JP0DplXe7g TPmC2zCfeNdDi7Vicm85y/RP2pcwkqoREGvKrbVQvyYNmWzVgIxX/m2k7rSAFrA0ucan 5iLwhGD+V27YNQd/gZwtUJg19Q/uDX2f4z46G8yM5aPQvT45yIzNYIxtYK9azpIua/hd KvLBZZwqjOzNYuygWFhDlvGwcEqdtjQ0up4WirOONG+HXircyNT4wDpc0JnsB5lJe8C5 jm7jHSVm7RWi2RdknNrKjK0q5XJ0fF1XT3J5uMZwmePYz/Y8O1Ghkhc2Z/j5LziZBHaS V7gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=o1MuM4w6nZQj3YYsyjZt1J3u5QROZgoxO/xrK/RzJMI=; b=GQPOEiaNici9twr1avCpoXWJj6ThxUmamja7VWirwstCoEeMzvimMcXTTwJcGjLI4H uQzqnlSXcJIVMVvzoOoUJP7AwJ9AyMgEzz/tZ4ShglkCW/SqSgvpFTjGP2WGBdmEq7Fa kHWiJ9I+UZ8cLXlhgqpoAMG5quyX5GEoyx5VwN3iUBFpPdPkxLRH5KqXBOCqtU1beniE Wv/QTDh1ExMWg6nrjayucdXO/BWGuUthn+sb+qE9wrqOrgiEzHSIwjTvmotW/gE41Kfm clBmWFUkZzwAd71Y0PygEDgcHMiOBetDtYN/AaCC54ve7ZtJAHKoBwqz6UX8ejuBzNMQ d6Ig== X-Gm-Message-State: APjAAAVP+lrLboyGkhR6wa9WTX8LRp5O8XsYc01fwfIIWUQwxTMv/bIK CATY+qcNgbNMYuUH4DUyel4B X-Google-Smtp-Source: APXvYqx29oMFzb0lUaEgpdkVH0kexcEoZJP3ixdNTaxpS0rvl/830cXYdtaNMO2S1ZCsPHNbN7J2FQ== X-Received: by 2002:a63:1f1a:: with SMTP id f26mr9115015pgf.2.1570452058127; Mon, 07 Oct 2019 05:40:58 -0700 (PDT) Received: from ?IPv6:2409:4072:638b:f55:fd38:63ef:5172:157e? ([2409:4072:638b:f55:fd38:63ef:5172:157e]) by smtp.gmail.com with ESMTPSA id m22sm14177583pgj.29.2019.10.07.05.40.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Oct 2019 05:40:57 -0700 (PDT) Date: Mon, 07 Oct 2019 18:10:50 +0530 User-Agent: K-9 Mail for Android In-Reply-To: References: <20191007101027.8383-1-manivannan.sadhasivam@linaro.org> <20191007101027.8383-2-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 1/2] dt-bindings: iio: light: Add binding for ADUX1020 To: "Ardelean, Alexandru" , "robh+dt@kernel.org" , "Hennerich, Michael" , "lars@metafoo.de" , "jic23@kernel.org" , "pmeerw@pmeerw.net" , "knaack.h@gmx.de" CC: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" From: Manivannan Sadhasivam Message-ID: <4EC23AB5-B8BE-4E45-8E5B-FCCD5B1508BA@linaro.org> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Hi Ardelean,=20 On 7 October 2019 3:51:16 PM IST, "Ardelean, Alexandru" wrote: >On Mon, 2019-10-07 at 15:40 +0530, Manivannan Sadhasivam wrote: >> [External] >>=20 >> Add devicetree binding for Analog Devices ADUX1020 Photometric >> sensor=2E >>=20 > >Hey, > >Thanks for the patches=2E > >This dt-binding docs is in text format=2E >dt-binding docs now need to be in YAML format=2E > Sure=2E I can convert to YAML binding=2E=20 >Also, patches for dt-bindings docs usually come after the driver is >added=2E >So, this patch should be the second in the series, not the first=2E > I don't think so=2E The convention is to put dt-bindings patch upfront for= all subsystems=2E Not sure if IIO differs here=2E=20 Thanks,=20 Mani >Alex > >> Signed-off-by: Manivannan Sadhasivam > >> --- >> =2E=2E=2E/bindings/iio/light/adux1020=2Etxt | 22 >+++++++++++++++++++ >> 1 file changed, 22 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/iio/light/adux1020=2Etxt >>=20 >> diff --git a/Documentation/devicetree/bindings/iio/light/adux1020=2Etxt >> b/Documentation/devicetree/bindings/iio/light/adux1020=2Etxt >> new file mode 100644 >> index 000000000000=2E=2Ee896dda30e36 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/iio/light/adux1020=2Etxt >> @@ -0,0 +1,22 @@ >> +Analog Devices ADUX1020 Photometric sensor >> + >> +Link to datasheet:=20 >> >https://www=2Eanalog=2Ecom/media/en/technical-documentation/data-sheets/A= DUX1020=2Epdf >> + >> +Required properties: >> + >> + - compatible: should be "adi,adux1020" >> + - reg: the I2C address of the sensor >> + >> +Optional properties: >> + >> + - interrupts: interrupt mapping for IRQ as documented in >> + =20 >Documentation/devicetree/bindings/interrupt-controller/interrupts=2Etxt >> + >> +Example: >> + >> +adux1020@64 { >> + compatible =3D "adi,adux1020"; >> + reg =3D <0x64>; >> + interrupt-parent =3D <&msmgpio>; >> + interrupts =3D <24 IRQ_TYPE_LEVEL_HIGH>; >> +}; --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E