Received: by 10.213.65.68 with SMTP id h4csp472100imn; Fri, 16 Mar 2018 08:47:50 -0700 (PDT) X-Google-Smtp-Source: AG47ELtNOq4C3y3C7qGOEiZQmqubRk924VMTZJ2at6Nvx41zDmXHP808F89whx2nl4vifSi07wCq X-Received: by 2002:a17:902:8d8b:: with SMTP id v11-v6mr2705428plo.33.1521215269956; Fri, 16 Mar 2018 08:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215269; cv=none; d=google.com; s=arc-20160816; b=AJv1/2NXit0ouLatV4LRa3pvWjSlfjq0ZzvSvT02wNtpWI7r+DDLj3++xwNpmJ6xGg AESx2g+OFQV+NmF23HnWc6pSSGxFSQqoqXDi7rncwaoo8Yz1P6JHcUf00PFjjV+hDQLG LqYpKRRKf0wmAOTVWS7XfLwzMsysMRSb2jxzpZTBTCdh5feUZO9n8vK/6Yaj/1mdQ15U evDyUO2wXCBsv5CU9zJYvZinyIpVGYIQ0i2ftrum4K7un+WY0sePoGrSFDXBSAjXzsTS mybdL2muLPhu/V6QkPPvkiYquhLoyOcizsjIi2zEkxl35pBep9lpsE8A5YHQ4mksE7M4 qNTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lsPXSWtRUhZKTN5zQ/IHDlRoSMP3OQemdcbo/Y2e0/A=; b=G12GYYZ4u2MJqTQE6SuN5SzzuDKnWK7iRhT1dQjLbDyJogLnkdlEu2gxsafMDQrjs1 BYZvqBBiNGka2jNixEDSAN7GbTIh2FscHk9lSvJ8bqwYD6pxTpW324xF6nV+zCFtXokQ XAC8eaqMH12BFzseIrsHZV4Jt1HMHpel03Sf2QjnMgA54PaY5W+ijpGjmws6HokkJOO2 UucuJzP7QGyR5eB6WO5mXmPHkFLgqg2qTrSmnLw0kzyb4TLkLC+gF0NaksV201KVqZs3 v69N4ge/WJmtPfK5Yh2SsKQEe83Giv2RIXaSIZ55Zh9XV6ht5Sdw5xHY9aEKKzFI+nDI iMzw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u70si5116701pgd.354.2018.03.16.08.47.33; Fri, 16 Mar 2018 08:47:49 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965552AbeCPPp2 (ORCPT + 99 others); Fri, 16 Mar 2018 11:45:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46336 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965548AbeCPPpY (ORCPT ); Fri, 16 Mar 2018 11:45:24 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E5879D13; Fri, 16 Mar 2018 15:45:23 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Simon Horman , Sasha Levin Subject: [PATCH 4.15 114/128] arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset Date: Fri, 16 Mar 2018 16:24:15 +0100 Message-Id: <20180316152342.185758068@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven [ Upstream commit f5bbcd533a9d1af97b8a0862a421bb8455f1bf6d ] Describe the GPIO used to reset the Ethernet PHY for EthernetAVB. This allows the driver to reset the PHY during probe and after system resume. This fixes Ethernet operation after resume from s2ram on Salvator-XS, where the enable pin of the regulator providing PHY power is connected to PRESETn, and PSCI powers down the SoC during system suspend. On Salvator-X, the enable pin is always pulled high, but the driver may still need to reset the PHY if this wasn't done by the bootloader before. Inspired by patches in the BSP for the individual Salvator-X/XS boards by Kazuya Mizuguchi. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi @@ -263,6 +263,7 @@ reg = <0>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; }; };