From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 860A4C433ED for ; Sat, 10 Apr 2021 00:11:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 190456008E for ; Sat, 10 Apr 2021 00:11:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 190456008E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YMT9V6gEGznopkjHeQwEdjNyO8UoKge5SbnlB6dFVp8=; b=Bh1wsWUo466pQ180d7OCWLD0s 2keVMmvyMgnxap7O67k4aYZElymTsN4HxzQWnTvbPKBbAuJCs4wk2fT6WVPixdKnIxR3NEszuLemh awqCtm/YP2IOpM87jp4bODX1r75p+f+obEMorBQyzCaTsYAD4Q+XSL+1/CIClmTp404EnQuN5U1uo NS2HJwX1OGJWGdXEgkWZH6pEQnizpRl7gAvJZqQ0xHidfDB/wIk08kjVcq65OdBdQ50UVntDrXu7S oK8THoy1YNXl1jQgczIUA0toZn5/iI3ea9FpI7tL6I4nJh56at+Hmm94t4DThTWOaqMP00yVTwlg1 dFgZH3Ilw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lV1BS-001nsQ-BE; Sat, 10 Apr 2021 00:09:07 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lV1BH-001nrQ-Hk for linux-arm-kernel@desiato.infradead.org; Sat, 10 Apr 2021 00:09:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Ca+cCLqwiSnggzRSOZBhrhJV19U5tZ8nzn1LCCEhXdg=; b=VU64VNsMh/2Xr3H14Pq6oG/Edn bWUCNeRgbV3cVI0wxyGcJqkMW1XzLkS1cSHc3JAmvUDUuI+vZHRt3d9JB19x6KlvxmD/PnUWpIxPX Jg+TXZmIWdyVcZd1DAhLVFwslKjLYjVmuIzd66fyA2TLRTNussIYwNVzWlBD/hh2ofB8TZOEtFiMJ aJlq1GEcL2+W3nCVla4dI/6gElPFzaXOtB98rObmvztLxz2tWe98tKxZfEXlsveRoXCpnHyGzEZXi xpueslkut9YdQHKN/sqlxk1/Q+8CD69nsHGzV4PuMnGrJoqkA04t5gtbBaNZiv0O1GrWYucfLpAjs PaRIommg==; Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lV1BE-004rw6-Ig for linux-arm-kernel@lists.infradead.org; Sat, 10 Apr 2021 00:08:53 +0000 Received: by mail-lj1-x22d.google.com with SMTP id c6so8394914lji.8 for ; Fri, 09 Apr 2021 17:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ca+cCLqwiSnggzRSOZBhrhJV19U5tZ8nzn1LCCEhXdg=; b=Kvqj5R9fHJthTXbOIqCSzl9xTNI1UFi1KuTayaDFWynrwqGulsO7RSRfsivnOSW024 O7yaOvZ/MmF7FdGDCsQ/XRnQKYPRTb/QxUYkCGvd7nLGKUSvdPRJwaBSC+S0up3E3tAe xdh1rcfbbcBtbctQvrJ0nRYCVPF9jc8OkxxljiyvhSW15wHWGUlIe4nkFGH7zGdtfzNJ B+ZgNqomXtnR1uB4WzOf8JGbWdjLLAMfb78zVqpY1+8KTe7hL/Xpcjk2iAqzOD+gnsYe ldHXNsz1fbYzl1q2uj4WXFT9AznMeJ6OJIBLUOmTkzQNtMVZgqm1w+YcOlsRB97WNkpj uGnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ca+cCLqwiSnggzRSOZBhrhJV19U5tZ8nzn1LCCEhXdg=; b=Z0KfGh53G3VhcBQKOoHJbWmZzSPV/eqhIKMgOvqS1Tu5QvdS2gPQl+AA8eVNka1qi9 K5oUt1XEc8TV0uYs1ryxFFd3oG/9WE8wLEoElfaR4H6eQNWxXTCTTuy01qq1HMY88WHC 30dB/Jh6cmLATwVhaewjiUxB8jF4AOG+FQ4BvRGuIn7a1EzjrCxS9H67XnUNNUhA3N6B WkWCkvrihiud2lC8rjfAuyVdEdSNMpm/Qf5oIeXXVWD/TS6Mak3MHqolVCxoAzkXpBkT nJca3DWI9q7vmQ33sfL8wYuUSyj4ilqKNLnccwg+aEG2VXN8DWhKc2W0POUHGsL4ctaE UVVA== X-Gm-Message-State: AOAM532pR9bXyl5QgXt9zYd31thFpLUzfd0f1Dn/AshrtMd+mPhaoIX8 fTpXYWNn+N9S2PI0iNbk2o6tT3fBBJTFaHZSLigqDg== X-Google-Smtp-Source: ABdhPJwgEA8uuuFLojP3IacZGOQvb/Ilb4wCOhMEZeCC/aUn/DKWEDk564xR3LJGxil3eP8lFZVKw8sDPwcqRp4LW34= X-Received: by 2002:a2e:700a:: with SMTP id l10mr10716412ljc.368.1618013330856; Fri, 09 Apr 2021 17:08:50 -0700 (PDT) MIME-Version: 1.0 References: <20210409082522.625168-1-tudor.ambarus@microchip.com> In-Reply-To: <20210409082522.625168-1-tudor.ambarus@microchip.com> From: Linus Walleij Date: Sat, 10 Apr 2021 02:08:39 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: at91-pio4: Fix slew rate disablement To: Tudor Ambarus X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210409_170852_736527_11B355A5 X-CRM114-Status: GOOD ( 12.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , linux-kernel , "open list:GPIO SUBSYSTEM" , Ludovic Desroches , Claudiu Beznea , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 9, 2021 at 10:25 AM Tudor Ambarus wrote: > The slew rate was enabled by default for each configuration of the > pin. In case the pin had more than one configuration, even if > we set the slew rate as disabled in the device tree, the next pin > configuration would set again the slew rate enabled by default, > overwriting the slew rate disablement. > Instead of enabling the slew rate by default for each pin configuration, > enable the slew rate by default just once per pin, regardless of the > number of configurations. This way the slew rate disablement will also > work for cases where pins have multiple configurations. > > Fixes: 440b144978ba ("pinctrl: at91-pio4: add support for slew-rate") > Signed-off-by: Tudor Ambarus Patch applied! Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel