From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32500C282CE for ; Thu, 11 Apr 2019 20:16:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F35E32186A for ; Thu, 11 Apr 2019 20:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555013784; bh=mRAtumr2P7rdLJ1lOMzEBoLNKvE+b5PIYcMk60mOUYs=; h=In-Reply-To:References:From:Subject:Cc:To:Date:List-ID:From; b=dUwBmL5PIes4oTb8UhFLAPPyDRK81szPQGw4yGY/YRhMfv/PH4V3K4pYda6sbPaWk bRKajtHg9a79FGtoBRNHAb6r0CetZATDD7pCZhGzW5Swo96PDjEnMhxoDLRLAmRKUR 9EVSp3ccOjkOjeSbq0uA93+DMDINgrBWGnCaRQsA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726881AbfDKUQW (ORCPT ); Thu, 11 Apr 2019 16:16:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:43500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726538AbfDKUQV (ORCPT ); Thu, 11 Apr 2019 16:16:21 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C052E20850; Thu, 11 Apr 2019 20:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555013780; bh=mRAtumr2P7rdLJ1lOMzEBoLNKvE+b5PIYcMk60mOUYs=; h=In-Reply-To:References:From:Subject:Cc:To:Date:From; b=FI3BFwBozTe4SoaU5U/LCJTcZH2YXCiPs+AIIYSMp+ZaAyvB424iUhpNaYilxPtcx g46L5GH/S2QOXiUtP1/0Einv5PzzKUJgKj0wsFthm5bGTedupEgdbprfjiqlsCBpW0 mi1a1O5i9DvbAE+BhMtX1JpWjDbdbqZJeScC4kt0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190305050546.23431-4-weiyi.lu@mediatek.com> References: <20190305050546.23431-1-weiyi.lu@mediatek.com> <20190305050546.23431-4-weiyi.lu@mediatek.com> From: Stephen Boyd Subject: Re: [PATCH v5 2/9] clk: mediatek: Add new clkmux register API Cc: James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, stable@vger.kernel.org, Weiyi Lu , Owen Chen To: Matthias Brugger , Nicolas Boichat , Rob Herring , Stephen Boyd , Weiyi Lu Message-ID: <155501377988.20095.3921794940086690412@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Thu, 11 Apr 2019 13:16:19 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Weiyi Lu (2019-03-04 21:05:39) > From: Owen Chen >=20 > On both MT8183 & MT6765, there add "set/clr" register for > each clkmux setting, and one update register to trigger value change. > It is designed to prevent read-modify-write racing issue. > The sw design need to add a new API to handle this hw change with > a new mtk_clk_mux/mtk_mux struct in new file "clk-mux.c", "clk-mux.h". >=20 > Signed-off-by: Owen Chen > Signed-off-by: Weiyi Lu > --- Applied to clk-next From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v5 2/9] clk: mediatek: Add new clkmux register API Date: Thu, 11 Apr 2019 13:16:19 -0700 Message-ID: <155501377988.20095.3921794940086690412@swboyd.mtv.corp.google.com> References: <20190305050546.23431-1-weiyi.lu@mediatek.com> <20190305050546.23431-4-weiyi.lu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190305050546.23431-4-weiyi.lu@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org To: Matthias Brugger , Nicolas Boichat , Rob Herring , Stephen Boyd Cc: James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, stable@vger.kernel.org, Weiyi Lu , Owen Chen List-Id: linux-mediatek@lists.infradead.org Quoting Weiyi Lu (2019-03-04 21:05:39) > From: Owen Chen >=20 > On both MT8183 & MT6765, there add "set/clr" register for > each clkmux setting, and one update register to trigger value change. > It is designed to prevent read-modify-write racing issue. > The sw design need to add a new API to handle this hw change with > a new mtk_clk_mux/mtk_mux struct in new file "clk-mux.c", "clk-mux.h". >=20 > Signed-off-by: Owen Chen > Signed-off-by: Weiyi Lu > --- Applied to clk-next From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D63FC282CE for ; Thu, 11 Apr 2019 20:16:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DE10E20850 for ; Thu, 11 Apr 2019 20:16:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VkbD6edF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FI3BFwBo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE10E20850 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Message-ID:To:Subject:From: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3uj4Kk7D9baDKS4fE20NNFcidhX5FraxAPFsa+i8NwI=; b=VkbD6edF3zCEWH bpdBGX8GWd2je53ty+j+Kzpv+0QXgAIo+ahBKfm+947A6sidnnQuC3gPpyNtx42gKQJcXLR/RIE71 67bRTk88F6wH0F9GOusZDKGlofRZd3ne7lSkZUgjfijWc+mMDjZxJj5ZCtwKuBzI2FLl0rnLUFoue Ru4+TeqJ+vuMiq4HmB9TKvWPGVbTWI9ksgcpUIYIuECKtOVKv0xPgONGwd2tWnesxSlN/Dxy0vH2W Omh2ICkSe/PFS5V07mNADapOM7IeSBmKLhfL34tXrYU6p2kbzKYtZXv+onShCQf2yyeUmoM0x5+9r /8CjmO5e/u50HYipzkKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEg7Z-0004GJ-Lb; Thu, 11 Apr 2019 20:16:29 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEg7R-00044M-6N; Thu, 11 Apr 2019 20:16:24 +0000 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C052E20850; Thu, 11 Apr 2019 20:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555013780; bh=mRAtumr2P7rdLJ1lOMzEBoLNKvE+b5PIYcMk60mOUYs=; h=In-Reply-To:References:From:Subject:Cc:To:Date:From; b=FI3BFwBozTe4SoaU5U/LCJTcZH2YXCiPs+AIIYSMp+ZaAyvB424iUhpNaYilxPtcx g46L5GH/S2QOXiUtP1/0Einv5PzzKUJgKj0wsFthm5bGTedupEgdbprfjiqlsCBpW0 mi1a1O5i9DvbAE+BhMtX1JpWjDbdbqZJeScC4kt0= MIME-Version: 1.0 In-Reply-To: <20190305050546.23431-4-weiyi.lu@mediatek.com> References: <20190305050546.23431-1-weiyi.lu@mediatek.com> <20190305050546.23431-4-weiyi.lu@mediatek.com> From: Stephen Boyd Subject: Re: [PATCH v5 2/9] clk: mediatek: Add new clkmux register API To: Matthias Brugger , Nicolas Boichat , Rob Herring , Stephen Boyd , Weiyi Lu Message-ID: <155501377988.20095.3921794940086690412@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Thu, 11 Apr 2019 13:16:19 -0700 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190411_131621_857562_F7DA45D4 X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Liao , Weiyi Lu , srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Fan Chen , linux-mediatek@lists.infradead.org, Owen Chen , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Weiyi Lu (2019-03-04 21:05:39) > From: Owen Chen > > On both MT8183 & MT6765, there add "set/clr" register for > each clkmux setting, and one update register to trigger value change. > It is designed to prevent read-modify-write racing issue. > The sw design need to add a new API to handle this hw change with > a new mtk_clk_mux/mtk_mux struct in new file "clk-mux.c", "clk-mux.h". > > Signed-off-by: Owen Chen > Signed-off-by: Weiyi Lu > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel