[linux-yocto] [PATCH] broxton: Enable USB Type C feature for broxton
Pranav Tipnis
pranav.tipnis at intel.com
Wed Jul 6 15:48:10 PDT 2016
Signed-off-by: Pranav Tipnis <pranav.tipnis at intel.com>
---
features/power/intel_pmic.cfg | 5 +++++
features/power/intel_pmic.scc | 4 ++++
features/soc/broxton/broxton.cfg | 3 +++
features/soc/broxton/broxton.scc | 2 ++
features/usb/usb-typec.cfg | 2 ++
features/usb/usb-typec.scc | 4 ++++
6 files changed, 20 insertions(+)
create mode 100644 features/power/intel_pmic.cfg
create mode 100644 features/power/intel_pmic.scc
create mode 100644 features/usb/usb-typec.cfg
create mode 100644 features/usb/usb-typec.scc
diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg
new file mode 100644
index 0000000..479cbbc
--- /dev/null
+++ b/features/power/intel_pmic.cfg
@@ -0,0 +1,5 @@
+# Intel Atom SoC PMIC
+CONFIG_INTEL_SOC_PMIC=y
+
+# Intel PMIC operation region support
+CONFIG_PMIC_OPREGION=y
diff --git a/features/power/intel_pmic.scc b/features/power/intel_pmic.scc
new file mode 100644
index 0000000..db316a7
--- /dev/null
+++ b/features/power/intel_pmic.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Intel SOC PMIC options"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware intel_pmic.cfg
diff --git a/features/soc/broxton/broxton.cfg b/features/soc/broxton/broxton.cfg
index efe5d71..0b4e824 100644
--- a/features/soc/broxton/broxton.cfg
+++ b/features/soc/broxton/broxton.cfg
@@ -21,3 +21,6 @@ CONFIG_INTEL_IDMA64=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_GENERIC=y
CONFIG_GPIO_GENERIC_PLATFORM=y
+
+# ACPI operation region support for BXT WhiskeyCove PMIC
+CONFIG_BXT_WC_PMIC_OPREGION=y
diff --git a/features/soc/broxton/broxton.scc b/features/soc/broxton/broxton.scc
index e2ab916..8e268e5 100644
--- a/features/soc/broxton/broxton.scc
+++ b/features/soc/broxton/broxton.scc
@@ -5,11 +5,13 @@
include cfg/8250.scc
include features/i915/i915.scc
include features/power/intel.scc
+include features/power/intel_pmic.scc
include features/usb/ehci-hcd.scc
include features/usb/xhci-hcd.scc
include features/usb/designware-usb2.scc
include features/usb/designware-usb3.scc
include features/intel-pinctrl/intel-pinctrl.scc
+include features/usb/usb-typec.scc
kconf hardware broxton.cfg
diff --git a/features/usb/usb-typec.cfg b/features/usb/usb-typec.cfg
new file mode 100644
index 0000000..09b82dc
--- /dev/null
+++ b/features/usb/usb-typec.cfg
@@ -0,0 +1,2 @@
+# Intel WhiskeyCove PMIC USB Type-C PHY driver
+CONFIG_TYPEC_WCOVE=m
diff --git a/features/usb/usb-typec.scc b/features/usb/usb-typec.scc
new file mode 100644
index 0000000..5828e98
--- /dev/null
+++ b/features/usb/usb-typec.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Intel WhiskeyCove PMIC USB Type C PHY driver"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware usb-typec.cfg
--
1.9.1
More information about the linux-yocto
mailing list