<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/spi/spidev.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-10T12:46:54Z</updated>
<entry>
<title>spi: spidev: Fix OF tree warning logic</title>
<updated>2018-10-10T12:46:54Z</updated>
<author>
<name>Trent Piepho</name>
</author>
<published>2018-09-20T19:18:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=605b3bec73cbd74b4ac937b580cd0b47d1300484'/>
<id>urn:sha1:605b3bec73cbd74b4ac937b580cd0b47d1300484</id>
<content type='text'>
spidev will make a big fuss if a device tree node binds a device by
using "spidev" as the node's compatible property.

However, the logic for this isn't looking for "spidev" in the
compatible, but rather checking that the device is NOT compatible with
spidev's list of devices.

This causes a false positive if a device not named "rohm,dh2228fv", etc.
binds to spidev, even if a means other than putting "spidev" in the
device tree was used.  E.g., the sysfs driver_override attribute.

Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
Reviewed-by: Jan KundrÃ¡t &lt;jan.kundrat@cesnet.cz&gt;
Tested-by: Jan KundrÃ¡t &lt;jan.kundrat@cesnet.cz&gt;
Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spidev: Enable the Liebherr's BK4 board to work with spidev driver</title>
<updated>2018-10-08T13:06:31Z</updated>
<author>
<name>Lukasz Majewski</name>
</author>
<published>2018-09-27T22:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e9feb3544a72321553d17fcfa0c7e88435ea7ad'/>
<id>urn:sha1:5e9feb3544a72321553d17fcfa0c7e88435ea7ad</id>
<content type='text'>
With this commit the DSPI driver on the BK4 board can be used for SPI
transmission managed from user space (via /dev/spidev0.0).

Example usage/testing:
insmod ./spi-fsl-dspi.ko
./spidev_test -D /dev/spidev0.0 -s 3000000 -v -H -b 8 -p "\xCC\x11\x22\x74"

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-spi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs</title>
<updated>2017-07-08T17:41:53Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2017-07-08T17:41:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=090a81d8766e21d33ab3e4d24e6c8e5eedf086dd'/>
<id>urn:sha1:090a81d8766e21d33ab3e4d24e6c8e5eedf086dd</id>
<content type='text'>
Pull spi uaccess delousing from Al Viro:
 "Getting rid of pointless __get_user() and friends in drivers/spi.

  [ the only reason it's on a separate branch is that I hoped it would
    be picked by spi folks; looks like mail asking them to grab it got
    lost and I hadn't followed up on that ]"

* 'for-spi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  spidev: quit messing with access_ok()
</content>
</entry>
<entry>
<title>spidev: quit messing with access_ok()</title>
<updated>2017-06-29T22:00:52Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2017-04-20T19:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=251d59515fe4681a64a8bc7e37cfa00701e0f9b0'/>
<id>urn:sha1:251d59515fe4681a64a8bc7e37cfa00701e0f9b0</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>spi: spidev: use memdup_user</title>
<updated>2017-05-14T09:38:05Z</updated>
<author>
<name>Geliang Tang</name>
</author>
<published>2017-05-06T15:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7929436a286ca31f0365a7013de968017f76818'/>
<id>urn:sha1:f7929436a286ca31f0365a7013de968017f76818</id>
<content type='text'>
Use memdup_user() helper instead of open-coding to simplify the code.

Signed-off-by: Geliang Tang &lt;geliangtang@gmail.com&gt;
Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: spidev: remove unused completion</title>
<updated>2017-05-14T09:37:31Z</updated>
<author>
<name>Seraphime Kirkovski</name>
</author>
<published>2017-05-05T12:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76bf569466c68fb3705a3b38cdee026df9861101'/>
<id>urn:sha1:76bf569466c68fb3705a3b38cdee026df9861101</id>
<content type='text'>
This removes an unused completion from spidev_sync.

It was introduced in

	commit 25d5cb4b0375e ("spi: remove some spidev oops-on-rmmod paths")

and it was no longer used after:

	commit 98d6f47958001 ("spi: spidev: use spi_sync instead of spi_async")

Signed-off-by: Seraphime Kirkovski (Haapie) &lt;kirkseraph@gmail.com&gt;
Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: spidev: Add sx1301 to device tree compatibility list</title>
<updated>2017-03-16T11:14:27Z</updated>
<author>
<name>Ben Whitten</name>
</author>
<published>2017-03-16T11:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91b4634632e0138b655a63fdb1704edbbcd6cdda'/>
<id>urn:sha1:91b4634632e0138b655a63fdb1704edbbcd6cdda</id>
<content type='text'>
Add entry for the semtech sx1301 baseband processor implementing a LoRa
concentrator IP.
At this time this chip requires an spidev userspace driver.

Signed-off-by: Ben Whitten &lt;ben.whitten@lairdtech.com&gt;
Signed-off-by: Steve deRosier &lt;derosier@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: spidev: Add device to spidev device tree compatibility list</title>
<updated>2016-10-21T11:09:57Z</updated>
<author>
<name>Fabien Lahoudere</name>
</author>
<published>2016-10-06T14:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=144235ea752b4d56d66fe03bb6b7fae7e0032404'/>
<id>urn:sha1:144235ea752b4d56d66fe03bb6b7fae7e0032404</id>
<content type='text'>
Entries are needed in the spidev ID list to configure configure it from a
device tree. Add entry for the following device:
- "ge,achc" :  GE Healthcare USB Management Controller

The USB Management Controller does not expose USB to the host, but acts as
an offload engine, communicating with specific USB based data acquisition
devices which are connected to it, extracting the required data and
providing it to the host via other methods. SPI is used as an out-of-band
configuration channel.

Signed-off-by: Fabien Lahoudere &lt;fabien.lahoudere@collabora.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: spidev: Add ACPI probing support</title>
<updated>2016-07-04T14:28:52Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2016-07-04T14:18:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf9f4327a306be58df6c0b3817d7ef06a2a3da03'/>
<id>urn:sha1:cf9f4327a306be58df6c0b3817d7ef06a2a3da03</id>
<content type='text'>
Some IoT and maker software stacks are using spidev to perform raw access
to the SPI bus instead of relying existing drivers provided by the kernel.
They then implement their own "drivers" in userspace on top of the spidev
raw interface. This is far from being an ideal solution but we do not want
to prevent using mainline Linux in these devices.

Now, it turns out that Windows has similar SPI devices than spidev which
allow raw access on the SPI bus to userspace programs as described in the
link below:

  https://msdn.microsoft.com/windows/hardware/drivers/spb/spi-tests-in-mitt

These SPI test devices are also meant to be used during development and
testing.

In order to allow usage of spidev for development and testing in Linux, add
those same ACPI IDs to the spidev driver (which is Linux counterpart of the
Windows SPI test devices), but complain loudly so that users know it is not
good idea to use it in production systems. Instead they should be using
proper drivers for peripherals connected to the SPI bus.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'spi/topic/overlay', 'spi/topic/pxa2xx', 'spi/topic/s3c64xx', 'spi/topic/sh-msiof' and 'spi/topic/spidev' into spi-next</title>
<updated>2016-01-11T16:48:35Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2016-01-11T16:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f9530705b7b9c977044accb035682d9f7df1cdd'/>
<id>urn:sha1:4f9530705b7b9c977044accb035682d9f7df1cdd</id>
<content type='text'>
</content>
</entry>
</feed>
