Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1950541ybl; Sat, 31 Aug 2019 05:20:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4sRUsz0WJiatCTPBVW9LqQPTwe7sR5e6r74sB2gLevKQ/+OwJzoEarx4SBBzj56ssa/be X-Received: by 2002:a17:902:581:: with SMTP id f1mr20490330plf.246.1567254022107; Sat, 31 Aug 2019 05:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567254022; cv=none; d=google.com; s=arc-20160816; b=JaYLnfSrOvt80Ys2fT9YvTNNe6Kysiog0eDyNsw5mEfky/g7J9RZR2FQldhEkleHLO A/HYinnG5U4P9C/WTT4Ft3Ck0ZoFw1r8xZkttJ38tX4CmfIYdZF7iOqW3fXC2AdcmdvF 3znP4O6oFn+d4ZpfQStS9k4uLy9VKFkFuG0/YFe/9Ko1zwwXt2eSwRpG2YGgr+yZF7eT eUQ1QeqA8adYga/svcLUt2NP5BLNsQady6t3MzHpe80OqW5ta9ywFq29ugxpwm1cAPeK KUWHkUUzIxWJTJxbniXPaqlTUjCtjed5YONwrVXoFP7HWXiRAdGJ8f+7nWnOtxBoL9Q4 EYqw== 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=LVKISjRp8lNwY5oMAc+GxGcdEPQrbx4ZkpScMNbqWbM=; b=P6hFsy2iC9uNs9atf9HrCv+GeKMxvaXtE+3CqcjXAmdKikGRXuWc/aOThkfRcrfHyv gLPvOYRZlFp/nvnFpjHpHtcd4nRkU+K5/4yepPuZsbN+qr0T2JWA1DAFImXVas0axgmS kt+tr3C3dhKyCsxjzPgchlekw00SCzgqLn857l+P+nJOYRMZLwtwYxFjFVpwAWC/U+Sp tBAjvetb9WV7+NRt+pHbU0K9Tevrxh8kHmYPAQWORKAZbXQ+HFEOw9sQR2H05WA+i7vL EBvXUgRtARKBP/AL0QdgaYHC9pcJNSl92OmzHiHp0/GBtfagL0AVstsJ4o9wR8t7SjMU ffuA== 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 h12si7139308pls.334.2019.08.31.05.20.02; Sat, 31 Aug 2019 05:20:22 -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 S1727672AbfHaMRy (ORCPT + 99 others); Sat, 31 Aug 2019 08:17:54 -0400 Received: from sauhun.de ([88.99.104.3]:37824 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726195AbfHaMRy (ORCPT ); Sat, 31 Aug 2019 08:17:54 -0400 Received: from localhost (p5486C98B.dip0.t-ipconnect.de [84.134.201.139]) by pokefinder.org (Postfix) with ESMTPSA id 137752C0093; Sat, 31 Aug 2019 14:17:52 +0200 (CEST) Date: Sat, 31 Aug 2019 14:17:51 +0200 From: Wolfram Sang To: Eugen.Hristev@microchip.com Cc: peda@axentia.se, mark.rutland@arm.com, Ludovic.Desroches@microchip.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pierre-yves.mordret@st.com, alexandre.belloni@bootlin.com, robh+dt@kernel.org, Nicolas.Ferre@microchip.com Subject: Re: [PATCH v3 5/9] i2c: at91: add support for digital filtering Message-ID: <20190831121751.GC1032@ninjato> References: <1562678049-17581-1-git-send-email-eugen.hristev@microchip.com> <1562678049-17581-6-git-send-email-eugen.hristev@microchip.com> <20190831121308.GB1032@ninjato> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: <20190831121308.GB1032@ninjato> 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 --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > + dev->enable_dig_filt =3D of_property_read_bool(pdev->dev.of_node, > > + "i2c-dig-filter"); > > + >=20 > What do you think of the idea to introduce 'flags' to struct i2c_timings > and parse the bindings in the core, too? Then you'd have sth like: >=20 > if (t->flags & I2C_TIMINGS_ANALOG_FILTER) >=20 > Would that be useful for you? Forgot to say, we can also implement this incrementally to make sure your patches land in 5.4 in case you are currently busy with sth else. --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1qZW8ACgkQFA3kzBSg KbbcoQ//ZMuUi7Vd6Xj/Gh9IgbGuTbXxjGeoSW+Kts2TbqLIcJHl9A8F8BLOe3OH QJRwEMB/NVIpI6XTuQKadhBkKHoI/1n+5jhOJX4P239Lar26V3kXG97WLSNH3kJP RJ4q5ZfPRLKzpxlebefRUWntFCadSWmQvztiji0VyQR5wSY3+eJkVhU7ftIKFEpW LFMoCI0Gr1eClZM47oZERx9hsilWnacd+y8eLTDoiUmd0yVGx0QO26JNju6zIkuU zMAfj51/y0aNN63LIHAp3M4uOxVvLxAWZrhg4nGrbfrEwUIFjWMajM27mnuF8C6R jFaK/CUOBUHO1dRRDvPHmFEJThJo7iQ4gR++2r4+ADeoWDP7geMn6uttEs3xRZEU HkOvWUDUzxgR0ylv768MU4lUV8eYt5d0kzYEQqcOiBO4eAS7zQ0SaeSLdbrQuIhR Vx6Msz70pCaBSQqEckJPlKcmN4fm4vp67wVZdy8jEjNuJIY7j7jVsFEQZkJXfdBq tV8yfRFm0C5HZbq5DR0QSF6xqREW/k40aHsPC/7bmyvyzCuA9GiGe3bZCzxoOeuR TAmzevIjsE4UfmCrNdqQP/V4E0tZMAbllPgxUlgZYO84EiLn76pKxxlvyt5hp++t NlMl1rO/Ne51jtwCVcmGgpkoLtlop2ChAKzhPSGZDMn7aAHdJVU= =YVhT -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--