Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1648068ioo; Sun, 22 May 2022 22:57:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKEs9R8QrbLZPSpT+o3bHGWR7PJtayx7XXwqB6u3Zpjv2hZPiPbQQhXIYNGykiqOeTw+bf X-Received: by 2002:a17:902:ea53:b0:15b:1bb8:ac9e with SMTP id r19-20020a170902ea5300b0015b1bb8ac9emr21078993plg.45.1653285466047; Sun, 22 May 2022 22:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653285466; cv=none; d=google.com; s=arc-20160816; b=Y+MM+ZfuOrgB+7Frw6vI65+lksfsTUCBt6xNT70gptiGE3Qs/E07AQO6X9hrKSSFMM 6hNqkN7UDtdCO8HjEbUtDLQunU8vBvzcR0IFhEblZ+zoglb/1GsQdybVpe/V9RswuQPq jQhrx73jvsdd/dj2Q6kaM2Rmazu17n8oyKEjEt9d1Hx66LuIk3S4FSPKlc2yIYkMdWYb WpJnH5KMydY6YUW1TOmoVUn595UQvyXBSX0Mbyw0v2Rcw1pxnnfVWycqhfm+SH9S9vES p+yBvNDBV/D6f5B07jbvsB0WpehGfrY20J23owX9nKICuetI84v5olglNxAehnKi7GEz hU5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Bx5X+ylpXCB1oeKwaqF8/5ZyyJdSntTf6hBaG0cofx4=; b=RIYmzZrxS3gB0hlK1hLumbyVCMnbUWptkFdLqwR19Rxv0NsSZwK1A8CFmNLwpL1eln 5LT6BRbBT3qnNh+Cm0tlBLLVTQ64bvqPKtFXst+B9qav6CLuEem4f/LQ/1aBM2DTktJA x9NFr888zqh7T92qJo7cpc4xCxn16R90deb3jd95pgYRDwp19kQE+clBfvrX2qAySl/D w6Vdqe43d/18DjKVYLuyIo1JrZodB3enF8PjAln6RbHfv+BhFEnTC8cyiR89Rvy9F8kG yBbp9fTJpSnKZv7qSkaM7M9szo8qOKljl3oxj0OhLak3XZd13mcoJ9zWXyzN/OZS4PIG ++/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Jbpr2YTZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p21-20020a056a000b5500b0050dd5012e1esi14454103pfo.55.2022.05.22.22.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 22:57:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Jbpr2YTZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D0DC82CE37; Sun, 22 May 2022 22:53:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350980AbiETPk3 (ORCPT + 99 others); Fri, 20 May 2022 11:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350971AbiETPk2 (ORCPT ); Fri, 20 May 2022 11:40:28 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7CB7163288; Fri, 20 May 2022 08:40:27 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id BD8201F465BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653061226; bh=yoKFIOuJFjcpwDMOjsEHzdGLdIc03w5D68Xc3yzKzAo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jbpr2YTZeoUG+rwaC/OO4MDeTDKG2yZdpcZOPXhVSWOVID/70YrC7K+04roRBxWbQ 2XWcDqf0XXWPxPqTYPV6HcnIepPxvVChCNor2WBBr7w6O4j/kFU6cKk6vP2Z+Z9dE5 7tgmyu4ouwDDcQ0dtQp8e4PQRmB5tRIBJspFmBTBKpGkE66u1x51+FG/h/TQZNXV2D ZGUpKZVvuaNylRUK6SrqWYIxnWw4/mV6NR7KkJ4WR73Djtj6MkJvnMbv+3+fknfBxB w3GH+ndrbZBberSAFrHjC0BO5mZVe+/NaEf8hZzevRiT7UlgeAi566XzqEOih6eyld 5TZZOfTB8t0cg== Date: Fri, 20 May 2022 11:40:20 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Rex-BC Chen Cc: mturquette@baylibre.com, sboyd@kernel.org, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, p.zabel@pengutronix.de, angelogioacchino.delregno@collabora.com, chun-jie.chen@mediatek.com, wenst@chromium.org, runyang.chen@mediatek.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v7 00/19] Cleanup MediaTek clk reset drivers and support SoCs Message-ID: <20220520154020.dywardvr3silhjwk@notapiano> References: <20220519125527.18544-1-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220519125527.18544-1-rex-bc.chen@mediatek.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no 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, May 19, 2022 at 08:55:08PM +0800, Rex-BC Chen wrote: > In this series, we cleanup MediaTek clock reset drivers in clk/mediatek > folder. MediaTek clock reset driver is used to provide reset control > of modules controlled in clk, like infra_ao. > > Changes for v7: > 1. v7 is based on linux-next next-20220519 and Chen-Yu's series[1]. > 2. Add support for MT8186. > > [1]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=643003 > > Changes for v6: > 1. Add a new patch to support inuput argument index mode. > 2. Revise definition in reset.h to index. > > Rex-BC Chen (19): > clk: mediatek: reset: Add reset.h > clk: mediatek: reset: Fix written reset bit offset > clk: mediatek: reset: Refine and reorder functions in reset.c > clk: mediatek: reset: Extract common drivers to update function > clk: mediatek: reset: Merge and revise reset register function > clk: mediatek: reset: Revise structure to control reset register > clk: mediatek: reset: Support nonsequence base offsets of reset > registers > clk: mediatek: reset: Support inuput argument index mode > clk: mediatek: reset: Change return type for clock reset register > function > clk: mediatek: reset: Add new register reset function with device > clk: mediatek: reset: Add reset support for simple probe > dt-bindings: arm: mediatek: Add #reset-cells property for > MT8192/MT8195 > dt-bindings: reset: mediatek: Add infra_ao reset index for > MT8192/MT8195 > clk: mediatek: reset: Add infra_ao reset support for MT8192/MT8195 > arm64: dts: mediatek: Add infra #reset-cells property for MT8192 > arm64: dts: mediatek: Add infra #reset-cells property for MT8195 > dt-bindings: reset: mediatek: Add infra_ao reset index for MT8186 > dt-bindings: arm: mediatek: Add #reset-cells property for MT8186 > clk: mediatek: reset: Add infra_ao reset support for MT8186 For the whole series: Reviewed-by: N?colas F. R. A. Prado And also Tested-by: N?colas F. R. A. Prado on mt8192-asurada-spherion. PCIe resets work as intended by adding on the pcie node + resets = <&infracfg MT8192_INFRA_RST2_PEXTP_PHY_SWRST>, + <&infracfg MT8192_INFRA_RST4_PCIE_TOP_SWRST>; + reset-names = "phy", "mac"; Thanks for the great work on this series, Rex! N?colas