From nobody Sun Nov 24 13:50:09 2024 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 A011A1CF5C6 for ; Tue, 5 Nov 2024 09:13:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730797982; cv=none; b=Jo9915QtutWFTdjb15STjXihZskT/wxB+nkldd01qgvb26qyz3eg3121uakv/LYQabLDlXj+beplSoTjaeTqyn1lWOocXi3PLc3X5qwOOz3sv6AvaR6ehVUDR8L0GEecnqkOQmQhjIHXJtGka9Z0PyUvVPF+mEiLHBGjAmXDH/Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730797982; c=relaxed/simple; bh=1OPoB1ELy0Uv78kEHQdYhCn0VCG+Za1qNrPf67qHaE8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TmhWQY1iGwY6i5+ZCtY10JWZUehKpFlQRtKRfzgeTZsku2kwwrKyKdfLjEwPZPwAs/mFEbkTXTmqmnIVnD4oMxNmrjBLLKXyH5M0J2vh47Ek6FnxMuYJdED2l5g2Lv1G7wr3R5oXWfB7rAvOB4xdnFLEf8GtcIDO7FibBlb4oak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=iU13i8Oq; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="iU13i8Oq" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-720c2db824eso4764813b3a.0 for ; Tue, 05 Nov 2024 01:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730797980; x=1731402780; 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=f+4NwQTv7E4920mh+Y7a29gPk9vmlaHbaiEomCWWFMY=; b=iU13i8OqxlR99JEjGZ5yxryTjTiUVtMV3SI0oslFHjDQoH/Cg4uw6zNOsCI89ax5eJ 4oZ2okrO+wckuMF+5vaBhKeOIDxiDgIe7ruvt1Pu0PZgylhuP2WSKzP+c/lJJg2ufQiR g5ygcgNOtqhOzyibczCQ0Hz8o2cTBBHJrC0lk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730797980; x=1731402780; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f+4NwQTv7E4920mh+Y7a29gPk9vmlaHbaiEomCWWFMY=; b=KUDZDVutwvqVCCU5AeDcYBfH2Kq/zSHEjRHNtaF14hBF7DsOaujCouFnD7cCOGeiwG rGn8vJOkqviJvMFhu5Rg4Xro09hV+bQsZaj2OnA3wvpe3TqEV/nhL3so/DW7tWX7VyhI OFiLu2nwWY1GRBb2cI2aZHtH7yH/rhzUjzJPWbZT4BG7Ncr8BKX4ixcUyKnX85Qcm+iR E4OveztBRpOczTyIV3WgxkOLcX8vJ5vYLDBMeGeQx4mRhgprlLiROZ80IjSBLgMzQE+K Hi2EMtLDkZZb8h7HsRE2Nux2IbzUH39bitCPMMGL1OHe0ZEv97UVrprnaBciGpBm2Et9 bIIA== X-Forwarded-Encrypted: i=1; AJvYcCX7KIbocfl4mPP0D1SE79arhjhbKo1eIXVcK7mmjMyLf3xhvnJnH8h0jdAhH9nPqKmRAk0Ggycoyarmq/o=@vger.kernel.org X-Gm-Message-State: AOJu0Yy8pcTVUe6jUp/wgBm1Q/eg5choUPdXQH+Y2oP6mybJ/5cbhHRc mFLYTRqtdxf0Vc/4uhmsbn3qcrLeRNGKmwAqGP86G984DE/HOzEsT1kM+ibX8g== X-Google-Smtp-Source: AGHT+IFfp3tQ5uLnmExGkLWD+ytb0gK4uUh68a0Vvv88I2b/msUwcuNAU6GAKyLacYFjAI1B1n9KVA== X-Received: by 2002:a05:6a00:3d44:b0:71e:1722:d02c with SMTP id d2e1a72fcca58-72062f81d35mr48493079b3a.3.1730797979801; Tue, 05 Nov 2024 01:12:59 -0800 (PST) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:20ee:3712:ce0b:1ed7]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc1e7825sm8943185b3a.76.2024.11.05.01.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 01:12:59 -0800 (PST) From: Fei Shao To: Mark Brown Cc: Fei Shao , AngeloGioacchino Del Regno , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , Trevor Wu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sound@vger.kernel.org Subject: [PATCH v2] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add mediatek,adsp property Date: Tue, 5 Nov 2024 17:11:36 +0800 Message-ID: <20241105091246.3944946-1-fshao@chromium.org> X-Mailer: git-send-email 2.47.0.277.g8800431eea-goog 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" On some MediaTek SoCs, an Audio DSP (ADSP) is integrated as a separate hardware block that leverages Sound Open Firmware (SOF) and provides additional audio functionalities. This hardware is optional, and the audio subsystem will still function normally when it's not present. To enable ADSP support, a 'mediatek,adsp' property is required in the sound card node to pass the ADSP phandle. This allows AFE to link to ADSP when the sound card is probed. MT8188 has ADSP integrated, so add the 'mediatek,adsp' property to allow using it in the audio subsystem. This fixes dtbs_check error: Unevaluated properties are not allowed ('mediatek,adsp' was unexpected) Signed-off-by: Fei Shao Reviewed-by: Rob Herring (Arm) --- This patch is based on a previous [v1] series. This is sent as an individual patch in v2 because the other patches in the [v1] series are either invalid or for different purpose in different binding, so I think it'd be better to send them separately. [v1]: https://lore.kernel.org/all/20241025104548.1220076-2-fshao@chromium.org/ Changes in v2: - drop `mediatek,dai-link` vendor property because its goal can be achieved by using the existing `audio-routing` - update property description - update commit message .../devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359= .yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml index f94ad0715e32..ba482747f0e6 100644 --- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml @@ -29,6 +29,13 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle description: The phandle of MT8188 ASoC platform. =20 + mediatek,adsp: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The phandle of the MT8188 ADSP platform, which is the optional Audio= DSP + hardware that provides additional audio functionalities if present. + The AFE will link to ADSP when the phandle is provided. + patternProperties: "^dai-link-[0-9]+$": type: object --=20 2.47.0.277.g8800431eea-goog