Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3355901pxb; Mon, 17 Jan 2022 18:27:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDQXvyFsHq55h/9VAy8VjWFnUP4o+JtEzuNQgtiy8Frmtt/9UhA167Zdys5IUgZ+0U1BzB X-Received: by 2002:a17:902:8a82:b0:149:db00:dbab with SMTP id p2-20020a1709028a8200b00149db00dbabmr24958522plo.140.1642472823762; Mon, 17 Jan 2022 18:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642472823; cv=none; d=google.com; s=arc-20160816; b=qxkKWRo2wJiFjrWmwXQ8GxD4i02OEeqV7DYcJmaBPpGpsQXCguxAPxRBrfHR92uNKL h/DoRKuQHK3bF38piUROYSLb8VbPg4U1KvruCP8dPaDZ0xzRi8W49asC40duHf9uSFJi FjkqlK8CcW5VFx3TKsrPuL6lG5JbWuui4/Q8mJuOJsHN4IV2hH8mWALUkJEa5+Uxy4j1 TGbT3kN26ZcOUoM1GkOQ+eWTWQlw2DXBPlXewx6hIq1lZ57qmXVn4ji8f0X4vNdFQe6j GAS3IkMRL6zE1JOwdQc6bwHVmS9vsxqeueAuFOJxjANIFaCKualmUVTrOyCAi3MLR9jk /dkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rgYVF0ibxxUc5VxpqFyfQXy6kXYm+/uBU80gM9CSi0c=; b=Sz6xJzAO2cbuHjyV+iNGramLQkj/9px7HKfk+j3Ijucxnl/TSV09BXI8CjnpO0WMxW DzyRhy632s+lWW/XNjXNc8OX1nbjabQ8J2SnivKZbup3ba95pRh9CIRmuqT2D0udPl9f mmVibYxRW1Pi3cdS1jJi/eP1WQffgeI2lCcVzMLhoSeTkQBCVVnfng8zTbR7OGZmlScY GfFvg8n+9j7zGkIwXcLd0W0ULwso/4WPFb6x6irO9TIHSEe2vO6GKwLQRGZ64f2Hmt4J /5sg0oR8YXPUGwaBYVaro5bRoB+mJScZFzmcdvgnymUepGtEAD2Bnobz9jXVwL3z+y9C ih6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AuQBprJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ha12si1111669pjb.49.2022.01.17.18.26.51; Mon, 17 Jan 2022 18:27:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AuQBprJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240199AbiAQNV2 (ORCPT + 99 others); Mon, 17 Jan 2022 08:21:28 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52860 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229474AbiAQNV1 (ORCPT ); Mon, 17 Jan 2022 08:21:27 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: adalessandro) with ESMTPSA id 9FE951F439D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1642425686; bh=cLpfRqHBURM9rPTwgK+plOEmXlOGSYOFoD1NYi3A9mc=; h=From:To:Cc:Subject:Date:From; b=AuQBprJ8i3XCaq30qQMFk4a9PThm05/O46+YIvsdbm1F+SQT5ZBUWBz4gAhyQiSj1 ll7IXNX9lzGT1dFT8+Y6yppTQeRGlFzdji++G2JEcXNxHah7P13D1RYZQPwkWZG1SH ueqe792bXa1IwliwmL0uQW4/DBSVFVoYxHYL/LbBeWqSPneJiVIH7LlO7ana3HqGWE H0oDsoH004kaMx7wt/Fn3qBd3JpBzmMUpOKlScZ/YZG0CXxOP+/8fxzD/qZVisSZQ+ aHdfRBtNkPgVNmPw7KGYTObE/6NySch99Pr7G29on7YxfuDeS//DZ7jPX8YSq7FdAd speTeoYIXz7Uw== From: Ariel D'Alessandro To: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Xiubo.Lee@gmail.com, ariel.dalessandro@collabora.com, bcousson@baylibre.com, broonie@kernel.org, festevam@gmail.com, kuninori.morimoto.gx@renesas.com, lgirdwood@gmail.com, michael@amarulasolutions.com, nicoleotsuka@gmail.com, perex@perex.cz, robh+dt@kernel.org, shengjiu.wang@gmail.com, tiwai@suse.com, tony@atomide.com Subject: [PATCH v2 0/5] fsl-asoc-card: Add optional dt property for setting mclk-id Date: Mon, 17 Jan 2022 10:21:04 -0300 Message-Id: <20220117132109.283365-1-ariel.dalessandro@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow up of patchset: [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx Sound cards may allow using different main clock inputs. In the generic fsl-asoc-card driver, these values are hardcoded for each specific card configuration. Let's make it more flexible, allowing setting mclk-id from the device-tree node. Changes in v2: * Split patch adding mckl-id property. Ariel D'Alessandro (5): dt-bindings: sound: Rename tlv320aic31xx-micbias as tlv320aic31xx dt-bindings: tlv320aic31xx: Define PLL clock inputs ASoC: bindings: fsl-asoc-card: Add mclk-id optional property ASoC: fsl-asoc-card: Add optional dt property for setting mclk-id ASoC: fsl-asoc-card: Remove BCLK default value for tlv320aic31xx card .../devicetree/bindings/sound/fsl-asoc-card.txt | 1 + .../devicetree/bindings/sound/tlv320aic31xx.txt | 2 +- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- include/dt-bindings/sound/tlv320aic31xx-micbias.h | 9 --------- include/dt-bindings/sound/tlv320aic31xx.h | 14 ++++++++++++++ sound/soc/codecs/tlv320aic31xx.c | 2 +- sound/soc/fsl/fsl-asoc-card.c | 7 ++++++- 7 files changed, 24 insertions(+), 13 deletions(-) delete mode 100644 include/dt-bindings/sound/tlv320aic31xx-micbias.h create mode 100644 include/dt-bindings/sound/tlv320aic31xx.h -- 2.34.1