Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbdHNBhE (ORCPT ); Sun, 13 Aug 2017 21:37:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:43182 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751406AbdHNBhD (ORCPT ); Sun, 13 Aug 2017 21:37:03 -0400 Message-ID: <1502674616.930.74.camel@mhfsdcap03> Subject: Re: [PATCH v2 2/2] i2c: mediatek: Add i2c compatible for MediaTek MT7622 From: Jun Gao To: Wolfram Sang CC: Matthias Brugger , , , , , , Date: Mon, 14 Aug 2017 09:36:56 +0800 In-Reply-To: <20170812144411.zqgbncsemzaolldv@ninjato> References: <1502506672-7620-1-git-send-email-jun.gao@mediatek.com> <1502506672-7620-3-git-send-email-jun.gao@mediatek.com> <20170812144411.zqgbncsemzaolldv@ninjato> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 451 Lines: 15 On Sat, 2017-08-12 at 16:44 +0200, Wolfram Sang wrote: > > +static const struct i2c_adapter_quirks mt7622_i2c_quirks = { > > + .max_num_msgs = 255, > > + .max_write_len = 65535, > > + .max_read_len = 65535, > > + .max_comb_1st_msg_len = 65535, > > + .max_comb_2nd_msg_len = 65535, > > +}; > > That looks like no quirks? Then just leave the quirks pointer below > empty. > Compare to MT8173 i2c controller, MT7622 limits message numbers to 255. Jun