Add bcm2079x_device policy.
Change-Id: Iff5b2062c0e92c91d6ace8a04510008cbcadfd12
diff --git a/sepolicy/device.te b/sepolicy/device.te
index 2342e2d..f13c6f4 100644
--- a/sepolicy/device.te
+++ b/sepolicy/device.te
@@ -5,3 +5,4 @@
type qseecom_device, dev_type;
type diag_device, dev_type;
+type bcm2079x_device, dev_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 16739e5..6d36f25 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -6,3 +6,4 @@
/dev/qseecom u:object_r:qseecom_device:s0
/dev/socket/qmux_radio/* u:object_r:qmux_socket:s0
+/dev/bcm2079x-i2c u:object_r:bcm2079x_device:s0
diff --git a/sepolicy/nfc.te b/sepolicy/nfc.te
new file mode 100644
index 0000000..593608d
--- /dev/null
+++ b/sepolicy/nfc.te
@@ -0,0 +1 @@
+allow nfc bcm2079x_device:chr_file rw_file_perms;