Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2542617pxa; Mon, 17 Aug 2020 12:16:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFkVJfWZJhSRHoDpXoQbG+dxZpTe6RZprFZfDLRqfkTm/AVwOggWud3flHWmqub0wCAeLj X-Received: by 2002:aa7:c34d:: with SMTP id j13mr16273414edr.209.1597691775923; Mon, 17 Aug 2020 12:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597691775; cv=none; d=google.com; s=arc-20160816; b=E9VCw0lB0m8n3oUSrUDIpM7EebjcZs0aFgnR1lhPom89pF1II5CucIfoC8LKG2WPh9 mIfvEL+5OZyDBKARIT7x61EcvYeMa2dW4iDpTg2ZYZzh2V7YpS+6FFkPFnKnb85B0OgR 8FrvunHFrAdR+4FVhFslmENJyGcS7/HWzgnCQU1+sy29WkkIP5pm7VykWrK19UYV9XTj AxGcOY0iRESBsLvxXJwn9B6EJFaUykS+iZQmT76jMbKyp2PrgrAXg+6kXBiOfs0JUQSu 34w1NP6niEymSjvDN3eiY2HVmPI0HUfsU/YzVUtY+/oDuK9Ls1pgNEAago1vtkSJDLk4 JFvA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=R0T+7FqXKIOideVnKCoGZT4XngATobTfZrzOm0lBEh8=; b=YElPAxGjv3wQAR5KMyKZ8/6DASwq67i6E0v/++xaodBv5IVflfECoXXRg2nYj/byuJ QLwocdV6AMqMCVGcTi8mVUqIMjjsHwJaYx4rtdXxIdW07z0O2vSqa8pJM87FYlM3FO2R 2G6r7EUvcUrivb9kc6q1RLFxO92q4G76b3JKBVexQqrsALTpV2oFUBVTNwv4vt7twY2I 74GlHkoGr0XuNgNe1AfRl4zeSIWBy7oT64YYE5l9GnNWM2eSlbMTlqgOtbR+NC4x6dpn od7tOmAV8grBZ1GJ/ACCjFXqoMQ06ZFMrICbncSmHHDP9vSKp9cL2KiozRIASRM9Nd9h 9jCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rsj5sC+C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si11175984ejm.289.2020.08.17.12.15.53; Mon, 17 Aug 2020 12:16:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rsj5sC+C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731857AbgHQTMS (ORCPT + 99 others); Mon, 17 Aug 2020 15:12:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:50078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730690AbgHQPkv (ORCPT ); Mon, 17 Aug 2020 11:40:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A8DFB20760; Mon, 17 Aug 2020 15:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597678851; bh=sB317FLKXl8ZWzvoUjIVlaxiV8Hf9CrJJB1t9Ct1CJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rsj5sC+CQ1L9NAsUsl6Hw/xO8GA2iJ6ydshhDbzf5CBruwxWeQFvpJ3K5TyRBgj9e GKY6agJo4vt+iGqxDrvNtf6y/Z1iLhWxkhMYR1MlFpuMWoHuAOMScNixLQSWTuBgrL S/3koDIWlFF7pulfrCIFc1o9GW0c2dtL42dN6OHg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heiko Stuebner , Sasha Levin Subject: [PATCH 5.7 012/393] arm64: dts: rockchip: fix rk3368-lion gmac reset gpio Date: Mon, 17 Aug 2020 17:11:02 +0200 Message-Id: <20200817143820.194373451@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143819.579311991@linuxfoundation.org> References: <20200817143819.579311991@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiko Stuebner [ Upstream commit 2300e6dab473e93181cf76e4fe6671aa3d24c57b ] The lion gmac node currently uses opposite active-values for the gmac phy reset pin. The gpio-declaration uses active-high while the separate snps,reset-active-low property marks the pin as active low. While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now. So bring this in line and make both properties match, similar to the other Rockchip board. Fixes: d99a02bcfa81 ("arm64: dts: rockchip: add RK3368-uQ7 (Lion) SoM") Signed-off-by: Heiko Stuebner Link: https://lore.kernel.org/r/20200607212909.920575-1-heiko@sntech.de Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi index e17311e090826..216aafd90e7f1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi @@ -156,7 +156,7 @@ &gmac { pinctrl-0 = <&rgmii_pins>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; - snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; + snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>; tx_delay = <0x10>; rx_delay = <0x10>; status = "okay"; -- 2.25.1