Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp415618rdb; Fri, 6 Oct 2023 07:19:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IED5SSwEyrMMQLJsVFURKlzb1aLN2Quh95af/IEdHUTI4Zh/KoiJhCWCRRUgufNBOYKA1kl X-Received: by 2002:a05:6a00:14ce:b0:68f:cdb8:ae33 with SMTP id w14-20020a056a0014ce00b0068fcdb8ae33mr8028850pfu.10.1696601986272; Fri, 06 Oct 2023 07:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696601986; cv=none; d=google.com; s=arc-20160816; b=NNTu7NmbernOS2HXoSXkpOcW3piEqYapXd1C6bkQ7ZXu08tel7TtPFqOK/Qkl1mSEj usYEIjjLqJB/8x7xHELTNKeZCtrRBlN9XE0KKdPx3c+ddq+znmeS+NyhLaVGDKsXIfbR ckeRJudFlR6ruzoMuDWc4yAhFEo5/wEbIU82sE+kzrR8/zDyvwhilINaa0h29wRYVHdX 1LoxoCnpaiPGzCM5u39EDJ3m+M2oyZiSjCl/kYvqxjZ2Si3jORW42XCwOr64TVDY1opN G21wT1qdIOX9U/lXLBQ+lwWuczQDof/vkaakPzd2tL3pHXpWPpa8yElsLiiQUpgTJYGO zt6w== 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=emLkV2UaIMLS837NeYJskcNbCX7MRqsLLSL/k6u/yn4=; fh=BdoWshtIblK2GXqnam+BYbM5jqNF+x6q1MbdFittGpM=; b=luO6BSFQxLCZ4qvo7qk0wgGKNZjF9bRXO3Foe30Vxb4kuCZIRCceTh1IEKbG8+wZcW wFo3pT0CruCjQ8ef0VKVOpDc1jbxIApuWJMyuJbqkdfQumD6J6gKzuK6VVgRixb27b+P ZlBp3p1zD7JsTSwZGTQPTziaUfM4YMEsL/lwhoh+rQFuJkToWJCNPi5Sr8CMsCNVSJDC cb6xMSAvyc32YClZdZAnruibJJ/yOau7l29/5WdIv2W6SSiP/QY3yKM8TqzzJtH1Nk5E a7ZkxZNHTkElPTekqLjW3CSmNzfKPiwXAAfX0WUnZxuv55OHcrxDNyROLiQrRdwn0eeE Bykw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=AvJlO3dP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e19-20020a656793000000b0058543c16567si3474913pgr.459.2023.10.06.07.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:19:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=AvJlO3dP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A7FAA80698DB; Fri, 6 Oct 2023 07:19:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232248AbjJFOTc (ORCPT + 99 others); Fri, 6 Oct 2023 10:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232382AbjJFOTb (ORCPT ); Fri, 6 Oct 2023 10:19:31 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFDC3C5 for ; Fri, 6 Oct 2023 07:19:28 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32003aae100so2075988f8f.0 for ; Fri, 06 Oct 2023 07:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1696601967; x=1697206767; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=emLkV2UaIMLS837NeYJskcNbCX7MRqsLLSL/k6u/yn4=; b=AvJlO3dPD4Ro/lUEDgCzGuhTfGB6MytdYOu+RnJi7AHrldH9knP2oATa4f17RIMtOn E1p8BO+SX4BH99kjLkaGFS1B5fh3Vx4EQ+Rp0953Zs0WLPYB2afxoOS7pS4Oc1hO+znh Qt4if7Va2UP5iKmDBSKzYblyW0TfEzmbIWzCfNWg/K8ASM5x9DZEYs+nFrntmT1l0G07 qUiQsEZGzsaiKD+iF+s3xCh4Msv+B7FFGZf1QKQaC74R8t1gSkr7XV/DfGEQThTVeEig kORzfCmUN03NszNqaiOmmvtbJ+uOrpRvOYtYsOHW2dOh7RpXx1BVhOm3HCk12zajXa7U MJjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696601967; x=1697206767; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=emLkV2UaIMLS837NeYJskcNbCX7MRqsLLSL/k6u/yn4=; b=eg3TbWisGcelTYWNgn4JI2YRuiSGy48wCuZ1YG1EZ3zA8O9Aa2CSuznVW9cfPJ6N+c D5r9gvBGlTCgZmwPediIWYLWwfukecFq8D4m7NLxsRapLVWsIKaczCAiHcIRvfGOYyb6 P2TVNHsBtpR68koUf649s+bikg4G2YJFOld0rrzensePrtrlicDHaydHC6M7AZXrcfqp 1sg/y8S616IYZFLOIJ8iXs+Mv7iNasdO1SsRPy6T1Xe65rOIgbzQMFM9NtJslbnt8l0W nIMp6GnLU2gWyr8ZAwbdZdOv85CCQaoQtBwBdtebMsuN8vsvorAlIMdtGqDYHMSw5bs4 Lvew== X-Gm-Message-State: AOJu0YwfMCIRjpczZ1LAtLvd4ac/2XDOxL4qpGDHAnIf+ZFlnhzQcbsS g7X/MudFpM/9S77t2/8OZac78g== X-Received: by 2002:a5d:4690:0:b0:318:720c:bb3 with SMTP id u16-20020a5d4690000000b00318720c0bb3mr4851212wrq.20.1696601967294; Fri, 06 Oct 2023 07:19:27 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:30eb:5a3:102a:599e]) by smtp.googlemail.com with ESMTPSA id x14-20020a5d54ce000000b0031773a8e5c4sm1778479wrv.37.2023.10.06.07.19.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:19:26 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jerome Brunet , Kevin Hilman , Da Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH] arm64: dts: amlogic: cottonwood: fix blue/green led inversion Date: Fri, 6 Oct 2023 16:19:15 +0200 Message-Id: <20231006141915.3623097-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 07:19:42 -0700 (PDT) X-Spam-Level: ** While making the v2, blue and green LED pwms got inverted This change fixes the problem Fixes: 9f841514c9c2 ("arm64: dts: amlogic: add libretech cottonwood support") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi b/arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi index ed826f673349..35e8f5bae990 100644 --- a/arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi @@ -70,7 +70,7 @@ led { function = LED_FUNCTION_ACTIVITY; linux,default-trigger = "heartbeat"; max-brightness = <255>; - pwms = <&pwm_cd 1 1250 0>; + pwms = <&pwm_ab 1 1250 0>; active-low; }; }; @@ -83,7 +83,7 @@ led { function = LED_FUNCTION_STATUS; linux,default-trigger = "default-on"; max-brightness = <255>; - pwms = <&pwm_ab 1 1250 0>; + pwms = <&pwm_cd 1 1250 0>; active-low; }; }; -- 2.40.1