From nobody Mon Nov 25 17:28:07 2024 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (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 85667481B6 for ; Fri, 25 Oct 2024 10:46:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853165; cv=none; b=S8aA/kLpc/gXZNOqt4JMktMYqEvzhhh5jIF6PLGorMvsJtkjlvZlQMr/Z7OdlxfwK2quYuEdynUrsOWRWV3JU/tag39211sPSDNAdWjCz4UaMrn5qTiM9M9HOAG1Np0FJuviES4TUjHzx8iKkD25fAM6gya4N0u+6Li+Fnb8Hio= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853165; c=relaxed/simple; bh=O14uLJFcfQnS9aEjRH8ZapsPP/mCxPsRfwWSDCmOMkY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bkU2M8sb/uD8HQhVQwBBndy2RP5FSJ10QgUGmPuauIrggPUiayTzspn4wGAbv3KqkG6CDyexwXSv4+tj2f4YPRy8fIj5M0KPdfEeUzuh+bCMYIIg3+TQimeJ+VG1PgyALsP25THfY4VM5ZwuTGm6/Poe5ubxJZ+DxECq6lkNYnA= 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=fnSJ4QuQ; arc=none smtp.client-ip=209.85.215.177 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="fnSJ4QuQ" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-7ea0ff74b15so1170656a12.3 for ; Fri, 25 Oct 2024 03:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729853162; x=1730457962; 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=ceLR0IvL9qdGH71mlJjn14Kdj5vXT4ULmmpb71qNMEk=; b=fnSJ4QuQVaAJl+9/VCdbdqBZ7Sxwbr/O6rAx92Td6BQXVubUv++AU/0CvNd8MvlKlc Ph8Lp4dv09HWw3VZrsH8GAHl8tmtMCr/6Z1jA+rwROaUg3c+xCgGkt/u2lru0WQ7MNhA +L3MRDcmbX6KI/d98bJU7NPkzSi9/MuHXqTSQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729853162; x=1730457962; 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=ceLR0IvL9qdGH71mlJjn14Kdj5vXT4ULmmpb71qNMEk=; b=Y7xy6TxTGuzQLueX1T9gYXetPnvRDuGgGXvSrc2HNymEaCtv+Expg2EQQSKxOOYddZ MDzAnKigvqSCYdTSv0gWdVjC4/ki50PU9Y+H2XVClsb4SByeSZ00Ax7KbGAhjjh/0Mi/ zix+SJgf4pwyKYYiRmFJ7Dol6LMQ1dNszJoPdwhhX2eiJOt24ufR7lsAPIAyzbjGPpRM nLw+kGy/ciIA+nxySiHm7UeEffMqKj5RISzrzPWenGN5Xv7ROkzNp6vk8h42zzpPNgJd prl/cRbNFwME3/pG0m0zFQsHzb562iZbRkI+QEyEFgf/bSuyj0CKmXkVj2rbHYG2FFz6 YOBw== X-Forwarded-Encrypted: i=1; AJvYcCWfULK7ZKJ+7GiAq1cEEAnYE0zaRkmen6FOZFp8jdZp7ry94ALa9UkaQxK6/cg+nh/B2EoFwxwH10dTQW4=@vger.kernel.org X-Gm-Message-State: AOJu0YzGXhRBobbMH3+U4jHIB1qdA4cN7ool4KhieM4fN2wKmsLPyTcU nXMQZMqgNi3b2XzdCRCCA6wK3quZq7FF7bFSvoCt39Bfisk53OdgtjJZYB61HA== X-Google-Smtp-Source: AGHT+IGz6wzyyQ3d+NeaKQh7ukjIPx/hDX/N2T3R4gD20OXmJ38D2JhCFST+k71O7anmr55JG00JVA== X-Received: by 2002:a05:6a20:2d1f:b0:1d8:d880:2069 with SMTP id adf61e73a8af0-1d9898ff764mr4972242637.3.1729853161966; Fri, 25 Oct 2024 03:46:01 -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.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 03:46:01 -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 1/4] ASoC: dt-bindings: mediatek,mt8188-mt6359: Add adsp and dai-link properties Date: Fri, 25 Oct 2024 18:44:41 +0800 Message-ID: <20241025104548.1220076-2-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: 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" Add "mediatek,adsp" property for the ADSP handle if ADSP is enabled on the platform. Add "mediatek,dai-link" property for the required DAI links to configure sound card. Both properties are commonly used in the MediaTek sound card driver. Signed-off-by: Fei Shao --- .../bindings/sound/mediatek,mt8188-mt6359.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359= .yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml index f94ad0715e32..701cedfa38d2 100644 --- a/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml @@ -29,6 +29,16 @@ 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 MT8188 ADSP platform. + + mediatek,dai-link: + $ref: /schemas/types.yaml#/definitions/string-array + description: + A list of the desired dai-links in the sound card. Each entry is a + name defined in the machine driver. + patternProperties: "^dai-link-[0-9]+$": type: object --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 17:28:07 2024 Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (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 9F8CB1F8194 for ; Fri, 25 Oct 2024 10:46:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853167; cv=none; b=S6f1DfmjYsEz2Sx4Id4az9hF++D1CE72y8RpNogBZd52gqtyBnkYRT4mkhr7l50srGwQk26NXjhdHKFQkbPP6LSe10UWBeDkmspjz9787T4GzW9/kXKyR4Hcc+4BXwGGYoIcCA+FEIXi4jKSL/qjoM1cJoM/ag24SPeM2WkY5PY= 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.181 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-f181.google.com with SMTP id 41be03b00d2f7-7ea12e0dc7aso1228187a12.3 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=ZphFS48jrm3t7MKbILXKt9PKih4d0Le+qae4ukZyEeMGnKP0wrZ0++iViC0LbydckJ jgPJDczB9h+K6a9uhVsTjnu6mN/33CMPxhhhKIeU87Ozrf61BUFLppXTJVe4VEppDot7 p1qE/d7uirpIpGXG2pPHPiXwr3prv/0mbtHMRwHu7ixORG0N9SqU3xgWV9iWU8hkLjyI GaLQVepdRhWLIR/ZefjWFbBnIUnkeTWC0pPLYeMTp9nQOulzfscfP06W48uqdIbPwH96 UjUnP+1lRKIZXiWD8yZb2jcqZVvhXfGJ3Bh4pDnbAIT0No8jCZ9upsVwx2si5G5j9Oun 9swQ== X-Forwarded-Encrypted: i=1; AJvYcCUHDj6CNCtle/raq1ZuUnG8Im7dc0zbsvvExQa1BoYG5WblG0PZcykmi//xaoB7J40pCBHZHlzW8WnOVek=@vger.kernel.org X-Gm-Message-State: AOJu0Yw/yJQwYl1T0+v1IWZ+gVj2QqnhCh/c7UsRHrcoZEyE73NjhD1p j6H6DNJ/u73azIJf/T/FgH8i7GVPL8PJQbNFBvNGyiFQkDJDZCnv0sevTYEqiQ== 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: 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" 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. =20 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 =3D "ETDM3_OUT_BE"; dai-format =3D "i2s"; mediatek,clk-provider =3D "cpu"; --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 17:28:07 2024 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 4AA4D1FC7C7 for ; Fri, 25 Oct 2024 10:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853170; cv=none; b=XHPSWBYnHeGtq8b0Kuwz3WtO2iu8U+Vq2lrnATtirP8nSTRqpkLRG5z1mPHJEGphQzgH1Lmk3Os7UTgbUS0rs0Vcwb5/mRtLxycDHrp9+rSxtR6wQ6yd7DU5/O4H/Xa9X7xwMaWq6zkYv/RubG8J5loJhMXI5KGo3q26EBg2+F0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853170; c=relaxed/simple; bh=LEnPFvnyQ5b9D3+6su2thKqg/1KZlfYf9MBK8xIMzjM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Lpz6JZEDySPbWU2h7XYFeBxG3kAKYqSg9IW8XqEAzGGVHNRtkN16Vqp5/cdpUffl/77DR9O5V5T2uh6seUljidog4bnPGDpwlUDs5u3NbBSjdcPUIHI4IBe6Fc8I40TFBotmbz3VY6ZLooYpS0r60wy/wR3EWcKF3ATyZ+K/6+M= 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=PYkZ8vRu; arc=none smtp.client-ip=209.85.210.172 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="PYkZ8vRu" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-71e8235f0b6so1366654b3a.3 for ; Fri, 25 Oct 2024 03:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729853168; x=1730457968; 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=mwvSraMLJg1mpGTC+YokyY9uCOj8ssrQMVVeDpVPQnU=; b=PYkZ8vRup9aQmrkGH9O0gdHOlpu0ji7XoMrxmziA5VnWSrf4wuIwh7aaU3aUJRS7ra ks0WaoCL1YtkqWD71JCKs2z2nkrAS7fittxSptawhZTkxkgucWiIvOQzK7hBnWR+0Uxu Uukq6FmVtTYZUmFucVyLhXBIp2LL63x0IEHpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729853168; x=1730457968; 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=mwvSraMLJg1mpGTC+YokyY9uCOj8ssrQMVVeDpVPQnU=; b=ZDb/4twoRTVBXs2i7y/2pSh8IJsDbmhcNToLumr475nUGlj3QPSLkRnpYE0uk2FKcH iyUQuIfGKdT/dJzuZULif/e3czAcwA8EuNA2nExUlMa4Nydsg8V0/3C18c+8HVTuY7IQ Acxp6TlMO8R4qKZ5bCAV7D0CGLnPRQqkBJnBThIeDyWNxAjyM6LxE7uHEaUnpHDuUD9z mGu9EIKjgDsaoTO55VADwZBLDvbOO5KMYa/L2+vSUBW2jsE8ptXLO19R2wZJqfBIPAdN NHtyWGJFpLzh0laZs3j3tZR/GIDI7XtdROXCbbkJ5U9kCzdDwEImBcpAWA5I5VV1kZ2K QNIw== X-Forwarded-Encrypted: i=1; AJvYcCWSTD6xXWhTkFLh8yDFw+/xyajCkYk3Xb9x+auY5QvM7gfCibc4nKsxW8iV/WU6o3bd7YycCFDWiu4vXs4=@vger.kernel.org X-Gm-Message-State: AOJu0YydunYXFTaU87EdhXmLFMOZfGIocX4R6GX+vPy5xGAH5f4WG7bq Ji7h7St9quRsek2qgHULzxo2VMhpYQgacOqwoTDAqbCgDi3RMvzw21D7Y50/0A== X-Google-Smtp-Source: AGHT+IFZb7u6MhTnx0Cd0nGORaHx/jx1aDgSW1ziWHfbhnILcm9MDtQdpUvmawCumLhb1VWKs1mJwA== X-Received: by 2002:a05:6a00:3c94:b0:71e:7a56:3eaf with SMTP id d2e1a72fcca58-72030bba11fmr12544536b3a.24.1729853167589; Fri, 25 Oct 2024 03:46:07 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 03:46:07 -0700 (PDT) From: Fei Shao To: Mark Brown Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , Steve Lee , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH 3/4] ASoC: dt-bindings: maxim,max98390: Refernce common DAI properties Date: Fri, 25 Oct 2024 18:44:43 +0800 Message-ID: <20241025104548.1220076-4-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: 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" Reference dai-common.yaml schema to support '#sound-dai-cells' and 'sound-name-prefix' properties. Signed-off-by: Fei Shao --- Documentation/devicetree/bindings/sound/maxim,max98390.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml b/= Documentation/devicetree/bindings/sound/maxim,max98390.yaml index deaa6886c42f..5bd235cf15e6 100644 --- a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml +++ b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml @@ -9,6 +9,9 @@ title: Maxim Integrated MAX98390 Speaker Amplifier with Int= egrated Dynamic Speak maintainers: - Steve Lee =20 +allOf: + - $ref: dai-common.yaml# + properties: compatible: const: maxim,max98390 @@ -36,7 +39,7 @@ required: - compatible - reg =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.47.0.163.g1226f6d8fa-goog From nobody Mon Nov 25 17:28:07 2024 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (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 CC7D91F8194 for ; Fri, 25 Oct 2024 10:46:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853172; cv=none; b=gDvfRcoQyBi3eW+oU5MPmgq40wZPdmlnYwiely9s/l2HzkFRv/z8XO0vqN1byGvl4KyyevTIXQVjOmB9M7Sq+HOHhm9hJstEjLyVhdVA7rQxNRjzZaWIhogZJ58iLUSIdkr1whgx1IyAp9n3ydB5wd3m+b9dnXSYSs8wFsyGN0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729853172; c=relaxed/simple; bh=49/xKwp90A3nUA7tjT2wsW3FlqT957A383Rxrkqteo4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iCWJV1bAiwTKhEn0RO2nTn6iuCpPYzxwl4xKfNZegVF1hwHgiyw8eqwT358FE+9dnsrluFiOu5T+aANyclRN/XajoJKE9NnhIIexC20cdb/uiY+BVkYiPDl/3YaGTrfnSpyYleRgF6Mr+0z/od8/ELAM/9xCENjFwc3ReX6n0fI= 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=F4wPASpT; arc=none smtp.client-ip=209.85.215.172 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="F4wPASpT" Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-7ea12e0dc7aso1228243a12.3 for ; Fri, 25 Oct 2024 03:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729853170; x=1730457970; 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=x425G6dEYUoUHrFlVfLmksWom/x1l9U5kI5PEjY+YTY=; b=F4wPASpTRpww9QXezOSUTGHhiQakLAUMNhw2+Aj59S6w2gD4MVGnyJOSn3+pyFUD89 z+qKkmXqOjHLAMNQDSYEEibzbB13RFfzCPPgrSw96APtvFVXDV6Aqyc+dPIcagQauOnv gryZKu589FyMkbCOzAdHlvGNndO5GwfbF6czM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729853170; x=1730457970; 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=x425G6dEYUoUHrFlVfLmksWom/x1l9U5kI5PEjY+YTY=; b=BnNfhpcaEGSLaUJG47Xz/BNU3lu03TuAF0nFiBgjU8JV7/ugalv1ZfHbipfMyNreTU PfQu3cPo4a9Hptg8snJ0B+mTt1Sphns/+WndVn+7Nk9UOs6tn54MlvfOW8BtClT8yjdo gfMhABgO2Lf0hUGBAgtp2iIm/cwwPky6U9FI0RR9QqdQhV9gORvevCstcXTyyXaor1Qo LDSqgTVOrM9vie9HgcZ9UZAPbO4RiAZA2YVKLaWvEV/78doQ56WeIaJE/Y2hLYlu2e80 dgnDzjR57y5auB6Q9no4v6rHwz9k3qk0Yr42gYXUivbfJ3YgAvhlIeFllMj8dTP8UqAk q1xQ== X-Forwarded-Encrypted: i=1; AJvYcCUSe5qyvWmFcFE3nSyCuVr9k+ggAhU3/dA46qF/UTRSOdnq3QtcQxXm5fnRvL8/DZaoNjS/z2BW7QDWu5I=@vger.kernel.org X-Gm-Message-State: AOJu0YxUvGx2s6UDyisS4+DMSjNJeYeUgEzz4oEuRJUprcRkguUhuAE/ JnDBcGvoOTQ/FOesVu5hVm5gZQv7HAdnbMO6t7XQKKmEl692qZZmEUTyuzuEDA== X-Google-Smtp-Source: AGHT+IEMFtoeeLC2uQXYFxaWamey1ztw33rudPnMqbRU3YeS/y2Io32Jyg8kyssaMwHSNQ2DL5ZuzA== X-Received: by 2002:a05:6a21:3942:b0:1d9:2bed:c7d8 with SMTP id adf61e73a8af0-1d978bd541cmr12258372637.43.1729853170180; Fri, 25 Oct 2024 03:46:10 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 03:46:09 -0700 (PDT) From: Fei Shao To: Mark Brown Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , Steve Lee , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH 4/4] ASoC: dt-bindings: maxim,max98390: Document maxim,dsm_param_name property Date: Fri, 25 Oct 2024 18:44:44 +0800 Message-ID: <20241025104548.1220076-5-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: 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" Add the missing "maxim,dsm_param_name" property in the binding. This property specifies the customized DSM parameter binary name. Signed-off-by: Fei Shao --- Documentation/devicetree/bindings/sound/maxim,max98390.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml b/= Documentation/devicetree/bindings/sound/maxim,max98390.yaml index 5bd235cf15e6..fa4749735070 100644 --- a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml +++ b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml @@ -32,6 +32,10 @@ properties: minimum: 1 maximum: 8388607 =20 + maxim,dsm_param_name: + description: The DSM parameter binary name (e.g. dsm_param.bin). + $ref: /schemas/types.yaml#/definitions/string + reset-gpios: maxItems: 1 =20 --=20 2.47.0.163.g1226f6d8fa-goog