lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN6PR04MB0660046ABD79433EA94A85A9A3A90@BN6PR04MB0660.namprd04.prod.outlook.com>
Date:   Sun,  3 May 2020 10:22:01 -0700
From:   Jonathan Bakker <xc-racer2@...e.ca>
To:     jic23@...nel.org, knaack.h@....de, lars@...afoo.de,
        pmeerw@...erw.net, robh+dt@...nel.org, linus.walleij@...aro.org,
        linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, dmitry.torokhov@...il.com,
        kstewart@...uxfoundation.org, gregkh@...uxfoundation.org,
        tglx@...utronix.de, linux-input@...r.kernel.org
Cc:     Jonathan Bakker <xc-racer2@...e.ca>
Subject: [PATCH 0/5] iio: accel: Add bma023 support to bma180

This patchset adds support for the bma023 three axis accelerometer
to the bma180 IIO driver.  The bma023 is found on several ~2010
phones, including the first-gen Galaxy S series.

The bma023 differs from later chips (bma180, bma25x) in that it
has no low power but still working mode and no temperature
channel.

The bma023 is already supported by a misc input driver (bma150), so
when both are enabled, the iio driver is preferred.  The bma150
is very similar to the bma023, but has a temperature channel.
Support for the bma150 is not added in this patchset.

While I was at it, I noticed that the dt binding doc was missing
the regulators, so I've added those in.

The patches have been tested on a GT-i9000.  The interrupt pin
is not connected on this board so the trigger was not tested.

Jonathan Bakker (5):
  iio: accel: bma180: Prepare for different reset values
  input: misc: bma150: Conditionally disable bma023 support
  dt-bindings: iio: accel: Add bma023 compatible to bma180
  dt-bindings: iio: accel: Add required regulators to bma180
  iio: accel: bma180: Add support for bma023

 .../devicetree/bindings/iio/accel/bma180.txt  |   5 +-
 drivers/iio/accel/Kconfig                     |   6 +-
 drivers/iio/accel/bma180.c                    | 131 +++++++++++++++++-
 drivers/input/misc/bma150.c                   |   3 +
 4 files changed, 135 insertions(+), 10 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ