<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/misc/bt-host.c, branch dev-4.3</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.3</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-11-18T04:13:09+00:00</updated>
<entry>
<title>misc/bt-host: Add Aspeed BT IPMI host driver</title>
<updated>2015-11-18T04:13:09+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2015-10-06T00:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=c545dd0b35ef4ad860962147ef46aa09c8c9f158'/>
<id>urn:sha1:c545dd0b35ef4ad860962147ef46aa09c8c9f158</id>
<content type='text'>
This patch adds a simple device driver to expose the iBT interface on
Aspeed chips as a character device (/dev/bt).

Plus various fixes from jk:

 - Fix compile warnings. We have a bunch of unused functions.
 - Remove unused members of struct bt_host
 - Fix whitespace issues
 - Use explicit u8 type for bt registers to avoid any issues with
   signed vs unsigned types.
 - Remove chrdev_region, use module_platform_driver
 - Unify device name to bt-host
 - Use a more explicit compatible string. The interface we're using here
   is specific to the aspeed hardware implementation.
 - Use a dynamic miscdev; no need to use a global miscdev here.
 - Avoid global bt_host. Rather than having a global bt_host, use
   references from the file &amp; miscdev. This removes the restriction on
   the number of bt-host devices.
 - Add ioctl to assert SMS_ATN
 - Remove bt_host-&gt;ctrl, nothing uses it.
 - Read bt ctrl state after poll_wait
 - Fix unit address for ibt
 - Add facility for interrupt-driven BT messages. This change adds a
   facility for the bt-host driver to use interrupts rather than polling
   via a timer. If we find an interrupts property in the device tree,
   we'll enable interrupts on the bt device.
 - Use devm_ioremap_resource(). No need to unpack struct resource, and
   we don't need ioremap_uncached here.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
</feed>
