Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2091933rwo; Thu, 3 Aug 2023 04:43:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlGg27sYQ7xWBnypAv08WPHBW/UQX/tzl9rVhRgyVP/aj7fDIUcqTHG7ESaCvbUOPH39ZxM0 X-Received: by 2002:a17:906:cc58:b0:993:f127:2391 with SMTP id mm24-20020a170906cc5800b00993f1272391mr10588258ejb.32.1691063021878; Thu, 03 Aug 2023 04:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691063021; cv=none; d=google.com; s=arc-20160816; b=jp7foMbf4V5JSwhUnvqMIUMYaPpW5XpXj5jXDSUdN9fHLa81dqDI6gm0q/VxRf5/gf 0CP9GUHr/fPiN6fJlaxcKy9nHSMcwQAwNQ4OurI3JTI1pE2jnu+PwxG/wJnV7LYMNYiZ i85bcj5772xeoino2YeX+QOHcoTapvVcVZhSs7F6XxOg0ELGeEowg0wTcO3utGCyLyVV Ink8ITnYOy8Ky2lxf5Z/gdKgXIM2SMh9kC4qwkI8vOZIQn+2mF4sQJUI9XcS9FJdP8iA 5T31FG95ajbm1zfw32WMCviREqtGztCBgcouzZctmiX1w5qvG/HSniw2go4To2SFOBQn xM9w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B8jNn+NP9j7pIA4Gvr3RjVfWCo1xNEk9xbLxp+U9DEU=; fh=G95e9ISpRb4C0j2juILt9qnUoLJmb+FxryXo4abVi14=; b=mI1QZnarmL06nPDlHmljR8seEUPG5mmmNG4FjpRgC7F10fdhBMyzDKS8PnZBfFsm/E kv/sRGcQ9beXl1By95g2udg+IDypJuPXnzUBEAeCmba4AIJuvpbY08ZQPPWhMIiJl745 EI7Bt7K1ZcYZ/RvTIBkC5WAHfNt7AGTGLuPJy/iH6ZEZwP9n/fCbDZfUcZJIuyGWPcWd 3m+BVXVd60GHHvjaqkyQG0Xu3CzacabC1grC7Yah6LpPFyGO4GNKX4L1GIQz8PBIBMkN dRC9vw8Fw8ZWf6cwj5NJLdt7qS4NwZadeSiLrk1jv+QiQioYh546tc+3DMw807Pjjt/x Evxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="dUCjuE/Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf12-20020a170906cb8c00b0099c49a11e78si119574ejb.975.2023.08.03.04.43.17; Thu, 03 Aug 2023 04:43:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="dUCjuE/Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbjHCI6Z (ORCPT + 99 others); Thu, 3 Aug 2023 04:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234943AbjHCI6E (ORCPT ); Thu, 3 Aug 2023 04:58:04 -0400 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5DFC30D1 for ; Thu, 3 Aug 2023 01:57:48 -0700 (PDT) Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3a5ad44dc5aso545627b6e.3 for ; Thu, 03 Aug 2023 01:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1691053067; x=1691657867; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B8jNn+NP9j7pIA4Gvr3RjVfWCo1xNEk9xbLxp+U9DEU=; b=dUCjuE/YmR0/8JPJZVzOLMSntUMrvBHBGDA65WMxmJlES6nUM2VmooTuiNK1OE1tzU OGO7KiY7VKkwRh1umpSTkMAtVnIx+K2N4ppj7+D3/SiDMMZnvXnwMzMq+shLT9uFC+ye 5X27QK9DK2d49JR1JJUZFRL4LKEupHJrs3tD9Ea8tvc1cuysV9juAhWG/b5dcz75o7t2 +aJ7K/AscsGiLN9vgISi/Ow02ITDPLV/njd6G8MUDlJsoPDl8Yx/ckP07QKMYG11AnHk MtqjIJbDVWa06b4Z4DDW+xgCuHWdjnGzIYq5VyfTGu6UMZcBSJnOqbCPK8XaFElkD21W QVvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691053067; x=1691657867; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B8jNn+NP9j7pIA4Gvr3RjVfWCo1xNEk9xbLxp+U9DEU=; b=eF5ZJJiCa9W+ZgDOK6Cfi7GZx5OUKAw5xIt6FjmqdP54fD25K8V6c2jYXwpR33e99j SiSE8D+uj3/Kfmp7Z4FJS/Vowgeo6FrP4iaEukkTWVcDIR/RtOoL6KgEAfcY9Qds6ow/ D/FZ97u616AFMJt3n+X0PEgk0wgYmhY9h31f0mHe5DndCeRK8rnoE/7WW9BQWTqjOvlK o222SP66N6IwEGmZ7sfhUaqIpQ76QpDNmfKZszUp3R0PA/DoR3ExGaI6ji/eJRmIfpsK Wt1qaKDZBhx/Mzf4YCE632uE9OttLXvl2vQRLWy3Bq6pZwgO7L9tefMcI42VAWyiDckZ AkpQ== X-Gm-Message-State: ABy/qLYGefQdVqZzt67VXph4kx5bIbCowPj2FLi9WH12Mg0dUHJEdAHh It2qqj+7anSPJa+e+QkD0YmB6H52xz71dp9Aq/EJbr2IOdxk6oFJiaIFJWlkUzRH/t1oeCqs81r k7grYhan6fSYAif4uIECRxrsshs4TPlJoitgsClGrF8iUpa4eqg0cBHRDrrDS5hZ902azjR1Too D2RjBFuhwChbi5 X-Received: by 2002:a05:6358:5e0a:b0:133:a8e:6feb with SMTP id q10-20020a0563585e0a00b001330a8e6febmr8982344rwn.12.1691053067366; Thu, 03 Aug 2023 01:57:47 -0700 (PDT) Received: from hsinchu15.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id i6-20020a633c46000000b0056334a7b9b2sm12941735pgn.33.2023.08.03.01.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 01:57:47 -0700 (PDT) From: Nylon Chen To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, geert+renesas@glider.be, pavel@ucw.cz, vincent.chen@sifive.com, nylon.chen@sifive.com, emil.renner.berthing@canonical.com, aou@eecs.berkeley.edu, palmer@dabbelt.com, paul.walmsley@sifive.com, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor@kernel.org, zong.li@sifive.com, Conor Dooley Subject: [PATCH v4 1/1] riscv: dts: sifive: unleashed/unmatched: Remove PWM controlled LED's active-low properties Date: Thu, 3 Aug 2023 16:57:34 +0800 Message-Id: <20230803085734.340-2-nylon.chen@sifive.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803085734.340-1-nylon.chen@sifive.com> References: <20230803085734.340-1-nylon.chen@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This removes the active-low properties of the PWM-controlled LEDs in the HiFive Unmatched device tree. The reference is hifive-unleashed-a00.pdf[0] and hifive-unmatched-schematics-v3.pdf[1]. Link: https://sifive.cdn.prismic.io/sifive/c52a8e32-05ce-4aaf-95c8-7bf8453f8698_hifive-unleashed-a00-schematics-1.pdf [0] Link: https://sifive.cdn.prismic.io/sifive/6a06d6c0-6e66-49b5-8e9e-e68ce76f4192_hifive-unmatched-schematics-v3.pdf [1] Acked-by: Conor Dooley Reviewed-by: Conor Dooley Signed-off-by: Vincent Chen Signed-off-by: Nylon Chen --- arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 4 ---- arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 900a50526d77..7a9f336a391c 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -50,7 +50,6 @@ led-controller { led-d1 { pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; max-brightness = <255>; label = "d1"; @@ -58,7 +57,6 @@ led-d1 { led-d2 { pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; max-brightness = <255>; label = "d2"; @@ -66,7 +64,6 @@ led-d2 { led-d3 { pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; max-brightness = <255>; label = "d3"; @@ -74,7 +71,6 @@ led-d3 { led-d4 { pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; max-brightness = <255>; label = "d4"; diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts index 07387f9c135c..11f08a545ee6 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts @@ -52,7 +52,6 @@ led-controller-1 { led-d12 { pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; max-brightness = <255>; label = "d12"; @@ -69,19 +68,16 @@ multi-led { led-red { pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; }; led-green { pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; }; led-blue { pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>; - active-low; color = ; }; }; -- 2.40.1