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 3B0F3CA5FD6 for ; Thu, 1 Oct 2026 16:06:49 +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=dJvBPpo1h4k8tNe9FHhNHwYc+zaoYP0tUvjJ+Vt9KH4=; b=F8dT7a22QYX8rU VUT8mg3FXfiMt9MVSoHc51ntVH0sSSkiXpKfSK0MJ1XKyP5ojUvrq+7p0cfzrNsIIPZPwm0vvEMvk JUWTz9HSUnHrXM7dK7mYVQrqCLXpTGNuWq4E0XDx33U2LXgFSs8LazgMxSlS0tMp69WbwN3YCfjLE DGbB2eClAl48ZFMb8DKq/u2VQt5B3C9AwpWcycg67+I8SW+MOl8JOCPExYtjkBbNX26R8RhtzSBe1 FE2FpXCRcDwZfdHFb7xoxGB7zpj3/KlL2xR7t+mvO61H8ciEZfGdMzFIG6XNa89/Q4br7XMAp6aTC kAjd2MaTkpn8WPyvt0CQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xCJIz-00000009dp1-1E5a; Thu, 01 Oct 2026 16:06:45 +0000 Received: from mail-wm2-x10.google.com ([2a00:1450:4864:31::10]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xCJIt-00000009dkN-2FTJ for linux-amlogic@lists.infradead.org; Thu, 01 Oct 2026 16:06:42 +0000 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-4a006bb267eso26083575e9.0 for ; Thu, 01 Oct 2026 09:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1790870798; x=1791475598; 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=ojl2W7T3yKD9ARXzuM1thSb0JncbAdcUVHPn+qvV/1M=; b=bfxe8gtZVVvVyegZj9M6Z9iDR8jnyJtAG65z+emouvYPCEHVl72qCy2lesDkS8TUqH YyyeyMYul3vW6sHUqhoZW9jWRnMfUn8dueGnhle7GbWSo4vlALGxW7029CGN8C4ygvLY QCtGiUFnXBdK5PPQ/sLKTCU5BCeHcyeSaZh5AP2U7VIhupEgxXIHO5/25TOIyLljYm1a H7iiEaJRoNEV67rrIkH2St9BWpyJuHqlAtgUr+3ab7yEQEv0tJ5QJgokQlQL7TLNGDqN nVaTCd2n28n8Z5BmpzDwCOM7sE3VP4hLe/5Fvwt/T/NMqxFfwf7JHtARNNC7KinwY2Sg ZQTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790870798; x=1791475598; 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=ojl2W7T3yKD9ARXzuM1thSb0JncbAdcUVHPn+qvV/1M=; b=eglNFNNzFSAYANoZWi+OnVL2P7l0LGMF5k0ClyxP9AAJpsRRuIPfcBXg4S+ayb/0OT IZNnWJCe8pgVL4M6eKe0iKghFFwHAvI4beKBk7kyx/qKS8TijukvT6dDHap/2dfBo/gB EyfcZUmkHc1dyAvEYNDlK57GUfEuRIQhNd/pJHunXQqz/sIzrgpUhM402hVnnUJXXZvs stUD9KDhAk0ylu8vyd8QgREcJFhf/RG0BinahEVH9HMgmbyxMyjzBFUZzYhg/MSkTpo/ XViqBPsXd/PMfG2Pi7DbqdNcwMmPtufntBCt1qLqCUk7di+TaJ4dENs8AOPDu7rKaFS0 WivQ== X-Forwarded-Encrypted: i=1; AKwUvBxjPFlebvO6MA2l7eO0xn5Ucos1qLZz+V9fxV7neWnh6orgMNklVl9fPfAigO/x5hiE29re3/LanPqOQgsi@lists.infradead.org X-Gm-Message-State: AFuF++mzrvOPJSWQNw4Eo2zFsEPxe2lgrWliS6cpBN47bx0Amc8xyoHw V2zfUwqPbBVKgmIGYbvw0N2KeNKxey8aqRV+L6E+P42jO49ud6Gj4eZq346Jh8cjU7c= X-Gm-Gg: AYBFou2mBQSR015/htwzYy8Gc3sYfQmhG7EFcS/IhE6GwhewU3sYjdZ5nEb3g539jW5 vnroeJlpI7FLfEruNFSQvB0bJjBY5dM2UCgarb8D3dncVjs9MpGw2k4bcYDnVurZOes4U+5QROs C15bkX7LiCFAST9di5KwdQZ8kzjbKlgJVhpoHBfYs76gvqfpRp/2sfAPZrCe4+tBFHKLTIXYVG6 Ad5D8p2WxsfPQaYnbftG1y/zu+S7OgeK/dYtY0SsdxztioLPCg8s09aM84t7seDA5YKKqo9J5i9 bZeM4L0yO/vvMZxred+Btt2b6Pl/x58hdfTydSaGUhen5PpMSrsBg95ofnKaGiL9Ofip0CrhoWP DwZIb6bKz1H6lZ0p3MurGPDva5AN/7k2XAJcueZHmno5qdF1XIDToLnLau9kwTBdSJH8PIYVZ9P mE9VaW/o4XqjDcED1JdsrZKQQjTb0SQwi+77b0fQO5PCpiQtjHOAc89wOpDn7J1kZx X-Received: by 2002:a05:600c:4e0a:b0:4a0:25c:8af2 with SMTP id 5b1f17b1804b1-4a0276bfaaamr1412195e9.17.1790870797933; Thu, 01 Oct 2026 09:06:37 -0700 (PDT) Received: from [127.0.1.1] ([151.42.82.6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a01f93ad0bsm52969705e9.4.2026.10.01.09.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2026 09:06:37 -0700 (PDT) From: Valerio Setti Date: Thu, 01 Oct 2026 18:06:26 +0200 Subject: [PATCH v4 1/7] ASoC: dt-bindings: add amlogic,gxbb-audin MIME-Version: 1.0 Message-Id: <20261001-audin-v4-1-2476646118b5@baylibre.com> References: <20261001-audin-v4-0-2476646118b5@baylibre.com> In-Reply-To: <20261001-audin-v4-0-2476646118b5@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=2499; i=vsetti@baylibre.com; h=from:subject:message-id; bh=WgAh06pTErBsg1r/NbbofMqPA2B5H76POkIEZ1f1w4w=; b=owGbwMvMwCV2z3ty7kUrRgbG02pJDFn7Wrlm/60069aWmXbZJP+L/Ppv5RfXibQmLRd+ZLU1b hFzieypjlIWBjEuBlkxRRaW6fd+F5SqPTROOFkAM4eVCWQIAxenAEzE8wXDT8Z3+u5l4hHrfMrm n9V7bVQTHXlLfMIzD+ZU4Z0FWqkeHIwMF1u9YyzD1kxtfiE1aW1j4EFljTmfXx9REo2tNxN6cbC IEQA= 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-20261001_090639_640856_AC85A58A X-CRM114-Status: GOOD ( 12.35 ) 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 AUDIN provides I2S audio input support to the Meson GXBB and GXL SoCs. The AUDIN block on GXL is identical to the GXBB one, so "amlogic,gxl-audin" uses "amlogic,gxbb-audin" as fallback; the SoC-specific compatible is added so that differences can be handled later if any are found. Signed-off-by: Valerio Setti --- .../bindings/sound/amlogic,gxbb-audin.yaml | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/amlogic,gxbb-audin.yaml b/Documentation/devicetree/bindings/sound/amlogic,gxbb-audin.yaml new file mode 100644 index 000000000000..4df4796623ed --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,gxbb-audin.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/amlogic,gxbb-audin.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic GXBB AUDIN audio input controller + +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: + oneOf: + - const: amlogic,gxbb-audin + - items: + - const: amlogic,gxl-audin + - const: amlogic,gxbb-audin + + reg: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: AUDIN peripheral clock + + "#sound-dai-cells": + const: 1 + +required: + - compatible + - reg + - resets + - interrupts + - clocks + - "#sound-dai-cells" + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + #include + + audio-controller@a000 { + compatible = "amlogic,gxbb-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 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic