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>] [day] [month] [year] [list]
Message-ID: <BN6PR04MB0660D19DC149EB425A0D7F64A3BC0@BN6PR04MB0660.namprd04.prod.outlook.com>
Date:   Thu, 14 May 2020 13:48:54 -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,
        kstewart@...uxfoundation.org, tglx@...utronix.de,
        linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     Jonathan Bakker <xc-racer2@...e.ca>
Subject: [PATCH v2 0/7] iio: accel: Add bma150 family support to bma180

This patchset adds support for the bma023, bma150, and smb380 three
axis accelerometers 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 bma150 is very similar to the bma023, but has a
temperature channel.

As these chips are also supported by an input driver, the bma180 IIO
driver now explicitly conflicts with INPUT_BMA150 in the Kconfig.

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 with a bma023.  The interrupt
pin is not connected on this board so the trigger was not tested.  The
bma150 was only tested by changing the compatible and confirming that
the accelerometer channels were working.

Changes from v1:
-Added patches for bma150 and smb380 variants
-Add R-b and A-b tags
-Change so BMA180 and INPUT_BMA150 conflict rather than removing
 the i2c ids from the input driver when the iio driver is enabled

Jonathan Bakker (7):
  iio: accel: bma180: Prepare for different reset values
  iio: accel: Make bma180 conflict with input's bma150
  dt-bindings: iio: accel: Add bma150 family compatibles to bma180
  dt-bindings: iio: accel: Add required regulators to bma180
  iio: accel: bma180: Add support for bma023
  iio: accel: bma180: Rename center_temp to temp_offset
  iio: accel: Add bma150/smb380 support to bma180

 .../devicetree/bindings/iio/accel/bma180.txt  |   8 +-
 drivers/iio/accel/Kconfig                     |   8 +-
 drivers/iio/accel/bma180.c                    | 208 ++++++++++++++++--
 3 files changed, 206 insertions(+), 18 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ