From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 1AF46475358 for ; Mon, 12 Oct 2026 11:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791806057; cv=none; b=YJc6GyeQF9hQS19uMhflU6UWBrkFDIo4uM8NnOoAecEQOYnT3rxW49+VNdTnHOztkFcFAKJrSn8uAsPKOlsdWYT40jfm7rYXbIsJP097tyKdH+0yWS5SIn8R0ve0ooM5CnK3yAtTCUSRhNMSJSHYgjCUQ6jfw6brkYowSsUi5kc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791806057; c=relaxed/simple; bh=+ACzDZ9zCTPl4MqlGYduxrW3izR83l15T4nvctMtD3I=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nWdBo1rkBdaJ+ACG+xR7/dHB+6C3Wxg7bZRhvc7OXIAIL6jHPyIv6PeIoP+kXB7QnsXyoHmhJ/LzFHb4NYBY5/Ncqu4YAsDNHa6kQFQT7Bn7pOzi4JcJt4m2axwYfO24fZhFobrdDfBPydJ6U6923rQ2GM4nvRfxlIxm3I9xsHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=o4ev5JN6; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="o4ev5JN6" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-48afbd2c386so875823f8f.3 for ; Mon, 12 Oct 2026 04:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791806054; x=1792410854; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Qp6mhWPp883ejORG1lCokPuAQSQmWRK0wbW6sXM1LFg=; b=o4ev5JN69nUWElEbD+Ppk+pc0UeCeGqG8Tp1RbCSBnEUkhHynsQCrubFvCMzp/PBFc uvdoOOKMTB4JJ/rhRiaVdPK2B243jq5UULAIcCF+KpXbdtzYcUHFEAukma5Xvwm0W9T9 QSQRmIRtlWCY0JSU9B8zpHjIsGFVYk0Whrh4JHYesCIloQljSBB0zjY1iG/31ALIC/Yv EGe5Zg4u+U21BPZnuSjQkE2opbrKLFq3FdgU1gs0pVfj5DZ8FglNvI1q+sgU6VIDcjj8 EQR9xXKZnfGAzyKSO8AXA2cKm41r/aOg7Eg+JCMV8y4ogeq04CxrfAYx968vhMBQTQqN L00g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791806054; x=1792410854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Qp6mhWPp883ejORG1lCokPuAQSQmWRK0wbW6sXM1LFg=; b=qZvxmKhqhrUQx7oA0y7ENG+z8Px+7OGTyFg1F76hIIpR7cbRhO/bEjIAirrGoGRKti M9lnkqpH0UQcjOll0vvMYYpnmhYL5/JfMBKSGB5VnWkTEyqkg98R8RqboOCiGEZkkqpG Xq5bN1MQP78tHnX8rV38IQuhjUfappQ6nmYEOvc2WL0w1LEG7qMAZPQLkHFGSgD1ndfC swN0nBsyD2LI2ECekC7BEDB7upK5G+xXfUZOYKC6E104ZbDUEWWmiYyU0uTyQi5ph7Bz NZMh9+62/XK3chgFczXPCJzuOLodw0IHBQ2boEP2M5Ig6qLU/ueMweF1C/7kGjwPdOd3 fsUg== X-Forwarded-Encrypted: i=1; AKwUvBxzF+pOxzGz6iOv4RQJ3TXq23CK59syoCoKYjmHTLdwMgeiBGnldp+OnoqQmCX1IQDrAILP8Wj3/EEg@vger.kernel.org X-Gm-Message-State: AFq9FYJMKzrLAYgHyAkDWd1jsyQOrcHEPcde6ueEb/q+DLhP/LI+/0g4 4+qVt2v9BLPTdkbZQVL0pZnSPpupGADN0TkMS9FWOQlrMdJPARMg+eF0Bk2L4A== X-Gm-Gg: AYBFou03Xn4s+8hrYuVSiDLrNFSDB0lq0QsOEM2myckLAhHIesaqnUGQmulDZwO+Odp sK0v96J6mhZPw5WYm1q7JBLzfwSpsEIBZB7lOcEHrPTPqYVOglAA49AFQakTeaL5yQEHyfAq/yt BHTJ/qOlulFCzCKICRXysHh0MlPhOc7oOkfCDDkv5OSD8vdPJ5JQLcKmJalY6oYlLE3YRCJ0kx2 U61/NGYiHunR9N737lVCs3ta0Y3KCWmEoe0Be6KLyHg86KYS2BYoUzz4cmCYjw/1EBkJCUSr9E1 K/niq3KTQMWo3vPZGpSCR1U9XAItNoxheDNstNn7nvOyhighQ8y5jGuvcgwzW5N1rx6UREppvAH 98u3vl76n61dyhQwkKMeZfRaXKypVJKpmf8g2drHX3AmhIpv5nve/L0CoJolGJ8fTfDy7BLI3K5 zmf8RFtiHy5Ny8iTfo8Psbjx1dWqBM1+NngTFSm3gJW/ky1TAxT4AyFME3KeRLro58kyfejYQm0 1fe9X7/hBMxA2MIAk2pd7Uk9LGqo8uP9K28kyN2CDt102NIH+3bDOeShb8yfRNx8mW/D2rsrKLL XyOzK+mccbufbrD6tSPdVA== X-Received: by 2002:a05:600c:3554:b0:4a0:1b14:e283 with SMTP id 5b1f17b1804b1-4a18e43a1cemr174486315e9.1.1791806054107; Mon, 12 Oct 2026 04:54:14 -0700 (PDT) Received: from Ansuel-XPS24.localdomain (host-95-235-252-189.retail.telecomitalia.it. [95.235.252.189]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4a18bf2caf4sm311783805e9.10.2026.10.12.04.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2026 04:54:13 -0700 (PDT) From: Christian Marangi To: Christian Marangi , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Philipp Zabel , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] ASoC: dt-bindings: airoha: Add AN7581 PCM controller Date: Mon, 12 Oct 2026 13:54:06 +0200 Message-ID: <20261012115408.87066-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261012115408.87066-1-ansuelsmth@gmail.com> References: <20261012115408.87066-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Airoha AN7581 SoC provides a PCM interface for VoIP applications, supporting playback and capture at sample rates of 8 kHz and 16 kHz. The driver configures the PCM bit clock to 2.048 MHz and supports 8-bit and 16-bit samples, with up to 32 channels. Document the related compatible and required interrupt/reset and provide an example for it. Signed-off-by: Christian Marangi Reviewed-by: Rob Herring (Arm) --- .../bindings/sound/airoha,an7581-pcm.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/airoha,an7581-pcm.yaml diff --git a/Documentation/devicetree/bindings/sound/airoha,an7581-pcm.yaml b/Documentation/devicetree/bindings/sound/airoha,an7581-pcm.yaml new file mode 100644 index 000000000000..e73236453b88 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/airoha,an7581-pcm.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/airoha,an7581-pcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha PCM controller for AN7581 SoC + +maintainers: + - Christian Marangi + +properties: + compatible: + const: airoha,an7581-pcm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + const: pcm1 + +required: + - compatible + - reg + - interrupts + - resets + - reset-names + +additionalProperties: false + +examples: + - | + #include + #include + #include + + pcm@1fbd0000 { + compatible = "airoha,an7581-pcm"; + reg = <0x1fbd0000 0x10000>; + + interrupts = ; + resets = <&scuclk EN7581_PCM1_RST>; + reset-names = "pcm1"; + }; + +... -- 2.55.0