Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp445264rwb; Mon, 26 Sep 2022 00:39:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6FPi21u+050BIZ5TCY5x247ZJ1EHEoCgR2uW6m5HqlMWyypTWgY2x6p2VVy+QwfXK04ffS X-Received: by 2002:a63:2215:0:b0:43b:e00f:7c7b with SMTP id i21-20020a632215000000b0043be00f7c7bmr18860574pgi.511.1664177958292; Mon, 26 Sep 2022 00:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664177958; cv=none; d=google.com; s=arc-20160816; b=tdMjrh5kTfFIPiEPZJRigR53EDWWOV6oqa7m+RpmD9ssOct5v3UwAAVqoQGqD+6k2F xTNMFXkG3S5r4PA9W92TOgcZVq1VJ1IR0IkRtIL9Sq7+zOxb7mTGFkut8+GYFXf7MJcL Kt9bN9tCy98fRoUaLSjpLHERWGjfrbcTK5KmDsu7fAcR672dQntr9RjrnA+nqLNUyi8Y dvAeJLepoBQr0ED16twYy4AVaYo8A0eninGW7EFDIc1dmczmKUDITv3dU5JE6OjVarQH j4LRX+XrWvG3DLBuZcgY7TRqk8+RycBWTNQRF8im8xdW7w79VCFvSUPc5xrwSfVbAczm 3lMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3jdNtELdCn4sS99CPBgsVFr3jQOrpqoAztbQgH6ZpnE=; b=xV4qMLX36lUwYenNH/291T0oRjcROgedx8eApQgeElNyNhqgfyDWVCQ2QBwd5yCec1 gPzGKcRx5ZGtG1wYToS9b0VHcj7vrveSfINrYbatLq29HncF0XLshMlA6e2n2mgqYXKJ XKXtThCJD3DiptOXyQjJxL+XtStlFxeGE0AjqU/Fg/KobeyLoYmAkX0LjdYvN2WIn5J1 baSHTjbT9mLZpfjsA2r5hjJWYqz+1SzzSsOob+A8VpUQrHv83cIevf6b0eAYFKRB7KpW ycnsd/JpUTgoyx5yKjDK0TLoEAtFgzl1I1W2hP+yHleRjgPnijmuWtZaekzUavUjnsPp 9gVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=tn3lOcQj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a170903028300b0016af36d83d7si12971406plr.357.2022.09.26.00.39.06; Mon, 26 Sep 2022 00:39:18 -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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=tn3lOcQj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234051AbiIZHUw (ORCPT + 99 others); Mon, 26 Sep 2022 03:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234025AbiIZHUs (ORCPT ); Mon, 26 Sep 2022 03:20:48 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E5027B12 for ; Mon, 26 Sep 2022 00:20:46 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id o20-20020a05600c4fd400b003b4a516c479so3203799wmq.1 for ; Mon, 26 Sep 2022 00:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=3jdNtELdCn4sS99CPBgsVFr3jQOrpqoAztbQgH6ZpnE=; b=tn3lOcQjwJXnx1Sx0TUQ62fSBIhMpku7J++HgD5uFWFnqKGT+lJ8cfrpZgsx1isATe miwsSvYxv0bVUUco9JYk5vQpUBtIT5b1gIvclSTZF3iUtBapuWuzGmPh1O9+ghG/8TE1 xee7ee/237mIf1GV+tluXRrY/qH/MVVvoEoTBrz7JOq7CmuoMKYYZ1x6vAW0hHNHn0si uVdNXesmpKUlzHj1hSzZa5QcRQoxmSSTXnMPt9XI43ygFaE0UwTjnl6BLmMVrXkzgJjn h1Kgax2nWYS9QMhBG6+6qJ2moO4TQIDFFYZMbBlzTEoKSzn44MPfBjeLp8yt/3j3+GAm hwtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=3jdNtELdCn4sS99CPBgsVFr3jQOrpqoAztbQgH6ZpnE=; b=oTN1b41ty1KaUWTmn74tsWDzYFnH2KLgrgZmCnEzD1KjJfbkWJXR0LWxCBA21/TOwG Mx9Cb21y0P8LkJl5XYNWAHGXEbEJz5nWDSX2rFOwXBkl2wFY/XY3FRYo8JiybQxw9WF7 ckmmMp5ou7RYzYgtPrnqYrSb2v84H+wZFEfNLrjcftO1VyPYz3JJETavH4qVNqoY3uKo k2/HPW0jKvv7hPQTNSqZAsej3Zbh73QSHsKFk4ilf9k4byuwLOhc6BdEdQCzulA2Rf/E rF9+k/UgN3JNjLP1DGy/umo4v+S2BXDs9Ydk4Avi7a7AoiQcY5fNwTIoLZKAED/dZqzz NvIg== X-Gm-Message-State: ACrzQf2tdlMwPJagjcYbiIxEVl5mX7F7W3eFrXE1u0/VHQd+QW6TKZVm GPnAyNG4b5PMZNK+kSek3qjbXR8F5qmAXpgr7G3iBA== X-Received: by 2002:a05:600c:1e08:b0:3b4:8fef:d63c with SMTP id ay8-20020a05600c1e0800b003b48fefd63cmr20577851wmb.158.1664176844980; Mon, 26 Sep 2022 00:20:44 -0700 (PDT) MIME-Version: 1.0 References: <20220714115515.5748-1-pali@kernel.org> <20220714183328.4137-1-pali@kernel.org> In-Reply-To: <20220714183328.4137-1-pali@kernel.org> From: Bartosz Golaszewski Date: Mon, 26 Sep 2022 09:20:33 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] gpio: mvebu: Fix check for pwm support on non-A8K platforms To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , =?UTF-8?B?TWFyZWsgQmVow7pu?= , linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 On Thu, Jul 14, 2022 at 8:33 PM Pali Roh=C3=A1r wrote: > > pwm support incompatible with Armada 80x0/70x0 API is not only in > Armada 370, but also in Armada XP, 38x and 39x. So basically every non-A8= K > platform. Fix check for pwm support appropriately. > > Fixes: 85b7d8abfec7 ("gpio: mvebu: add pwm support for Armada 8K/7K") > Signed-off-by: Pali Roh=C3=A1r > > --- > Changes in v2: > * reverse the if/else order per Baruch request Applied, thanks! Bart