From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (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 4C892491590 for ; Thu, 17 Sep 2026 21:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789678964; cv=none; b=YSl3P/M5gCvso1ig6GPbUqb309i0A9FN/eL7xev6YXd4GfZFMdKcNvB8Z1M0mgMPgD9Hcut0C0+4skv85P/2ShSocpiaKAr/Cedcg40+nTgrtZ0MS4Ji/ApVsEw+jZRTNmunLHfMqS80dJCqmbWb96ooYMFKs1B03BPOJ3TfYzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789678964; c=relaxed/simple; bh=8xj7kUdGgsVPCmxBLgs3dFbkoQPLuPzp6csuOKCL82I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DRVBQK0emrPChg8IaEqUAxMim8ENfMbqm9KzlC/1Uao1Zgm+Ys9jbs5le6pExA2MLpmDuZUvH20KnGamcCI/07RLzMyqHbAXlNokj5CWpkA0IbHNavDe2GCK5PpLe5wHRgztTXpxOsFXzjwXFrWYpkFmL9//iivDLF6/Mmtiz4U= 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 header.i=@baylibre.com header.b=a7VWaH2Y; arc=none smtp.client-ip=74.125.225.141 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 header.i=@baylibre.com header.b="a7VWaH2Y" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-49e7bcb94d3so469815e9.2 for ; Thu, 17 Sep 2026 14:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1789678960; x=1790283760; darn=vger.kernel.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=9AZ0+eI++/PlX83+JWP2Cs841uENpnsQxPBRefFFlIk=; b=a7VWaH2YtBBOzNNg9O5oBuirnKPuT9q6Shtnl2c25hnivyG8HheSxYJbAXjYhkrZ1d 45Gc8+wVZn6xM7tyiErDO41hQgAwK5C8165JpuGJITkVn/U09koKoLdIc/aOIaFWClHp LL5Ka3JlqHpPsIGJcsp/dyXW65Pel5RlukokTd++VpcL22weOaHzr9MX1VE8y99249rr 8ewTl6CUsBIFXpVy5CmymXNpgYU19SW3ggF/AzJ1/zTxGN01yBCKiOU6dRwcWA8TtD80 xqJAv2JIgHq66wKJRwZA1k1lwgXxTNiW8E5i2LM1ymC4urYEH2cp4tpMAehjg6bdAZ53 UXYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789678960; x=1790283760; 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=9AZ0+eI++/PlX83+JWP2Cs841uENpnsQxPBRefFFlIk=; b=lNpnKwWiO8PBMO3FeMEStGpdPrU6HFrRZRbNghwY+GtUsn6LtwRXkAcNWmKipwdAMv A3E8AC/3Xq1Pp6IzWLQOUJbjkd9Ucw3FUEyYuSbRIHQRJxH6k2x92RdS3rJpTskEXn/V aFOcUU9SakQXKux14SmguglBknw8gHnI3NfxekkZaRfHqLd11Hy/MRwywslCTP2+ts/Y 2oecX8dWSh0hEqAsUz2HxP7GxSH4BDzwIpSVP+MtAUMcWrc3mhay59+kNHsdknAiX3A/ ksCDBjBlFjff7/FwwUOmXHIW3mR6myLA6/u2k9EGT/Icmgttg2oyvXSRwJivoQBTcVX5 EzUg== X-Gm-Message-State: AFuF++nN+VCnJrqiLR0b5a4stWg7ZW9ieERAkSvUtX1/5eUdFd38kv7I RXUzSaPbyHkqSHytE7idwEgSo8TiHI7Bz0Heno1/CUi0A1xZLjuhDxRwRy4/BYiZ7rU= X-Gm-Gg: AYBFou17zlNlCbNuS0pitFimt4WHrANgB/wECx5i2/Z/FobMVS8bLHyChFHZORAhDvq C4zLZGL0iFqSZ/PuhpeF1D+roMsN7fN/fWzspT9bdJ1z/6oKpUESOGCOyCk8m8eUCbYlJZu1QvG FkUuaeHOFDpCW0SBFrunhrKt8zXHxv2IR4etPofkQVmwiAqPj83VQ6KdQBzb/ixcOMiT2AfPl1Y zuD/Uathn8uyO4q+2O4FpDz8yKCNixySTjnlp8TC2hBJI1EvMP2cSk11RSZHJG0pzrKlS1hKil/ RGm62bONtcnRAGcPBb93AY4tDIO71eLYrV1U8jtt39XYMrC/CbeoJDEbCiaJwNHaZ9AxBsfJrMc wKlHCnswhCNIFftfX6MiEXBjfMprCmIkXP5P890vEf+/Zfstey9gXlb65L8bfJ0Ry44wW8lr75N oFiodkpVTHOJL6a8Yj2ZeAxRJiMCz+gr3Do4YZeOdazZvXODPwWYy8uJ07obLZLO0Wxw== X-Received: by 2002:a05:600c:354e:b0:49e:6bc7:4e1b with SMTP id 5b1f17b1804b1-49fc56ef4fcmr2059135e9.15.1789678960500; Thu, 17 Sep 2026 14:02:40 -0700 (PDT) Received: from [127.0.1.1] ([151.42.87.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49fc5755c40sm3106095e9.3.2026.09.17.14.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2026 14:02:40 -0700 (PDT) From: Valerio Setti Date: Thu, 17 Sep 2026 23:02:31 +0200 Subject: [PATCH v2 1/6] ASoC: dt-bindings: amlogic,gx-audin: add schema Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260917-audin-v2-1-38de4bc1de34@baylibre.com> References: <20260917-audin-v2-0-38de4bc1de34@baylibre.com> In-Reply-To: <20260917-audin-v2-0-38de4bc1de34@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=2321; i=vsetti@baylibre.com; h=from:subject:message-id; bh=8xj7kUdGgsVPCmxBLgs3dFbkoQPLuPzp6csuOKCL82I=; b=owGbwMvMwCV2z3ty7kUrRgbG02pJDFlrQnP/iLUayjLtvv3w1WaL+o6/q3gtS730b2x5bv4nd NEio0nXOkpZGMS4GGTFFFlYpt/7XVCq9tA44WQBzBxWJpAhDFycAjCR1lBGhhv/lF3Dql31FD5P 951y7UhLXb9bXqdBKoNG8RaevrMxhQx/5e75/EuWX26jUxHwt4L/5y1eLaYPe2wDn4ooN2QzxW/ hAgA= X-Developer-Key: i=vsetti@baylibre.com; a=openpgp; fpr=0497DEFB707526E13360C970DE4B936DD13A0100 AUDIN provides I2S audio input support to the Meson GX platforms (GXBB/GXL). Note: GXBB and GXL are not known to differ so the driver binds on the 'amlogic,gx-audin' fallback. Signed-off-by: Valerio Setti --- .../bindings/sound/amlogic,gx-audin.yaml | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,gx-audin.yaml b/Documentation/devicetree/bindings/sound/amlogic,gx-audin.yaml new file mode 100644 index 000000000000..76e6a6ddef36 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,gx-audin.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,gx-audin.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GX AUDIN + +maintainers: + - Valerio Setti + +description: + AUDIN is the audio input block of the Amlogic GXBB/GXL SoCs. It supports + various input formatters (I2S, SPDIF, PCM, HDMI) feeding three FIFOs that + transfer captured samples to memory. The sound-dai cell selects the FIFO. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + items: + - enum: + - amlogic,gxbb-audin + - amlogic,gxl-audin + - const: amlogic,gx-audin + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: AUDIN peripheral clock + +required: + - compatible + - reg + - resets + - interrupts + - clocks + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + #include + + audio-controller@a000 { + compatible = "amlogic,gxbb-audin", "amlogic,gx-audin"; + reg = <0xa000 0x148>; + resets = <&reset RESET_AUDIN>; + interrupts = ; + sound-name-prefix = "AUDIN"; + #sound-dai-cells = <1>; + clocks = <&clkc CLKID_I2S_SPDIF>; + }; -- 2.47.3