Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1650546ioo; Sun, 22 May 2022 23:02:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2w3HuLaTsFkegTuqt94/rR8YEuGDqBBKV6HRU/QUKZCJ426WEfgl3yA6eTBRWi78tapIi X-Received: by 2002:a17:90b:4c07:b0:1df:f11a:7d4a with SMTP id na7-20020a17090b4c0700b001dff11a7d4amr18849115pjb.214.1653285738452; Sun, 22 May 2022 23:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653285738; cv=none; d=google.com; s=arc-20160816; b=dWD4APF2N5RelkEa9jelyRn/dqkD04PIuHsEGGQ0lelld2f1M5XxXiUv7+GLMiq6SS 4kExEYVxatIwH/AlaljSlh+ihOjpsFcvuhTDEE2cBaTowa3Vy0InTGtFwQVefVbVQRxw KgnRV2nAurEllrcez96rkR7Rn6Es/aeGA0lSK1XUbWkCorzwB+eiB30Pj2pLmlsw8aZ4 kQd3jViJIFG46v4v9BoXJwyQxT3I17ZESwPb500tNxW2kkA8cLxNK7ZAwY0MkWvDcGeN GoBkGQwMZpiBnmyYIdrGu8oUVLSnzH3zHizz1lHm5XCOJqm/K+WEK/26FilvCOMZlcWL tqvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=OT1+qUPdNHi/CykexAxWJ7GvkeD7r8Qb8ZFJ4FOHiXE=; b=YTMG7vdisSDYCeuvcltVJwov+110cm4204zoXxHtvYi1bAAFj8ji7YlGflz4Xhzw8p 9uu8U9ICAuC1xfKo3r/jnCPtrwVasdNNU28ifjiDwGRNaGxwE5zLlXT9KSfuB7V1CQrr 840gkHEf6RgPavmhhtzPbO3vWPngZenjqBz17MikwTy6r0U+1SkA553V6ioojX0RsaXN d6hojiDinfuQnb00xuWx0VKeQF1AEtoxEMkN00LO4QaCTFRiD/ysdAY9+a6fddJC8fVs xfO2N5lV0SSoJXbyHliAioPN9xPB5aWOCv6BLPTMknABRywf2x0QD65AGnFJG2YcbnyF ExVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=edEcURbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j64-20020a638043000000b003f26b211c84si9124424pgd.349.2022.05.22.23.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=edEcURbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 817C514028; Sun, 22 May 2022 22:55:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244205AbiEVL2i (ORCPT + 99 others); Sun, 22 May 2022 07:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235232AbiEVL2g (ORCPT ); Sun, 22 May 2022 07:28:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFDA82ED68; Sun, 22 May 2022 04:28:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6DC7A60EFA; Sun, 22 May 2022 11:28:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42281C385AA; Sun, 22 May 2022 11:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653218914; bh=I1TCglVaUOlQv9NY1yHyp/8XZg1F5alSwioMHOuiLOI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=edEcURbzrSmVoivNV/l85Tcq/+YRXHI5cR2eu5pjA0Sv23Xrjb5FPT6Cz09vqcn0R yHBK+QMqd0ivdLGszxp2I5NBWvlXmwOCxBGlslpJF7A/X/ZgLy4w0sUo9hq02CYU2z 9qsRJ/da2mX9NBOMmlIQ+P7ewqEYlWswU0j98Jr1zA298CkHTqGimkGArz3zkgVo/z 8midgGKhZB94LkCA57NlQ469ykb4sJaaX94An75MYXn/tBLyU83636n3dNRdPuPdvd 4TgYLqw2kY93fwc5gey0G/gLo9ZYJURsKm28iDBmUOt1oo+zhPd0QyNBm1a8geSZx8 z23vmr7EtANbw== Date: Sun, 22 May 2022 12:37:19 +0100 From: Jonathan Cameron To: LI Qingwu Cc: lars@metafoo.de, mchehab+huawei@kernel.org, ardeleanalex@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mike.looijmans@topic.nl, devicetree@vger.kernel.org, thomas.haemmerle@leica-geosystems.com Subject: Re: [PATCH V3 0/6] iio: accel: bmi088: support BMI085 BMI090L Message-ID: <20220522123719.3e34bb6e@jic23-huawei> In-Reply-To: <20220518150425.927988-1-Qing-wu.Li@leica-geosystems.com.cn> References: <20220518150425.927988-1-Qing-wu.Li@leica-geosystems.com.cn> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 May 2022 15:04:19 +0000 LI Qingwu wrote: > Modified the units after application of scale from 100*m/s^2 to m/s^2, > since the units in the ABI documents are m/s^2. > Add supports for the BMI085 accelerometer. > Add supports for the BMI090L accelerometer. > Make it possible to config scales. > > Change in V3: > > Use FIELD_GET for checking register range. Reorder the chip info and > dt-bindings alphabetical. Add of_id_table. Modify the logic of loading > sensor chip info. If the device was found in the table but the device > tree binding is different, the driver will carry on with the detected > chip with a warning. If no matching device was found, the driver load > the binding chip. All looks good to me. Unfortunately we've missed the 5.19 merge window now as it will probably open shortly. As such we have lots of time so I'll leave this on list for a little longer for others to take a look at. Thanks, Jonathan > > > LI Qingwu (6): > iio: accel: bmi088: Modified the scale calculate > iio: accel: bmi088: Make it possible to config scales > iio: accel: bmi088: modified the device name > iio: accel: bmi088: Add support for bmi085 accel > iio: accel: bmi088: Add support for bmi090l accel > dt-bindings: iio: accel: Add bmi085 and bmi090l bindings > > .../bindings/iio/accel/bosch,bmi088.yaml | 2 + > drivers/iio/accel/bmi088-accel-core.c | 96 +++++++++++++++---- > drivers/iio/accel/bmi088-accel-spi.c | 17 +++- > drivers/iio/accel/bmi088-accel.h | 9 +- > 4 files changed, 100 insertions(+), 24 deletions(-) >