Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3695883imu; Mon, 7 Jan 2019 07:54:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/WoinKB06jFGFZ4H9wR9swQ22fZB7eAK6naptMJXXIj334oDiQo/lLqcLWY4XxSwa6uVY0f X-Received: by 2002:a62:220d:: with SMTP id i13mr63130039pfi.162.1546876477701; Mon, 07 Jan 2019 07:54:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546876477; cv=none; d=google.com; s=arc-20160816; b=zD0ai733FnKzEjb/XDvmj3tXaLTC/8+jfZRqjnbK3pKNrSlW0/yNy2Z7LlxRMKxPM7 k2966oFUVhj8cYK/D1rodJJzcRdKW3W6bZwGNtKvJDeOzkplx90INurexRYehk9ZyRW8 yHMzNIEsy3a+5a1LqIGerT3NE5JG0QsMZeo2Owq664Xzi5JVCSnteqEwJ3u0mayJUaoL Fzn4Jnpyipeu+EAL5lM+ON8vgILTalxLrXxIN/GO1Wy9JcGqwFkVeGrrlP4N2lKqhAOl 5NCjKGXhe2uPNNtx1W12nMjfc43/9LfFmWdMl3yZ4HhQpiUUQz9cK/WvSsz3QUcUfvsK P7uQ== 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=YQYmlf6vZwUVxy6Pn57LSoqA6QND0cSidav8bPkzUibkvaTvR3URt/j/7fVbCShRt8 e2F0yoEC2rOnIjwZJCqtT3drF7OEXb5DbFhkiyqYI50mYSQzISZRAj/Sv2GyK928HjKH bcCwUl/WfLIOjYJB/2TIS+RRe5fmE4duhoHudnOO0KLZLG6hKvwmkzYYGSJFfuNSNELW +7X89IiN2nnC08iKpwJ4AH006reIsUSkPaoWyoB2vF/nkkCjze7GmwR6u3QtynU9UZ2n MZW6UKgUY3h3vZQCGrOdUSZTiv7ZRJIxMQ8UfV2++D9L/HjIYQwx1erA8DiIkuJO4Ev2 VwsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lGMQdSC2; 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 w31si10923918pla.308.2019.01.07.07.54.22; Mon, 07 Jan 2019 07:54:37 -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=lGMQdSC2; 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 S1726795AbfAGMZ7 (ORCPT + 99 others); Mon, 7 Jan 2019 07:25:59 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:59284 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726572AbfAGMZ5 (ORCPT ); Mon, 7 Jan 2019 07:25:57 -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=lGMQdSC2t0+4 6rHNesKDVEq4o6ReUetSVOsU4Ug/d1HL3iP/G4697lMGQuCcAi3zokOd7GHxncc6BuCpvG9NODMHF GPpKYDL9jD2gOBpgDwV0q9b4kWUs6JxadKv73NvwWqmPRs0md46sWICJsq3ckwOxahcdHW+UyNJ0t 3czh8=; 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 1ggTyb-0006i9-GN; Mon, 07 Jan 2019 12:25:53 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 1F2621127490; Mon, 7 Jan 2019 12:25:53 +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: <20190107122553.1F2621127490@debutante.sirena.org.uk> Date: Mon, 7 Jan 2019 12:25:53 +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