summaryrefslogtreecommitdiff
path: root/r11_proto1_wlc.dtsi
blob: fcb4eec966c109039f099a5e30d0b7090a20c0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <dt-bindings/pinctrl/samsung.h>

&i2c_1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "ok"; /* Enable I2C1 */
	proto1_hl6111: proto1-hl6111@25 {
		compatible = "halo,hl6111";
		reg = <0x25>;
		status = "disabled";

		halo,int-gpio = <&gpa1 3 0>;
		halo,det-gpio = <&gpm21 0 0>;
		halo,clm-vth = <0x07>;
		halo,bypass = <0x00>;		//5.0V
		halo,ldop = <0x00>;		//1.8V
		halo,vout-range = <0x03>; //16mV step
		halo,trgt-vout = <0x26>; //4.56V
		halo,trgt-vrect = <0x02>; //6V
		halo,temp-limit = <0x14>; // default

		pinctrl-names = "default";
		pinctrl-0 = <&proto1_wlc_irq &proto1_wlc_det>;
	};
};

&pinctrl_0 {
	proto1_wlc_irq: proto1-wlc-irq {
		samsung,pins = "gpa1-3";
		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
	};
};

&pinctrl_1 {
	proto1_wlc_det: proto1-wlc-det {
		samsung,pins = "gpm21-0";
		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
	};
};