Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5748706ybp; Tue, 8 Oct 2019 07:45:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCIBfjceQQEMw3aoxpk4AW+pedd0+NirgbPYMiOQEAz8658N+wSChOsxSwdkUR6kHlRXky X-Received: by 2002:a50:f0d4:: with SMTP id a20mr35224762edm.149.1570545909577; Tue, 08 Oct 2019 07:45:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570545909; cv=pass; d=google.com; s=arc-20160816; b=ZrdZBtFO60hnyAkcgRE/ogeqIH1axOIx/Vs2GJJp1BkakcuNRYcwmjAocUVbFooc4C CDWYG4LZAKCgzf9M2GWKdM6SrHjxgZ2MNVulhAf6BBoRJpDHLS9vXFVdcJ4FvJcNudcd 54J3OHY09bbSmaJSWRUB0GF+jcJHGpkWAnXtYq+dCsSnVB8kyt2bIUw/4o0/PYb6u6Ur n7wa4JaKWXqW/UUs6Eqku7UYVScLPrXOPlegwOWWWFBXJcDHtszZiDhJXsNoOwnRAqtl CECq/WQHIhJBu2pkuL1CNGyAo9E1ZEAeVuPdFe5atITH3+/RtQBRLnImwNOyTOvfBkz/ +H7g== ARC-Message-Signature: i=2; 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=/JtGJI/LSl4yi67OOHIZfNwrdK+iHIc6JyX2j7v59Rs=; b=CWQRtZHaoMmF5BCOgheMXbHeDJL4SawaaKczcrwF55rHnfZDUNvS2nyT+Lvsd9q7QR kSMKqNRZqPRd1T+/Y3uVLMzrtmVsaCfbDnHWecefDWsp5RcQs9JK9YcRPXArNPg3Xtjq NwsVX2vf4y62tylWHoi4WNmhdnLzlykGh9alvDVAS6bcwhswszpI5ABV0MTrasMn/Ktm 6hRbuLQntBvbrb57iOAXlLnPA82Pm/kk7PqvUdC+HzoSgV1wNvXNshVNAu48Ox0TtQPV 0WhVQpOgwrhsCt4BaLRFcyAspIqCEMLiRxj2Vx8usocLRWAG7uH0vx3pqaFnpUqPek9L AY7g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dlrobertson.com dkim=pass dkdomain=dlrobertson.com dmarc=pass fromdomain=dlrobertson.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 k1si10669840ede.255.2019.10.08.07.44.45; Tue, 08 Oct 2019 07:45:09 -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; arc=pass (i=1 spf=pass spfdomain=dlrobertson.com dkim=pass dkdomain=dlrobertson.com dmarc=pass fromdomain=dlrobertson.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 S1726828AbfJHOoO (ORCPT + 99 others); Tue, 8 Oct 2019 10:44:14 -0400 Received: from sender4-op-o14.zoho.com ([136.143.188.14]:17478 "EHLO sender4-op-o14.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfJHOoO (ORCPT ); Tue, 8 Oct 2019 10:44:14 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1570545850; cv=none; d=zoho.com; s=zohoarc; b=XRrV7pyCThipqclKUM2Ky5bqi/GNdFf7j9T/FxLOeVPVsDVbRQe9gJ99QnAdlOF5ahFAbNMx2wyPiJZt3OWackGod/nhYIO5r4bFJp/7Qm9cucOHXnob5W9fV2kHpu//OF7I/HDTXzYnLI4nZA4GqcVq3jcfO/PXmRRge0LftCU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570545850; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/JtGJI/LSl4yi67OOHIZfNwrdK+iHIc6JyX2j7v59Rs=; b=MVRxIK4yi0PF44rkH4ipNGFNDZTD5y2OU5Wm/ILPID/DENLFJlZc8MmeJSy4lLI+W0dxSHbLLuQar4t9YhIp8+cr6T1I6djRFglvURAAaMROmZ9FThRpDJNLbBYUNxnFUBwvhd7y9uWg1eVp9WgwuE6JC3Yfwj/AGeAxGNbD00c= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=dlrobertson.com; spf=pass smtp.mailfrom=dan@dlrobertson.com; dmarc=pass header.from= header.from= Received: from nessie (pool-100-15-144-194.washdc.fios.verizon.net [100.15.144.194]) by mx.zohomail.com with SMTPS id 15705458495321015.360847600824; Tue, 8 Oct 2019 07:44:09 -0700 (PDT) Date: Tue, 8 Oct 2019 14:29:46 +0000 From: Dan Robertson To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] iio: (bma400) add driver for the BMA400 Message-ID: <20191008142946.GA7784@nessie> References: <20190925013941.20431-1-dan@dlrobertson.com> <20190925013941.20431-2-dan@dlrobertson.com> <20191006093754.61a12172@archlinux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20191006093754.61a12172@archlinux> User-Agent: Mutt/1.12.2 (2019-09-21) X-Zoho-Virus-Status: 1 X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Jonathan, Thanks for the review! I _think_ I've made all the changes you mentioned locally. I'll run some more tests and clean it up a bit before submitting the next patchset version. > So my first thought was that Bosch have been moderately good at keeping their > interfaces consistent across generations. Seems not this time from > a quick look! Originally I had hoped to extend the bma180 driver, but there did seem to be a reasonably large change in the interfaces. I also hope to add support for some of the newer features and SPI. I think it would be possible to merge the two drivers, but I think it would require pretty close to a complete overhaul of the bma180 driver. If this is something you'd like to explore, I can probably order a breakout board for the BMA180 and BMA220 and work on a way to create a driver that supports all three. > I'd also expect a modern driver to have DT bindings. Might let that go if > it was being used with ACPI but neither is true here. Good catch. The DT bindings will be very simple in the initial version of the driver. I'll add the bindings and some documentation. > See the docs for struct iio_info -> read_avail. Nice! I missed this. This fits exactly what I needed. Cheers, Dan --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEF5dO2RaKc5C+SCJ9RcSmUsR+QqUFAl2cnVUACgkQRcSmUsR+ QqXyLA//eu9Q/gGMKF3BqJN9CTa7BhBQaCeEjUJ9R9mD79eaF7uOXJ+wgUZwSFtk 0VtFigIzrigNGiZX4h21kqGf5zKaYUEgQZXaA4UbRgEwDVGQXqe2p4SidEWRh90K KcD/AO4fh3DlXipMH7ZkAzfLDPnHqf27b0W759prlrgYYIYSjZUIk9YKoIVSHFlJ i8h6/nsvqMWMeGM7z1W4ZPU3KmSM9jr+mZXPKgdooan2cAKk0FuZwQSLXhnRDi8F 55MaT1Syr9BwOKTDX8K4h4K9UOwo7cFPqo24Ihwa1vDT2bQLK8e4T8K/GbcybfQd cAvI5VOdS3f88DF0cGHNMrPLd25yzahu5SINI7oAqrUtXhKsoxg06AFR4R3UtH+u uYtQ37aqbz11awHmA9rJ5MSvoTv6KrA8wsEwu/gk+QGM6Hu5RBX1lCLcGCeNt766 yfk88E6PtLkEofn1Mggeb+m3+jEHNl2ezy/jFjY2hytn269A0INgfWIz1YeEsmx1 JJT8MnJvYRWG9X9Sumcss6ExnNqRY6XDtaS/iGQoeS53r+yDjezwdoKhmuFpsnXu l2ObWLSmoUN/S/E8jjoo8jWYlgfvB2IBl9P5krUq1U3ZI74DT0Ziwa9GsjwbtM2J 8JXOFHYJXOAXfOaGsvzfgYC4ZK0UBr7fK9hLvud9r2bDJXn+o+4= =hT/h -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--