Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp546887rwd; Mon, 12 Jun 2023 18:31:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75nhtLvZPD0ML774QJkWOGNIdsJLSXWASQik6VckFjjSMNw0iWtFgII+FjWT4RkuNgOZDz X-Received: by 2002:a17:90a:8543:b0:25c:a96:93ca with SMTP id a3-20020a17090a854300b0025c0a9693camr1811311pjw.15.1686619866350; Mon, 12 Jun 2023 18:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686619866; cv=none; d=google.com; s=arc-20160816; b=LG1TToA8tx3eoYiGN+6aoRHGue298zPJFmD4m3YTJBu98UyqlSKwwkJQSKpL/g+JMR Ht1a+aufJ/xqgxYfQKoJmY2TYhojMhG/zBIvkz4dsEROyepU3KBfeoidnkZFAFXhvkI/ FFdgFpUv8/zBI7xHzC/v+kwo/uksEONNU8qBjInlQTIMye2vYPECfvkQY6sz2gsniN0a TA+2Yy8FV+ZIgAsxlTKfx8InP2DHrHvpxSHVckiWuWTXDN0DUcZNwWaKZj+DZv96RRB5 qQVPuwsNp2MvLodX4MdX/b/mq8hTJmDwsKQrnbp3PIw/eldK/dkvXk8HRV3DpN/LoCoo dw7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=gmymbzHrclsljsrpfO7Q/CbjPvQelDe6/g5madNgpDw=; b=d3SUCImarBo4yVLn/rd+CQCYiQLhn7GKRo1pi6g+0UyTWRiGolUpYUnz2F2swvme/O uHhofQO7/++OWefvcoqUnnIkdefHdcAzXjgUcgjCNuk50ibIU2JdHjslh6bfPNxz+SYK wvSo8hNSp5JGnShWIsOXqLzOf7iwgLbHxo7a2VSk17ciP6P8FoK87WIt2kqdrqWLflEQ FIN4FSQmy9yTnn2SgHHXZPJJ0kXzJ05QRZPNGh90Cd8L0HMKs4l8hsywlmVU1nf3h4Fi aSlvb5i0bQpAMn7tr73M85Cgwgpx6pdZUo5E1u8Gi51X7+dBbcXSRS+oaqodjl1NMx92 JWhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lOgMuJIJ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy1-20020a17090b020100b002507aba141asi7664870pjb.171.2023.06.12.18.30.53; Mon, 12 Jun 2023 18:31:06 -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=@kernel.org header.s=k20201202 header.b=lOgMuJIJ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233441AbjFMBNQ (ORCPT + 99 others); Mon, 12 Jun 2023 21:13:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbjFMBNO (ORCPT ); Mon, 12 Jun 2023 21:13:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09DA2A0; Mon, 12 Jun 2023 18:13:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 97D406301F; Tue, 13 Jun 2023 01:13:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC162C4339B; Tue, 13 Jun 2023 01:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686618793; bh=gmymbzHrclsljsrpfO7Q/CbjPvQelDe6/g5madNgpDw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=lOgMuJIJDpYz8zYDUwBofEtANK4cUJ5n3jyErIPXP24XiN+DMPUFEfLhRPQL8SvRe WvNGnjsBzfQEKOuFwXbGiNE2X6NtX/gU9gdhajeXDAHQVLxUhSDhBI6fO/V1rANCNB 9vyxzn05pioC9DSFPDC0dFfiZTAzcTM+mC8EnfwltkjbxCmOnNszmDjjYku6X1lsNq AZfmDQvIQhOvFO3o0d7ItiMHQaVXrXKEAVfVscAeZMUgqY/ifS143i27ZWfxyqTa1p /JAioEaGqcdoxSBxQ/81vqZDIQVujBtHH8e/grmPivWPbjLxk7j97W6i3eHxvUqT3I yH6L2SOIG1pWQ== Message-ID: <4e4327afb0c71ae299e6aaaa3dffd4f9.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230511133226.913600-1-msp@baylibre.com> References: <20230511133226.913600-1-msp@baylibre.com> Subject: Re: [PATCH] clk: mediatek: mt8365: Fix inverted topclk operations From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Markus Schneider-Pargmann , Alexandre Mergnat To: AngeloGioacchino Del Regno , Markus Schneider-Pargmann , Matthias Brugger , Michael Turquette Date: Mon, 12 Jun 2023 18:13:10 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Quoting Markus Schneider-Pargmann (2023-05-11 06:32:26) > The given operations are inverted for the wrong registers which makes > multiple of the mt8365 hardware units unusable. In my setup at least usb > did not work. >=20 > Fixed by swapping the operations with the inverted ones. >=20 > Reported-by: Alexandre Mergnat Checkpatch complains now that there isn't a Closes: tag here. > Fixes: 905b7430d3cc ("clk: mediatek: mt8365: Convert simple_gate to mtk_g= ate clocks") > Signed-off-by: Markus Schneider-Pargmann > --- Applied to clk-fixes