Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp968988imu; Fri, 4 Jan 2019 10:24:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2GVCFtGkY10YGuw8abHyD8xd587ck3O1+bNlbO/sUrq073LnQvOMTg5WqGJ45fBvlMaM7 X-Received: by 2002:a62:6303:: with SMTP id x3mr54945241pfb.110.1546626269942; Fri, 04 Jan 2019 10:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546626269; cv=none; d=google.com; s=arc-20160816; b=cB5c7swVN5QX1L7XddAxQnzTSQ3qmqeCAVv1cc487vaHzawpoCGJz1wYkVMSc4nrwn Ze6ZB4tyrCVLpJ8yyto9+P7hjZiJX6l19PJu75aUaM7zmGRi8Yh5Wm63pLKzwZb2HgsE Dli9djKa04Mwbu9IdONwMbxh01wX4genCuaIqACIpungRrC2JyIX7o/wN/hxgKBYKgmJ yb2ZxBD+qEXlg3irwgh6eraRDQ7Z381fB0o1VYm6jjc9sJDgxiJqHA2+uWrqog6Ko0kD kUA1+SDGVAsJ6uxXqNmxc3I3YnW0/4xj1CDKl7pMPMz/ASuspzsqGN9DRcN2+J/xzu/3 Vb8A== 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=QAXGM9iGyx2lcueRQCTLZmwCTGkXVHr3LZ1/Dw60/3C/VZkV2VNCM/v94H4Ayt2om4 OxVlHpRIXiYYJO+v2bZJjLWhlOKyOJQqnnhPjHxzfE168CKvPdlhWSPayikujcD9a/E4 yNOybfQkgc3M8g0w/yL/uOWSVFahaqF+Lw2DIAAB8fCuDBcXjyzpzjLxJmH9wzqNiOKf ioFL2SyOQAkt2J804Cc5AUAljdjt/GQrDYCQv3IhbJEbo4F3DBpdtJ/XrOy9OBQDEDe1 vlDg91nVdt/C7UZfvL8p6jZTukfluYFdAvedRx27650wuoTrHN3WNMAvUOXYr8Opsphz CUTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DQFO+ie8; 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 a16si2519247pls.146.2019.01.04.10.24.15; Fri, 04 Jan 2019 10:24:29 -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=DQFO+ie8; 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 S1728558AbfADRIn (ORCPT + 99 others); Fri, 4 Jan 2019 12:08:43 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57800 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbfADRIk (ORCPT ); Fri, 4 Jan 2019 12:08:40 -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=DQFO+ie8mgND yfLgvmo8U3cBQ1NnkB17O2fC+8C9qHbF/ig6sTnBOQvqQkbRYzjUhzCxTjp683R8GVdv+fo/P1+Iz tSF2fWGBqSOMPYpD6Xal2vamQw3ywGrkUOnnu/tRQ3R0AVz4UbEnqU6CiyoYIPsK9PvV1e5q28yzW H9prU=; 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 1gfSxX-0001mu-Lr; Fri, 04 Jan 2019 17:08:35 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 554E711270A3; Fri, 4 Jan 2019 17:08:35 +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: <20190104170835.554E711270A3@debutante.sirena.org.uk> Date: Fri, 4 Jan 2019 17:08:35 +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