From patchwork Thu Apr 11 16:14:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiago De Franco X-Patchwork-Id: 13626361 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B6662C4345F for ; Thu, 11 Apr 2024 16:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ruo4PMbvfSSo0VNWT+FSu2+iKKbt1kOqo4mkOFPpYNE=; b=Ghg7OunhkEzuDN Uc36LTGyxsn9zLpOkSGDvXw9Y+5exMM+l765jJyGd0TiNU/hW39yYpo5ZIQcXZ3WM983Oo6AzoNOC g0SM8UtQTgrkCPlx0szS4ysYzCWvrzy2T9lP+bFMKv4xL4dagtLRAjdRG3pwypOwOukDVE/pZcuPg EiKs3Ca530BKU6SSEOIpOsGLdSIEDhhBqn9BsE5yQQmbYOvouSMWvSUtaEmodyM/7Gvd3g7XpVl5q TWgumhXYCAqE6P8iEqEBh/5nULrEgHWf/1hGeXM8jTGuboL03+o8G6HqemCNlmULrPTYW7/Hw3CSH 9O9sJJ715lbRPvpP+ruA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rux55-0000000D0jD-2h2o; Thu, 11 Apr 2024 16:15:19 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rux4x-0000000D0bK-1JpH for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2024 16:15:16 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6ecee5c08e6so38017b3a.3 for ; Thu, 11 Apr 2024 09:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712852104; x=1713456904; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bHKLXIL7AGZ7PCEor3/6k+rOZmYsF608r3G1HPhZ/Ds=; b=glXorZtLqAts3xEoOUm/RDRi6ls053WrCuLXeUm+NY+NojOtt6dkSFCoeqaAf6buLo jhwFygIMTN+pLUDcJVAKETp1X41R8dSiOQhkHLjGpuUTbUenhYuItEp0Z9P9ZpCx+okJ ruIMoYWOW0U5tnnyRo3vgiFldGfJyMPVf2W664s4SL0Som4cOSpPXzgMbHw/N0IPMvG4 I3BLWjatV6rtEVIlmWEK3tG9ydjGaqi8UM1K7n40IigRwmTvUT63nQFEUOolZ6NdpqRV nHYuv2KbAP8ABvwVIbI02mIN1UhZk1iQXPgI/LLMRqbNrDR7MsnXGGD9ETBhurQcab6n F4kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712852104; x=1713456904; 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=bHKLXIL7AGZ7PCEor3/6k+rOZmYsF608r3G1HPhZ/Ds=; b=k5QMQ+WvBSPAUVyyNez+271ODBB2tqBYMyv62q147XAglcJJirOG4Fds/M+PN3yA05 8nYU3urLAoL06nnpAwx+dmvmfSacfu3p1GkW4M1HR4iuBYZylwZXar/6FAUC5KXsRq/0 bWUVGR/6gu2cg/lC3T1PbpXxbZVMDo0LJaGmyk3fbZSglXFnc6Utt9ZkSGn9qqVTudZw dQBTHKyMuzpBT0J8F9lbJ0EwLCmbm9th0DA4r0ddhtYRs1HQ7Czk3VfijLPvlzRfLW4G E91VQEUzDVTtEuj015dBz8KyHDLdVBPOQ4RniWPlZYQ7Uza0RFxpYGwI+bgPEPUDKlbz B9tA== X-Forwarded-Encrypted: i=1; AJvYcCW2a1Rs+pbF9qZRkJxrdxXRDKbXkeEmIepXHKwZ8sMVfV687uYSDSqiPONas2k3Rbr0naCIufwGoPRsu8gkMST6PBkjyAnagr+up+xkMZmWW/HCSck= X-Gm-Message-State: AOJu0YxpHkmiYmN0GXoxNzat0QjCIDFWwPjUNQpoTwawp3OoKxvluSV8 9cKZBSxNMRtyebm9LwIVFRGt/U7ixqJL6VMeEqaLxHnyH24Zfmeu X-Google-Smtp-Source: AGHT+IGFtEPQKiuEQiynF7E0e+oZQ/02XP6gKtgqvqBPUSFKvM58AzS0FM2xcxRBqwpZ7OTrkf1t5g== X-Received: by 2002:a05:6a20:f3b0:b0:1a7:52f7:8a38 with SMTP id qr48-20020a056a20f3b000b001a752f78a38mr307671pzb.15.1712852104412; Thu, 11 Apr 2024 09:15:04 -0700 (PDT) Received: from frhdebian.corp.toradex.com ([201.82.41.210]) by smtp.gmail.com with ESMTPSA id t184-20020a632dc1000000b005f410b67e60sm1254185pgt.22.2024.04.11.09.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 09:15:04 -0700 (PDT) From: Hiago De Franco To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hiago De Franco Subject: [PATCH] arm64: dts: freescale: imx8m[mp]-verdin: Update audio card name Date: Thu, 11 Apr 2024 13:14:41 -0300 Message-Id: <20240411161441.70262-1-hiagofranco@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240411_091511_679428_E74F426D X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hiago De Franco On the Dahlia and Development carrier boards for the Verdin family (iMX8MM and iMX8MP), WM8904 and NAU8822 codecs are used. Instead of module-specific names, switch to more generic names based on the codec employed on the carrier board itself. This modification facilitates access to ALSA card names, ensuring consistency across iMX8MP and iMX8MM, as they share the same carrier board. Signed-off-by: Hiago De Franco --- arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi index 1cff0b829357..45f7b8d87517 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi @@ -10,7 +10,7 @@ sound_card: sound-card { simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&dailink_master>; simple-audio-card,mclk-fs = <256>; - simple-audio-card,name = "imx8mm-wm8904"; + simple-audio-card,name = "verdin-wm8904"; simple-audio-card,routing = "Headphone Jack", "HPOUTL", "Headphone Jack", "HPOUTR", diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi index 3c4b8ca125e3..1f6a37f232da 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi @@ -10,7 +10,7 @@ sound_card: sound-card { simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&dailink_master>; simple-audio-card,mclk-fs = <256>; - simple-audio-card,name = "imx8mm-nau8822"; + simple-audio-card,name = "verdin-nau8822"; simple-audio-card,routing = "Headphones", "LHP", "Headphones", "RHP", diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi index 7e9e4b13b5c5..e9ef9c553a47 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi @@ -10,7 +10,7 @@ sound { simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&codec_dai>; simple-audio-card,mclk-fs = <256>; - simple-audio-card,name = "imx8mp-wm8904"; + simple-audio-card,name = "verdin-wm8904"; simple-audio-card,routing = "Headphone Jack", "HPOUTL", "Headphone Jack", "HPOUTR", diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi index a509b2b7fa85..65cbf905a1d9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi @@ -22,7 +22,7 @@ sound { simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&codec_dai>; simple-audio-card,mclk-fs = <256>; - simple-audio-card,name = "imx8mp-nau8822"; + simple-audio-card,name = "verdin-nau8822"; simple-audio-card,routing = "Headphones", "LHP", "Headphones", "RHP",