Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp113995ioo; Fri, 20 May 2022 15:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyfwnSmn0Bx0D2SgVWgaJqmkQMMlCjNObijZ1VVSkLrltq0Mdhetn3++c2kueYl++FqUF0 X-Received: by 2002:a17:907:7ba9:b0:6fe:5636:1636 with SMTP id ne41-20020a1709077ba900b006fe56361636mr11128253ejc.463.1653086015325; Fri, 20 May 2022 15:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653086015; cv=none; d=google.com; s=arc-20160816; b=ZvMrHW3b4298gUIjR80TNhcO0xi+zUJYbNQRGFNQ7/ibuELHwi9ZVtR1F+LpQWxm5G slvthWC2lqcbHYQz6NsS2LCXO4qlsX1r3KCRrWvY5SBt+ATAs5gyddm7rjzSpHzezlS7 VUzyKV8POs16vnmsRWV0FaeMtiZqwt0e5XGBrLkAHr1R8+eIeSkVFyCuiqfo+thhm8OJ 2zdD7YTQlA430JfwmZzHJ4MZEJNoPVdjPrTNjQzq69n2s34bB8W87uCLf11Jm0SQ1q1w YiFfbfDMNzm0qZnseQjuCBhOou88vIFEdMaAJ34Jw0MrD63DK5eAreXuOmKbBwIb0/Gr uwNg== 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=rcNMJZSripHcoNYA6prhCG7KzdgKonK0hc2Y5zUyq00=; b=JloyZF7FroMqGc0wrunm7AAbwAN1r6I8VUpSnJx3U4DPllUVUDy/o0gv65hujCBjlx Mk2A3/g51rEBs0vXwih24BvItoXNB1xbTHXxgjlCn51jn/bHJZcf/VVsEm+rTpXy34y5 GxYYfBHf74KBnG2XV43k3bvbiGqsH2ZsmuRXwtE3T9d+PJKwTb4qX6DhpUHsEun0GmOu I1FUwtq6jawvUKltjeDeZIf+YksuK919Q2U0p5NKf4KTUJn5qhGSo6fr4RTun7pvlqCT 8gU9IJ3d/hXYI8oDaZoYsxbrgzA8AREC33ic7SyhLfU8vRULTuGomVqjnOo0yg0kbtT+ zSfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=VbyuiG1v; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb25-20020a170907961900b006fe815664dbsi10929096ejc.341.2022.05.20.15.33.02; Fri, 20 May 2022 15:33:35 -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=@collabora.com header.s=mail header.b=VbyuiG1v; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350867AbiETPao (ORCPT + 99 others); Fri, 20 May 2022 11:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237360AbiETPam (ORCPT ); Fri, 20 May 2022 11:30:42 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 454FD163284; Fri, 20 May 2022 08:30:41 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 39C971F465BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653060640; bh=dmXpaV9RK7EYK65SYc1PAFlcJQ/aHD8qMN7i1zER+tw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VbyuiG1v+Mr9AKQMrqb8TVYlX4tVx7W+7mp5NVMkcvS7/CV2JBCyyMIhembjTUTyn +fgiKAhdfvgKszDd68j3idCylD1QNocFstG5dNF6NTIqAtyrQN4e/MQw54XJp9ZbWK LcyvU0i9eK7N664xdkRKg+W2NewfLLjDRwszIDtO7w1ABcHtRQM/Ko91NtJAxNeGXL FPztcYtRiMJrq7cK+fumdCIx84uxWK7f4f/ofJpvf6ODDOK8csLOIZubgIf9Dugeio f1rJfNYAZGff3BTfJT+DK4ApT76g9CObBvliJB/fpmhRZpKcyVau9C0ZIXQ4unJhDJ MA2b3jVHh+BpQ== Date: Fri, 20 May 2022 11:30:34 -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 16/19] arm64: dts: mediatek: Add infra #reset-cells property for MT8195 Message-ID: <20220520153034.v4dvh4bn2pon6nnr@notapiano> References: <20220519125527.18544-1-rex-bc.chen@mediatek.com> <20220519125527.18544-17-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-17-rex-bc.chen@mediatek.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 Hi Rex, On Thu, May 19, 2022 at 08:55:24PM +0800, Rex-BC Chen wrote: > We will use mediatek clock reset as infracfg_ao reset instead of > ti-syscon. To support this, remove property of ti reset and add > property of #reset-cells for mediatek clock reset. > > Signed-off-by: Rex-BC Chen > Reviewed-by: AngeloGioacchino Del Regno > --- > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 13 +------------ > 1 file changed, 1 insertion(+), 12 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > index b57e620c2c72..8e5ac11b19f1 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > > / { > compatible = "mediatek,mt8195"; > @@ -295,17 +294,7 @@ > compatible = "mediatek,mt8195-infracfg_ao", "syscon", "simple-mfd"; I believe the 'simple-mfd' compatible was added only to make the reset-controller subnode probe (at least this was the case for mt8192), so it might make sense to drop it here as well. Thanks, N?colas > reg = <0 0x10001000 0 0x1000>; > #clock-cells = <1>; > - > - infracfg_rst: reset-controller { > - compatible = "ti,syscon-reset"; > - #reset-cells = <1>; > - ti,reset-bits = < > - 0x140 18 0x144 18 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* pcie */ > - 0x120 0 0x124 0 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* thermal */ > - 0x730 10 0x734 10 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* thermal */ > - 0x150 5 0x154 5 0 0 (ASSERT_SET | DEASSERT_SET | STATUS_NONE) /* svs gpu */ > - >; > - }; > + #reset-cells = <1>; > }; > > pericfg: syscon@10003000 { > -- > 2.18.0 > >