linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer
@ 2018-11-28  9:53 Brian Masney
  2018-11-28 23:21 ` Andy Gross
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Masney @ 2018-11-28  9:53 UTC (permalink / raw)
  To: andy.gross, david.brown
  Cc: robh+dt, mark.rutland, linux-arm-msm, linux-soc, devicetree,
	linux-kernel

This patch correctly sets the gpios property for the ak8963
magnetometer's DRDY pin so that interrupts work properly.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
 arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
index fe2b5524a679..551d262a044a 100644
--- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -368,8 +368,7 @@
 				ak8963@f {
 					compatible = "asahi-kasei,ak8963";
 					reg = <0x0f>;
-					// Currently only works in polling mode.
-					// gpios = <&msmgpio 61 0>;
+					gpios = <&msmgpio 67 0>;
 					vid-supply = <&pm8941_lvs1>;
 					vdd-supply = <&pm8941_l17>;
 				};
-- 
2.17.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer
  2018-11-28  9:53 [PATCH] ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer Brian Masney
@ 2018-11-28 23:21 ` Andy Gross
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Gross @ 2018-11-28 23:21 UTC (permalink / raw)
  To: Brian Masney
  Cc: david.brown, robh+dt, mark.rutland, linux-arm-msm, linux-soc,
	devicetree, linux-kernel

On Wed, Nov 28, 2018 at 04:53:35AM -0500, Brian Masney wrote:
> This patch correctly sets the gpios property for the ak8963
> magnetometer's DRDY pin so that interrupts work properly.
> 
> Signed-off-by: Brian Masney <masneyb@onstation.org>
> ---

Queued.  Thanks for the patch.


Andy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-28 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28  9:53 [PATCH] ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer Brian Masney
2018-11-28 23:21 ` Andy Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).