EKKANE-14:[9610][EVB] motor: bring up aw8695 motor conctrlor dts(2/3)
authorshihuijun <shihuijun@huaqin.com>
Tue, 25 Sep 2018 09:18:59 +0000 (17:18 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:29:43 +0000 (17:29 +0800)
Change-Id: I09c1b562a722083430352ad2e5342d5c59f6e805

arch/arm64/boot/dts/exynos/exynos9609-robusta2_evb.dts
arch/arm64/boot/dts/exynos/exynos9609-wing.dts
arch/arm64/boot/dts/exynos/exynos9610-robusta2-motor.dtsi [new file with mode: 0755]

index 853e93b3e3089a9bfe07f08bf65268889e5095a4..c60dbe81079b479d37c2df805d3b6ebb2d789c14 100755 (executable)
@@ -18,6 +18,7 @@
 #include "exynos9610-display-lcd.dtsi"
 #include "novatek-nt36xxx-i2c.dtsi"
 #include "wing-sensor.dtsi"
+#include "exynos9610-robusta2-motor.dtsi"
 
 / {
        compatible = "samsung,exynos9610", "samsung,Robusta2 EVB";
index e632d1014e0667119cde06ad77f50009bfad2ac6..739735dd6b58d889b8a393f927ca96ff2b4abd04 100755 (executable)
@@ -18,6 +18,7 @@
 #include "exynos9610-display-lcd.dtsi"
 #include "novatek-nt36xxx-i2c.dtsi"
 #include "wing-sensor.dtsi"
+#include "exynos9610-robusta2-motor.dtsi"
 
 / {
        compatible = "samsung,exynos9610", "samsung,WING";
diff --git a/arch/arm64/boot/dts/exynos/exynos9610-robusta2-motor.dtsi b/arch/arm64/boot/dts/exynos/exynos9610-robusta2-motor.dtsi
new file mode 100755 (executable)
index 0000000..158c5d1
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * SAMSUNG EXYNOS9820 SoC device tree source
+ *
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ *             http://www.samsung.com
+ *
+ * SAMSUNG EXYNOS9820 SoC device nodes are listed in this file.
+ * EXYNOS9820 based board files can include this file and provide
+ * values for board specfic bindings.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+&hsi2c_6 {
+       status = "okay";
+       samsung,reset-before-trans;
+       clock-frequency = <100000>;
+
+       aw8695_haptic@5A {
+               compatible = "awinic,aw8695_haptic";
+               reg = <0x5A>;
+               reset-gpio = <&gpa2 5 0>;
+               irq-gpio = <&gpa2 7 0>;
+       };
+};