<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/iio/magnetometer, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/iio/magnetometer?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/iio/magnetometer?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2016-02-24T20:40:39Z</updated>
<entry>
<title>iio: hmc5843: Move hmc5843 out of staging</title>
<updated>2016-02-24T20:40:39Z</updated>
<author>
<name>Cristina Moraru</name>
<email>cristina.moraru09@gmail.com</email>
</author>
<published>2016-02-14T22:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7247645f686584552ec0f8ade7267bf7a4907624'/>
<id>urn:sha1:7247645f686584552ec0f8ade7267bf7a4907624</id>
<content type='text'>
This patch moves hmc5843 driver from staging/iio/magnetometer
to iio/magnetometer, updates the corresponding Makefiles and
moves the hmc5843* entries to the 'Industrial I/O support -&gt;
Magnetometer sensors' menu.

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Cc: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hmc5843: Add attributes for measurement config of bias current</title>
<updated>2016-02-21T20:22:21Z</updated>
<author>
<name>Cristina Moraru</name>
<email>cristina.moraru09@gmail.com</email>
</author>
<published>2016-02-14T22:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1c7be4c260e52deeb2ec3cb22d57e5c997932fc2'/>
<id>urn:sha1:1c7be4c260e52deeb2ec3cb22d57e5c997932fc2</id>
<content type='text'>
Change static attribute meas_conf for bias current configuration
to channel attribute in_magn_meas_conf and also add
in_magn_meas_conf_available attribute to view available configurations.

This patch solves functionality bug: driver was using same function
hmc5843_set_measurement_configuration for setting bias current config
for all device types but the function was returning -EINVAL for any
setting &gt;= 0x03 although, for sensor HMC5983, value 3 is valid.

API for setting bias measurement configuration:

normal - 	Normal measurement configuration (default):
		In normal measurement configuration the device
		follows normal measurement flow. Pins BP and BN
		are left floating and high impedance.

positivebias - 	Positive bias configuration: In positive bias
		configuration, a positive current is forced across
		the resistive load on pins BP and BN.

negativebias - 	Negative bias configuration. In negative bias
		configuration, a negative current is forced across
		the resistive load on pins BP and BN.

disabled     - 	Only available on HMC5983. Magnetic sensor is disabled.
		Temperature sensor is enabled.

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Cc: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Staging: iio: magnetometer: remove exceptional &amp; on function name</title>
<updated>2016-02-15T00:44:06Z</updated>
<author>
<name>Bhumika Goyal</name>
<email>bhumirks@gmail.com</email>
</author>
<published>2016-02-12T15:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=343af6379e950266ee3d4f638a3ffe0b01b08eab'/>
<id>urn:sha1:343af6379e950266ee3d4f638a3ffe0b01b08eab</id>
<content type='text'>
In this file,function names are otherwise used as pointers without &amp;.
Found using coccinelle.
// &lt;smpl&gt;
@r@
identifier f;
@@

f(...) { ... }
@@
identifier r.f;
@@

- &amp;f
+ f
// &lt;/smpl&gt;

Signed-off-by: Bhumika Goyal &lt;bhumirks@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: hmc5843: Fix comment style warnings</title>
<updated>2016-02-09T22:17:21Z</updated>
<author>
<name>Cristina Moraru</name>
<email>cristina.moraru09@gmail.com</email>
</author>
<published>2016-02-07T22:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4630adb8ec5a89dca07bf39c341256803c4f1a46'/>
<id>urn:sha1:4630adb8ec5a89dca07bf39c341256803c4f1a46</id>
<content type='text'>
Fix comment style warnings in order to comply with Coding Style
standard provided by Documentation/CodingStyle.

This patch solves following issue found with checkpatch:
WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hmc5843: Swap suspend and resume implementations</title>
<updated>2016-02-09T22:10:51Z</updated>
<author>
<name>Cristina Moraru</name>
<email>cristina.moraru09@gmail.com</email>
</author>
<published>2016-02-07T22:21:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c099225f0a248c395509606932e3ca2cf6c65932'/>
<id>urn:sha1:c099225f0a248c395509606932e3ca2cf6c65932</id>
<content type='text'>
Swap implementations of hmc5843_common_suspend and
hmc5843_common_resume functions for they have been
inversed. Device should go on SLEEP mode on suspend
and on CONTINUOUS mode on resume.

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'spi-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi</title>
<updated>2015-11-05T21:15:12Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2015-11-05T21:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=75f5db39ff14ed95056f2cca3ad98c3cae97170c'/>
<id>urn:sha1:75f5db39ff14ed95056f2cca3ad98c3cae97170c</id>
<content type='text'>
Pull spi updates from Mark Brown:
 "Quite a lot of activity in SPI this cycle, almost all of it in drivers
  with a few minor improvements and tweaks in the core.

   - Updates to pxa2xx to support Intel Broxton and multiple chip selects.
   - Support for big endian in the bcm63xx driver.
   - Multiple slave support for the mt8173
   - New driver for the auxiliary SPI controller in bcm2835 SoCs.
   - Support for Layerscale SoCs in the Freescale DSPI driver"

* tag 'spi-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (87 commits)
  spi: pxa2xx: Rework self-initiated platform data creation for non-ACPI
  spi: pxa2xx: Add support for Intel Broxton
  spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals
  spi: pxa2xx: Add output control for multiple Intel LPSS chip selects
  spi: pxa2xx: Use LPSS prefix for defines that are Intel LPSS specific
  spi: Add DSPI support for layerscape family
  spi: ti-qspi: improve -&gt;remove() callback
  spi/spi-xilinx: Fix race condition on last word read
  spi: Drop owner assignment from spi_drivers
  spi: Add THIS_MODULE to spi_driver in SPI core
  spi: Setup the master controller driver before setting the chipselect
  spi: dw: replace magic constant by DW_SPI_DR
  spi: mediatek: mt8173 spi multiple devices support
  spi: mediatek: handle controller_data in mtk_spi_setup
  spi: mediatek: remove mtk_spi_config
  spi: mediatek: Update document devicetree bindings to support multiple devices
  spi: fix kernel-doc warnings about missing return desc in spi.c
  spi: fix kernel-doc warnings about missing return desc in spi.h
  spi: pxa2xx: Align a few defines
  spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select
  ...
</content>
</entry>
<entry>
<title>spi: Drop owner assignment from spi_drivers</title>
<updated>2015-10-28T01:30:17Z</updated>
<author>
<name>Andrew F. Davis</name>
<email>afd@ti.com</email>
</author>
<published>2015-10-23T13:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3821a065f5672c430a088ae68b4da2a2d2b34106'/>
<id>urn:sha1:3821a065f5672c430a088ae68b4da2a2d2b34106</id>
<content type='text'>
An spi_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Acked-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: magnetometer: Remove explicit comparisons</title>
<updated>2015-10-25T02:32:09Z</updated>
<author>
<name>Cristina Moraru</name>
<email>cristina.moraru09@gmail.com</email>
</author>
<published>2015-10-20T19:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=cd857a158abcf2ad0134e9f044ba74b2bd0b468a'/>
<id>urn:sha1:cd857a158abcf2ad0134e9f044ba74b2bd0b468a</id>
<content type='text'>
Remove comparisons to 0 or NULL

Signed-off-by: Cristina Moraru &lt;cristina.moraru09@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: hmc5843: Export missing SPI module alias information</title>
<updated>2015-08-22T17:51:18Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2015-08-20T07:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=45ef12b6ad6ade7bb8c89db3d3101e99d9552f3a'/>
<id>urn:sha1:45ef12b6ad6ade7bb8c89db3d3101e99d9552f3a</id>
<content type='text'>
The SPI core always reports the MODALIAS uevent as "spi:&lt;modalias&gt;"
regardless of the mechanism that was used to register the device
(i.e: OF or board code) and the table that is used later to match
the driver with the device (i.e: SPI id table or OF match table).

So drivers needs to export the SPI id table and this be built into
the module or udev won't have the necessary information to autoload
the needed driver module when the device is added.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: hmc5843: Set iio name dynamically</title>
<updated>2015-08-16T09:51:27Z</updated>
<author>
<name>Yong Li</name>
<email>sdliyong@gmail.com</email>
</author>
<published>2015-08-12T13:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=70b2737e0a948552843ce1b8500e033080677086'/>
<id>urn:sha1:70b2737e0a948552843ce1b8500e033080677086</id>
<content type='text'>
Load the driver using the below command:
echo hmc5983 0x1e &gt; /sys/bus/i2c/devices/i2c-?/new_device

In sysfs, the iio name is hmc5843, however the i2c name is hmc5983,
they are inconsistent.

With this patch, the iio name will be the same as the i2c device name

Signed-off-by: Yong Li &lt;sdliyong@gmail.com&gt;
Reviewed-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
