(CR):[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:43 +0000 (20:23 +0300)
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>;
+       };
+};