Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1406685pxu; Sat, 24 Oct 2020 09:39:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeiWsELgb4h7BcTP+Rge07gjLm8kPXYRBHJIDOero55Y09/Nh3c1R3EbpYMlbt6KqihFhr X-Received: by 2002:a17:907:40c0:: with SMTP id nu24mr7778978ejb.359.1603557597303; Sat, 24 Oct 2020 09:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603557597; cv=none; d=google.com; s=arc-20160816; b=unSBBw/W2+71tGiITXnqZ1Ht1lLd651UAimpdi2q8EzhozbnozlGYiVdgclf7q0rax GVllEE/AFVnhlTZJt/xawIXeI7+I4Iy9zQ0N4ToK5r4oRKjllHRMSAFb4eJ3Xfh5sEqo k/JIopsNOkWidaWEWyy8fGKLpMWonxufZ62HfnvvdnZ1Q9oR7M9eZ1dn+l4guPrnq2x9 10wxA5sZw4cZjcn89YRBkPa5OnY1mG04LSHN+8T34m9Ig2NuDsMXjZzObn2otopU6/Ue 90ulCTzb6zj6CP41/TcisOpFvfXyMNI8ASofV4569n5qU/AU4/3qB0L3nOrHGFchMguC QJjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=J052pgvyW/rPD/13h8szqG7WySzbeIJT3mO/EnVeH6A=; b=APRu6wXLFE+nb+UXjNDgEXtZIUUZLQ2uC435KRdQg4Th/sekXj2Uv1vGzIIEJCBgXm b5smWC2ygVRErZKKpVkjNGaSujO3xOIzzTpS+js7etnFHL1nd9cwsMUWebsFn7IjAovG LXf16MJ35li+MWdHhZ6528Xume2CRf0DflaJAzq2YJWh7qgpwRcKfpmlrPsBdhW3RTBS Bbfc1oYcvYrFWlhVbKkUFmH/X7MKr1wslSpeJPEVaBn7PmygWZZ33WdwoCSKB+fDSX7C TkSzyHHt87Ngnca0FkNc64tLcnP7jAOr2zISRlAxy1tA/rFK5ZVTA3W5X+rAzw7WdNQW 5OMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DHlQnsAd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si3329093eje.302.2020.10.24.09.39.35; Sat, 24 Oct 2020 09:39:57 -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=DHlQnsAd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762227AbgJXQ0C (ORCPT + 99 others); Sat, 24 Oct 2020 12:26:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:45544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760460AbgJXQZ7 (ORCPT ); Sat, 24 Oct 2020 12:25:59 -0400 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (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 743E920A8B; Sat, 24 Oct 2020 16:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603556758; bh=HxvS3g0S2mjIzj0EuHVkbxHyM3oroosXZefPveoKsJc=; h=From:To:Cc:Subject:Date:From; b=DHlQnsAd/aNkXXgpD0wUoDjGpF5p3QcUqpruafu2PFBaUUkKN3Dj5dSSJTghbSbE+ XX6T3q/QQGUrqJwV4qNXsspjEgZjp2xfyZglWMF1pK3N8+xqlgXVjx/AYLkT71ZDkk bAe3dofHBLaj6wLVvo12QfvzbfqkhYsDE19g3a8w= Received: by wens.tw (Postfix, from userid 1000) id 859865FDAF; Sun, 25 Oct 2020 00:25:46 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Jernej Skrabec Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/10] Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high" Date: Sun, 25 Oct 2020 00:25:06 +0800 Message-Id: <20201024162515.30032-1-wens@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai This reverts commit 75ee680cbd2e4d0156b94f9fec50076361ab12f2. Turns out the activity and link LEDs on the RJ45 port are active low, just like on the Orange Pi PC. Revert the commit that says otherwise. Fixes: 75ee680cbd2e ("arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high") Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Signed-off-by: Chen-Yu Tsai --- If you have this board, please help test it. For me, the correct lighting of the LEDs is both LEDs should be lit when connected at 100 Mbps. --- arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts index 71fb73208939..babf4cf1b2f6 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts @@ -53,11 +53,6 @@ aliases { }; }; -&emac { - /* LEDs changed to active high on the plus */ - /delete-property/ allwinner,leds-active-low; -}; - &mmc1 { vmmc-supply = <®_vcc3v3>; bus-width = <4>; -- 2.28.0