From patchwork Sun Aug 27 02:31:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13366820 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC55DC6FA8F for ; Sun, 27 Aug 2023 02:33:45 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E880D886; Sun, 27 Aug 2023 04:32:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E880D886 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693103623; bh=ERjUgwSYeFdskFgJLOFIN4Bd16MGNrDbQDtCGmGYpWo=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=DyxGPYahUs3qhRioGWnwCmHxV1eWJ7SSzLr2US7SyXdhZrxlM2a69U51ZuxLFKPk5 Z68hd8BVrUMkYiocaspqfRTxsbIMzLie1DJZJq1m9AWHY921PBw77XnZb2GiZiqZsQ U8kDAlT0h3jp9eV3ijG494gJa1BDjF4yoR9GTBMQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 69C43F80155; Sun, 27 Aug 2023 04:32:24 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E4DE0F80074; Sun, 27 Aug 2023 04:32:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E900F8023B; Sun, 27 Aug 2023 04:32:17 +0200 (CEST) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A4295F80074 for ; Sun, 27 Aug 2023 04:32:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A4295F80074 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=PvFJv7DE Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-34ca07ea55dso7210475ab.2 for ; Sat, 26 Aug 2023 19:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693103526; x=1693708326; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ApeSjM7hw/lG6tW2IMrrknm0IVFEfBtJMdeIIJl4q+Q=; b=PvFJv7DEd1JHac6VnvYdrQq9eNmK4cH2NHSseTh4VxMV4wpUJxwtFwAC7lWr6k1x1I /SKDR8ny/Jz6m9FjH0T4IruqOrpi/jD+kU8xlAW9LOp7uXRef/jCFGzoDZB4RY5GZ8xq zgf9jEaBzyuIxhfcJG3I5lDdA8R6y48h07JPnw7rdGgh6mOgPbukw/o0wCDmV+5daXQz RU++xsHclF2B2F4okWRXbL1EB7OD2MxsZ6XpgU2+r9h54qk2ZiscHRV4hZsBriGS43pD Wko3azTms95mvDdn/QNYzatzvfh2VlOjwgE/TlXz1mz8FaQt6aV5JFuFAsxYnJ2AHahA vuKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693103526; x=1693708326; 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=ApeSjM7hw/lG6tW2IMrrknm0IVFEfBtJMdeIIJl4q+Q=; b=KJaBQh4PwBAINmg9eRhlnAr1OoofkiFq1FuSMr5aqbJ1X1tE+CQzcyEZ81DAGr21oX pq9qQGhHvHKchItUNB0QcvOJtVGE1Gk5hClxxljyt+AyAzrTnNV5aOMI5E4MFhu2hcwp tboXy4LlHVYwgSB959SZUAdTH9SML7M0Ppdezr/BHFo9rFdIVb2jTdOeofCS5hFD4Ps/ uVz+63o8QcHPW/4Lni6si1i7ifrVQPCODZoB8VOEjGUzeCqfTF04PQx9EYbzn90vViMB Lg1R1enW61dRulsHBgRqXl5l5c7BIHUpiE4I4s/JoQZoY5VrlO18PTiP5lTJG0GEy1Xu B9xg== X-Gm-Message-State: AOJu0YwcjXqkf8XxgUTGwtOw+xZVAcGo18tZPwzBFQwAmUYX0XkWUDuI /AjAEfKjCNS4Yeo4rKFdBdM= X-Google-Smtp-Source: AGHT+IF9EVO8eUJZilq7N7KAL3LWOobH19T0XMaJmOkjuahDbmBpbwBT4CoIif1djlm2lsBZ5/NWbQ== X-Received: by 2002:a05:6e02:1646:b0:348:add7:f8e1 with SMTP id v6-20020a056e02164600b00348add7f8e1mr15709100ilu.30.1693103526337; Sat, 26 Aug 2023 19:32:06 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:80ee:1859:87ec:6d31]) by smtp.gmail.com with ESMTPSA id n18-20020a056e0208f200b0034202d05fadsm1581533ilt.72.2023.08.26.19.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:32:05 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shengjiu Wang , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 1/3] ASoC: dt-bindings: fsl_easrc: Add support for imx8mp-easrc Date: Sat, 26 Aug 2023 21:31:53 -0500 Message-Id: <20230827023155.467807-1-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: 5RERVRZUFOBZC4MOQHPEV57SFCOKCGTD X-Message-ID-Hash: 5RERVRZUFOBZC4MOQHPEV57SFCOKCGTD X-MailFrom: aford173@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The i.MX8MP appears to have the same easrc support as the Nano, so add imx8mp as an option with a fallback to imx8mn. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski Acked-by: Conor Dooley --- V2: Fixed errors: ['fsl,imx8mn-easrc'] is too short 'fsl,imx8mn-easrc' is not one of ['fsl,imx8mp-easrc'] diff --git a/Documentation/devicetree/bindings/sound/fsl,easrc.yaml b/Documentation/devicetree/bindings/sound/fsl,easrc.yaml index bdde68a1059c..a680d7aff237 100644 --- a/Documentation/devicetree/bindings/sound/fsl,easrc.yaml +++ b/Documentation/devicetree/bindings/sound/fsl,easrc.yaml @@ -14,7 +14,13 @@ properties: pattern: "^easrc@.*" compatible: - const: fsl,imx8mn-easrc + oneOf: + - enum: + - fsl,imx8mn-easrc + - items: + - enum: + - fsl,imx8mp-easrc + - const: fsl,imx8mn-easrc reg: maxItems: 1