Commit 8cec0123 authored by Tetsuyuki Kobayashi's avatar Tetsuyuki Kobayashi Committed by Simon Horman

ARM: shmobile: kzm9g: enable magnetometer ak8975.

This patch enables magnetometer ak8975.
I checked ak8975_probe() returns successfully.
Signed-off-by: default avatarTetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent ddffeb8c
......@@ -119,6 +119,8 @@ CONFIG_DMADEVICES=y
CONFIG_SH_DMAE=y
CONFIG_ASYNC_TX_DMA=y
CONFIG_STAGING=y
CONFIG_SENSORS_AK8975=y
CONFIG_IIO=y
# CONFIG_DNOTIFY is not set
CONFIG_INOTIFY_USER=y
CONFIG_VFAT_FS=y
......
......@@ -557,7 +557,11 @@ static struct i2c_board_info i2c0_devices[] = {
},
{
I2C_BOARD_INFO("r2025sd", 0x32),
}
},
{
I2C_BOARD_INFO("ak8975", 0x0c),
.irq = intcs_evt2irq(0x3380), /* IRQ28 */
},
};
static struct i2c_board_info i2c1_devices[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment