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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF683C88E4D for ; Fri, 11 Sep 2026 22:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dguF5C8XASgH3vyca0/7yISg0t3gf8SNLjX3RfNVm/w=; b=EgESNUfygKeM4M IONa4XR5hUK1KAkOwKgIuFMygKB4JJ8YAK17gKiTRDxJYY7ze73iWbp8CVkAfdwNdCkTgBKmdQrkE XOJVDfiimOF9xuCo3XAhNJztJ8wZD2Sx8Ka5y6XTohfVIDb0W8WrGKlAUx7InRHgDAQ7X2daRDsR4 J/iH5pIjeiP/6aFJqgMATvS78OhNMGuuHb2IVqQn2PRfS/D1utMX3kdnIy7NEXbamzy6Yvdnpwmrw trY0SRcHPXq4OoAUfcDWMkUa7/Yob5VKtQdBFGtH93AIpvkhprLXCyxdNTrfaUK6I2HvufM8klpj5 tNa3PAmJrbmQe/8Sec8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x59Wm-00000000FJn-3a7G; Fri, 11 Sep 2026 22:15:24 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x59Wb-00000000FC2-3b6J for linux-amlogic@lists.infradead.org; Fri, 11 Sep 2026 22:15:16 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-49d0da752ffso17610695e9.3 for ; Fri, 11 Sep 2026 15:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1789164912; x=1789769712; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Jhj+D3u1Hdp6k7FiJv/1raAGblq3kkIePMv8OFR20rM=; b=R0dkAuPEcuyg3TQlIPQWsA2cI5dIIndkrMc9ZAbugzu+/qaN7381eeIzhYJ5FniC6n wJgM5Eq1OeZofSEZVzjIwF6cR1w0G+owNsTzubTM1MG/soswBejnPsOzSGWGYxztA3IX lZhL5y1Zj+CePVP6oYS8jIjy+KZgtquy7k1Y5GzBNw9Ruk1Y2h8SckscrUxxNzG4gEM7 /6Ard2RrhvW03BIEpr5PZuaXQoifKfQxkP65ffrJG4RSP6fRQ6C+KBYPKurjw2CjQ2yw ZnOzw6m/4UUcPW01fCoiL4zT5N9Wj3m9l2LCV1rzdN3fxHr5NaekAniJDNy3NxgpJxc0 7bJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789164912; x=1789769712; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Jhj+D3u1Hdp6k7FiJv/1raAGblq3kkIePMv8OFR20rM=; b=pnsxIuffgQ0bc0TTNKELYd473nIQmqf3hZ3jRIWfvFRogSwaPhTsdHp3CPJwURlvzA iJl4JZEH+9Yj4DfnntmgdhBB4vUR3MxQLwOS/BE986wixG/Ui7rlxV710TXMCSQ9G2qx TnDNC/qNov/zFyM9NZCLwbChBzX65CiQs/M889CUTj+4bBtZvn0KDh6h3ntXyr0DVReT zFANP8ZCgkuyHwwUbevhhQvxOTI9Ij8SEFGxd2g7Qjx9LRzcyr5+Jw1Razs1Jq9LHc+p +3la2HrwQofkBKgqJ+9wYM/TqgDCpZ0rbY6UUO3ex7vicDcFAfyZavkf2/PNpoXz1BTU LiJA== X-Forwarded-Encrypted: i=1; AKwUvByzSJ7++v6Titr0Axo8qy+CG9aezD8UnwX4qKOzqVxhZdUAKMsSll+o2A08Xxs2fJdLknJbM0+331Gaj0hz@lists.infradead.org X-Gm-Message-State: AFuF++lg88H5fvdWxRQ3BzajDrIZ1OMyMxlPa1iZ5e9LBHeBxXbj5mt4 LwbUmO2+T9mj3nw0p/9nIDc4CanNuFMh4+06JLpOeNsGlUtlD9PPhgofeum8A8+V30Q= X-Gm-Gg: AYBFou2GVcSQlR5jn+/pCJ2kHGbiCd14LX83S4AVMsrGrMEDPR0KCDgAFGypjtZ6qn2 zRf3LhSQ/AHi5+z+JV4dFra1Kmq63SAQzRHC6U2eUS2r2pBoqIel837c8KT72RH1TwBhzD40ctM /erHhUO9y9JtuEHMFy2y6JLnQcYXdFCZY8DiO3ylp2sF1gxE7U1WND85hYBAbo2hW7wKKZE/Usz pzXv/qsqzBCVA4hdFHO+rVv0SlUoAJOVEFEgRPv1+mw65LykANA62zCWU2EFRSW2qJuawR40cKC TOTgYUQezteEcpk6lQVBTIg3lkldm8wItXQfmXShv8dwLIrsTwmWl++HwRgBrQi/MTQTsxU1mu3 DMrsvkxrmZ9aT8YZqGN5dQzYOUMGqJWt/SairKOmDr9yZ57GfEAMuTT/yETKK0OyYWlyuj9DYRX Lmfmlo7SovzKwVjmMmTbxzMGKDidZYppC9qNWMCuhmumtSjb5zzJn9gNnz6T/DFlf5WzY= X-Received: by 2002:a05:600c:3b90:b0:49d:16df:8521 with SMTP id 5b1f17b1804b1-49e619805f1mr71228535e9.4.1789164912040; Fri, 11 Sep 2026 15:15:12 -0700 (PDT) Received: from [127.0.1.1] ([151.42.87.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49d26c2a419sm202882745e9.7.2026.09.11.15.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2026 15:15:11 -0700 (PDT) From: Valerio Setti Date: Sat, 12 Sep 2026 00:14:31 +0200 Subject: [PATCH 1/6] dt-bindings: sound: amlogic: add schemas for audin components MIME-Version: 1.0 Message-Id: <20260912-audin-v1-1-7fbefe928711@baylibre.com> References: <20260912-audin-v1-0-7fbefe928711@baylibre.com> In-Reply-To: <20260912-audin-v1-0-7fbefe928711@baylibre.com> To: Jerome Brunet , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Jaroslav Kysela , Takashi Iwai Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Valerio Setti X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4740; i=vsetti@baylibre.com; h=from:subject:message-id; bh=i49CtTXNdvPDqvnQKB6P/xRaXz9o1Ta+9uCeSBaVc0w=; b=owGbwMvMwCV2z3ty7kUrRgbG02pJDFlLanP2vC7jUtmx8nOMoSnL/n7eYv7T77p3MbO/WOa1R I4zY41CRykLgxgXg6yYIgvL9Hu/C0rVHhonnCyAmcPKBDKEgYtTACaS4cjI8O2H11KTH4lLvz75 d6vg/NE7jSITaxbxdc8+yuUbvl2vLZThf13JYasN5lfkroRGnjyXdSuEN6S8xlJh3qkENf4/OmW fOQA= X-Developer-Key: i=vsetti@baylibre.com; a=openpgp; fpr=0497DEFB707526E13360C970DE4B936DD13A0100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260911_151513_929684_8B6B886D X-CRM114-Status: GOOD ( 13.08 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add schemas for "amlogic,meson-gx-audin" and "amlogic,meson-gx-audin-fifo". They provide I2S audio input support to the Meson GX platforms (GXBB/GXL). Signed-off-by: Valerio Setti --- .../sound/amlogic,meson-gx-audin-fifo.yaml | 52 ++++++++++++ .../bindings/sound/amlogic,meson-gx-audin.yaml | 96 ++++++++++++++++++++++ 2 files changed, 148 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin-fifo.yaml b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin-fifo.yaml new file mode 100644 index 000000000000..a01fe22b9786 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin-fifo.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,meson-gx-audin-fifo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GX AUDIN FIFO controller + +maintainers: + - Valerio Setti + +description: |- + AUDIN FIFO receives audio data from backend interfaces (ex: I2S, SPDIF), + stores them into a FIFO in a configurable way and then bulk copies all the + data in RAM when the FIFO is full. + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: "^audio-controller@[0-9a-f]+$" + + compatible: + items: + - enum: + - amlogic,meson-gxbb-audin-fifo + - amlogic,meson-gxl-audin-fifo + - const: amlogic,meson-gx-audin-fifo + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + +required: + - compatible + - reg + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + audio-controller@80 { + compatible = "amlogic,meson-gxbb-audin-fifo", + "amlogic,meson-gx-audin-fifo"; + reg = <0x80 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "AUDIN FIFO0"; + }; diff --git a/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin.yaml b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin.yaml new file mode 100644 index 000000000000..d8dceaf28957 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin.yaml @@ -0,0 +1,96 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,meson-gx-audin.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GX AUDIN + +maintainers: + - Valerio Setti + +description: |- + AUDIN provides audio input support for the Amlogic GX based platforms + (GXBB/GXL). DT-wise it acts as parent node for FIFO child nodes, whereas + from sound subsystem point of view it is a component providing data + formatting widgets. + Supported audio formats are: I2S, SPDIF and PCM. + +allOf: + - $ref: component-common.yaml# + +properties: + $nodename: + pattern: "^audio-controller@[0-9a-f]+$" + + compatible: + items: + - enum: + - amlogic,meson-gxbb-audin + - amlogic,meson-gxl-audin + - const: amlogic,meson-gx-audin + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: AUDIN peripheral clock + +patternProperties: + "^audio-controller@[0-9a-f]+$": + type: object + $ref: amlogic,meson-gx-audin-fifo.yaml# + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - resets + - interrupts + - ranges + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + #include + + audio-controller@a000 { + compatible = "amlogic,meson-gxbb-audin", "amlogic,meson-gx-audin"; + reg = <0xa000 0x308>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xa000 0x308>; + resets = <&reset RESET_AUDIN>; + interrupts = ; + sound-name-prefix = "AUDIN"; + clocks = <&clkc CLKID_I2S_SPDIF>; + + audio-controller@80 { + compatible = "amlogic,meson-gxbb-audin-fifo", + "amlogic,meson-gx-audin-fifo"; + reg = <0x80 0x1c>; + #sound-dai-cells = <0>; + sound-name-prefix = "AUDIN FIFO0"; + }; + }; -- 2.47.3 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic