mirror of https://gitee.com/openkylin/linux.git
ARM: shmobile: kzm9g: enable magnetometer ak8975.
This patch enables magnetometer ak8975. I checked ak8975_probe() returns successfully. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
ddffeb8c4d
commit
8cec0123bb
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue