Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4589296pxv; Tue, 27 Jul 2021 10:59:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOoh5fxuLScMImLBNkqg/rkdbvyFkrYpuHmJzUDDwU1Gt3eL9aT7E9jgUKmXyzkcGLsDQ5 X-Received: by 2002:a05:6402:d7:: with SMTP id i23mr29157016edu.291.1627408760404; Tue, 27 Jul 2021 10:59:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627408760; cv=none; d=google.com; s=arc-20160816; b=fWV+4YrMNxPWScbmn1GlHuEcuUB7DeFA7SZb/34eLMYgXFwR7nfWdDayN/CtVUhpij tB8Qi8wJuvg863/J7RonN/8KlToiYf1HSvrj8txZJKpgh4reKlOy8n2XzMj/Yvi5l6NW pCG6PUg6a7xTH2ifJxQ7YTJsAJg7aIoMDmyiVK7aeMfFij163J28VdxzjtKSBWFHRVsN Jxyez0p/Kroi3x0SkxewfWB5VI9sQlvyKtAei8tg3bJSENdILhbCrolPwPC5OWLLTo9w ERxdbi+WrwiGPtSA6e93rcUqAUQ395nkxMRucMlW/0/nr9Qi/O5icrZEZo6VtblaPn7c /M4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=7YITf+6vCWg/2TcduJ15J7mKtAeA2eCG6DFSJLScR9A=; b=vcNqt8mJQ11FXL4HENsiQfL5WwhlEMCv9We6s7V0EDNodgAt5QPns8ulumRBwZ8uwe NwYbNoDtvmbtpwT92fuFufonXItfxGjhgTh18jR28w5zCxNtVAKWVpqJR8Ljli4iGYOD tNVBpRzqmzAVyS38iWij2Og1bbsYl1aBgFsIOWq8jtKIxzkCHUhHxvITWK1vHnKHY5Ct FLu6GXKda3SMv52KC4FsKaoqFIkKidGxBjtljaf+SZhSpIV1XkmEgOp49MtI3hVOJaQk k4KN1RsyLKl1Qgi44N5pVLE7Hrgy4sQ2Vud2od1V309kT69M7wtrbNTH6J422vfEYwgy huKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pokUSmq2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si3810867edw.166.2021.07.27.10.58.57; Tue, 27 Jul 2021 10:59:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pokUSmq2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230315AbhG0RzE (ORCPT + 99 others); Tue, 27 Jul 2021 13:55:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:45170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbhG0RzD (ORCPT ); Tue, 27 Jul 2021 13:55:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BAE4660F4F; Tue, 27 Jul 2021 17:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627408502; bh=7YITf+6vCWg/2TcduJ15J7mKtAeA2eCG6DFSJLScR9A=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=pokUSmq2ZatQHOM7uTUWqlnIk6ssmOQLkInhd4gsg1+tem2n/aJUnUNK+v8a2ldWs +lKh3Q6Lvt/SAVBgBLQ6IKsySTPNZ/sY+TE+u67g9teoIB4rgOOujzdJvvxIMnPDqc 0TCTsE9xwpBLmj8mLITZ/UauyqTT9CLTBjGke8+gHljsda58MRoT39WmZZdKtFrAeL GztK5R8e+BMHIAwJ3KMy2ov8aXCdFVdN233jqVQ7AR/sttZOF66wduJHsgcJ+8hYv4 nElbyrQ20+Wiwoh6rqN4+Zxwrb7CCtu4/epQMesQZ6qpxkCWS5SIAk0qHygGMgp5d5 0OL0Q2vqBSyMw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210726105719.15793-8-chun-jie.chen@mediatek.com> References: <20210726105719.15793-1-chun-jie.chen@mediatek.com> <20210726105719.15793-8-chun-jie.chen@mediatek.com> Subject: Re: [v14 07/21] clk: mediatek: Add configurable enable control to mtk_pll_data From: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, srv_heupstream@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com, Weiyi Lu , Chun-Jie Chen To: Chun-Jie Chen , Matthias Brugger , Nicolas Boichat , Rob Herring Date: Tue, 27 Jul 2021 10:55:00 -0700 Message-ID: <162740850059.2368309.10593418620932998201@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Chun-Jie Chen (2021-07-26 03:57:05) > In all MediaTek PLL design, bit0 of CON0 register is always > the enable bit. > However, there's a special case of usbpll on MT8192. > The enable bit of usbpll is moved to bit2 of other register. > Add configurable en_reg and pll_en_bit for enable control or > default 0 where pll data are static variables. > Hence, CON0_BASE_EN could also be removed. > And there might have another special case on other chips, > the enable bit is still on CON0 register but not at bit0. >=20 > Reviewed-by: Ikjoon Jang > Signed-off-by: Weiyi Lu > Signed-off-by: Chun-Jie Chen > --- Applied to clk-next