From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 B3B8D1F80C1 for ; Fri, 25 Oct 2024 10:46:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853167; cv=none; b=HS2VKAF82PQYKflExwB52rKT8WTdWpHL1EsJk6cy5Z0SnOUa1km+/vhS07d8PR5oiv+AahiMA/K3xkCqHPtJS4j0EOorFc7kt40MAhGNkqkIFfjT2pWRtXERHdQhLTJNmjfOJ6gQQdEAm6yaJk22CGPBAaIJBUAdlHATIN1rEXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853167; c=relaxed/simple; bh=J+g1Im0eNTXVrmX/47x2f2dXUENmYhSVLhNDAC3QZt0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZxwM+LNTtxVKtKt8TxRHoZXLtw68nQ8jG1+8wuNWWdqyUokuShAm+Er2/FapmGHuCUPuNtZrtoIwaRdcYxIpMXDsy+pahgnDfTrk0M2V2UxmHXbxszDI0TnmHRk/0Di5MmbiLoIxcjjJy8a+q+b7IJTe7fsHcDjJgCD4w29yRqw= 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=Plfse1oj; arc=none smtp.client-ip=209.85.215.174 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="Plfse1oj" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-7edb3f93369so1035040a12.1 for ; Fri, 25 Oct 2024 03:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729853165; x=1730457965; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KHjnlTjdt8BtFp7CiIXNRB6RKGW6gDEeynV8EXeDZt0=; b=Plfse1oj5vetJYzMFj0g8mhd8XWi3vUnO+uoaw/GREF561AVrvV8sUP5Bg9MBi52ui v5W6R05dxC7EJ0Fv1vR4BtdkRQBy75I4mCWluLQBytOpyYuUiSiU01ooCyQws4n38LFo AAXHh5ZDkJW0qHqOhKb5NqpLvugEpvqHwtyEA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729853165; x=1730457965; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KHjnlTjdt8BtFp7CiIXNRB6RKGW6gDEeynV8EXeDZt0=; b=vDJHMlR35bY4EwzuI9yUXYXnFvBmsbfpJk4DCbFNksxu6mHBDeVY3RgzjnpzQ3aXR3 cjNJzEgHBzothM73JI7nRXj/KVLnu21pEyhKF+Zt+R32PM9d8WxKgjygRfnSNkktHusu GSQJxVtI3NXn0dH2qag1IyE9r6mqsiCk0wrWHO1yHXD/93lvDfVwi6dcOCuJjPjzFUzH miZwVqQl6mlVcVgNGdkNm1HB2JlYutTDMFcLgasSGekzNGYQKYBAWol9Y4AtfOSySmB7 IyBrRGEaYpDd1kbfUvpZzKUkBULUo5zeLk6eYQ/cnF7XhvN4d/YnEWxUQrShAcWZg8a+ tYdQ== X-Forwarded-Encrypted: i=1; AJvYcCUFYXiIVCMzPYWY6XrxJelLHlzNtWgjNvpXUKH3pwue6T6xQ6nGT3FxTA6ep1R+Qr3qcSyPqTK6TMGL@vger.kernel.org X-Gm-Message-State: AOJu0YwrQP34v48qK9mAfACe6yDHjngQnPsRPvPdhdy+GXh3Kw5cwRP1 lM9DRwzfn7vgeCCUWSopqJotnASOP1kvgTq3B0VMFHPNeqJev3ECKtg5vEV2lw== X-Google-Smtp-Source: AGHT+IFS0h0JqPw1ebmNNkhQOl9Ys/JQ1lPG9I77D6EUM2T3OpCnZPEttx0nxdHn7SemMJj6wUzG/w== X-Received: by 2002:a05:6a21:3a82:b0:1d2:f124:a1cb with SMTP id adf61e73a8af0-1d978aeacccmr9904743637.9.1729853165012; Fri, 25 Oct 2024 03:46:05 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:ebe1:dd63:343d:8a4c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057a0d089sm829548b3a.99.2024.10.25.03.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 03:46:04 -0700 (PDT) From: Fei Shao To: Mark Brown Cc: Fei Shao , AngeloGioacchino Del Regno , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , 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 2/4] ASoC: dt-bindings: mediatek,mt8188-mt6359: Update DAI link node pattern Date: Fri, 25 Oct 2024 18:44:42 +0800 Message-ID: <20241025104548.1220076-3-fshao@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog In-Reply-To: <20241025104548.1220076-1-fshao@chromium.org> References: <20241025104548.1220076-1-fshao@chromium.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The associated machine driver is not dependent on the format of DAI link node names. This means we are allowed to use more descriptive names instead of indices without impacting functionality. Update the binding to accept arbitrary DAI link names with a "-dai-link" suffix. This is the common pattern used by the target (MT8188) and other (MT8195, MT8186 etc.) MediaTek-based Chromebooks. Signed-off-by: Fei Shao --- .../devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml index 701cedfa38d2..2da34b66818f 100644 --- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml @@ -40,7 +40,7 @@ properties: name defined in the machine driver. patternProperties: - "^dai-link-[0-9]+$": + ".*-dai-link$": type: object description: Container for dai-link level properties and CODEC sub-nodes. @@ -112,7 +112,7 @@ examples: "Headphone", "Headphone L", "Headphone", "Headphone R", "AIN1", "Headset Mic"; - dai-link-0 { + hdmi-dai-link { link-name = "ETDM3_OUT_BE"; dai-format = "i2s"; mediatek,clk-provider = "cpu"; -- 2.47.0.163.g1226f6d8fa-goog