From nobody Sun Apr 12 07:25:03 2026 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3ECDD3890E1 for ; Sat, 11 Apr 2026 14:58:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775919489; cv=none; b=KIVf02+3bB3iuN1sxh6Vj+a4PJJUfroJXSluNT0VkncodugonnBym5fZ0xiFCh/4qDNPrKEXlW3vB+RS8leen7hrq2IDGvKXRPH8QSu7FnJTd+CoFmx4Sniz0JwERQo4WoXD7AtllrF2dCiN+W4KTTnFKNboj+AmwYB7s1U0O+A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775919489; c=relaxed/simple; bh=PHZLLnMsIE8GpLnJkBykfRLhYRx2iFJYTw8nQWNaVlw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CVFZX6tIdarVrTKQ73fVrMTnkBW9BZd3266tv1e4YllUN6EZWDth7TKv0lfj+deJJa2XjSV8tlLiA6Elcg8LoadHFzqcGEOyyf/wWjlnCkDt0h5DOpXZN5S5dDCgwG8y4IX89QFk1Gxycy0PnkZhe5Omb1qQxUY2jFR9IqGAY2M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=AyUM57Gv; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="AyUM57Gv" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-43cf73bbfbdso1790489f8f.1 for ; Sat, 11 Apr 2026 07:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1775919486; x=1776524286; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TqzpSMm9hvDl83iw/EoIWtzwO8VYSoc9MWM/tx+T2Ys=; b=AyUM57Gv9vSLoq9Ii6E3wjvJj/XUPV43J5G2JezgRJVup7A5Nr0uwkPQgTIU5ytsuo Vz9uYJ/xy9lRmKvYFI99Hkhv19yJXF1IEBS9lv/vaVS/F798qY+cUZW2Bft40zjQFQDo BXRih1V+v9B5XYyoZsE+ykVe6RtM7d53N0nqqm/3V0qNYRmX0yz2yMn2jhEuWT7CTvh3 ffjmHPYhaEXCRF+ZAsUXvu8VGLUYa0OgI+rO6Uk7PRBIyRYT7kKio6UKzV7hN7O0Hl6F tD40tguiHbY5MA8I1ub7lpzXOtSwfPYgUfYAsShGVCKssdaW8q7QyUq304FnpHNGDDNe c0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775919486; x=1776524286; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=TqzpSMm9hvDl83iw/EoIWtzwO8VYSoc9MWM/tx+T2Ys=; b=gqSNkgeVVRxNAM3KmLxMifhw01PmMZ6fuHTa3Go/hZ83l2Xv3IdP3cauGljOVT05PN n7ctDlYya37WzQjX/5Bza5yTOzree0D8evP+aEeP5YJHW/xOjfdatmu9lgiWe2iHCO+A 7EAidq2vs3bOz8pnNHgbKuMhJqpBf/FyvyrZcBX2QjHpqIids1nsUXDmzcITRpi12XKh D+62RBeplSxvKV49CStRiORWdI9GxPH77/Ncf/EkOUnat8MVgWrtUNrTSvGHIWkipVlM Rdm42nl9aMGqasBuwkNwk93eqQ02clCs27t5cEF9b76U9wZ0qMd8H5goVrxAmqysZ5uO aQpA== X-Gm-Message-State: AOJu0Yx5nHpGpMBqDnKcf/45605QIfCcgoztL5NwsymPpWyPacVqTf92 oCzJqY+x0aR0APWTjTt5zOqSWIhLNSOTButg9E/nY78taAzD9KoirL88PkGQoyTUAfw= X-Gm-Gg: AeBDiesJgX8uRUHE6RIKfm3oqpLLr2eE0IJznjCsEmI6oZF+K0wmVHRcIc8BzNr8AKK 3omvOumpWuyD0FRrcln071ZTDWEBT6QWY2MTdS1gOkJuB1LdHhjJiviOKLkiZhWn+rEthP15I/d rCUiewMdJirXVn9rw0IymcLiC7OUNQ27v1woKIBm+ZYvQt09hHIwhwew+5YMUr0YBbhLPHgnx9q 9mxethvqJIauH2SZZMU5BZE9+mKoadH6WJPWklGFCJ9p3SAwwdGSS4UeKo2OY5t0xTyMY5xNVJY jyR1yfQ1S4XjftywXDmR0n7FoAPzEx2ewY7Xp2xO9tGx76h5EnkvtAuDpdl34hZA99UQTijw9Bt EfWZWhFubR72ZFfQ9jnOW+jGsdiQDJXm52sOKn70H8FpANbqBq5hB3v0rIUqiWY5guOXo3DCrun GM34B9z6o1+k/PPG0kScWp X-Received: by 2002:a05:600d:d:b0:485:ae14:8191 with SMTP id 5b1f17b1804b1-488d67b8da2mr72755715e9.5.1775919485044; Sat, 11 Apr 2026 07:58:05 -0700 (PDT) Received: from [127.0.1.1] ([151.61.248.52]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488d5dc7070sm48882375e9.10.2026.04.11.07.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Apr 2026 07:58:04 -0700 (PDT) From: Valerio Setti Date: Sat, 11 Apr 2026 16:57:30 +0200 Subject: [PATCH RFC v2 05/11] ASoC: dt-bindings: amlogic: add schema for audin-formatter and audin-toddr Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260411-audin-rfc-v2-5-4c8a6ec5fcab@baylibre.com> References: <20260411-audin-rfc-v2-0-4c8a6ec5fcab@baylibre.com> In-Reply-To: <20260411-audin-rfc-v2-0-4c8a6ec5fcab@baylibre.com> To: Jerome Brunet , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Valerio Setti Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3712; i=vsetti@baylibre.com; h=from:subject:message-id; bh=PHZLLnMsIE8GpLnJkBykfRLhYRx2iFJYTw8nQWNaVlw=; b=owGbwMvMwCF2z3ty7kUrRgbG02pJDJm3EosN3vB9XsUdlXc2ZPYKzqm//naZXdxa+++XzbJXa oeU3lqld5SyMIhxMMiKKbKwTL/3u6BU7aFxwskCmDmsTCBDGLg4BWAih/oZGW5XMcRf9OW+cjjh 9ZHd1bfZlbzfXdE3V9py4Hvh/HgjNQ+Gf8a7rq+y/5TKs7glY+9Okz8lsbHWP8yrlIVy3/OXiE5 iYAUA X-Developer-Key: i=vsetti@baylibre.com; a=openpgp; fpr=0497DEFB707526E13360C970DE4B936DD13A0100 Add schema for "amlogic,meson-gx-audin-decoder-i2s" and "amlogic,meson-gx-audin-fifo" modules which are used to provide I2S audio input support to the Meson GX platform. Signed-off-by: Valerio Setti --- .../sound/amlogic,meson-gx-audin-decoder-i2s.yaml | 49 +++++++++++++++++ .../sound/amlogic,meson-gx-audin-fifo.yaml | 63 ++++++++++++++++++= ++++ 2 files changed, 112 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin= -decoder-i2s.yaml b/Documentation/devicetree/bindings/sound/amlogic,meson-g= x-audin-decoder-i2s.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eaf57603e1ecf5944ffdcf7a1b6= 146d1a0295696 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin-decode= r-i2s.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,meson-gx-audin-decoder-i2= s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GX AUDIN I2S Input Decoder + +maintainers: + - Valerio Setti + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: "^audio-controller@.*" + + "#sound-dai-cells": + const: 0 + + compatible: + items: + - enum: + - amlogic,meson-gxbb-audin-decoder-i2s + - const: amlogic,meson-gx-audin-decoder-i2s + + reg: + maxItems: 1 + + sound-name-prefix: true + +required: + - "#sound-dai-cells" + - compatible + - reg + +additionalProperties: false + +examples: + - | + audio-controller@a040 { + compatible =3D "amlogic,meson-gxbb-audin-decoder-i2s", + "amlogic,meson-gx-audin-decoder-i2s"; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "AUDIN I2S Decoder"; + reg =3D <0xa040 0x4>; + status =3D "disabled"; + }; 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 0000000000000000000000000000000000000000..4957c8711623ac45d2826ca96e6= 344d0aeac2735 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,meson-gx-audin-fifo.y= aml @@ -0,0 +1,63 @@ +# 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 + +allOf: + - $ref: dai-common.yaml# + +properties: + $nodename: + pattern: "^audio-controller@.*" + + "#sound-dai-cells": + const: 0 + + compatible: + items: + - enum: + - amlogic,meson-gxbb-audin-fifo + - const: amlogic,meson-gx-audin-fifo + + clocks: + items: + - description: AUDIN peripheral clock + + clock-names: + items: + - const: i2s_input_clk + + reg: + maxItems: 1 + + sound-name-prefix: true + +required: + - "#sound-dai-cells" + - compatible + - clocks + - clock-names + - reg + +additionalProperties: false + +examples: + - | + #include + + audio-controller@a080 { + compatible =3D "amlogic,meson-gxbb-audin-fifo", + "amlogic,meson-gx-audin-fifo"; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "FIFO0"; + reg =3D <0xa080 0x1c>; + status =3D "disabled"; + clocks =3D <&clkc CLKID_I2S_SPDIF>; + clock-names =3D "i2s_input_clk"; + }; --=20 2.39.5