diff mbox

[PATCHv2] nokia N9: Add support for magnetometer

Message ID 20180103141248.GA18821@amd (mailing list archive)
State New, archived
Headers show

Commit Message

Pavel Machek Jan. 3, 2018, 2:12 p.m. UTC
This adds dts support for magnetometer on Nokia N9.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

Comments

Tony Lindgren Feb. 14, 2018, 4:58 p.m. UTC | #1
* Pavel Machek <pavel@ucw.cz> [180103 06:15]:
> 
> This adds dts support for magnetometer on Nokia N9.

Applying into omap-for-v4.17/dt thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts
index 39e35f8..af321d8 100644
--- a/arch/arm/boot/dts/omap3-n9.dts
+++ b/arch/arm/boot/dts/omap3-n9.dts
@@ -36,6 +57,12 @@ 
 			};
 		};
 	};
+
+&i2c3 {
+	ak8975@0f {
+		compatible = "asahi-kasei,ak8975";
+		reg = <0x0f>;
+	};
 };
 
 &isp {