From patchwork Mon Jul 15 21:42:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 11045061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3C8BB13B1 for ; Mon, 15 Jul 2019 21:42:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AEE826E3C for ; Mon, 15 Jul 2019 21:42:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F1A128516; Mon, 15 Jul 2019 21:42:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC9C826E4A for ; Mon, 15 Jul 2019 21:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731534AbfGOVmW (ORCPT ); Mon, 15 Jul 2019 17:42:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:53774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730574AbfGOVmW (ORCPT ); Mon, 15 Jul 2019 17:42:22 -0400 Received: from localhost.localdomain (unknown [151.66.36.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B742F20693; Mon, 15 Jul 2019 21:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563226941; bh=szYjPvstFvXARXFg4uh3ZnKKbNTSIZgGBtZZdplCV/s=; h=From:To:Cc:Subject:Date:From; b=ePElIy/ljblXq7flo+xnLqF6EMcA6obT2ALzcW6jta3DNH45dx/bzDsqAkNE281in rivqTjoyd6NTzJS7RJuYeH5QGRQwW+UwA3CZRHoLwKNmLawu3HnCGiar0cTUY/0Toj OAXbbxeLqqB40tKVNCDujd3/m6KK1485zSxGRD7E= From: Lorenzo Bianconi To: jic23@kernel.org Cc: lorenzo.bianconi@redhat.com, linux-iio@vger.kernel.org, martin.kepplinger@puri.sm Subject: [PATCH 0/3] st_lsm6dsx: move {odr,fs}_table in Date: Mon, 15 Jul 2019 23:42:08 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move odr and gain table in st_lsm6dsx_sensor_settings maps in order to support devices with different odr/fs definitions. This is a preliminary series to add support for LSM9DS1 Lorenzo Bianconi (3): iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings iio: imu: st_lsm6dsx: move fs_table in st_lsm6dsx_sensor_settings iio: imu: st_lsm6dsx: inline acc/gyro output regs drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 4 + drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 397 +++++++++++++++---- 2 files changed, 316 insertions(+), 85 deletions(-)