Linux IIO development
 help / color / mirror / Atom feed
From: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
To: Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Matti Vaittinen <mazziesaccount@gmail.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Marek Vasut <marex@denx.de>, Anshul Dalal <anshulusr@gmail.com>,
	Javier Carrasco <javier.carrasco.cruz@gmail.com>
Cc: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>,
	Matt Ranostay <matt@ranostay.sg>,
	Stefan Windfeldt-Prytz <stefan.windfeldt-prytz@axis.com>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v6 3/5] dt-bindings: iio: light: adps9300: Update interrupt definitions
Date: Tue,  6 Feb 2024 23:30:15 +1030	[thread overview]
Message-ID: <20240206130017.7839-4-subhajit.ghosh@tweaklogic.com> (raw)
In-Reply-To: <20240206130017.7839-1-subhajit.ghosh@tweaklogic.com>

Include irq.h and irq level macro in the example for readability

this patch depends on patch:
"dt-bindings: iio: light: Add property vdd-supply"

Signed-off-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
---
v5 -> v6:
 - Separate commit for individual change as per below review:
   Link: https://lore.kernel.org/all/20240121153655.5f734180@jic23-huawei/
---
 .../devicetree/bindings/iio/light/avago,apds9300.yaml         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
index a328c8a1daef..e07a074f6acf 100644
--- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
+++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
@@ -35,6 +35,8 @@ required:
 
 examples:
   - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+
     i2c {
         #address-cells = <1>;
         #size-cells = <0>;
@@ -43,7 +45,7 @@ examples:
             compatible = "avago,apds9300";
             reg = <0x39>;
             interrupt-parent = <&gpio2>;
-            interrupts = <29 8>;
+            interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
             vdd-supply = <&regulator_3v3>;
         };
     };
-- 
2.34.1


  parent reply	other threads:[~2024-02-06 13:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 13:00 [PATCH v6 0/5] Support for Avago APDS9306 Ambient Light Sensor Subhajit Ghosh
2024-02-06 13:00 ` [PATCH v6 1/5] dt-bindings: iio: light: Merge APDS9300 and APDS9960 schemas Subhajit Ghosh
2024-02-06 13:00 ` [PATCH v6 2/5] dt-bindings: iio: light: adps9300: Add property vdd-supply Subhajit Ghosh
2024-02-08  8:17   ` Krzysztof Kozlowski
2024-02-08 10:40     ` Subhajit Ghosh
2024-02-09  7:33       ` Krzysztof Kozlowski
2024-02-10 17:01         ` Jonathan Cameron
2024-02-06 13:00 ` Subhajit Ghosh [this message]
2024-02-08  8:18   ` [PATCH v6 3/5] dt-bindings: iio: light: adps9300: Update interrupt definitions Krzysztof Kozlowski
2024-02-08 10:53     ` Subhajit Ghosh
2024-02-10 17:02       ` Jonathan Cameron
2024-02-06 13:00 ` [PATCH v6 4/5] dt-bindings: iio: light: Avago APDS9306 Subhajit Ghosh
2024-02-08  8:18   ` Krzysztof Kozlowski
2024-02-08 10:51     ` Subhajit Ghosh
2024-02-08 18:52       ` Conor Dooley
2024-02-09  7:34       ` Krzysztof Kozlowski
2024-02-06 13:00 ` [PATCH v6 5/5] iio: light: Add support for APDS9306 Light Sensor Subhajit Ghosh
2024-02-06 13:42   ` Andy Shevchenko
2024-02-07 11:07     ` Subhajit Ghosh
2024-02-07 14:53       ` Andy Shevchenko
2024-02-06 14:47 ` [PATCH v6 0/5] Support for Avago APDS9306 Ambient " Conor Dooley
2024-02-07 10:39   ` Subhajit Ghosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240206130017.7839-4-subhajit.ghosh@tweaklogic.com \
    --to=subhajit.ghosh@tweaklogic.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=anshulusr@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=javier.carrasco.cruz@gmail.com \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=matt@ranostay.sg \
    --cc=mazziesaccount@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=stefan.windfeldt-prytz@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox