Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2586056pxk; Mon, 14 Sep 2020 18:27:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2a5c6FcgRvG2rAzsy6Oog4ccSYJB7CPGdkOVKMTlN2Dd1gbIVh3nXnM+/uFfid+qvbVyw X-Received: by 2002:a05:6402:304f:: with SMTP id bu15mr20273934edb.201.1600133270094; Mon, 14 Sep 2020 18:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600133270; cv=none; d=google.com; s=arc-20160816; b=D/2b7352SrgZHMKxpHyAbl7w2LJLM1ZiYRGnXeW13RZHJycopOhrFR6cwlz8PrrjQo hKa5lVgnLvc3TzJqGKUl5uJsX1jk2cP7xCBPVMFmE+S/dKSQGvK+QElRv52xp3yF/jO/ tcRWd9280ZA6My+NUARc1jmLclfJIwStHQDuosn0/BsFzs6cqoSPaojwGkCGb0CDIP2W ENs41nUMbuOw5r2O1eYuntHXD9hUdJmVWF6l1zcXKVQY5pTcN85CqO4Qty8vp5xd5ySd QZ5aaXPqjq4LZbMoAVYfwzn5oMQIxF8W8cnckEFYdYaSJpO1osJCJfZPFuMiYSKvt0iN Z9DQ== 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=v1LAQZT/+da26rpDxPw8oEAIptxIIsuOkmEvO0weCVA=; b=FPg1L5SpFONWBK5bBsCczCNrICry9T2ktc4rSZzp1Xl7posPw5twSazNQEt/ssi7HD cFwJcCyXfZj3WCpbn0/WM/xiw2FxOPWvekPumozaDHCwy9HC3liVhGS3lT7tNPqcxr0y OTIQOsFT9VyVGz48vEwASshDo1QXz96P2pI26+a517PZZjyMBNGMMTojtF0O7DqgLVmh nJo6MhyiWWlxgS0NRxZgfm0nKGOPEHZrSFz4Jh68GPRxGzXWseElbfupeRbVW+3tMgCh a+LR/2r0Pic0l2oCkRAw7DHl9eb9qqeTRtoa/VGo5tBD1rhdEp31o6jt/rLVyTCpPtnP 8RHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=saX+E0IT; 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 i26si8020897ejx.591.2020.09.14.18.27.26; Mon, 14 Sep 2020 18:27:50 -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=saX+E0IT; 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 S1726061AbgIOB0i (ORCPT + 99 others); Mon, 14 Sep 2020 21:26:38 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:30473 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725999AbgIOB0g (ORCPT ); Mon, 14 Sep 2020 21:26:36 -0400 X-UUID: 618224d777264c818e3900a54fe92d30-20200915 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=v1LAQZT/+da26rpDxPw8oEAIptxIIsuOkmEvO0weCVA=; b=saX+E0ITo7RPpXuo6nhwQ3xxkMZViPxpWSDX9sVGN1cm7YMpkYb35kLKmnkw9WU/co5FhKV/emydW0fuMfYTSCzcuqTahtCwuvy1Nn5AO/UrnGm9xff9sWAZDMW9pYMsYg7VDLG4/YPdlv5zSn8C6Ab9sjzqjPobb1vmSxfxYM0=; X-UUID: 618224d777264c818e3900a54fe92d30-20200915 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1807177968; Tue, 15 Sep 2020 09:26:31 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Sep 2020 09:26:30 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 15 Sep 2020 09:26:29 +0800 Message-ID: <1600133066.25719.9.camel@mhfsdcap03> Subject: Re: [PATCH] i2c: mediatek: Fix generic definitions for bus frequencies From: Qii Wang To: Andy Shevchenko CC: Wolfram Sang , linux-i2c , devicetree , linux-arm Mailing List , Linux Kernel Mailing List , "moderated list:ARM/Mediatek SoC support" , srv_heupstream , Leilk Liu Date: Tue, 15 Sep 2020 09:24:26 +0800 In-Reply-To: References: <1599890246-21191-1-git-send-email-qii.wang@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 72A8E3EE9FC676B4DD2AB151602F01D4F7A087AFF58CB94C603E5F97AE3294AF2000:8 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 T24gTW9uLCAyMDIwLTA5LTE0IGF0IDE1OjQ4ICswMzAwLCBBbmR5IFNoZXZjaGVua28gd3JvdGU6 DQo+IE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