Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2049980ybb; Sat, 21 Mar 2020 11:34:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vscBn6D0LR9szF1v/EQCBrpW5LpzBwjLRkTlH0+9DNP+/sZTuOTVClZw1VrU1Qz+L9/OPkb X-Received: by 2002:aca:5454:: with SMTP id i81mr11628992oib.23.1584815668874; Sat, 21 Mar 2020 11:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584815668; cv=none; d=google.com; s=arc-20160816; b=VVLd8BiN2wYKtOQTyYXRMeKYvSIWD4oCDaMU+4FGwk5wKIEsilaomM/zJcMyrRGV39 MrS7ixC+HUiwVAgLdjP+40ovalLykxjo8gPvwkV73c9JMuK8blEADLpDE8adBFw4LhT5 3+hr2p8v20E4Pf+XrfKCFKeBOCQpcgeVHyvrynyOlbLSOK5hYQhr8rVTXJ0yNSu/imdO R59hOXzaSEYA4iqNhpVX/mxhH4qvMrYjylnSphUAUGOVhHSrYZbfIaECuokg2BsEsoj5 cbjXL2g6o80zcF1HJ4U9kfCO9crNUxSY2Yp325iY0q8ATCxt3Ai2VTnuKqIFHpdQefn4 MWrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oYYmMd62FKkis27o84luV6rrdwa2lJvLv0fmSWxoCss=; b=lUS6dAkguXzYxYLpEwabzJd1d9GChPOcHe9MeyfFyngV3b0hv1bL8/kIhHCoBQP8rE FjF+1wua79xja3902nc9LMv3pMynvUmymqVGnPzDXMJUZ90ZnsGCfrFbxrK2h0dN47DS JNniw2WgkQU/lDNHIIhxFPSukdayYntmyl6pW690kJ2JojECM0ZidVNusa4fMkcp3xKq X6saM/LUWswmvqQ4+NmWxCWd8/FH7gs97sikDwhEDlHbCLK2lRnbBRf+j5xRSnlE7Cvt O53xIEICQ/R47DG8VByS/Y72t3LAFeXIn4BbY7JPffWbUQhcBRmg3JWCLFpd71PpdWwC +3rQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si5830996ote.303.2020.03.21.11.34.17; Sat, 21 Mar 2020 11:34:28 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727681AbgCUSdw (ORCPT + 99 others); Sat, 21 Mar 2020 14:33:52 -0400 Received: from sauhun.de ([88.99.104.3]:38110 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgCUSdw (ORCPT ); Sat, 21 Mar 2020 14:33:52 -0400 Received: from localhost (p54B33C59.dip0.t-ipconnect.de [84.179.60.89]) by pokefinder.org (Postfix) with ESMTPSA id E797B2C2E9C; Sat, 21 Mar 2020 19:33:49 +0100 (CET) Date: Sat, 21 Mar 2020 19:33:49 +0100 From: Wolfram Sang To: Sergey.Semin@baikalelectronics.ru Cc: Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Serge Semin , Alexey Malahov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] i2c: designware: Add Baikal-T1 SoC I2C controller support Message-ID: <20200321183349.GC5632@ninjato> References: <20200306131955.12806-1-Sergey.Semin@baikalelectronics.ru> <20200306132348.71E638030793@mail.baikalelectronics.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7qSK/uQB79J36Y4o" Content-Disposition: inline In-Reply-To: <20200306132348.71E638030793@mail.baikalelectronics.ru> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7qSK/uQB79J36Y4o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 06, 2020 at 04:19:58PM +0300, Sergey.Semin@baikalelectronics.ru= wrote: > From: Serge Semin >=20 > A third I2C controller embedded into the Baikal-T1 SoC is also fully > based on the DW APB I2C core, but its registers are indirectly > accessible via "command/data in/data out" trio. There is no difference > other than that. So in order to have that controller supported by the > common DW APB I2C driver we only need to introduce a new flag > ACCESS_INDIRECT and use the access-registers to reach the I2C controller > normal registers space in the dw_readl/dw_writel methods. Currently this > flag is only enabled for the controllers with "be,bt1-i2c" compatible > string. >=20 > Signed-off-by: Serge Semin > Signed-off-by: Alexey Malahov Patches 2,3, and 6 have comments which should be addressed. Patches 4+5 can be dropped when sending next version. --7qSK/uQB79J36Y4o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl52Xg0ACgkQFA3kzBSg KbYNoQ/+IqAHiu0yu6E7vmrFh163UulAWJmyVeL2xt5Umm6AqdBs1yTL6Oy4JB6w 9fMelMGKk4uybuL32UvtviBiNBlqdxPrmkNLfqJ3TkFvg/kSev+HR8QIRPS3WNme UuHz5MCoYPfZK8Pbx8oJsaopI0Ad7/d0uB9MOmatEERHz6jrvQulhm42psN2/icM wufLIsBr803+Ld1VxotTU/15lKfOXsYKhDj3LmiP6iUUtc7K0yQdRcD5KI+3+KZ2 FehsEcizI4YuexDTQrup4Ri6PFj7Tcc8ZXEFXjMYQIuVyYZP50Fs8USKSQcja0e6 Q0er8yM3BRqla5ZoCYQsbXqHYDZh70RxYnj6kOPsYFsjyzR54An0NUG9WERTjCaE DVt0qoOfG6uQnQGX9fgJhzQA5TDlr1xcwxU3A4WS+VNgRuBiG1PI0pFkux9/oesG jFSb0SHLxH9sHE6iH9nhb04hlLxPqiI0esFMtAc8PPW2zaH/ksxa70pc5T3QNJUc poJGFzVxhyI9i0mgnWRYjcITPA5rQqIHAPNxzwNOHvkryDyv1L8dzMey2toJzvUB 0NF0i2II9y5nPt2AWm0ctjdRfmsaikLotwAWLHjNBp+mx+dKpOLtF74D/g/knOKo sU0TkXTi56MjIz05pP6/nvbD+fjeVOUtj4MEyYNH5OIhrQQoibE= =KXuX -----END PGP SIGNATURE----- --7qSK/uQB79J36Y4o--