Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3629200imu; Mon, 28 Jan 2019 08:06:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN6mpjq9XzZVmpJZOIpV2v3+Q70RTcTPhsRhBIk5uKdfPQhlY2fSO+mn00c0QHRBqTWQzYLY X-Received: by 2002:a62:6ec8:: with SMTP id j191mr22504154pfc.198.1548691595709; Mon, 28 Jan 2019 08:06:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691595; cv=none; d=google.com; s=arc-20160816; b=O1yibZQRXLyWAg1w5/Xp9IiWFOv6MhUplv65a3qJx7NIDwuHlSFmUD3LMdxu52/pJh t6MPNmWxj0o6xJqSpnPSHehPJAa3TbQKMUdNv2JGSmNCQSKn8MiQAA5zWRZooejtTEfP SvMHKKJRxRG4vuSwKVy7Vq10F8wwdj880m2y31wd/X2bYpIPeaTAm8bHfgWsKTmjrLUI YVm8f1oEIm58Sar50vsX0+ezCspd5AHSpsDUma4lLCslp2X6Bik3+AxFHYMmRF2X1A4D 4cLz/mQvHkOUeb7FptQDlHtNjWcZJ/JB/gdxV1gXIUsYtqMMFo/R6B5E/KRENgxYRDvk icXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oKOY66eG5gnSPiCHcpUjyQbnZ9YEVJNNYHlpv+SefjE=; b=j75/BPDL6RqUT8RUo/SiiZutgNHIH/YkDsNQIS/NSssv1l6JGcwaPIVZdx6NUmEnLp ebPYJ2nQ/kJ29miUBl5QAQeXbjoeODkiPR9jWP46c4e/rWBEOzDDGIoV99pF+dJYjLiB ODGkpN2hw/O+i1VIJuQ4c6GeVQvaZOAVomDdUOykNA2+lJJpO30nzGxXVJ1jQOWWiq7K X2MQ4TgNn1IoDDH/xGe2YRZBkcVfTtldNjCTjCz534kAeQD4PRKdUUPP3FKgQ31gFcO2 z9wCoAz//Q4ScC6XupqHorFWv/PXK34AB8AXLrt2BgLjvnksY25uVsJcxL29zGVNJ+lT QdhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="dpIxQ/qn"; 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=pass (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 m75si32283538pga.432.2019.01.28.08.06.19; Mon, 28 Jan 2019 08:06:35 -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=pass header.i=@kernel.org header.s=default header.b="dpIxQ/qn"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731826AbfA1QF0 (ORCPT + 99 others); Mon, 28 Jan 2019 11:05:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:51864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731197AbfA1QFU (ORCPT ); Mon, 28 Jan 2019 11:05:20 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 16E342147A; Mon, 28 Jan 2019 16:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691520; bh=n0xztCY9D2To8MpNbEesoGmBPOodHhRqJpw7V+qokhI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dpIxQ/qn+DULwvPu/VO8I/Cag4rTage5fzRVR5Vhz997dDUUBLvsoobfCajjoXl+/ w11QQdd8XN4YnO/I6YHsWKH0/BJkTujTMAk0BDFjh/WK6dseSgi8L7iYurcBzrV3sI jf1lfZ0r3+S+ZweghYK0PDddHc3yJUh1tJB3lr3w= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Andrey Smirnov , Fabio Estevam , Shawn Guo , Sasha Levin , devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 126/258] ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1 Date: Mon, 28 Jan 2019 10:57:12 -0500 Message-Id: <20190128155924.51521-126-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrey Smirnov [ Upstream commit 79da07dec740a42c70963ebacbd2bf8866af9e20 ] TPA6130A2 SD pin on RDU1 is not really controlled by SoC and instead is only meant to notify the system that audio was "muted" by external actors. To accommodate that, drop "power-gpio" property of hpa1 node as well as specify a name for that GPIO so that userspace can access it. Signed-off-by: Andrey Smirnov Signed-off-by: Fabio Estevam Tested-by: Chris Healy Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx51-zii-rdu1.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts index 469cce2c0357..6e80254c4562 100644 --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts @@ -477,6 +477,15 @@ }; &gpio1 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "", "hp-amp-shutdown-b", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", ""; + unused-sd3-wp-gpio { /* * See pinctrl_esdhc1 below for more details on this @@ -501,9 +510,6 @@ hpa1: amp@60 { compatible = "ti,tpa6130a2"; reg = <0x60>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ampgpio>; - power-gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; Vdd-supply = <®_3p3v>; }; @@ -677,7 +683,10 @@ }; &iomuxc { - pinctrl_ampgpio: ampgpiogrp { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { fsl,pins = < MX51_PAD_GPIO1_9__GPIO1_9 0x5e >; -- 2.19.1