All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Rob Herring <robh+dt@kernel.org>, Sean Nyekjaer <sean@geanix.com>,
	devicetree@vger.kernel.org, Jose Cazarin <joseespiriki@gmail.com>,
	linux-i2c@vger.kernel.org, Wolfram Sang <wsa@kernel.org>
Subject: [PATCH 1/2] dt-bindings: iio: dac: ti,dac5571: Add TI DAC081C081 support
Date: Fri, 23 Jul 2021 21:31:13 +0300	[thread overview]
Message-ID: <20210723183114.26017-2-laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <20210723183114.26017-1-laurent.pinchart@ideasonboard.com>

The TI DAC081C081 is compatible with the TI DAC5571 from a software
point of view. Add a device-specific compatible string value with a
fallback to "ti,dac5571".

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 .../bindings/iio/dac/ti,dac5571.yaml          | 24 +++++++++++--------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
index 714191724f7c..cdbbb336a5b5 100644
--- a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
@@ -11,16 +11,20 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - ti,dac5571
-      - ti,dac6571
-      - ti,dac7571
-      - ti,dac5574
-      - ti,dac6574
-      - ti,dac7574
-      - ti,dac5573
-      - ti,dac6573
-      - ti,dac7573
+    oneOf:
+      - enum:
+          - ti,dac5571
+          - ti,dac6571
+          - ti,dac7571
+          - ti,dac5574
+          - ti,dac6574
+          - ti,dac7574
+          - ti,dac5573
+          - ti,dac6573
+          - ti,dac7573
+      - items:
+          - const: ti,dac081c081
+          - const: ti,dac5571
 
   reg:
     maxItems: 1
-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2021-07-23 18:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23 18:31 [PATCH 0/2] iio: ti-dac5571: Add TI DAC081C081 support Laurent Pinchart
2021-07-23 18:31 ` Laurent Pinchart [this message]
2021-07-29 21:26   ` [PATCH 1/2] dt-bindings: iio: dac: ti,dac5571: " Rob Herring
2021-07-23 18:31 ` [PATCH 2/2] iio: dac: dac5571: Fix chip id detection for OF devices Laurent Pinchart
2021-07-23 23:06   ` kernel test robot
2021-07-23 23:06     ` kernel test robot
2021-07-23 23:06   ` kernel test robot
2021-07-23 23:06     ` kernel test robot
2021-07-24  0:06   ` [PATCH v1.1 " Laurent Pinchart
2021-07-24 14:43     ` Jonathan Cameron
2021-07-24 23:14       ` Laurent Pinchart
2021-08-17 20:44       ` Wolfram Sang
2021-08-17 20:52         ` Laurent Pinchart
2021-08-17 20:58           ` Wolfram Sang
2021-08-17 21:20             ` Laurent Pinchart
2022-03-24 23:25               ` Laurent Pinchart
2022-03-28  9:20               ` Wolfram Sang
2022-03-28 10:04                 ` Laurent Pinchart
2022-03-28 12:22                   ` Wolfram Sang
2022-03-29  0:44                     ` Laurent Pinchart
2022-03-29  8:59                       ` Wolfram Sang
2021-07-24 14:44     ` Jonathan Cameron

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=20210723183114.26017-2-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=joseespiriki@gmail.com \
    --cc=lars@metafoo.de \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sean@geanix.com \
    --cc=wsa@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.