Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp125282ima; Fri, 1 Feb 2019 00:23:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IbFUDIbz1z4wgnUM3fJ/r5iSFrs8HkS2T5gaeMZ+7EImjFdkFJD/DHGjbUtpsundEcjDfol X-Received: by 2002:a65:4343:: with SMTP id k3mr1288384pgq.215.1549009393417; Fri, 01 Feb 2019 00:23:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549009393; cv=none; d=google.com; s=arc-20160816; b=Yw1paL05n4ChhX0wSYIVW/0rfnADXX617PlVcxa3Z6YpZabgDF/DRNp3W8z+VIvvN+ xNSQGi/U9pgY7RuKKMaAloUtkr6x4hZcNEC+AI6BlnqALtLmXNptHYFWH3pXPdznWUO6 YpJ/3u3HZvvwgf0q7Cop9OSCky0TtfS+fSqm2TE5BnaVeS5UeVZH5SyFKnfBN8y6Fic/ RcZ7fz8NNeiOK66uaIlrLqUMCyX+Iwu2SFmpZ3PiNFQsvezwwv/59nHDWjlnkLO75rRL Zjuc6Qy78XTk3XgMoplIeb9jEdIrDRmXQu7FL9TMgcGmT3aulx+CnItT4bPDUDSmWDoZ cSCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=tFBzFZHAqNGn9foESIYFh8B3YiYUqcBxL7+SngU+1CQ=; b=gGO6fSpDb9CT2ULUMlaP1sD2GPpzd7UGEghnPQ//nH3FlHUygqg3bIfTMdmzrZ9VH6 ShpdmPYzzgXGwNpHUwcV4A0rkzL7bNcZ6fhmA0JOdhv7/GhngcBUhj8K8ss4KAhe6LwH IRECNO3MFj4IHwXWkoX6oZ1lzShfcS6oLLmiuKZD08RYC6CGubLzGkrayEvtAbqIDF0b XIpZX4HS8kiOVbrDFRZNFJYPAzu6KgKnYiFqBit/hpijL/U7cx/MxWbjork7BP8VV804 KeRlZ9xvopzmJdGl/v06TDWrcPPRWOfIF39KfDItUiDb0qR57XxYhk19XA13musMFt9m Uiwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21si6100715pgk.74.2019.02.01.00.22.57; Fri, 01 Feb 2019 00:23:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728944AbfBAIWa (ORCPT + 99 others); Fri, 1 Feb 2019 03:22:30 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:15442 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726786AbfBAIW2 (ORCPT ); Fri, 1 Feb 2019 03:22:28 -0500 X-UUID: 098c044d9f8c4aad920757316504b906-20190201 X-UUID: 098c044d9f8c4aad920757316504b906-20190201 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1981925851; Fri, 01 Feb 2019 16:22:24 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 1 Feb 2019 16:22:23 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 1 Feb 2019 16:22:23 +0800 Message-ID: <1549009343.22634.4.camel@mtksdaap41> Subject: Re: [PATCH v3 08/12] clk: mediatek: Add MT8183 clock support From: Weiyi Lu To: Stephen Boyd CC: Matthias Brugger , Nicolas Boichat , Rob Herring , Stephen Boyd , James Liao , , , , Fan Chen , , , Date: Fri, 1 Feb 2019 16:22:23 +0800 In-Reply-To: <154482479243.19322.7465842539016312943@swboyd.mtv.corp.google.com> References: <20181210073240.32278-1-weiyi.lu@mediatek.com> <20181210073240.32278-10-weiyi.lu@mediatek.com> <154482479243.19322.7465842539016312943@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-12-14 at 13:59 -0800, Stephen Boyd wrote: > Quoting Weiyi Lu (2018-12-09 23:32:36) > > + "apll2_ck" > > +}; > > + > > +static const struct mtk_mux top_muxes[] = { > > + /* CLK_CFG_0 */ > > + MUX_GATE_CLR_SET_UPD_FLAGS(CLK_TOP_MUX_AXI, "axi_sel", > > + axi_parents, 0x40, > > + 0x44, 0x48, 0, 2, 7, 0x004, 0, CLK_IS_CRITICAL), > > Please document why CLK_IS_CRITICAL is being used everywhere it's used. > OK, I'll add some more comment at where critical clock data is declared. > > + MUX_GATE_CLR_SET_UPD(CLK_TOP_MUX_MM, "mm_sel", > > + mm_parents, 0x40, > > + 0x44, 0x48, 8, 3, 15, 0x004, 1), > > + MUX_GATE_CLR_SET_UPD(CLK_TOP_MUX_IMG, "img_sel", > > + img_parents, 0x40, > > + 0x44, 0x48, 16, 3, 23, 0x004, 2), > > + MUX_GATE_CLR_SET_UPD(CLK_TOP_MUX_CAM, "cam_sel", > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek