Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3489745imu; Mon, 7 Jan 2019 04:27:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5PlCIwxjUD/ZnBdcmdRYftP3TDldxJvNBmLGlG5tPDMjYczpt4dxDE8PgUxbj4/Pp+BBrH X-Received: by 2002:a17:902:b707:: with SMTP id d7mr58365871pls.29.1546864044131; Mon, 07 Jan 2019 04:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546864044; cv=none; d=google.com; s=arc-20160816; b=dbfQDIvDg5KLDIb3k4qh5EorASo0dLgO2ZfS0M7Vkyab9tqBEKuKPTbYzXZj/tJlVs lfnU0F3DfSRreJEvDRttN8YDGB03PdVJkn93py3cU6oBgWCkPokdy033kr66DnrXvClw JfxKTcnxVbqXOcNulSW7+N+pj0VbShW7/VIasLHip7WOeACqezPuXBEkswmDkpvFh3e0 MVLX6e72sh7M94OIT35uP4QnA59tcVHMnxdW7RMoSHfIZFkT7V1gg+N0PWWFI5VTp++y z1fQLMfaJzYfoXUcvB0uSIvirAeKYFZSN1N2g+XcBpRL4LILXnzR+LUvJIqjve2ONVs2 ex6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=SDa7b9dmQ73qDj1iiHK6aDCEUZBXmn2g7pn2XRH6/9E=; b=s1T3Wzjjnj6F58sgEApvUBCsHkE3I6fXd1laEcZ289RGRCOFucX40Mec4KA7b++Tyq RWPZGwzb9smfS8mcDOprzEntAptJ03wNIkSuQIvUWNJCG+Oi0kMlLcIqxcMVykCr6Ins l1l3shXLIIIduRaE1xAp8WA6fCadDwQ30LjSxCC7qpt4MKA8jUcrdpw0rGj5qOlANY/i 8s5zeWgm80TX4jXZ2rwOhxxqz7SqjZazFhk4voV89CDBhIUKWuGnk9UeqZRCKTDeg+/y bAQHlBi2Q8OPIaw5tBX2DjYMNyQXYvr+Zn0RocE1G3ApEUrECnnLnNBd5N4R4Z9R31c5 xp6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=HGCkV6Bn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h69si42337563pge.121.2019.01.07.04.27.08; Mon, 07 Jan 2019 04:27:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=HGCkV6Bn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726856AbfAGMZE (ORCPT + 99 others); Mon, 7 Jan 2019 07:25:04 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57692 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726511AbfAGMZE (ORCPT ); Mon, 7 Jan 2019 07:25:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=SDa7b9dmQ73qDj1iiHK6aDCEUZBXmn2g7pn2XRH6/9E=; b=HGCkV6BnzQqs cnXipf5VMeAyYXXNTMrbZZVj87fIZTNlx0YDG9qlmvinf3n7QdxPdjHoV+C8sSTNCMic1uRkxVNKP e6eiuDGEumDU73bPRjrhH7r3KN1EPCHGFyisOB1FLA6KBAdoTGdUBm6lViXLc6Op7oyevXSsnF9YC KeBGg=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1ggTxj-0006hg-1l; Mon, 07 Jan 2019 12:24:59 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id B0BA21127490; Mon, 7 Jan 2019 12:24:58 +0000 (GMT) From: Mark Brown To: Peter Ujfalusi Cc: Mark Brown , broonie@kernel.org, lgirdwood@gmail.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, jsarha@ti.com, robh+dt@kernel.org, misael.lopez@ti.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: davinci-mcasp: Document GPIO support" to the asoc tree In-Reply-To: <20190103140552.29809-3-peter.ujfalusi@ti.com> X-Patchwork-Hint: ignore Message-Id: <20190107122458.B0BA21127490@debutante.sirena.org.uk> Date: Mon, 7 Jan 2019 12:24:58 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: davinci-mcasp: Document GPIO support has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 4664b94c98b4f9fdd3845da41d5c65288e59c66c Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 3 Jan 2019 16:05:51 +0200 Subject: [PATCH] ASoC: davinci-mcasp: Document GPIO support McASP pins can be used as GPIO, add optional section to enable GPIO support for McASP. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- .../bindings/sound/davinci-mcasp-audio.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt index b279b6072bd5..a58f79f5345c 100644 --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt @@ -45,6 +45,23 @@ Optional properties: - fck_parent : Should contain a valid clock name which will be used as parent for the McASP fck +Optional GPIO support: +If any McASP pin need to be used as GPIO then the McASP node must have: +... + gpio-controller + #gpio-cells = <2>; +... + +When requesting a GPIO, the first parameter is the PIN index in McASP_P* +registers. +For example to request the AXR2 pin of mcasp8: +function-gpios = <&mcasp8 2 0>; + +Or to request the ACLKR pin of mcasp8: +function-gpios = <&mcasp8 29 0>; + +For generic gpio information, please refer to bindings/gpio/gpio.txt + Example: mcasp0: mcasp0@1d00000 { -- 2.20.1