Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1404940pxu; Sat, 24 Oct 2020 09:36:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYT3ikKJzO6svNwsQ6chQkiTp+kzjX6P5wNkDkL0mdALg2tKpLvFTeWdSLIm4DuHjv6aR0 X-Received: by 2002:a17:907:b19:: with SMTP id h25mr7838414ejl.368.1603557398507; Sat, 24 Oct 2020 09:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603557398; cv=none; d=google.com; s=arc-20160816; b=hSD2UN774UZQlI0qxJWfphcU/vVPQ82XW/H08/mnNxQyOyi0RSyNlAwZzLQ3GE94jF DYsPXUC97wZHtSDomhr/Pp1KhNCSJxio04693QzrnP47SdrgfV1TQlTM7F68ZIXRBs1q lC2BIxzHrGzH7bPTdRjJyOq8Wfgz0FnAiqkgECFSlWXwEsqjMUvhSYUuf+3Y5ffwsxh3 c5vuZQbmaDNxCuXBU9PUqvLyAO+QzPozVLvy3m+gUyVxBYvonAhuQ1Wp9LPxOcKhgFQa WEDbYAljdsfBgO7yEyWfmJVKkqNzVYsg5LQpqFZ4cxfxcr/v7xIuKu98nONEnz0jKaKn FQbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=clO7x/VOL80tb0fdj/oUgJ/S8826gq/72f6K4BLeZc8=; b=JfbexcjDITzmj1EDgJDYZVp4YXIKCLcC9RivfACk/FxNb55rAtquJKifwwEHTEsPdN QuHxOqy+ewpWb1v+PxKUdMRCKbMV1Cw/fzhj3cU4rZX9IFABdNECLTLXDEqf1gPU+O73 Wh6sc6pIjzy1XBxO3zNVZ0r/gA/Gi7Vb83Q2uWyYG/nYgbVW8I64uSk63Vh65ZyRgKuI NsCb0LGsBy5mCS5gV4MIoRdNB89GC2GNGbYhTPiZyjstQvTMhNu9uvfLVgFUe1sYSOWC gQYwVFsNFkayyH1YVKBkEoJVIOsUqIXNVq0aNO/yG2ggsKxEBUvdfkqGh85zBiaa5hE/ SQNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=sdiKsUzL; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si3384830eds.269.2020.10.24.09.36.15; Sat, 24 Oct 2020 09:36:38 -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=@mediatek.com header.s=dk header.b=sdiKsUzL; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762166AbgJXQWs (ORCPT + 99 others); Sat, 24 Oct 2020 12:22:48 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:38980 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1762161AbgJXQWq (ORCPT ); Sat, 24 Oct 2020 12:22:46 -0400 X-UUID: d35c856461e14079aaa60df79081567a-20201025 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=clO7x/VOL80tb0fdj/oUgJ/S8826gq/72f6K4BLeZc8=; b=sdiKsUzLPhVCy/zztNbQ1pmzh5iRJ3jpC1dx6qyvpEKtRcuyePMXz5+UN4qvhdeqyE/UIYze4RMh2zDInWTJXYt7Cz4dgx7sYQv/tVLBgF+s/9GLcOWnGC9013IBOhH7kFj64xhMuerh0gESrP6ZjavGQogSKq5p2ld/PDoRXIE=; X-UUID: d35c856461e14079aaa60df79081567a-20201025 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1383216541; Sun, 25 Oct 2020 00:22:37 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 25 Oct 2020 00:22:34 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 25 Oct 2020 00:22:34 +0800 Message-ID: <1603556556.28119.4.camel@mtksdaap41> Subject: Re: [PATCH v4 19/34] clk: mediatek: Add MT8192 imp i2c wrapper c clock support From: Yingjoe Chen To: Weiyi Lu CC: Matthias Brugger , Rob Herring , Stephen Boyd , Nicolas Boichat , , , , , Date: Sun, 25 Oct 2020 00:22:36 +0800 In-Reply-To: <1603370247-30437-20-git-send-email-weiyi.lu@mediatek.com> References: <1603370247-30437-1-git-send-email-weiyi.lu@mediatek.com> <1603370247-30437-20-git-send-email-weiyi.lu@mediatek.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTEwLTIyIGF0IDIwOjM3ICswODAwLCBXZWl5aSBMdSB3cm90ZToNCj4gQWRk IE1UODE5MiBpbXAgaTJjIHdyYXBwZXIgYyBjbG9jayBwcm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