Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+5 −1
Original line number Diff line number Diff line
@@ -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[] = {