Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f1681b4 authored by jasonyang's avatar jasonyang Committed by jasonyang(125582)
Browse files

SAR sensor driver porting

Root cause:
SAR sensor driver porting

How to fix:
N/A

RiskArea:System stability and power consumption
Change-Id: I01da747fffdd2e38a47ba00faffdea8e70a6737a
parent bcb040a5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -203,6 +203,15 @@
			gpio-key,wakeup;
		};
	};

	//[FairPhone][JasonY] SAR sensor driver porting -BEGIN
	sar_sensor {
		compatible = "sar_sensor";
		interrupt-parent = <&tlmm>;
		interrupts = <13 0x0>;
		jt06,irq-gpio = <&tlmm 13 0x2008>;
	};
	//[FairPhone][JasonY] SAR sensor driver porting -END
};

&thermal_zones {
+3 −0
Original line number Diff line number Diff line
@@ -668,3 +668,6 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
#[FairPhone][JasonY] SAR sensor driver porting -BEGIN
CONFIG_SENSORS_JT06=y
#[FairPhone][JasonY] SAR sensor driver porting -END
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -734,3 +734,6 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
#[FairPhone][JasonY] SAR sensor driver porting -BEGIN
CONFIG_SENSORS_JT06=y
#[FairPhone][JasonY] SAR sensor driver porting -END
+11 −0
Original line number Diff line number Diff line
@@ -888,4 +888,15 @@ config INPUT_HISI_POWERKEY
	  To compile this driver as a module, choose M here: the
	  module will be called hisi_powerkey.

config SENSORS_JT06
	tristate "JT06 device driver"
	depends on INPUT
	default n
	help
	  Say Y here if you want to enable for the JiengTai JT06
	  sar sensors driver.

	  To compile this driver as a module, choose M here: the
	  module will be called JT06.

endif
+3 −0
Original line number Diff line number Diff line
@@ -85,3 +85,6 @@ obj-$(CONFIG_INPUT_YEALINK) += yealink.o
obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR)	+= ideapad_slidebar.o
obj-$(CONFIG_INPUT_PIXART_OTS_PAT9125_SWITCH)	+= ots_pat9125/
obj-$(CONFIG_STMVL53L0X)	+= vl53l0x/
#[FairPhone][JasonY] SAR sensor driver porting -BEGIN
obj-$(CONFIG_SENSORS_JT06)		+= jt06.o
#[FairPhone][JasonY] SAR sensor driver porting -END
Loading