Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2094328pxa; Mon, 3 Aug 2020 07:21:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweRShXJ1K8A7vLmIFZVgTCgtCf55H3bt93v7MmEj8mAlKLrgMWfGzx+/CtfCR2FWk1W2rr X-Received: by 2002:a17:906:658:: with SMTP id t24mr17606601ejb.157.1596464502624; Mon, 03 Aug 2020 07:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596464502; cv=none; d=google.com; s=arc-20160816; b=ORI/bYViQ9who28D9AKieo5YikNiyFhiNGeQV7UFO0HRpU9qJHnakEUlXjPxXxUxuM NZWEMwNLG42UiqJW3bkMxS5oyNbtT+b4EpsGXYL62CCuwuJfOgoy0EXG6pdSxg/FI5VA wEmlYoAc11HhP3KtwqzahIOIriw3LnDkxJIPpoHE0IwWMbyagcNEn3subq0fnCmbEH6f G/3vBZA+WyTojL28xl2DetuISFnpqP8hCBLwb8Cw/14GCol8ZsEMDW2Ylinm3zUrCwLh yxLge82GW5108A1a6RdDcPEdH3U79j5d6Xh30xlEfAJ+/qwdOvgw2G9wJKuYoq0CuA0d 5nXw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Y/qA8gSb5L1aedrAB+cnwrMt5FiS/mFTvYHuJN7H++M=; b=BDD60ICdi5B/RojOk1q2FTqmJAkmx1RHikR4ZRfUHg88GEQ/xCNV++Z9JRWW34+jxd B7OKmmalDeDXwHl2FULNOuNVgyZyBDEdL2Nc0XjCA2czPjA5kHenBVAr3m5qN0eMurXK dVrNSbiCkOA8wE7k6XtJPZPBQcRAk85tWyBaoAn/UwVhfwqqC6LCY9Pr5qwpBMvULRCY izumQ3794It7vxkSJeFjntsC+zgYpzBOdnh4NembAeIE5/clkcZrmuxzL/lgFPjcosRO DAuelFMPxMz74TYoGy2AR/E9GguUjil1D4HxjQ2Ba92fTErjLZizSA5hOAqM+9yyCEka Y3iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=albycSFN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr8si10390729ejb.601.2020.08.03.07.21.20; Mon, 03 Aug 2020 07:21:42 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=albycSFN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727972AbgHCOTB (ORCPT + 99 others); Mon, 3 Aug 2020 10:19:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726865AbgHCOTA (ORCPT ); Mon, 3 Aug 2020 10:19:00 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2C24C061756 for ; Mon, 3 Aug 2020 07:18:59 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id d190so14466736wmd.4 for ; Mon, 03 Aug 2020 07:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y/qA8gSb5L1aedrAB+cnwrMt5FiS/mFTvYHuJN7H++M=; b=albycSFNZC8kfgH16k++F8/X0yCQh2L6nvlv0z/riHZdTBBLoXZIgUNGEJQJQXAWvP tpnajBTPb2Hx4MZG3B3ErbNiHPfmd8VavN/W+lWdxErdIktJY8VNRRsCcl1xDan0/98r lBLcz6Pr6HXl6waYqdbPaDrg+d64cAULpiD6puY9fAzRH1NgTNfQx/0fCYDGp/ncaEVe vTl+aMq27RjcFqaC7O0WV9P2RiNQp+RQFbK+y9VDuiBRY+h+NpniwBnXMZYrdAq+6mEs hDSXC1AvyoajqVcJDGSBjXwxJxLJ5F5zyyydA8w4XPdouOKsowFQMhW6SYqEqIJMfr0N 4MIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y/qA8gSb5L1aedrAB+cnwrMt5FiS/mFTvYHuJN7H++M=; b=MNlKKK2g8ufvb9ax7343sv1AE5/HURe7J4NfYPlqh6A4cRcTqEG8ZTssnFIG1oBEek 3NA5onqIqRs+IsE5GFBdUs/A6+vqpr+FQS9QHY7XCXYlIk064VCvnZ+SfV0/DQ0GYk4+ 1O30z+QOLKH0Gknr9EMkHeutvFoOjQ2Y14vXlZnx9HO2zVc4D0zJAUMSRpJKGP+GburO dCUtObldBgYSP/N+YGdK7CKZQq1AmcuMzxYb7P8Untgsy2sEh5agcDA02GFdYyIi8xng 81PWiFiBdocyPFFM+cAsck5SgeUywvpD4yVRvQqwCCRi2JHTG6O2gySzS3aO0FaoVudH qt+w== X-Gm-Message-State: AOAM5333V29s0dYnJATffLSCGp2Mu8d7hcc5QZhjXCDIvFm5y6pasapK PrDi2Xi++vDuDVwycasj9sZGqw== X-Received: by 2002:a1c:e382:: with SMTP id a124mr235177wmh.11.1596464338292; Mon, 03 Aug 2020 07:18:58 -0700 (PDT) Received: from starbuck.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id t202sm24870600wmt.20.2020.08.03.07.18.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 07:18:57 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: meson: vim3: correct led polarity Date: Mon, 3 Aug 2020 16:18:50 +0200 Message-Id: <20200803141850.172704-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LEDs on the vim3 are active when the gpio is high, not low. Fixes: c6d29c66e582 ("arm64: dts: meson-g12b-khadas-vim3: add initial device-tree") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index 4510a63b0006..9e2995dc144b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi @@ -70,13 +70,13 @@ leds { led-white { label = "vim3:white:sys"; - gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>; + gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; led-red { label = "vim3:red"; - gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>; + gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>; }; }; -- 2.25.4