linux-sunxi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Tobias Schramm <t.schramm@manjaro.org>
To: "Jernej Škrabec" <jernej.skrabec@gmail.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	devicetree@vger.kernel.org
Cc: Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	Tobias Schramm <t.schramm@manjaro.org>
Subject: [PATCH v3 4/7] ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3
Date: Fri, 14 May 2021 15:44:02 +0200	[thread overview]
Message-ID: <20210514134405.2097464-5-t.schramm@manjaro.org> (raw)
In-Reply-To: <20210514134405.2097464-1-t.schramm@manjaro.org>

The analog codec frontend of the Allwinner V3 is compatible with the
analog codec frontend used on the Allwinner H3.
This patch adds a compatible string for the analog codec frontend on the
Allwinner V3 SoC.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
---
 .../bindings/sound/allwinner,sun8i-a23-codec-analog.yaml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
index 9718358826ab..26eca21e1f0f 100644
--- a/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun8i-a23-codec-analog.yaml
@@ -12,12 +12,15 @@ maintainers:
 
 properties:
   compatible:
-    enum:
+    oneOf:
       # FIXME: This is documented in the PRCM binding, but needs to be
       # migrated here at some point
       # - allwinner,sun8i-a23-codec-analog
-      - allwinner,sun8i-h3-codec-analog
-      - allwinner,sun8i-v3s-codec-analog
+      - const: allwinner,sun8i-h3-codec-analog
+      - items:
+          - const: allwinner,sun8i-v3-codec-analog
+          - const: allwinner,sun8i-h3-codec-analog
+      - const: allwinner,sun8i-v3s-codec-analog
 
   reg:
     maxItems: 1
-- 
2.31.1


  parent reply	other threads:[~2021-05-14 13:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 13:43 [PATCH v3 0/7] Add missing peripherals to Allwinner V3s/V3 device trees Tobias Schramm
2021-05-14 13:43 ` [PATCH v3 1/7] ARM: dts: sun8i: v3s: add DMA controller to v3s dts Tobias Schramm
2021-05-14 13:44 ` [PATCH v3 2/7] ARM: dts: sun8i: v3s: add DMA properties to peripherals supporting DMA Tobias Schramm
2021-05-14 13:44 ` [PATCH v3 3/7] ARM: dts: sun8i: v3s: add analog codec and frontend to v3s dts Tobias Schramm
2021-05-14 13:44 ` Tobias Schramm [this message]
2021-05-18  1:29   ` [PATCH v3 4/7] ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3 Rob Herring
2021-05-14 13:44 ` [PATCH v3 5/7] ARM: dts: sun8i: V3: add codec analog frontend to V3 dts Tobias Schramm
2021-05-14 13:44 ` [PATCH v3 6/7] dt-bindings: sound: sun4i-i2s: add Allwinner V3 I2S compatible Tobias Schramm
2021-05-18  1:29   ` Rob Herring
2021-05-14 13:44 ` [PATCH v3 7/7] ARM: dts: sun8i: V3: add I2S interface to V3 dts Tobias Schramm
2021-05-18 15:19 ` [PATCH v3 0/7] Add missing peripherals to Allwinner V3s/V3 device trees Maxime Ripard

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=20210514134405.2097464-5-t.schramm@manjaro.org \
    --to=t.schramm@manjaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=mripard@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.org \
    --subject='Re: [PATCH v3 4/7] ASoC: dt-bindings: sun8i-a23-codec-analog: add compatible for Allwinner V3' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).