Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2519450pxa; Mon, 17 Aug 2020 11:39:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybnBs1ERu+wqv1ywyWE1RS9RFhz30Ji4qXiVeUH5wlou+zn8VR0CQxtQnlMS+QQhx70/qy X-Received: by 2002:a05:6402:3070:: with SMTP id bs16mr15940328edb.269.1597689567707; Mon, 17 Aug 2020 11:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597689567; cv=none; d=google.com; s=arc-20160816; b=P5lKnzEBwenf3wo+rfwlJFqEejwQBCSg6UIgXm08MNRvSCqtgl1OK3V73pJPrsOKBR ZxBZaVIS6LFroTec+4lHKE37vZiQvl6MifUCOY+O+6/Sstwrl+JhK0gkGsDcaH9UYcBP 130QVdZVGFUl9PN0bX7/1FWSWYaTZvlao6fcqz/OyukGnYNWkLb/OtIMlHWQTsTUSUOC I1cji81usLfnUL7aWgDwOX1p/fAU4BgsphaTVPDWt+7Imn9pkPxS3DUB/z4w+zCZQu6M TBazzWHW6/oOOt9cszlSs2N6GwyNkZtPLvpByE2oYZU0yP3D3YhCHLIpMRrzwbs19Fn+ hJSA== 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=rvgfd7i8KQwcz4XMd3mFfwzaBOQK9S91V6WzhNoD0n0=; b=bT6cmkLR0PaZt4bNt5P7MHZ7Lgfk7p8+/7qIKEFtAPjs3k/02zCrVGyn69RmJiVda3 ki0LK/fP3gQBrUTojDgdOY0D9sU3+U+R40yj2nYPNJzo7kl/Y+qP/zOu0lDcAjL/Fv9Z +varZOOh3GbeoD6Luo2bpWRYxoLbrmzl4812UsqBtKtp+mMWWdrSwBHJyQ9mBSFyZFQt v5Tne2zsxFjjyV0N14tZ76w4qzm9Ab8be0gESGQPnIQZouNptKfY9KKdSLmnLlo5eKQM bNywaKcniFhIrQPWtWnMUREte5QORrjatKHKndDx0Q+tpWKyH9dxpUKzvj7AMJ6oZve5 8w5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1+82carv; 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 b3si11539746edq.23.2020.08.17.11.39.04; Mon, 17 Aug 2020 11:39:27 -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=1+82carv; 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 S2391271AbgHQSe4 (ORCPT + 99 others); Mon, 17 Aug 2020 14:34:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:47142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730991AbgHQP7x (ORCPT ); Mon, 17 Aug 2020 11:59:53 -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 D321A206FA; Mon, 17 Aug 2020 15:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679990; bh=9Wfo/T5nRMTrgQs2EpSoH9Fb8QXefxTIJ/cvjSqMFsg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1+82carvd4elV1M+bo5IgUFLmEA9PtO/UKmuOGTyom9Cbs01NyQP9LwMHYcvm7G3n V0ov5SfxZZwrrldFO9wUJooq2D/6aufaYrFwqA4qIgBqFi5RHpgQpfXW/bisUejsQS VFjIhkCzjjRMsYqwoJzp428Fcz/7HvFDNXWllWXI= 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.4 011/270] arm64: dts: rockchip: fix rk3399-puma gmac reset gpio Date: Mon, 17 Aug 2020 17:13:32 +0200 Message-Id: <20200817143756.372058371@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143755.807583758@linuxfoundation.org> References: <20200817143755.807583758@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 8a445086f8af0b7b9bd8d1901d6f306bb154f70d ] The puma 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: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM") Signed-off-by: Heiko Stuebner Link: https://lore.kernel.org/r/20200603132836.362519-1-heiko@sntech.de Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index fb47e4046f4e4..45b86933c6ea0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -157,7 +157,7 @@ &gmac { phy-mode = "rgmii"; pinctrl-names = "default"; pinctrl-0 = <&rgmii_pins>; - snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; + snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; tx_delay = <0x10>; -- 2.25.1