From nobody Tue Jun 16 20:36:48 2026 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.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 A15252BE05F for ; Mon, 20 Apr 2026 20:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776717937; cv=none; b=uIphe5o3j5EscV2/vcXOqhEogPUqbXPYUH/N9qd0kXeZ+2vEI/w5qEk7vdVNKNFYvLodHIk7rEfjVbd5HTIexRpcBfDTK4pXJA4e06SquvixWBBKLfvDSn0LnTNEu36PxuLb/DYpSRL1Onhn6ISZXkb45gfimFHPty9TVEC/Ya0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776717937; c=relaxed/simple; bh=vZOvZ46pt7uJy3xGvIw66QB7EkGKjD412n9UrrKxX3Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TBOUd4ZIBom8wPvCaaGWDqHvoMdAVH3NqvezVanA730HrqpotXUkGQal/93B5+qtjo4BzRUGW+r2pyft0BLZJYdMDr/yxeyLM4c/rakoemVrHvhL8U1kCHedqIUV8uFYOKWgtcN1I0SMdMyhzpJRJ8qSWKx4Y+rbR8hQxeMnmOM= 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=huJUy+T3; arc=none smtp.client-ip=209.85.128.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="huJUy+T3" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4852a9c6309so30970655e9.0 for ; Mon, 20 Apr 2026 13:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776717934; x=1777322734; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NFxnKBIb4rP9HCGv24zgq2DmExS0pP68iWUHvrzRj3k=; b=huJUy+T3EpARDIkHJo9jKcVq2vxtP+fLKqLc81ziGkvcB71yz1VrvhHlGid8R2KKk0 8eNqFiJLh6MllzNBFx09Frnqzs4zpIsHimpvFxumxvqf1dsqt42HArTs2AmRZ0LG2Ge5 RNdv+2zMFEqfvmYdJVr28bctDA8/F7NgryJWKuCoQxQrWObN5rnw6gml8+xR9p3/Vzd/ WPYNEbjh1te+Gk0GESsUtMMd7JLwUyveXXHBC/tidxFnFt2SUFCZabzjSRttkGcIcQaA t5AR4f2+xxx/RvmPauksLNyqcCYXk9hUH4CRY3ZfLTtLkYuN/1lrid4aXOEYMswnba93 93uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776717934; x=1777322734; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NFxnKBIb4rP9HCGv24zgq2DmExS0pP68iWUHvrzRj3k=; b=f9PHZfS1ZyGyp+Llnllbs+H0AmE1NmVd0yLWD1vXc+FJ1DEfxdWfzlWU/wyONJhhzH Mn0rWuuYQT06iteak6x613c2HJloRCjWjjgBgqu02kz1X0hkNsUWBWBclnhtCkUO07ON 5MXoMKLGvyePPvlj/hDmDK3lmTCqbpifxyxHdSSU7TzgsftxvGD/VDvqs2F2ZYuOa9EH C1A3sNf5Oc15ep73E/1F52bhdH8UH/FPV9vN4z3z28FiHKohkK/VunCzgMek3CXeSv4g sQB6fPZbYvYaH+++V542Xp9K2gL8OsYDnOjwemJj5PGe8yMqTZzLn1ms8Vyfsd0ELr8z Y84w== X-Forwarded-Encrypted: i=1; AFNElJ9JIVrmi0p4JbHq4KX4Cy2b5SgKEldaR8vZar8WshZCZMW/BXsTXsuNDbvQJIs4idG72pD8Sd6H9GWlp5I=@vger.kernel.org X-Gm-Message-State: AOJu0YzwWI9mMsV9vM9QjL2AA/uW4TKRApcVJ1i8DqT0jpt5mWoz0qNd G0+1F/Rq0EBLwGz2247q/KM5t09cJUuSdzb8sokNM6TSbjaKjAc+4jsw X-Gm-Gg: AeBDietEK21C2u3PuVhZQf4dSrEmX4HiOOUMYo2e6zHGFZjrKyIDPALl5iz3hVhcj8p 1EJ5kNzQTquNvl/m6S2ixTszmJBMGT6SUw4L07TgnE+Fcuix14QAQQhf6UN/9bL56d6eUPShWMF 6VeXV14eZyIj6/PY0iWweljnBqXqepkY4zx/z21sgpN33XFNJooh9MWozTLaMJ1UUpl2z3YqOOG IOcfZh7mjYNaJfuNLMN2Wv5EVmqfPq2WgMOk+xZRTlNzzx8TMjS8syhuy9nYZ3Oy+az4hSFQnek AO3R2aEv/mZsh7GE3o4rOoQzzOBUZ/rTsb/Gt0Pix14fhE5WQYK3q68WgBXUaUVreGv/R5ZbCMl fIrJzsdSlruJROiynQM85hvDId2ndYQKrKi8iIPgVE5TCDfRyrd1ClsudI+g099Rlx85ucjjcA4 W3Awz12hR0pziEyBkqOMcsKVYwXwmXPA== X-Received: by 2002:a05:600c:8115:b0:488:ac01:72b6 with SMTP id 5b1f17b1804b1-488fb77d7d3mr176918155e9.21.1776717933714; Mon, 20 Apr 2026 13:45:33 -0700 (PDT) Received: from luca-vm.lan ([154.61.61.58]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4891c320084sm170344535e9.2.2026.04.20.13.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2026 13:45:33 -0700 (PDT) From: Luca Leonardo Scorcia To: linux-sound@vger.kernel.org Cc: Luca Leonardo Scorcia , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] ASoC: dt-bindings: mediatek: Convert mtk-btcvsd-snd to DT Schema Date: Mon, 20 Apr 2026 21:44:30 +0100 Message-ID: <20260420204514.1640995-1-l.scorcia@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the mtk-btcvsd-snd.txt DT binding to DT Schema format. Signed-off-by: Luca Leonardo Scorcia --- .../sound/mediatek,mtk-btcvsd-snd.yaml | 54 +++++++++++++++++++ .../bindings/sound/mtk-btcvsd-snd.txt | 24 --------- 2 files changed, 54 insertions(+), 24 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mtk-bt= cvsd-snd.yaml delete mode 100644 Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.= txt diff --git a/Documentation/devicetree/bindings/sound/mediatek,mtk-btcvsd-sn= d.yaml b/Documentation/devicetree/bindings/sound/mediatek,mtk-btcvsd-snd.ya= ml new file mode 100644 index 000000000000..f423e3a02997 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/mediatek,mtk-btcvsd-snd.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/mediatek,mtk-btcvsd-snd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek ALSA BT SCO CVSD/MSBC Driver + +properties: + compatible: + const: mediatek,mtk-btcvsd-snd + + reg: + items: + - description: Register location and size of PKV + - description: Register location and size of SRAM_BANK2 + + interrupts: + items: + - description: BT-SCO interrupt + + mediatek,infracfg: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of the infracfg controller + + mediatek,offset: + description: Array of register offsets and masks + $ref: /schemas/types.yaml#/definitions/uint32-array + items: + - description: infra_misc_offset + - description: infra_conn_bt_cvsd_mask + - description: cvsd_mcu_read_offset + - description: cvsd_mcu_write_offset + - description: cvsd_packet_indicator_offset + +required: + - compatible + - reg + - interrupts + - mediatek,infracfg + - mediatek,offset + +additionalProperties: false + +examples: + - | + mtk-btcvsd-snd@18000000 { + compatible =3D "mediatek,mtk-btcvsd-snd"; + reg =3D <0 0x18000000 0 0x1000>, + <0 0x18080000 0 0x8000>; + interrupts =3D ; + mediatek,infracfg =3D <&infrasys>; + mediatek,offset =3D <0xf00 0x800 0xfd0 0xfd4 0xfd8>; + }; diff --git a/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt b/D= ocumentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt deleted file mode 100644 index 679e44839b48..000000000000 --- a/Documentation/devicetree/bindings/sound/mtk-btcvsd-snd.txt +++ /dev/null @@ -1,24 +0,0 @@ -Mediatek ALSA BT SCO CVSD/MSBC Driver - -Required properties: -- compatible =3D "mediatek,mtk-btcvsd-snd"; -- reg: register location and size of PKV and SRAM_BANK2 -- interrupts: should contain BTSCO interrupt -- mediatek,infracfg: the phandles of INFRASYS -- mediatek,offset: Array contains of register offset and mask - infra_misc_offset, - infra_conn_bt_cvsd_mask, - cvsd_mcu_read_offset, - cvsd_mcu_write_offset, - cvsd_packet_indicator_offset - -Example: - - mtk-btcvsd-snd@18000000 { - compatible =3D "mediatek,mtk-btcvsd-snd"; - reg=3D<0 0x18000000 0 0x1000>, - <0 0x18080000 0 0x8000>; - interrupts =3D ; - mediatek,infracfg =3D <&infrasys>; - mediatek,offset =3D <0xf00 0x800 0xfd0 0xfd4 0xfd8>; - }; --=20 2.43.0