Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1404843ybv; Thu, 13 Feb 2020 22:43:55 -0800 (PST) X-Google-Smtp-Source: APXvYqw3TgGMM+gsL6EnAuQEbJDD1UzDPW+vZ13ZNLarBOClU9RlY5FDdahJdaJJcpt1XyDUYsX7 X-Received: by 2002:a05:6830:1317:: with SMTP id p23mr1077495otq.3.1581662635425; Thu, 13 Feb 2020 22:43:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581662635; cv=none; d=google.com; s=arc-20160816; b=JYnOsZq08PJoQU4Pcyr+92BMr/Eq/l9M9xWaqKEFk4RKnocD5zGcmS3ffzVwzJ0xOQ vLPPA5IoJr8N+sERvviVFnLBX1KomrexmIoczzRBP9KbhP5L20t+200gMlu31gEXnu25 1H9J/PLlQfNPyQyFCvlTdNL8Lsvq2SYY1OCtz4QuTZ953SwRhKQKmiSOOFs7dpVGp3u5 xnscLoULjeVGN42ssliLFv+FJoD520c+OtzuOv9CkIkz0Dv926TChQxcqulhbxn1LJfs 71FrjDohQXBI9LxeO7piMfFLihQ52MMiZ4XdKwuF/f001Q/0JCZKXt39oGFZn7g60Jgf oD7A== 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 :dkim-signature; bh=feVSTFF8C/Fzoc0vQQgpwigWTluPVqejf8rxPuRhDFk=; b=fxr6p8n7EALcVimRzpjUCdUdFM3yMkqDX9QC7KTJ87Fg2oazZ8LR2yl4SdjcITXFib Ooi95CcLrFF3kidl8I0jNJToGZbieCN1H/VinafLXywLZpDea4lzDuRNXXBF7Hu//Kqj uhgq5y9bftfueaOqFEvN1EXt4HCKSaVjfGd6AKpYMb8zf9eDtWp19JJMLaRpoQKSU06O 28EfURFRvZL5oYgjfo//6bE4or07TTk3774HbiJiYJ8aks8qFPxbNrbK50rARRQvv46o u4QpuTdERImXkhKZ4KuCqfzqEoKlhyK0nAU6+k2Fgp9GQMKc3Gvl9PwOTWa6FIsut/iQ fRNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RgESd6v8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si2163091oth.15.2020.02.13.22.43.42; Thu, 13 Feb 2020 22:43:55 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=RgESd6v8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728740AbgBNGnG (ORCPT + 99 others); Fri, 14 Feb 2020 01:43:06 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:50371 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725828AbgBNGnG (ORCPT ); Fri, 14 Feb 2020 01:43:06 -0500 X-UUID: b36bcfffd0b346d196f51e62d9ed8374-20200214 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=feVSTFF8C/Fzoc0vQQgpwigWTluPVqejf8rxPuRhDFk=; b=RgESd6v8nj1PmxtET+ourFFzmizaB/msVQfzmrxsdwu8WObGKa3IHG3evRHXirOKSHz2Ho2OrkUPmmP1bfnxYMtQ5pVFYcMnyoOFbmnKCbwIkHainH/VlsGArLtPqJgQ8Nmlcrilu0aqF80BOrEtm5QBRieLqRH+sqqa8+nz27U=; X-UUID: b36bcfffd0b346d196f51e62d9ed8374-20200214 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2063561763; Fri, 14 Feb 2020 14:43:00 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Feb 2020 14:42:15 +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, 14 Feb 2020 14:42:58 +0800 Message-ID: <1581662579.19424.17.camel@mtksdaap41> Subject: Re: [PATCH v11 06/10] soc: mediatek: Add subsys clock control for bus protection From: Weiyi Lu To: Matthias Brugger CC: Rob Herring , Nicolas Boichat , , James Liao , , Fan Chen , , Sascha Hauer , Date: Fri, 14 Feb 2020 14:42:59 +0800 In-Reply-To: References: <1576813564-23927-1-git-send-email-weiyi.lu@mediatek.com> <1576813564-23927-7-git-send-email-weiyi.lu@mediatek.com> <1581476141.22901.34.camel@mtksdaap41> <1581561975.19424.13.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTAyLTEzIGF0IDEzOjU2ICswMTAwLCBNYXR0aGlhcyBCcnVnZ2VyIHdyb3Rl Og0KPiANCj4gT24gMTMvMDIvMjAyMCAwMzo0NiwgV2VpeWk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