From 1b57eaefca1c90b6f6edafea08f84b0c77fccc27 Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Mon, 17 Aug 2015 09:35:54 -0500 Subject: [PATCH] 4.2-rc7-bone2 release Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- patch.sh | 42 +- ...figfs-Implement-binary-attributes-v4.patch | 4 +- ...-OF-DT-Overlay-configfs-interface-v5.patch | 6 +- .../0003-gitignore-Ignore-DTB-files.patch | 4 +- .../bbb_overlays/0004-add-PM-firmware.patch | 4 +- ...d-a-uImage-with-dtb-already-appended.patch | 4 +- ...omap-Proper-cleanups-for-omap_device.patch | 4 +- ...Fix-port-line-number-without-aliases.patch | 4 +- ...ap-serial-Fix-up-platform-data-alloc.patch | 4 +- ...mbols-when-CONFIG_OF_OVERLAY-is-used.patch | 4 +- ...ntk-format-specifier-for-device-node.patch | 4 +- ...f-overlay-kobjectify-overlay-objects.patch | 4 +- ...verlay-global-sysfs-enable-attribute.patch | 4 +- ...lay-add-per-overlay-sysfs-attributes.patch | 4 +- ...ABI-sys-firmware-devicetree-overlays.patch | 4 +- ...rovide-an-EEPROM-framework-interface.patch | 4 +- .../0016-misc-Beaglebone-capemanager.patch | 4 +- ...Beaglebone-capemanager-documentation.patch | 4 +- ...-dt-beaglebone-cape-manager-bindings.patch | 4 +- .../0019-doc-ABI-bone_capemgr-sysfs-API.patch | 4 +- ...RS-Beaglebone-capemanager-maintainer.patch | 6 +- ...m-dts-Enable-beaglebone-cape-manager.patch | 6 +- ...ch => 0022-gcl-Fix-resource-linking.patch} | 8 +- ...y-Implement-indirect-target-support.patch} | 6 +- ...st-Add-indirect-overlay-target-test.patch} | 12 +- ...ocument-the-indirect-overlay-method.patch} | 6 +- ...ay-Introduce-target-root-capability.patch} | 6 +- ...Unit-tests-for-target-root-overlays.patch} | 12 +- ...ment-the-target-root-overlay-method.patch} | 6 +- ... 0029-of-dynamic-Add-__of_node_dupv.patch} | 6 +- ...-Introduce-changeset-helper-methods.patch} | 6 +- ...C-Device-overlay-manager-PCI-USB-DT.patch} | 6 +- ...g.patch => 0032-boneblack-defconfig.patch} | 54 +- ...le-NVMEM-framework-for-nvmem-provide.patch | 6 +- ...simple-NVMEM-framework-for-consumers.patch | 6 +- ...Add-nvmem_device-based-consumer-apis.patch | 6 +- ...-bindings-for-simple-nvmem-framework.patch | 6 +- ...mem-add-nvmem-api-level-and-how-to-d.patch | 7 +- ...m-qfprom-Add-Qualcomm-QFPROM-support.patch | 6 +- ...nvmem-qfprom-Add-bindings-for-qfprom.patch | 6 +- ...-the-SID-driver-to-the-nvmem-framewo.patch | 7 +- ...lt-user-binary-file-root-access-only.patch | 120 ++ ...t-the-size-for-the-nvmem-binary-file.patch | 29 + ...add-permission-flags-in-nvmem_config.patch | 43 + ...12-nvmem-core-fix-a-copy-paste-error.patch | 32 + patches/defconfig | 21 +- patches/defconfig-bone | 21 +- ...e-heavy-barrier-support-out-of-line.patch} | 6 +- ...usty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch | 26 - ...RM-add-soc-memory-barrier-extension.patch} | 6 +- ...remove-dead-kconfig-option-OMAP4_ER.patch} | 16 +- ...ap2-restore-OMAP4-barrier-behaviour.patch} | 14 +- patches/ref_omap2plus_defconfig | 2 +- tools/bone-config-checker.sh | 224 +++ tools/config-checker.sh | 1552 +++++++++++++++++ version.sh | 2 +- 56 files changed, 2202 insertions(+), 222 deletions(-) rename patches/bbb_overlays/{0023-gcl-Fix-resource-linking.patch => 0022-gcl-Fix-resource-linking.patch} (91%) rename patches/bbb_overlays/{0024-of-overlay-Implement-indirect-target-support.patch => 0023-of-overlay-Implement-indirect-target-support.patch} (98%) rename patches/bbb_overlays/{0025-of-unittest-Add-indirect-overlay-target-test.patch => 0024-of-unittest-Add-indirect-overlay-target-test.patch} (92%) rename patches/bbb_overlays/{0026-doc-dt-Document-the-indirect-overlay-method.patch => 0025-doc-dt-Document-the-indirect-overlay-method.patch} (93%) rename patches/bbb_overlays/{0027-of-overlay-Introduce-target-root-capability.patch => 0026-of-overlay-Introduce-target-root-capability.patch} (97%) rename patches/bbb_overlays/{0028-of-unittest-Unit-tests-for-target-root-overlays.patch => 0027-of-unittest-Unit-tests-for-target-root-overlays.patch} (96%) rename patches/bbb_overlays/{0029-doc-dt-Document-the-target-root-overlay-method.patch => 0028-doc-dt-Document-the-target-root-overlay-method.patch} (91%) rename patches/bbb_overlays/{0030-of-dynamic-Add-__of_node_dupv.patch => 0029-of-dynamic-Add-__of_node_dupv.patch} (95%) rename patches/bbb_overlays/{0031-of-changesets-Introduce-changeset-helper-methods.patch => 0030-of-changesets-Introduce-changeset-helper-methods.patch} (98%) rename patches/bbb_overlays/{0032-RFC-Device-overlay-manager-PCI-USB-DT.patch => 0031-RFC-Device-overlay-manager-PCI-USB-DT.patch} (99%) rename patches/bbb_overlays/{0022-boneblack-defconfig.patch => 0032-boneblack-defconfig.patch} (97%) create mode 100644 patches/bbb_overlays/nvmem/0009-nvmem-make-default-user-binary-file-root-access-only.patch create mode 100644 patches/bbb_overlays/nvmem/0010-nvmem-set-the-size-for-the-nvmem-binary-file.patch create mode 100644 patches/bbb_overlays/nvmem/0011-nvmem-add-permission-flags-in-nvmem_config.patch create mode 100644 patches/bbb_overlays/nvmem/0012-nvmem-core-fix-a-copy-paste-error.patch rename patches/fixes/{0002-ARM-move-heavy-barrier-support-out-of-line.patch => 0001-ARM-move-heavy-barrier-support-out-of-line.patch} (97%) delete mode 100644 patches/fixes/0001-trusty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch rename patches/fixes/{0003-ARM-add-soc-memory-barrier-extension.patch => 0002-ARM-add-soc-memory-barrier-extension.patch} (91%) rename patches/fixes/{0004-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch => 0003-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch} (95%) rename patches/fixes/{0005-ARM-omap2-restore-OMAP4-barrier-behaviour.patch => 0004-ARM-omap2-restore-OMAP4-barrier-behaviour.patch} (97%) create mode 100755 tools/bone-config-checker.sh create mode 100755 tools/config-checker.sh diff --git a/patch.sh b/patch.sh index ea162fa04..b726ac3a8 100644 --- a/patch.sh +++ b/patch.sh @@ -202,14 +202,13 @@ fixes () { start_cleanup fi - ${git} "${DIR}/patches/fixes/0001-trusty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch" - ${git} "${DIR}/patches/fixes/0002-ARM-move-heavy-barrier-support-out-of-line.patch" - ${git} "${DIR}/patches/fixes/0003-ARM-add-soc-memory-barrier-extension.patch" -# ${git} "${DIR}/patches/fixes/0004-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch" -# ${git} "${DIR}/patches/fixes/0005-ARM-omap2-restore-OMAP4-barrier-behaviour.patch" + ${git} "${DIR}/patches/fixes/0001-ARM-move-heavy-barrier-support-out-of-line.patch" + ${git} "${DIR}/patches/fixes/0002-ARM-add-soc-memory-barrier-extension.patch" +# ${git} "${DIR}/patches/fixes/0003-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch" +# ${git} "${DIR}/patches/fixes/0004-ARM-omap2-restore-OMAP4-barrier-behaviour.patch" if [ "x${regenerate}" = "xenable" ] ; then - number=5 + number=4 cleanup fi } @@ -293,8 +292,14 @@ bbb_overlays () { ${git} "${DIR}/patches/bbb_overlays/nvmem/0007-nvmem-qfprom-Add-bindings-for-qfprom.patch" ${git} "${DIR}/patches/bbb_overlays/nvmem/0008-nvmem-sunxi-Move-the-SID-driver-to-the-nvmem-framewo.patch" + ${git} "${DIR}/patches/bbb_overlays/nvmem/0009-nvmem-make-default-user-binary-file-root-access-only.patch" + ${git} "${DIR}/patches/bbb_overlays/nvmem/0010-nvmem-set-the-size-for-the-nvmem-binary-file.patch" + ${git} "${DIR}/patches/bbb_overlays/nvmem/0011-nvmem-add-permission-flags-in-nvmem_config.patch" + + ${git} "${DIR}/patches/bbb_overlays/nvmem/0012-nvmem-core-fix-a-copy-paste-error.patch" + if [ "x${regenerate}" = "xenable" ] ; then - number=8 + number=12 cleanup fi @@ -329,22 +334,21 @@ bbb_overlays () { ${git} "${DIR}/patches/bbb_overlays/0019-doc-ABI-bone_capemgr-sysfs-API.patch" ${git} "${DIR}/patches/bbb_overlays/0020-MAINTAINERS-Beaglebone-capemanager-maintainer.patch" ${git} "${DIR}/patches/bbb_overlays/0021-arm-dts-Enable-beaglebone-cape-manager.patch" + ${git} "${DIR}/patches/bbb_overlays/0022-gcl-Fix-resource-linking.patch" + ${git} "${DIR}/patches/bbb_overlays/0023-of-overlay-Implement-indirect-target-support.patch" + ${git} "${DIR}/patches/bbb_overlays/0024-of-unittest-Add-indirect-overlay-target-test.patch" + ${git} "${DIR}/patches/bbb_overlays/0025-doc-dt-Document-the-indirect-overlay-method.patch" + ${git} "${DIR}/patches/bbb_overlays/0026-of-overlay-Introduce-target-root-capability.patch" + ${git} "${DIR}/patches/bbb_overlays/0027-of-unittest-Unit-tests-for-target-root-overlays.patch" + ${git} "${DIR}/patches/bbb_overlays/0028-doc-dt-Document-the-target-root-overlay-method.patch" + ${git} "${DIR}/patches/bbb_overlays/0029-of-dynamic-Add-__of_node_dupv.patch" + ${git} "${DIR}/patches/bbb_overlays/0030-of-changesets-Introduce-changeset-helper-methods.patch" + ${git} "${DIR}/patches/bbb_overlays/0031-RFC-Device-overlay-manager-PCI-USB-DT.patch" if [ "x${regenerate}" = "xenable" ] ; then - ${git} "${DIR}/patches/bbb_overlays/0022-boneblack-defconfig.patch" + ${git} "${DIR}/patches/bbb_overlays/0032-boneblack-defconfig.patch" fi - ${git} "${DIR}/patches/bbb_overlays/0023-gcl-Fix-resource-linking.patch" - ${git} "${DIR}/patches/bbb_overlays/0024-of-overlay-Implement-indirect-target-support.patch" - ${git} "${DIR}/patches/bbb_overlays/0025-of-unittest-Add-indirect-overlay-target-test.patch" - ${git} "${DIR}/patches/bbb_overlays/0026-doc-dt-Document-the-indirect-overlay-method.patch" - ${git} "${DIR}/patches/bbb_overlays/0027-of-overlay-Introduce-target-root-capability.patch" - ${git} "${DIR}/patches/bbb_overlays/0028-of-unittest-Unit-tests-for-target-root-overlays.patch" - ${git} "${DIR}/patches/bbb_overlays/0029-doc-dt-Document-the-target-root-overlay-method.patch" - ${git} "${DIR}/patches/bbb_overlays/0030-of-dynamic-Add-__of_node_dupv.patch" - ${git} "${DIR}/patches/bbb_overlays/0031-of-changesets-Introduce-changeset-helper-methods.patch" - ${git} "${DIR}/patches/bbb_overlays/0032-RFC-Device-overlay-manager-PCI-USB-DT.patch" - if [ "x${regenerate}" = "xenable" ] ; then number=32 cleanup diff --git a/patches/bbb_overlays/0001-configfs-Implement-binary-attributes-v4.patch b/patches/bbb_overlays/0001-configfs-Implement-binary-attributes-v4.patch index 138c6c910..7c9730a7d 100644 --- a/patches/bbb_overlays/0001-configfs-Implement-binary-attributes-v4.patch +++ b/patches/bbb_overlays/0001-configfs-Implement-binary-attributes-v4.patch @@ -1,4 +1,4 @@ -From c83bb0d53e9d165a962012fba4a1e1368716e6e8 Mon Sep 17 00:00:00 2001 +From 488b051b4a8ba6aa29404036b19b1b973eb7052d Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 12 Jun 2014 22:31:23 +0300 Subject: [PATCH 01/32] configfs: Implement binary attributes (v4) @@ -817,5 +817,5 @@ index 63a36e8..54a6720 100644 int (*drop_link)(struct config_item *src, struct config_item *target); }; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0002-OF-DT-Overlay-configfs-interface-v5.patch b/patches/bbb_overlays/0002-OF-DT-Overlay-configfs-interface-v5.patch index 5ac7603d6..954c72884 100644 --- a/patches/bbb_overlays/0002-OF-DT-Overlay-configfs-interface-v5.patch +++ b/patches/bbb_overlays/0002-OF-DT-Overlay-configfs-interface-v5.patch @@ -1,4 +1,4 @@ -From f767568bba5246630248771938693d894fc0aa72 Mon Sep 17 00:00:00 2001 +From 8927cf88d3b7c63811b75018aa02f9c6dfa85740 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 4 Dec 2013 19:32:00 +0200 Subject: [PATCH 02/32] OF: DT-Overlay configfs interface (v5) @@ -72,7 +72,7 @@ index 0000000..5fa43e0 +intended to be used by hardware managers in the kernel, while the copy interface +make sense for developers (since it avoids problems with namespaces). diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig -index 8df1b17..aca69cf 100644 +index 59bb855..3961a11 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -102,4 +102,12 @@ config OF_OVERLAY @@ -438,5 +438,5 @@ index 0000000..9fb1b35 +} +late_initcall(of_cfs_init); -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0003-gitignore-Ignore-DTB-files.patch b/patches/bbb_overlays/0003-gitignore-Ignore-DTB-files.patch index 15645a180..26608db24 100644 --- a/patches/bbb_overlays/0003-gitignore-Ignore-DTB-files.patch +++ b/patches/bbb_overlays/0003-gitignore-Ignore-DTB-files.patch @@ -1,4 +1,4 @@ -From 1297e617a341f0fddf789c11060b36b80baabd53 Mon Sep 17 00:00:00 2001 +From 7e72147be5bf71ae46bc211a29cc2121e546627a Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 21 Feb 2014 18:49:29 +0200 Subject: [PATCH 03/32] gitignore: Ignore DTB files @@ -21,5 +21,5 @@ index 4ad4a98..5bc7062 100644 +*.dtb +*.dtbo -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0004-add-PM-firmware.patch b/patches/bbb_overlays/0004-add-PM-firmware.patch index 55bb99337..65fe312e4 100644 --- a/patches/bbb_overlays/0004-add-PM-firmware.patch +++ b/patches/bbb_overlays/0004-add-PM-firmware.patch @@ -1,4 +1,4 @@ -From 43e1cfcbdb3dd9599739c5c75ad968929d461ead Mon Sep 17 00:00:00 2001 +From 2f9922ef04245b47927fef87a2a285cff6abf991 Mon Sep 17 00:00:00 2001 From: Koen Kooi <koen@dominion.thruhere.net> Date: Thu, 6 Jun 2013 17:09:38 +0200 Subject: [PATCH 04/32] add PM firmware @@ -100,5 +100,5 @@ literal 0 HcmV?d00001 -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0005-ARM-CUSTOM-Build-a-uImage-with-dtb-already-appended.patch b/patches/bbb_overlays/0005-ARM-CUSTOM-Build-a-uImage-with-dtb-already-appended.patch index efa472ef0..8aa987e37 100644 --- a/patches/bbb_overlays/0005-ARM-CUSTOM-Build-a-uImage-with-dtb-already-appended.patch +++ b/patches/bbb_overlays/0005-ARM-CUSTOM-Build-a-uImage-with-dtb-already-appended.patch @@ -1,4 +1,4 @@ -From e3b3a316c68af3af6657cf0f64f3a483139cf954 Mon Sep 17 00:00:00 2001 +From b7d247b596b465aa29086c98468207423a86a1c4 Mon Sep 17 00:00:00 2001 From: Grant Likely <grant.likely@secretlab.ca> Date: Tue, 2 Aug 2011 15:30:09 +0100 Subject: [PATCH 05/32] ARM: CUSTOM: Build a uImage with dtb already appended @@ -54,5 +54,5 @@ index 9eca7ae..a0cee4c 100644 $(Q)$(MAKE) $(build)=$(obj)/bootp $@ @: -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0006-arm-omap-Proper-cleanups-for-omap_device.patch b/patches/bbb_overlays/0006-arm-omap-Proper-cleanups-for-omap_device.patch index 0684e54ef..094573a02 100644 --- a/patches/bbb_overlays/0006-arm-omap-Proper-cleanups-for-omap_device.patch +++ b/patches/bbb_overlays/0006-arm-omap-Proper-cleanups-for-omap_device.patch @@ -1,4 +1,4 @@ -From c58318a4636aa0be5cbd95e7d98800bd07c67a98 Mon Sep 17 00:00:00 2001 +From ccb2e0c80f6ad9da2e31cde55d8a8f29187260d0 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Mon, 5 Aug 2013 22:44:09 +0300 Subject: [PATCH 06/32] arm: omap: Proper cleanups for omap_device @@ -62,5 +62,5 @@ index f14cd26..a5218d8 100644 case BUS_NOTIFY_ADD_DEVICE: if (pdev->dev.of_node) -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0007-serial-omap-Fix-port-line-number-without-aliases.patch b/patches/bbb_overlays/0007-serial-omap-Fix-port-line-number-without-aliases.patch index 5e3ae770e..7b2b50abf 100644 --- a/patches/bbb_overlays/0007-serial-omap-Fix-port-line-number-without-aliases.patch +++ b/patches/bbb_overlays/0007-serial-omap-Fix-port-line-number-without-aliases.patch @@ -1,4 +1,4 @@ -From aacfc33bb506dbf223e239ea823f4afedf683467 Mon Sep 17 00:00:00 2001 +From 1896f7efb968fb4f36acc3ce735c98a8b041c41c Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 6 Nov 2014 14:12:14 +0200 Subject: [PATCH 07/32] serial: omap: Fix port line number without aliases @@ -57,5 +57,5 @@ index 7a2172b..d9ffc0a 100644 ret = pdev->id; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0008-tty-omap-serial-Fix-up-platform-data-alloc.patch b/patches/bbb_overlays/0008-tty-omap-serial-Fix-up-platform-data-alloc.patch index 3ab1a625e..a861c0b66 100644 --- a/patches/bbb_overlays/0008-tty-omap-serial-Fix-up-platform-data-alloc.patch +++ b/patches/bbb_overlays/0008-tty-omap-serial-Fix-up-platform-data-alloc.patch @@ -1,4 +1,4 @@ -From 6b05a3d106c651d3eb39f6de65f1cf5630dbca6a Mon Sep 17 00:00:00 2001 +From a2f94d028569f65e87f4ade6b4c519aeb468e9f2 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Mon, 9 Dec 2013 20:12:17 +0200 Subject: [PATCH 08/32] tty: omap-serial: Fix up platform data alloc @@ -33,5 +33,5 @@ index d9ffc0a..caa7b28 100644 uartirq = platform_get_irq(pdev, 0); if (uartirq < 0) -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0009-ARM-DT-Enable-symbols-when-CONFIG_OF_OVERLAY-is-used.patch b/patches/bbb_overlays/0009-ARM-DT-Enable-symbols-when-CONFIG_OF_OVERLAY-is-used.patch index 2760fb81e..ff639afcf 100644 --- a/patches/bbb_overlays/0009-ARM-DT-Enable-symbols-when-CONFIG_OF_OVERLAY-is-used.patch +++ b/patches/bbb_overlays/0009-ARM-DT-Enable-symbols-when-CONFIG_OF_OVERLAY-is-used.patch @@ -1,4 +1,4 @@ -From 1f7d07e58f59edbe75352bb05d00d1b59d17181a Mon Sep 17 00:00:00 2001 +From 8b16ed065aa9ff097c242bb986b10ca1fdb67193 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Sat, 6 Dec 2014 20:10:49 +0200 Subject: [PATCH 09/32] ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used @@ -44,5 +44,5 @@ index 847b94f..8cc9cb3 100644 dtb-$(CONFIG_SOC_SAM_V4_V5) += \ at91rm9200ek.dtb \ -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0010-of-Custom-printk-format-specifier-for-device-node.patch b/patches/bbb_overlays/0010-of-Custom-printk-format-specifier-for-device-node.patch index dfa4819cf..75c8efeb6 100644 --- a/patches/bbb_overlays/0010-of-Custom-printk-format-specifier-for-device-node.patch +++ b/patches/bbb_overlays/0010-of-Custom-printk-format-specifier-for-device-node.patch @@ -1,4 +1,4 @@ -From 834b972907a4da9c821f66bea26e51618b65bdde Mon Sep 17 00:00:00 2001 +From c25809ff98117e3b6127b1bec109a27a46702ed0 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 20 Jan 2015 16:15:05 +0200 Subject: [PATCH 10/32] of: Custom printk format specifier for device node @@ -247,5 +247,5 @@ index da39c60..10f44aa 100644 spec.flags |= SMALL; if (spec.field_width == -1) { -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0011-of-overlay-kobjectify-overlay-objects.patch b/patches/bbb_overlays/0011-of-overlay-kobjectify-overlay-objects.patch index b19803968..768a93ad7 100644 --- a/patches/bbb_overlays/0011-of-overlay-kobjectify-overlay-objects.patch +++ b/patches/bbb_overlays/0011-of-overlay-kobjectify-overlay-objects.patch @@ -1,4 +1,4 @@ -From 2268bea6ee3f8caccd34842c8dc3d12e3e1ea140 Mon Sep 17 00:00:00 2001 +From 6deabcbc03562b102a22ef0cc1e3cefdb2dc555c Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Sun, 15 Mar 2015 20:39:36 +0200 Subject: [PATCH 11/32] of: overlay: kobjectify overlay objects @@ -173,5 +173,5 @@ index 24e025f..eeb3ec2 100644 + return 0; +} -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0012-of-overlay-global-sysfs-enable-attribute.patch b/patches/bbb_overlays/0012-of-overlay-global-sysfs-enable-attribute.patch index 814e1e150..b0cc2c5a9 100644 --- a/patches/bbb_overlays/0012-of-overlay-global-sysfs-enable-attribute.patch +++ b/patches/bbb_overlays/0012-of-overlay-global-sysfs-enable-attribute.patch @@ -1,4 +1,4 @@ -From e039740ffb5c57b9c9204c16c0fdc574e209d5d3 Mon Sep 17 00:00:00 2001 +From e471b904e36038084bc5e307f637e830267858cc Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 17 Mar 2015 15:25:46 +0200 Subject: [PATCH 12/32] of: overlay: global sysfs enable attribute @@ -94,5 +94,5 @@ index eeb3ec2..62cfb99 100644 + return rc; } -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0013-of-overlay-add-per-overlay-sysfs-attributes.patch b/patches/bbb_overlays/0013-of-overlay-add-per-overlay-sysfs-attributes.patch index 21150059b..5ce662d86 100644 --- a/patches/bbb_overlays/0013-of-overlay-add-per-overlay-sysfs-attributes.patch +++ b/patches/bbb_overlays/0013-of-overlay-add-per-overlay-sysfs-attributes.patch @@ -1,4 +1,4 @@ -From a5921ce169a2af9da545f8a45902f73513df04a7 Mon Sep 17 00:00:00 2001 +From 9141fef547b5b22c0a7acbeacb761135850d9759 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 23 Apr 2015 19:02:16 +0300 Subject: [PATCH 13/32] of: overlay: add per overlay sysfs attributes @@ -84,5 +84,5 @@ index 62cfb99..cff3c05 100644 static struct kset *ov_kset; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0014-Documentation-ABI-sys-firmware-devicetree-overlays.patch b/patches/bbb_overlays/0014-Documentation-ABI-sys-firmware-devicetree-overlays.patch index 20c49be80..e088960db 100644 --- a/patches/bbb_overlays/0014-Documentation-ABI-sys-firmware-devicetree-overlays.patch +++ b/patches/bbb_overlays/0014-Documentation-ABI-sys-firmware-devicetree-overlays.patch @@ -1,4 +1,4 @@ -From 567c3cb37682c81632d4bd0492e953fbbdb70d6a Mon Sep 17 00:00:00 2001 +From bc0d46f39840665268a025c00fd5d767c7cc2d8c Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 17 Mar 2015 21:42:10 +0200 Subject: [PATCH 14/32] Documentation: ABI: /sys/firmware/devicetree/overlays @@ -52,5 +52,5 @@ index 0000000..9ed6d64 + be removed, while 0 means that the overlay is being + overlapped therefore removal is prohibited. -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0015-i2c-nvmem-at24-Provide-an-EEPROM-framework-interface.patch b/patches/bbb_overlays/0015-i2c-nvmem-at24-Provide-an-EEPROM-framework-interface.patch index d9ae6ad95..ef513ef97 100644 --- a/patches/bbb_overlays/0015-i2c-nvmem-at24-Provide-an-EEPROM-framework-interface.patch +++ b/patches/bbb_overlays/0015-i2c-nvmem-at24-Provide-an-EEPROM-framework-interface.patch @@ -1,4 +1,4 @@ -From ca69a0ad5f239ff64589b84cc94ac79f5b032422 Mon Sep 17 00:00:00 2001 +From 280b48f2ea0820c5cf230580c390f0dfb6d7389e Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 13 May 2015 00:12:29 +0300 Subject: [PATCH 15/32] i2c: nvmem: at24: Provide an EEPROM framework interface @@ -369,5 +369,5 @@ index 6ded3dc..004dfdb 100644 } -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/0016-misc-Beaglebone-capemanager.patch b/patches/bbb_overlays/0016-misc-Beaglebone-capemanager.patch index 90e7b9ad3..663afbeb7 100644 --- a/patches/bbb_overlays/0016-misc-Beaglebone-capemanager.patch +++ b/patches/bbb_overlays/0016-misc-Beaglebone-capemanager.patch @@ -1,4 +1,4 @@ -From cc542bc29647c4eabd803f61ac4be869020f5e62 Mon Sep 17 00:00:00 2001 +From 1da4f6b604b8d115b4ed9c17832ae9eed6e3d59c Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 6 May 2015 23:09:53 +0300 Subject: [PATCH 16/32] misc: Beaglebone capemanager @@ -1949,5 +1949,5 @@ index 0000000..7c4f5b0 +MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:bone_capemgr"); -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0017-doc-misc-Beaglebone-capemanager-documentation.patch b/patches/bbb_overlays/0017-doc-misc-Beaglebone-capemanager-documentation.patch index f684daf18..54651fc67 100644 --- a/patches/bbb_overlays/0017-doc-misc-Beaglebone-capemanager-documentation.patch +++ b/patches/bbb_overlays/0017-doc-misc-Beaglebone-capemanager-documentation.patch @@ -1,4 +1,4 @@ -From 89f1587783961ff4e3de7b24882bd82ef9aa4bc8 Mon Sep 17 00:00:00 2001 +From abe036f8f300773f7c79e8749ba51d6039c5490e Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 13 May 2015 10:27:46 +0300 Subject: [PATCH 17/32] doc: misc: Beaglebone capemanager documentation @@ -81,5 +81,5 @@ index 0000000..2a8c766 +Applying the device tree overlay makes the cape operational, as if it was part +of the kernel's booting device tree. -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0018-doc-dt-beaglebone-cape-manager-bindings.patch b/patches/bbb_overlays/0018-doc-dt-beaglebone-cape-manager-bindings.patch index 81168d073..139214ed3 100644 --- a/patches/bbb_overlays/0018-doc-dt-beaglebone-cape-manager-bindings.patch +++ b/patches/bbb_overlays/0018-doc-dt-beaglebone-cape-manager-bindings.patch @@ -1,4 +1,4 @@ -From 0da11f18ed9714fda1d1ca42aa7cce25afa7af20 Mon Sep 17 00:00:00 2001 +From dc8c3131fc271563697a440c38fa2a9e5dfeb90b Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 12 May 2015 15:24:22 +0300 Subject: [PATCH 18/32] doc: dt: beaglebone cape manager bindings. @@ -129,5 +129,5 @@ index 0000000..7e4fbc9 + }; +}; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0019-doc-ABI-bone_capemgr-sysfs-API.patch b/patches/bbb_overlays/0019-doc-ABI-bone_capemgr-sysfs-API.patch index 7384d21d7..80b88c6e8 100644 --- a/patches/bbb_overlays/0019-doc-ABI-bone_capemgr-sysfs-API.patch +++ b/patches/bbb_overlays/0019-doc-ABI-bone_capemgr-sysfs-API.patch @@ -1,4 +1,4 @@ -From 6456c509d9286fa087d289fe4bf6a8180342a6af Mon Sep 17 00:00:00 2001 +From 0cc386dfae727bfa615792260d9196b46b911583 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 12 May 2015 16:20:08 +0300 Subject: [PATCH 19/32] doc: ABI: bone_capemgr sysfs API @@ -81,5 +81,5 @@ index 0000000..e2df613 + serial-number - baseboard serial number + config-option - displayed but ignored -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0020-MAINTAINERS-Beaglebone-capemanager-maintainer.patch b/patches/bbb_overlays/0020-MAINTAINERS-Beaglebone-capemanager-maintainer.patch index 49295ab0c..8e4eaab1c 100644 --- a/patches/bbb_overlays/0020-MAINTAINERS-Beaglebone-capemanager-maintainer.patch +++ b/patches/bbb_overlays/0020-MAINTAINERS-Beaglebone-capemanager-maintainer.patch @@ -1,4 +1,4 @@ -From de4bdbb4c423953d9b1a1cf3afd8145a052e0273 Mon Sep 17 00:00:00 2001 +From 5860b8ab4de7d3a11212078d63c27e022bc91f64 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 13 May 2015 10:32:27 +0300 Subject: [PATCH 20/32] MAINTAINERS: Beaglebone capemanager maintainer @@ -11,7 +11,7 @@ Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS -index a226416..913dc69 100644 +index a9ae6c1..cce2f14 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2042,6 +2042,14 @@ W: http://linuxtv.org @@ -30,5 +30,5 @@ index a226416..913dc69 100644 S: Orphan F: Documentation/filesystems/befs.txt -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0021-arm-dts-Enable-beaglebone-cape-manager.patch b/patches/bbb_overlays/0021-arm-dts-Enable-beaglebone-cape-manager.patch index 4abbd23f3..903cd37e3 100644 --- a/patches/bbb_overlays/0021-arm-dts-Enable-beaglebone-cape-manager.patch +++ b/patches/bbb_overlays/0021-arm-dts-Enable-beaglebone-cape-manager.patch @@ -1,4 +1,4 @@ -From cc1f019d1eeecd85f16d9d36d19cb76970ecc4b6 Mon Sep 17 00:00:00 2001 +From 8230f34aa03145d0781b4b72d8367f24657f8d01 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Tue, 12 May 2015 14:35:13 +0300 Subject: [PATCH 21/32] arm: dts: Enable beaglebone cape-manager @@ -11,7 +11,7 @@ Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi -index fec7834..9c02124 100644 +index fec7834..07ee535 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -394,3 +394,28 @@ @@ -44,5 +44,5 @@ index fec7834..9c02124 100644 + }; +}; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0023-gcl-Fix-resource-linking.patch b/patches/bbb_overlays/0022-gcl-Fix-resource-linking.patch similarity index 91% rename from patches/bbb_overlays/0023-gcl-Fix-resource-linking.patch rename to patches/bbb_overlays/0022-gcl-Fix-resource-linking.patch index 0fd108175..435f5e198 100644 --- a/patches/bbb_overlays/0023-gcl-Fix-resource-linking.patch +++ b/patches/bbb_overlays/0022-gcl-Fix-resource-linking.patch @@ -1,7 +1,7 @@ -From bc5e3818ca22696d9e0bc7d6727ddf4d2fa5eb40 Mon Sep 17 00:00:00 2001 +From 206a78e9a1d11603979a5493003a644dc066fe7b Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 12 Jun 2015 19:38:36 +0300 -Subject: [PATCH 23/32] gcl: Fix resource linking +Subject: [PATCH 22/32] gcl: Fix resource linking --- drivers/base/platform.c | 4 ++-- @@ -31,7 +31,7 @@ index 063f0ab..45c8d06 100644 } } diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c -index 1801634..0a27b38 100644 +index 9f71770b6..b12dd6b 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -753,6 +753,11 @@ static void __init of_unittest_match_node(void) @@ -55,5 +55,5 @@ index 1801634..0a27b38 100644 of_platform_populate(np, match, NULL, &test_bus->dev); for_each_child_of_node(np, child) { -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0024-of-overlay-Implement-indirect-target-support.patch b/patches/bbb_overlays/0023-of-overlay-Implement-indirect-target-support.patch similarity index 98% rename from patches/bbb_overlays/0024-of-overlay-Implement-indirect-target-support.patch rename to patches/bbb_overlays/0023-of-overlay-Implement-indirect-target-support.patch index 8dc6bb125..b7594ddd2 100644 --- a/patches/bbb_overlays/0024-of-overlay-Implement-indirect-target-support.patch +++ b/patches/bbb_overlays/0023-of-overlay-Implement-indirect-target-support.patch @@ -1,7 +1,7 @@ -From 19274d94c95dc897ff38ba3e0cba206639608db2 Mon Sep 17 00:00:00 2001 +From 947becdcb0afc194de1a713fbe21ed1511e52cd7 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 21 May 2015 12:31:06 +0300 -Subject: [PATCH 24/32] of: overlay: Implement indirect target support +Subject: [PATCH 23/32] of: overlay: Implement indirect target support Some applications require applying the same overlay to a different target according to some external condition (for instance depending @@ -255,5 +255,5 @@ index edc068d..a9b0c52 100644 #endif /* _LINUX_OF_H */ -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0025-of-unittest-Add-indirect-overlay-target-test.patch b/patches/bbb_overlays/0024-of-unittest-Add-indirect-overlay-target-test.patch similarity index 92% rename from patches/bbb_overlays/0025-of-unittest-Add-indirect-overlay-target-test.patch rename to patches/bbb_overlays/0024-of-unittest-Add-indirect-overlay-target-test.patch index e128a6e65..c251d855d 100644 --- a/patches/bbb_overlays/0025-of-unittest-Add-indirect-overlay-target-test.patch +++ b/patches/bbb_overlays/0024-of-unittest-Add-indirect-overlay-target-test.patch @@ -1,7 +1,7 @@ -From e6d0765dbeb1621c27810e15d738b3d078b8965c Mon Sep 17 00:00:00 2001 +From 6cf17ad25ac6a012d376fcf9c8314cb28299fb6e Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 21 May 2015 12:37:27 +0300 -Subject: [PATCH 25/32] of: unittest: Add indirect overlay target test +Subject: [PATCH 24/32] of: unittest: Add indirect overlay target test Add a unittest for the indirect overlay target case. @@ -68,10 +68,10 @@ index 02ba56c..881d863 100644 }; }; diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c -index 0a27b38..ee1a3bb 100644 +index b12dd6b..87ec3140 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c -@@ -1858,6 +1858,63 @@ static inline void of_unittest_overlay_i2c_15(void) { } +@@ -1855,6 +1855,63 @@ static inline void of_unittest_overlay_i2c_15(void) { } #endif @@ -135,7 +135,7 @@ index 0a27b38..ee1a3bb 100644 static void __init of_unittest_overlay(void) { struct device_node *bus_np = NULL; -@@ -1909,6 +1966,8 @@ static void __init of_unittest_overlay(void) +@@ -1906,6 +1963,8 @@ static void __init of_unittest_overlay(void) of_unittest_overlay_10(); of_unittest_overlay_11(); @@ -145,5 +145,5 @@ index 0a27b38..ee1a3bb 100644 if (unittest(of_unittest_overlay_i2c_init() == 0, "i2c init failed\n")) goto out; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0026-doc-dt-Document-the-indirect-overlay-method.patch b/patches/bbb_overlays/0025-doc-dt-Document-the-indirect-overlay-method.patch similarity index 93% rename from patches/bbb_overlays/0026-doc-dt-Document-the-indirect-overlay-method.patch rename to patches/bbb_overlays/0025-doc-dt-Document-the-indirect-overlay-method.patch index 748be9b95..c2ee6f735 100644 --- a/patches/bbb_overlays/0026-doc-dt-Document-the-indirect-overlay-method.patch +++ b/patches/bbb_overlays/0025-doc-dt-Document-the-indirect-overlay-method.patch @@ -1,7 +1,7 @@ -From 2883b4f06d9d967afdb3b7cd6a6738f9b7742b54 Mon Sep 17 00:00:00 2001 +From 0825d0ef292cf50790d6dc0c3c353b46d7441235 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 12 Jun 2015 16:39:18 +0300 -Subject: [PATCH 26/32] doc: dt: Document the indirect overlay method. +Subject: [PATCH 25/32] doc: dt: Document the indirect overlay method. Add a description of the indirect overlay method to the overlay documention file. @@ -47,5 +47,5 @@ index d418a6c..dd595e6 100644 +of_overlay_create_indirect(). I.e. passing the "foo" id will select the target +in the foo node, "bar" in bar node, etc. -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0027-of-overlay-Introduce-target-root-capability.patch b/patches/bbb_overlays/0026-of-overlay-Introduce-target-root-capability.patch similarity index 97% rename from patches/bbb_overlays/0027-of-overlay-Introduce-target-root-capability.patch rename to patches/bbb_overlays/0026-of-overlay-Introduce-target-root-capability.patch index ce0a4613b..a5ba67798 100644 --- a/patches/bbb_overlays/0027-of-overlay-Introduce-target-root-capability.patch +++ b/patches/bbb_overlays/0026-of-overlay-Introduce-target-root-capability.patch @@ -1,7 +1,7 @@ -From 361143cb3b78ca73d22fcdb7aa3985f97e31cae2 Mon Sep 17 00:00:00 2001 +From 3b2e7c79799985fa7599ee2c22741497a4b1e5b5 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 12 Jun 2015 15:32:55 +0300 -Subject: [PATCH 27/32] of: overlay: Introduce target root capability. +Subject: [PATCH 26/32] of: overlay: Introduce target root capability. The target facility of an overlay allows the target to be any point in the live kernel tree, since it usually that's required when @@ -223,5 +223,5 @@ index a9b0c52..6b14b62 100644 #endif /* _LINUX_OF_H */ -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0028-of-unittest-Unit-tests-for-target-root-overlays.patch b/patches/bbb_overlays/0027-of-unittest-Unit-tests-for-target-root-overlays.patch similarity index 96% rename from patches/bbb_overlays/0028-of-unittest-Unit-tests-for-target-root-overlays.patch rename to patches/bbb_overlays/0027-of-unittest-Unit-tests-for-target-root-overlays.patch index 4db55b771..858616c84 100644 --- a/patches/bbb_overlays/0028-of-unittest-Unit-tests-for-target-root-overlays.patch +++ b/patches/bbb_overlays/0027-of-unittest-Unit-tests-for-target-root-overlays.patch @@ -1,7 +1,7 @@ -From 4b2268a43fb2e87eec1a15cf350b132be04ef6d3 Mon Sep 17 00:00:00 2001 +From 19299608b1c0e8548869c9a54ba30a6645cdc6f4 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 12 Jun 2015 16:18:26 +0300 -Subject: [PATCH 28/32] of: unittest: Unit-tests for target root overlays. +Subject: [PATCH 27/32] of: unittest: Unit-tests for target root overlays. Add unittests for target-root based overlays. @@ -93,10 +93,10 @@ index 881d863..e10ff5a 100644 }; }; diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c -index ee1a3bb..55ded19 100644 +index 87ec3140..ee3ca72 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c -@@ -1915,6 +1915,215 @@ out: +@@ -1912,6 +1912,215 @@ out: unittest(1, "overlay test %d passed\n", 16); } @@ -312,7 +312,7 @@ index ee1a3bb..55ded19 100644 static void __init of_unittest_overlay(void) { struct device_node *bus_np = NULL; -@@ -1968,6 +2177,10 @@ static void __init of_unittest_overlay(void) +@@ -1965,6 +2174,10 @@ static void __init of_unittest_overlay(void) of_unittest_overlay_16(); @@ -324,5 +324,5 @@ index ee1a3bb..55ded19 100644 if (unittest(of_unittest_overlay_i2c_init() == 0, "i2c init failed\n")) goto out; -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0029-doc-dt-Document-the-target-root-overlay-method.patch b/patches/bbb_overlays/0028-doc-dt-Document-the-target-root-overlay-method.patch similarity index 91% rename from patches/bbb_overlays/0029-doc-dt-Document-the-target-root-overlay-method.patch rename to patches/bbb_overlays/0028-doc-dt-Document-the-target-root-overlay-method.patch index d5bf50bed..6e57d7c9f 100644 --- a/patches/bbb_overlays/0029-doc-dt-Document-the-target-root-overlay-method.patch +++ b/patches/bbb_overlays/0028-doc-dt-Document-the-target-root-overlay-method.patch @@ -1,7 +1,7 @@ -From 5f09008560565448efbfc37983c358259a808828 Mon Sep 17 00:00:00 2001 +From c9d7ed35c305ddf2679d5bcd960fd4166c67e4fc Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Fri, 12 Jun 2015 16:51:27 +0300 -Subject: [PATCH 29/32] doc: dt: Document the target root overlay method +Subject: [PATCH 28/32] doc: dt: Document the target root overlay method Add a description of the target root overlay method to the overlay documention file. @@ -35,5 +35,5 @@ index dd595e6..00ede57 100644 +lie under the target root node. I.e. the overlay is not allowed to 'break' out +of the root. -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0030-of-dynamic-Add-__of_node_dupv.patch b/patches/bbb_overlays/0029-of-dynamic-Add-__of_node_dupv.patch similarity index 95% rename from patches/bbb_overlays/0030-of-dynamic-Add-__of_node_dupv.patch rename to patches/bbb_overlays/0029-of-dynamic-Add-__of_node_dupv.patch index 3c0f4f08c..927c9a681 100644 --- a/patches/bbb_overlays/0030-of-dynamic-Add-__of_node_dupv.patch +++ b/patches/bbb_overlays/0029-of-dynamic-Add-__of_node_dupv.patch @@ -1,7 +1,7 @@ -From 1cf1f7cb1a14a1970a19f7df35142d3d29d2aef7 Mon Sep 17 00:00:00 2001 +From d8e7d353de170153deaac142aa331dbc806e2325 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 10 Jun 2015 17:54:17 +0300 -Subject: [PATCH 30/32] of: dynamic: Add __of_node_dupv() +Subject: [PATCH 29/32] of: dynamic: Add __of_node_dupv() Add an __of_node_dupv() private method and make __of_node_dup() use it. This is required for the subsequent changeset accessors which will @@ -74,5 +74,5 @@ index 53826b8..e452171 100644 { of_node_put(ce->np); -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0031-of-changesets-Introduce-changeset-helper-methods.patch b/patches/bbb_overlays/0030-of-changesets-Introduce-changeset-helper-methods.patch similarity index 98% rename from patches/bbb_overlays/0031-of-changesets-Introduce-changeset-helper-methods.patch rename to patches/bbb_overlays/0030-of-changesets-Introduce-changeset-helper-methods.patch index bf35c55a2..cd3320c5f 100644 --- a/patches/bbb_overlays/0031-of-changesets-Introduce-changeset-helper-methods.patch +++ b/patches/bbb_overlays/0030-of-changesets-Introduce-changeset-helper-methods.patch @@ -1,7 +1,7 @@ -From 59f580e2ece46ab726fc7b6daed0176fb5c08ca2 Mon Sep 17 00:00:00 2001 +From 66784c7d135e27de61fcc62e862958b32af86399 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Wed, 10 Jun 2015 18:35:53 +0300 -Subject: [PATCH 31/32] of: changesets: Introduce changeset helper methods +Subject: [PATCH 30/32] of: changesets: Introduce changeset helper methods Changesets are very powerful, but the lack of a helper API makes using them cumbersome. Introduce a simple copy based @@ -378,5 +378,5 @@ index 6b14b62..52a1633 100644 /* CONFIG_OF_RESOLVE api */ -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0032-RFC-Device-overlay-manager-PCI-USB-DT.patch b/patches/bbb_overlays/0031-RFC-Device-overlay-manager-PCI-USB-DT.patch similarity index 99% rename from patches/bbb_overlays/0032-RFC-Device-overlay-manager-PCI-USB-DT.patch rename to patches/bbb_overlays/0031-RFC-Device-overlay-manager-PCI-USB-DT.patch index 7c663ed8a..b8a7be7a8 100644 --- a/patches/bbb_overlays/0032-RFC-Device-overlay-manager-PCI-USB-DT.patch +++ b/patches/bbb_overlays/0031-RFC-Device-overlay-manager-PCI-USB-DT.patch @@ -1,7 +1,7 @@ -From c9d93606f6951bae721aeccc244c1dd077bbdf4a Mon Sep 17 00:00:00 2001 +From 3f5982642aecea68b7cb03614dbe8c8054bb6a2f Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Thu, 21 May 2015 12:08:54 +0300 -Subject: [PATCH 32/32] RFC: Device overlay manager (PCI/USB + DT) +Subject: [PATCH 31/32] RFC: Device overlay manager (PCI/USB + DT) This probably misplaced (in drivers/misc) patch allows use of device tree overlays on the two kinds of probeable busses @@ -1365,5 +1365,5 @@ index 0000000..82d2b07 +} +late_initcall(dovmgr_init); -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/0022-boneblack-defconfig.patch b/patches/bbb_overlays/0032-boneblack-defconfig.patch similarity index 97% rename from patches/bbb_overlays/0022-boneblack-defconfig.patch rename to patches/bbb_overlays/0032-boneblack-defconfig.patch index 25134829b..0cf1dffda 100644 --- a/patches/bbb_overlays/0022-boneblack-defconfig.patch +++ b/patches/bbb_overlays/0032-boneblack-defconfig.patch @@ -1,20 +1,20 @@ -From e92b43aef512bce7480278d90e20ac54bc72e71e Mon Sep 17 00:00:00 2001 +From 1d5de997b5ea77163553af67791cf8dfdc8a7348 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Date: Sat, 21 Jun 2014 17:38:38 +0300 -Subject: [PATCH 22/32] boneblack defconfig +Subject: [PATCH 32/32] boneblack defconfig Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> --- - arch/arm/configs/am335x-boneblack_defconfig | 1272 +++++++++++++++++++++++++++ - 1 file changed, 1272 insertions(+) + arch/arm/configs/am335x-boneblack_defconfig | 1262 +++++++++++++++++++++++++++ + 1 file changed, 1262 insertions(+) create mode 100644 arch/arm/configs/am335x-boneblack_defconfig diff --git a/arch/arm/configs/am335x-boneblack_defconfig b/arch/arm/configs/am335x-boneblack_defconfig new file mode 100644 -index 0000000..3eb8a49 +index 0000000..6d7c7c6 --- /dev/null +++ b/arch/arm/configs/am335x-boneblack_defconfig -@@ -0,0 +1,1272 @@ +@@ -0,0 +1,1262 @@ +CONFIG_KERNEL_LZO=y +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y @@ -35,18 +35,12 @@ index 0000000..3eb8a49 +CONFIG_CGROUP_FREEZER=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CGROUP_CPUACCT=y -+CONFIG_RESOURCE_COUNTERS=y +CONFIG_MEMCG=y +CONFIG_CFS_BANDWIDTH=y +CONFIG_BLK_CGROUP=y +CONFIG_NAMESPACES=y +CONFIG_SCHED_AUTOGROUP=y +CONFIG_BLK_DEV_INITRD=y -+CONFIG_RD_BZIP2=y -+CONFIG_RD_LZMA=y -+CONFIG_RD_XZ=y -+CONFIG_RD_LZO=y -+CONFIG_RD_LZ4=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_EXPERT=y +CONFIG_BPF_SYSCALL=y @@ -60,6 +54,7 @@ index 0000000..3eb8a49 +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +CONFIG_BLK_DEV_BSGLIB=y ++CONFIG_BLK_DEV_INTEGRITY=y +CONFIG_BLK_DEV_THROTTLING=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_MAC_PARTITION=y @@ -71,20 +66,14 @@ index 0000000..3eb8a49 +CONFIG_ARCH_OMAP4=y +CONFIG_SOC_AM33XX=y +# CONFIG_SOC_TI81XX is not set -+# CONFIG_MACH_DEVKIT8000 is not set +# CONFIG_MACH_OMAP_LDP is not set +# CONFIG_MACH_OMAP3530_LV_SOM is not set +# CONFIG_MACH_OMAP3_TORPEDO is not set -+# CONFIG_MACH_OVERO is not set +# CONFIG_MACH_OMAP3517EVM is not set +# CONFIG_MACH_OMAP3_PANDORA is not set -+# CONFIG_MACH_TOUCHBOOK is not set -+# CONFIG_MACH_OMAP_3430SDP is not set +# CONFIG_MACH_NOKIA_RX51 is not set -+# CONFIG_MACH_CM_T35 is not set -+# CONFIG_MACH_CM_T3517 is not set -+# CONFIG_MACH_SBC3530 is not set +CONFIG_ARM_THUMBEE=y ++# CONFIG_ARM_ERRATA_643719 is not set +CONFIG_SMP=y +CONFIG_HOTPLUG_CPU=y +CONFIG_PREEMPT_VOLUNTARY=y @@ -162,6 +151,7 @@ index 0000000..3eb8a49 +CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y +CONFIG_IPV6_PIMSM_V2=y +CONFIG_NETFILTER=y ++# CONFIG_NETFILTER_INGRESS is not set +CONFIG_NETFILTER_XT_TARGET_TPROXY=m +CONFIG_NETFILTER_XT_MATCH_SOCKET=m +CONFIG_IP_VS=m @@ -257,9 +247,9 @@ index 0000000..3eb8a49 +CONFIG_BT_BNEP_PROTO_FILTER=y +CONFIG_BT_HIDP=m +CONFIG_BT_HCIBTUSB=m ++# CONFIG_BT_HCIBTUSB_RTL is not set +CONFIG_BT_HCIBTSDIO=m +CONFIG_BT_HCIUART=m -+CONFIG_BT_HCIUART_H4=y +CONFIG_BT_HCIUART_BCSP=y +CONFIG_BT_HCIUART_ATH3K=y +CONFIG_BT_HCIUART_LL=y @@ -276,7 +266,6 @@ index 0000000..3eb8a49 +CONFIG_CFG80211=m +CONFIG_CFG80211_DEBUGFS=y +CONFIG_CFG80211_INTERNAL_REGDB=y -+CONFIG_CFG80211_WEXT=y +CONFIG_MAC80211=m +CONFIG_MAC80211_MESH=y +CONFIG_MAC80211_DEBUGFS=y @@ -306,6 +295,7 @@ index 0000000..3eb8a49 +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +CONFIG_EXTRA_FIRMWARE="am335x-pm-firmware.bin" ++# CONFIG_ARM_CCI500_PMU is not set +CONFIG_OMAP_OCP2SCP=y +CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y @@ -328,7 +318,10 @@ index 0000000..3eb8a49 +CONFIG_SENSORS_TSL2550=m +CONFIG_HMC6352=m +CONFIG_BMP085_I2C=m ++CONFIG_BONE_CAPEMGR=y ++CONFIG_DEV_OVERLAYMGR=y +CONFIG_EEPROM_AT24=y ++CONFIG_TI_ST=m +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_SCAN_ASYNC=y @@ -357,11 +350,10 @@ index 0000000..3eb8a49 +CONFIG_CAIF_HSI=m +CONFIG_CAIF_VIRTIO=m +CONFIG_VHOST_NET=m -+CONFIG_NET_DSA_MV88E6060=m -+CONFIG_NET_DSA_MV88E6131=m -+CONFIG_NET_DSA_MV88E6123_61_65=m ++# CONFIG_NET_VENDOR_EZCHIP is not set +CONFIG_KS8851=y +CONFIG_KS8851_MLL=y ++# CONFIG_NET_VENDOR_RENESAS is not set +CONFIG_SMC91X=y +CONFIG_SMSC911X=y +CONFIG_TI_DAVINCI_EMAC=y @@ -544,12 +536,12 @@ index 0000000..3eb8a49 +CONFIG_DEBUG_GPIO=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_GENERIC_PLATFORM=m ++CONFIG_GPIO_ADNP=m +CONFIG_GPIO_PCF857X=y +CONFIG_GPIO_TWL4030=y -+CONFIG_GPIO_ADNP=m ++CONFIG_GPIO_74X164=m +CONFIG_GPIO_MAX7301=m +CONFIG_GPIO_MCP23S08=m -+CONFIG_GPIO_74X164=m +CONFIG_W1=y +CONFIG_W1_MASTER_DS2490=m +CONFIG_W1_MASTER_DS2482=m @@ -746,7 +738,6 @@ index 0000000..3eb8a49 +CONFIG_V4L_MEM2MEM_DRIVERS=y +CONFIG_VIDEO_MEM2MEM_DEINTERLACE=m +CONFIG_V4L_TEST_DRIVERS=y -+CONFIG_VIDEO_MEM2MEM_TESTDEV=m +CONFIG_SMS_SDIO_DRV=m +CONFIG_RADIO_SI470X=y +CONFIG_USB_SI470X=m @@ -834,7 +825,7 @@ index 0000000..3eb8a49 +CONFIG_SND_SOC=m +CONFIG_SND_OMAP_SOC=m +CONFIG_SND_OMAP_SOC_OMAP_TWL4030=m -+CONFIG_SND_OMAP_SOC_OMAP_HDMI=m ++CONFIG_SND_SOC_HDMI_CODEC=m +CONFIG_SND_SIMPLE_CARD=m +CONFIG_HID_BATTERY_STRENGTH=y +CONFIG_HIDRAW=y @@ -858,7 +849,6 @@ index 0000000..3eb8a49 +CONFIG_HID_EZKEY=m +CONFIG_HID_HOLTEK=m +CONFIG_HOLTEK_FF=y -+CONFIG_HID_HUION=m +CONFIG_HID_KEYTOUCH=m +CONFIG_HID_KYE=m +CONFIG_HID_UCLOGIC=m @@ -1219,6 +1209,7 @@ index 0000000..3eb8a49 +CONFIG_PWM_TWL_LED=m +CONFIG_RESET_CONTROLLER=y +CONFIG_GENERIC_PHY=y ++CONFIG_NVMEM=y +CONFIG_EXT2_FS=y +CONFIG_EXT3_FS=y +# CONFIG_EXT3_FS_XATTR is not set @@ -1261,6 +1252,7 @@ index 0000000..3eb8a49 +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_DEBUG_LIST=y +CONFIG_RCU_CPU_STALL_TIMEOUT=60 ++# CONFIG_RCU_CPU_STALL_INFO is not set +CONFIG_DEBUG_LL=y +CONFIG_DEBUG_AM33XXUART1=y +CONFIG_EARLY_PRINTK=y @@ -1268,8 +1260,6 @@ index 0000000..3eb8a49 +CONFIG_SECURITYFS=y +CONFIG_CRYPTO_PCRYPT=y +CONFIG_CRYPTO_MICHAEL_MIC=y -+CONFIG_CRYPTO_AES_ARM=y -+# CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_CRYPTO_DEV_OMAP_SHAM=y +CONFIG_CRYPTO_DEV_OMAP_AES=y +CONFIG_ASYMMETRIC_KEY_TYPE=m @@ -1288,5 +1278,5 @@ index 0000000..3eb8a49 +CONFIG_FONT_8x16=y +CONFIG_FONT_MINI_4x6=y -- -2.1.4 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0001-nvmem-Add-a-simple-NVMEM-framework-for-nvmem-provide.patch b/patches/bbb_overlays/nvmem/0001-nvmem-Add-a-simple-NVMEM-framework-for-nvmem-provide.patch index 2312264f4..7f81818a5 100644 --- a/patches/bbb_overlays/nvmem/0001-nvmem-Add-a-simple-NVMEM-framework-for-nvmem-provide.patch +++ b/patches/bbb_overlays/nvmem/0001-nvmem-Add-a-simple-NVMEM-framework-for-nvmem-provide.patch @@ -1,7 +1,7 @@ -From 1b33547b0c1032fe6ac09331d80766e754518487 Mon Sep 17 00:00:00 2001 +From 7dfc904e1c955b1b1c0f2a580dee93a62c7f638a Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:13:19 +0100 -Subject: [PATCH 1/8] nvmem: Add a simple NVMEM framework for nvmem providers +Subject: [PATCH 01/11] nvmem: Add a simple NVMEM framework for nvmem providers This patch adds just providers part of the framework just to enable easy review. @@ -588,5 +588,5 @@ index 0000000..0b68caf + +#endif /* ifndef _LINUX_NVMEM_PROVIDER_H */ -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0002-nvmem-Add-a-simple-NVMEM-framework-for-consumers.patch b/patches/bbb_overlays/nvmem/0002-nvmem-Add-a-simple-NVMEM-framework-for-consumers.patch index 7d13a2587..49450057e 100644 --- a/patches/bbb_overlays/nvmem/0002-nvmem-Add-a-simple-NVMEM-framework-for-consumers.patch +++ b/patches/bbb_overlays/nvmem/0002-nvmem-Add-a-simple-NVMEM-framework-for-consumers.patch @@ -1,7 +1,7 @@ -From 318bfeb9fbc73489e40fabeb9313d0d9284b8927 Mon Sep 17 00:00:00 2001 +From a9da2da672ac935cd6845aff6fa7661657676427 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:13:34 +0100 -Subject: [PATCH 2/8] nvmem: Add a simple NVMEM framework for consumers +Subject: [PATCH 02/11] nvmem: Add a simple NVMEM framework for consumers This patch adds just consumers part of the framework just to enable easy review. @@ -550,5 +550,5 @@ index 1e9e767..297cc67 100644 + #endif /* ifndef _LINUX_NVMEM_CONSUMER_H */ -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0003-nvmem-Add-nvmem_device-based-consumer-apis.patch b/patches/bbb_overlays/nvmem/0003-nvmem-Add-nvmem_device-based-consumer-apis.patch index af1b41a2b..ec4de2f5c 100644 --- a/patches/bbb_overlays/nvmem/0003-nvmem-Add-nvmem_device-based-consumer-apis.patch +++ b/patches/bbb_overlays/nvmem/0003-nvmem-Add-nvmem_device-based-consumer-apis.patch @@ -1,7 +1,7 @@ -From 69e342d68d1b529791aaa1191c841ee1b3536bd9 Mon Sep 17 00:00:00 2001 +From 7fc012cc3546f2d89c2aaf01ced727319e187d2a Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:13:45 +0100 -Subject: [PATCH 3/8] nvmem: Add nvmem_device based consumer apis. +Subject: [PATCH 03/11] nvmem: Add nvmem_device based consumer apis. This patch adds read/write apis which are based on nvmem_device. It is common that the drivers like omap cape manager or qcom cpr driver to @@ -406,5 +406,5 @@ index 297cc67..9bb77d3 100644 #endif /* ifndef _LINUX_NVMEM_CONSUMER_H */ -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0004-nvmem-Add-bindings-for-simple-nvmem-framework.patch b/patches/bbb_overlays/nvmem/0004-nvmem-Add-bindings-for-simple-nvmem-framework.patch index 7632941e4..7493546f9 100644 --- a/patches/bbb_overlays/nvmem/0004-nvmem-Add-bindings-for-simple-nvmem-framework.patch +++ b/patches/bbb_overlays/nvmem/0004-nvmem-Add-bindings-for-simple-nvmem-framework.patch @@ -1,7 +1,7 @@ -From 04127758a8bede9316211995ba5a2725acc6ed76 Mon Sep 17 00:00:00 2001 +From 35c525f6194c86b5fbd8e7da3e34abcdeda7c819 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:13:58 +0100 -Subject: [PATCH 4/8] nvmem: Add bindings for simple nvmem framework +Subject: [PATCH 04/11] nvmem: Add bindings for simple nvmem framework This patch adds bindings for simple nvmem framework which allows nvmem consumers to talk to nvmem providers to get access to nvmem cell data. @@ -101,5 +101,5 @@ index 0000000..b52bc11 + nvmem-cell-names = "calibration"; + }; -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0005-Documentation-nvmem-add-nvmem-api-level-and-how-to-d.patch b/patches/bbb_overlays/nvmem/0005-Documentation-nvmem-add-nvmem-api-level-and-how-to-d.patch index 9c6ffc06d..efd56272d 100644 --- a/patches/bbb_overlays/nvmem/0005-Documentation-nvmem-add-nvmem-api-level-and-how-to-d.patch +++ b/patches/bbb_overlays/nvmem/0005-Documentation-nvmem-add-nvmem-api-level-and-how-to-d.patch @@ -1,7 +1,8 @@ -From c22d1a881ac41550c05cd30217b70911937e17cd Mon Sep 17 00:00:00 2001 +From ed16698ff2fbdb3e6783f41b6f080d70edd03aab Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:14:14 +0100 -Subject: [PATCH 5/8] Documentation: nvmem: add nvmem api level and how-to doc +Subject: [PATCH 05/11] Documentation: nvmem: add nvmem api level and how-to + doc This patch add basic how-to and api summary documentation for simple NVMEM framework. @@ -171,5 +172,5 @@ index 0000000..dbd40d8 + +See Documentation/devicetree/bindings/nvmem/nvmem.txt -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0006-nvmem-qfprom-Add-Qualcomm-QFPROM-support.patch b/patches/bbb_overlays/nvmem/0006-nvmem-qfprom-Add-Qualcomm-QFPROM-support.patch index cb5ea8016..329a92085 100644 --- a/patches/bbb_overlays/nvmem/0006-nvmem-qfprom-Add-Qualcomm-QFPROM-support.patch +++ b/patches/bbb_overlays/nvmem/0006-nvmem-qfprom-Add-Qualcomm-QFPROM-support.patch @@ -1,7 +1,7 @@ -From 420d28d42d32a52389e23f17d541b63bc266dc85 Mon Sep 17 00:00:00 2001 +From 4c7313d79cc02a529d5352531def02223b24c819 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:15:00 +0100 -Subject: [PATCH 6/8] nvmem: qfprom: Add Qualcomm QFPROM support. +Subject: [PATCH 06/11] nvmem: qfprom: Add Qualcomm QFPROM support. This patch adds QFPROM support driver which is used by other drivers like thermal sensor and cpufreq. @@ -146,5 +146,5 @@ index 0000000..afb67e7 +MODULE_DESCRIPTION("Qualcomm QFPROM driver"); +MODULE_LICENSE("GPL v2"); -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0007-nvmem-qfprom-Add-bindings-for-qfprom.patch b/patches/bbb_overlays/nvmem/0007-nvmem-qfprom-Add-bindings-for-qfprom.patch index 730610fbc..1bbc27f79 100644 --- a/patches/bbb_overlays/nvmem/0007-nvmem-qfprom-Add-bindings-for-qfprom.patch +++ b/patches/bbb_overlays/nvmem/0007-nvmem-qfprom-Add-bindings-for-qfprom.patch @@ -1,7 +1,7 @@ -From 7119ae2c5d56e320ef78931333cf7a8b1d0f1b0f Mon Sep 17 00:00:00 2001 +From 5018a374350a8f8c101cfd5ccbb66c0f9e767b65 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Date: Mon, 27 Jul 2015 12:16:59 +0100 -Subject: [PATCH 7/8] nvmem: qfprom: Add bindings for qfprom +Subject: [PATCH 07/11] nvmem: qfprom: Add bindings for qfprom This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver is based on simple nvmem framework. @@ -55,5 +55,5 @@ index 0000000..4ad68b7 + nvmem-cell-names = "calibration"; + }; -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0008-nvmem-sunxi-Move-the-SID-driver-to-the-nvmem-framewo.patch b/patches/bbb_overlays/nvmem/0008-nvmem-sunxi-Move-the-SID-driver-to-the-nvmem-framewo.patch index 40134da95..3f3fce71f 100644 --- a/patches/bbb_overlays/nvmem/0008-nvmem-sunxi-Move-the-SID-driver-to-the-nvmem-framewo.patch +++ b/patches/bbb_overlays/nvmem/0008-nvmem-sunxi-Move-the-SID-driver-to-the-nvmem-framewo.patch @@ -1,7 +1,8 @@ -From 060a0f44585999461f074fda2f02671e94f2c38a Mon Sep 17 00:00:00 2001 +From def8ff4d10a48d52d62f907302b1e867af6bac78 Mon Sep 17 00:00:00 2001 From: Maxime Ripard <maxime.ripard@free-electrons.com> Date: Mon, 27 Jul 2015 12:17:09 +0100 -Subject: [PATCH 8/8] nvmem: sunxi: Move the SID driver to the nvmem framework +Subject: [PATCH 08/11] nvmem: sunxi: Move the SID driver to the nvmem + framework Now that we have the nvmem framework, we can consolidate the common driver code. Move the driver to the framework, and hopefully, it will @@ -507,5 +508,5 @@ index 0000000..14777dd +MODULE_DESCRIPTION("Allwinner sunxi security id driver"); +MODULE_LICENSE("GPL"); -- -2.4.6 +2.5.0 diff --git a/patches/bbb_overlays/nvmem/0009-nvmem-make-default-user-binary-file-root-access-only.patch b/patches/bbb_overlays/nvmem/0009-nvmem-make-default-user-binary-file-root-access-only.patch new file mode 100644 index 000000000..ea7eabf37 --- /dev/null +++ b/patches/bbb_overlays/nvmem/0009-nvmem-make-default-user-binary-file-root-access-only.patch @@ -0,0 +1,120 @@ +From 153b474a585e57af01dc4c2d775c7f46b21dd244 Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +Date: Tue, 11 Aug 2015 12:03:12 +0100 +Subject: [PATCH 09/11] nvmem: make default user binary file root-access only + +As required by many providers like at24/at25/mxs-ocotp/qfprom and may be +other providers would want to allow root-only to read the nvmem content. +So making the defaults to be root-only access would address the request +and also provide flexibility to providers to specify there own permissions +on top of the root-only using the perm flag in nvmem_config. +Making this dynamic did cut down lot of static binary attributes in the +code. + +Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +--- + drivers/nvmem/core.c | 53 ++++++++++------------------------------------------ + 1 file changed, 10 insertions(+), 43 deletions(-) + +diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c +index d3c6676..0a1a9f1 100644 +--- a/drivers/nvmem/core.c ++++ b/drivers/nvmem/core.c +@@ -31,6 +31,7 @@ struct nvmem_device { + struct regmap *regmap; + struct module *owner; + struct device dev; ++ struct bin_attribute bin; + int stride; + int word_size; + int ncells; +@@ -109,52 +110,15 @@ static ssize_t bin_attr_nvmem_write(struct file *filp, struct kobject *kobj, + } + + /* default read/write permissions */ +-static struct bin_attribute bin_attr_rw_nvmem = { ++static struct bin_attribute bin_attr_template = { + .attr = { + .name = "nvmem", +- .mode = S_IWUSR | S_IRUGO, ++ .mode = S_IRUSR, + }, + .read = bin_attr_nvmem_read, + .write = bin_attr_nvmem_write, + }; + +-static struct bin_attribute *nvmem_bin_rw_attributes[] = { +- &bin_attr_rw_nvmem, +- NULL, +-}; +- +-static const struct attribute_group nvmem_bin_rw_group = { +- .bin_attrs = nvmem_bin_rw_attributes, +-}; +- +-static const struct attribute_group *nvmem_rw_dev_groups[] = { +- &nvmem_bin_rw_group, +- NULL, +-}; +- +-/* read only permission */ +-static struct bin_attribute bin_attr_ro_nvmem = { +- .attr = { +- .name = "nvmem", +- .mode = S_IRUGO, +- }, +- .read = bin_attr_nvmem_read, +-}; +- +-static struct bin_attribute *nvmem_bin_ro_attributes[] = { +- &bin_attr_ro_nvmem, +- NULL, +-}; +- +-static const struct attribute_group nvmem_bin_ro_group = { +- .bin_attrs = nvmem_bin_ro_attributes, +-}; +- +-static const struct attribute_group *nvmem_ro_dev_groups[] = { +- &nvmem_bin_ro_group, +- NULL, +-}; +- + static void nvmem_release(struct device *dev) + { + struct nvmem_device *nvmem = to_nvmem_device(dev); +@@ -346,10 +310,8 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) + + nvmem->read_only = of_property_read_bool(np, "read-only") | + config->read_only; +- +- nvmem->dev.groups = nvmem->read_only ? nvmem_ro_dev_groups : +- nvmem_rw_dev_groups; +- ++ nvmem->bin = bin_attr_template; ++ nvmem->bin.attr.mode = nvmem->read_only ? : (S_IRUSR | S_IWUSR); + device_initialize(&nvmem->dev); + + dev_dbg(&nvmem->dev, "Registering nvmem device %s\n", config->name); +@@ -361,6 +323,10 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) + return ERR_PTR(rval); + } + ++ rval = device_create_bin_file(&nvmem->dev, &nvmem->bin); ++ if (rval) ++ dev_err(&nvmem->dev, "Failed to create nvmem binary file\n"); ++ + if (config->cells) + nvmem_add_cells(nvmem, config); + +@@ -385,6 +351,7 @@ int nvmem_unregister(struct nvmem_device *nvmem) + mutex_unlock(&nvmem_mutex); + + nvmem_device_remove_all_cells(nvmem); ++ device_remove_bin_file(&nvmem->dev, &nvmem->bin); + device_del(&nvmem->dev); + + return 0; +-- +2.5.0 + diff --git a/patches/bbb_overlays/nvmem/0010-nvmem-set-the-size-for-the-nvmem-binary-file.patch b/patches/bbb_overlays/nvmem/0010-nvmem-set-the-size-for-the-nvmem-binary-file.patch new file mode 100644 index 000000000..6d60d9405 --- /dev/null +++ b/patches/bbb_overlays/nvmem/0010-nvmem-set-the-size-for-the-nvmem-binary-file.patch @@ -0,0 +1,29 @@ +From cc0f4f75c938a545b74359c0931fbff523b5500b Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +Date: Tue, 11 Aug 2015 12:03:36 +0100 +Subject: [PATCH 10/11] nvmem: set the size for the nvmem binary file. + +This patch sets the actual size of binary file to the nvmem size. +Previously this was not possible as the core was using the static global +data structures for attributes. + +Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +--- + drivers/nvmem/core.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c +index 0a1a9f1..6497434 100644 +--- a/drivers/nvmem/core.c ++++ b/drivers/nvmem/core.c +@@ -312,6 +312,7 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) + config->read_only; + nvmem->bin = bin_attr_template; + nvmem->bin.attr.mode = nvmem->read_only ? : (S_IRUSR | S_IWUSR); ++ nvmem->bin.size = nvmem->size; + device_initialize(&nvmem->dev); + + dev_dbg(&nvmem->dev, "Registering nvmem device %s\n", config->name); +-- +2.5.0 + diff --git a/patches/bbb_overlays/nvmem/0011-nvmem-add-permission-flags-in-nvmem_config.patch b/patches/bbb_overlays/nvmem/0011-nvmem-add-permission-flags-in-nvmem_config.patch new file mode 100644 index 000000000..761f6bb56 --- /dev/null +++ b/patches/bbb_overlays/nvmem/0011-nvmem-add-permission-flags-in-nvmem_config.patch @@ -0,0 +1,43 @@ +From 10098faaf0a8c591dff6346e816d8823aa88f6f2 Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +Date: Tue, 11 Aug 2015 12:03:44 +0100 +Subject: [PATCH 11/11] nvmem: add permission flags in nvmem_config + +This patch adds perm variable to nvmem_config structure which will allow +providers to specify the permissions required for the sysfs binary file. +This permission is applied on top of root-only access permissions set by +the core. + +Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +--- + drivers/nvmem/core.c | 1 + + include/linux/nvmem-provider.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c +index 6497434..3f0e7b1 100644 +--- a/drivers/nvmem/core.c ++++ b/drivers/nvmem/core.c +@@ -312,6 +312,7 @@ struct nvmem_device *nvmem_register(const struct nvmem_config *config) + config->read_only; + nvmem->bin = bin_attr_template; + nvmem->bin.attr.mode = nvmem->read_only ? : (S_IRUSR | S_IWUSR); ++ nvmem->bin.attr.mode |= config->perm; + nvmem->bin.size = nvmem->size; + device_initialize(&nvmem->dev); + +diff --git a/include/linux/nvmem-provider.h b/include/linux/nvmem-provider.h +index 0b68caf..de9a61f 100644 +--- a/include/linux/nvmem-provider.h ++++ b/include/linux/nvmem-provider.h +@@ -23,6 +23,7 @@ struct nvmem_config { + const struct nvmem_cell_info *cells; + int ncells; + bool read_only; ++ u16 perm; /* visibility in sysfs */ + }; + + #if IS_ENABLED(CONFIG_NVMEM) +-- +2.5.0 + diff --git a/patches/bbb_overlays/nvmem/0012-nvmem-core-fix-a-copy-paste-error.patch b/patches/bbb_overlays/nvmem/0012-nvmem-core-fix-a-copy-paste-error.patch new file mode 100644 index 000000000..c312fe8ca --- /dev/null +++ b/patches/bbb_overlays/nvmem/0012-nvmem-core-fix-a-copy-paste-error.patch @@ -0,0 +1,32 @@ +From 0fc685e7e7e551387cf5c21430a28f66a708df1a Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +Date: Fri, 14 Aug 2015 11:17:18 +0100 +Subject: [PATCH 12/12] nvmem: core: fix a copy paste error + +This patch fixes a copy paste error in a check which is performed to +determine if the cell is specified in bits or not. + +This warning was picked-up by a static checker. + +Reported-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> +--- + drivers/nvmem/core.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c +index 3f0e7b1..cb0d6b8 100644 +--- a/drivers/nvmem/core.c ++++ b/drivers/nvmem/core.c +@@ -794,7 +794,7 @@ static int __nvmem_cell_read(struct nvmem_device *nvmem, + return rc; + + /* shift bits in-place */ +- if (cell->bit_offset || cell->bit_offset) ++ if (cell->bit_offset || cell->nbits) + nvmem_shift_read_buffer_in_place(cell, buf); + + *len = cell->bytes; +-- +2.5.0 + diff --git a/patches/defconfig b/patches/defconfig index 997f7eede..54b5c7b03 100644 --- a/patches/defconfig +++ b/patches/defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.2.0-rc6 Kernel Configuration +# Linux/arm 4.2.0-rc7 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -1247,7 +1247,7 @@ CONFIG_NETLINK_MMAP=y CONFIG_NETLINK_DIAG=m CONFIG_MPLS=y CONFIG_NET_MPLS_GSO=y -# CONFIG_MPLS_ROUTING is not set +CONFIG_MPLS_ROUTING=m CONFIG_HSR=m # CONFIG_NET_SWITCHDEV is not set CONFIG_CGROUP_NET_PRIO=y @@ -1478,7 +1478,7 @@ CONFIG_ARM_CCI500_PMU=y # CONFIG_BRCMSTB_GISB_ARB is not set CONFIG_OMAP_INTERCONNECT=y CONFIG_OMAP_OCP2SCP=y -# CONFIG_VEXPRESS_CONFIG is not set +CONFIG_VEXPRESS_CONFIG=y CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y CONFIG_MTD=y @@ -1486,7 +1486,7 @@ CONFIG_MTD=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AFS_PARTS is not set -CONFIG_MTD_OF_PARTS=y +CONFIG_MTD_OF_PARTS=m CONFIG_MTD_AR7_PARTS=m # @@ -1651,6 +1651,7 @@ CONFIG_TI_DAC7512=m # CONFIG_USB_SWITCH_FSA9480 is not set # CONFIG_LATTICE_ECP3_CONFIG is not set CONFIG_SRAM=y +CONFIG_VEXPRESS_SYSCFG=y CONFIG_BONE_CAPEMGR=y # CONFIG_DEV_OVERLAYMGR is not set CONFIG_TIEQEP=m @@ -1837,7 +1838,7 @@ CONFIG_DM_UEVENT=y CONFIG_DM_FLAKEY=m CONFIG_DM_VERITY=m CONFIG_DM_SWITCH=m -# CONFIG_DM_LOG_WRITES is not set +CONFIG_DM_LOG_WRITES=m CONFIG_TARGET_CORE=m CONFIG_TCM_IBLOCK=m CONFIG_TCM_FILEIO=m @@ -2579,7 +2580,7 @@ CONFIG_SPI_MASTER=y # CONFIG_SPI_ALTERA is not set CONFIG_SPI_BITBANG=y # CONFIG_SPI_CADENCE is not set -# CONFIG_SPI_DLN2 is not set +CONFIG_SPI_DLN2=m CONFIG_SPI_GPIO=y # CONFIG_SPI_FSL_SPI is not set # CONFIG_SPI_OC_TINY is not set @@ -2784,6 +2785,7 @@ CONFIG_POWER_RESET_GPIO_RESTART=y # CONFIG_POWER_RESET_LTC2952 is not set CONFIG_POWER_RESET_RESTART=y # CONFIG_POWER_RESET_VERSATILE is not set +CONFIG_POWER_RESET_VEXPRESS=y CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y CONFIG_POWER_AVS=y @@ -2922,6 +2924,7 @@ CONFIG_SENSORS_TMP103=m CONFIG_SENSORS_TMP401=m CONFIG_SENSORS_TMP421=m CONFIG_SENSORS_TWL4030_MADC=m +# CONFIG_SENSORS_VEXPRESS is not set CONFIG_SENSORS_VT1211=m CONFIG_SENSORS_W83781D=m CONFIG_SENSORS_W83791D=m @@ -3101,6 +3104,7 @@ CONFIG_MFD_WL1273_CORE=m # CONFIG_MFD_WM831X_SPI is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set +CONFIG_MFD_VEXPRESS_SYSREG=y CONFIG_REGULATOR=y # CONFIG_REGULATOR_DEBUG is not set CONFIG_REGULATOR_FIXED_VOLTAGE=y @@ -3150,6 +3154,7 @@ CONFIG_REGULATOR_TPS65218=y # CONFIG_REGULATOR_TPS6524X is not set CONFIG_REGULATOR_TPS65910=y CONFIG_REGULATOR_TWL4030=y +CONFIG_REGULATOR_VEXPRESS=m CONFIG_MEDIA_SUPPORT=y # @@ -4593,7 +4598,7 @@ CONFIG_VIRTIO=y # Virtio drivers # CONFIG_VIRTIO_BALLOON=m -# CONFIG_VIRTIO_INPUT is not set +CONFIG_VIRTIO_INPUT=m CONFIG_VIRTIO_MMIO=m # CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set @@ -5516,7 +5521,7 @@ CONFIG_TIMER_STATS=y CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_LIST is not set +CONFIG_DEBUG_LIST=y # CONFIG_DEBUG_PI_LIST is not set # CONFIG_DEBUG_SG is not set # CONFIG_DEBUG_NOTIFIERS is not set diff --git a/patches/defconfig-bone b/patches/defconfig-bone index 997f7eede..54b5c7b03 100644 --- a/patches/defconfig-bone +++ b/patches/defconfig-bone @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.2.0-rc6 Kernel Configuration +# Linux/arm 4.2.0-rc7 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -1247,7 +1247,7 @@ CONFIG_NETLINK_MMAP=y CONFIG_NETLINK_DIAG=m CONFIG_MPLS=y CONFIG_NET_MPLS_GSO=y -# CONFIG_MPLS_ROUTING is not set +CONFIG_MPLS_ROUTING=m CONFIG_HSR=m # CONFIG_NET_SWITCHDEV is not set CONFIG_CGROUP_NET_PRIO=y @@ -1478,7 +1478,7 @@ CONFIG_ARM_CCI500_PMU=y # CONFIG_BRCMSTB_GISB_ARB is not set CONFIG_OMAP_INTERCONNECT=y CONFIG_OMAP_OCP2SCP=y -# CONFIG_VEXPRESS_CONFIG is not set +CONFIG_VEXPRESS_CONFIG=y CONFIG_CONNECTOR=y CONFIG_PROC_EVENTS=y CONFIG_MTD=y @@ -1486,7 +1486,7 @@ CONFIG_MTD=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AFS_PARTS is not set -CONFIG_MTD_OF_PARTS=y +CONFIG_MTD_OF_PARTS=m CONFIG_MTD_AR7_PARTS=m # @@ -1651,6 +1651,7 @@ CONFIG_TI_DAC7512=m # CONFIG_USB_SWITCH_FSA9480 is not set # CONFIG_LATTICE_ECP3_CONFIG is not set CONFIG_SRAM=y +CONFIG_VEXPRESS_SYSCFG=y CONFIG_BONE_CAPEMGR=y # CONFIG_DEV_OVERLAYMGR is not set CONFIG_TIEQEP=m @@ -1837,7 +1838,7 @@ CONFIG_DM_UEVENT=y CONFIG_DM_FLAKEY=m CONFIG_DM_VERITY=m CONFIG_DM_SWITCH=m -# CONFIG_DM_LOG_WRITES is not set +CONFIG_DM_LOG_WRITES=m CONFIG_TARGET_CORE=m CONFIG_TCM_IBLOCK=m CONFIG_TCM_FILEIO=m @@ -2579,7 +2580,7 @@ CONFIG_SPI_MASTER=y # CONFIG_SPI_ALTERA is not set CONFIG_SPI_BITBANG=y # CONFIG_SPI_CADENCE is not set -# CONFIG_SPI_DLN2 is not set +CONFIG_SPI_DLN2=m CONFIG_SPI_GPIO=y # CONFIG_SPI_FSL_SPI is not set # CONFIG_SPI_OC_TINY is not set @@ -2784,6 +2785,7 @@ CONFIG_POWER_RESET_GPIO_RESTART=y # CONFIG_POWER_RESET_LTC2952 is not set CONFIG_POWER_RESET_RESTART=y # CONFIG_POWER_RESET_VERSATILE is not set +CONFIG_POWER_RESET_VEXPRESS=y CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y CONFIG_POWER_AVS=y @@ -2922,6 +2924,7 @@ CONFIG_SENSORS_TMP103=m CONFIG_SENSORS_TMP401=m CONFIG_SENSORS_TMP421=m CONFIG_SENSORS_TWL4030_MADC=m +# CONFIG_SENSORS_VEXPRESS is not set CONFIG_SENSORS_VT1211=m CONFIG_SENSORS_W83781D=m CONFIG_SENSORS_W83791D=m @@ -3101,6 +3104,7 @@ CONFIG_MFD_WL1273_CORE=m # CONFIG_MFD_WM831X_SPI is not set # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set +CONFIG_MFD_VEXPRESS_SYSREG=y CONFIG_REGULATOR=y # CONFIG_REGULATOR_DEBUG is not set CONFIG_REGULATOR_FIXED_VOLTAGE=y @@ -3150,6 +3154,7 @@ CONFIG_REGULATOR_TPS65218=y # CONFIG_REGULATOR_TPS6524X is not set CONFIG_REGULATOR_TPS65910=y CONFIG_REGULATOR_TWL4030=y +CONFIG_REGULATOR_VEXPRESS=m CONFIG_MEDIA_SUPPORT=y # @@ -4593,7 +4598,7 @@ CONFIG_VIRTIO=y # Virtio drivers # CONFIG_VIRTIO_BALLOON=m -# CONFIG_VIRTIO_INPUT is not set +CONFIG_VIRTIO_INPUT=m CONFIG_VIRTIO_MMIO=m # CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set @@ -5516,7 +5521,7 @@ CONFIG_TIMER_STATS=y CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y -# CONFIG_DEBUG_LIST is not set +CONFIG_DEBUG_LIST=y # CONFIG_DEBUG_PI_LIST is not set # CONFIG_DEBUG_SG is not set # CONFIG_DEBUG_NOTIFIERS is not set diff --git a/patches/fixes/0002-ARM-move-heavy-barrier-support-out-of-line.patch b/patches/fixes/0001-ARM-move-heavy-barrier-support-out-of-line.patch similarity index 97% rename from patches/fixes/0002-ARM-move-heavy-barrier-support-out-of-line.patch rename to patches/fixes/0001-ARM-move-heavy-barrier-support-out-of-line.patch index 96c540887..d2e4fc9a6 100644 --- a/patches/fixes/0002-ARM-move-heavy-barrier-support-out-of-line.patch +++ b/patches/fixes/0001-ARM-move-heavy-barrier-support-out-of-line.patch @@ -1,7 +1,7 @@ -From 84b973bb34891d006963565cf9df9706c8f36541 Mon Sep 17 00:00:00 2001 +From 3c08b51b86e75cbe5b1de05ca0c875b3f885b7ea Mon Sep 17 00:00:00 2001 From: Russell King <rmk+kernel@arm.linux.org.uk> Date: Wed, 15 Jul 2015 18:47:18 +0100 -Subject: [PATCH 2/5] ARM: move heavy barrier support out of line +Subject: [PATCH 1/4] ARM: move heavy barrier support out of line The existing memory barrier macro causes a significant amount of code to be inserted inline at every call site. For example, in @@ -197,5 +197,5 @@ index 34b66af..ce6c296 100644 static void flush_pfn_alias(unsigned long pfn, unsigned long vaddr) -- -2.1.4 +2.5.0 diff --git a/patches/fixes/0001-trusty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch b/patches/fixes/0001-trusty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch deleted file mode 100644 index 950582c12..000000000 --- a/patches/fixes/0001-trusty-gcc-4.8-4.8.2-19ubuntu1-has-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 613ae03cba79cb8bb78df29c8e88401b50363eec Mon Sep 17 00:00:00 2001 -From: Robert Nelson <robertcnelson@gmail.com> -Date: Tue, 11 Nov 2014 18:19:30 -0600 -Subject: [PATCH 1/5] trusty: gcc-4.8 (4.8.2-19ubuntu1) has fix - -Signed-off-by: Robert Nelson <robertcnelson@gmail.com> ---- - arch/arm/kernel/asm-offsets.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c -index 871b826..cd49cb6 100644 ---- a/arch/arm/kernel/asm-offsets.c -+++ b/arch/arm/kernel/asm-offsets.c -@@ -50,7 +50,7 @@ - #error Your compiler is too buggy; it is known to miscompile kernels. - #error Known good compilers: 3.3, 4.x - #endif --#if GCC_VERSION >= 40800 && GCC_VERSION < 40803 -+#if GCC_VERSION >= 40800 && GCC_VERSION < 40802 - #error Your compiler is too buggy; it is known to miscompile kernels - #error and result in filesystem corruption and oopses. - #endif --- -2.1.4 - diff --git a/patches/fixes/0003-ARM-add-soc-memory-barrier-extension.patch b/patches/fixes/0002-ARM-add-soc-memory-barrier-extension.patch similarity index 91% rename from patches/fixes/0003-ARM-add-soc-memory-barrier-extension.patch rename to patches/fixes/0002-ARM-add-soc-memory-barrier-extension.patch index a747c448c..36a8b89d4 100644 --- a/patches/fixes/0003-ARM-add-soc-memory-barrier-extension.patch +++ b/patches/fixes/0002-ARM-add-soc-memory-barrier-extension.patch @@ -1,7 +1,7 @@ -From ef294fab776eb7d60b732537c83ee0af4b5add11 Mon Sep 17 00:00:00 2001 +From 99bb95f29b825aa884ffceea493c13e60437cec0 Mon Sep 17 00:00:00 2001 From: Russell King <rmk+kernel@arm.linux.org.uk> Date: Wed, 15 Jul 2015 18:47:23 +0100 -Subject: [PATCH 3/5] ARM: add soc memory barrier extension +Subject: [PATCH 2/4] ARM: add soc memory barrier extension Add an extension to the heavy barrier code to allow a SoC specific memory barrier function to be provided. This is needed for platforms @@ -49,5 +49,5 @@ index ce6c296..1ec8e75 100644 EXPORT_SYMBOL(arm_heavy_mb); #endif -- -2.1.4 +2.5.0 diff --git a/patches/fixes/0004-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch b/patches/fixes/0003-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch similarity index 95% rename from patches/fixes/0004-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch rename to patches/fixes/0003-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch index 89ba09d93..8c52e653b 100644 --- a/patches/fixes/0004-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch +++ b/patches/fixes/0003-Revert-ARM-OMAP4-remove-dead-kconfig-option-OMAP4_ER.patch @@ -1,7 +1,7 @@ -From 5105b22be092b907cf40841b526c87c2595aa430 Mon Sep 17 00:00:00 2001 +From 7964e4a3f703fd8080615b670bbdc37fdf514096 Mon Sep 17 00:00:00 2001 From: Russell King <rmk+kernel@arm.linux.org.uk> Date: Wed, 15 Jul 2015 18:47:29 +0100 -Subject: [PATCH 4/5] Revert "ARM: OMAP4: remove dead kconfig option +Subject: [PATCH 3/4] Revert "ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688" This reverts commit 606da4826b89b044b51e3a84958b802204cfe4c7. @@ -23,10 +23,10 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> 7 files changed, 105 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig -index ecc04ff..2128441 100644 +index 4a023e8..0a58e20 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig -@@ -240,6 +240,27 @@ config OMAP3_SDRC_AC_TIMING +@@ -241,6 +241,27 @@ config OMAP3_SDRC_AC_TIMING wish to say no. Selecting yes without understanding what is going on could result in system crashes; @@ -79,10 +79,10 @@ index cf3cf22..46e2458 100644 * omap_test_timeout - busy-loop, testing a condition * @cond: condition to test until it evaluates to true diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c -index 820dde8..7743e367 100644 +index 9f13e95..1a89999 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c -@@ -306,6 +306,7 @@ void __init am33xx_map_io(void) +@@ -307,6 +307,7 @@ void __init am33xx_map_io(void) void __init omap4_map_io(void) { iotable_init(omap44xx_io_desc, ARRAY_SIZE(omap44xx_io_desc)); @@ -90,7 +90,7 @@ index 820dde8..7743e367 100644 } #endif -@@ -313,6 +314,7 @@ void __init omap4_map_io(void) +@@ -314,6 +315,7 @@ void __init omap4_map_io(void) void __init omap5_map_io(void) { iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc)); @@ -213,5 +213,5 @@ index ad1bb94..b84a012 100644 ENTRY(omap_do_wfi) stmfd sp!, {lr} -- -2.1.4 +2.5.0 diff --git a/patches/fixes/0005-ARM-omap2-restore-OMAP4-barrier-behaviour.patch b/patches/fixes/0004-ARM-omap2-restore-OMAP4-barrier-behaviour.patch similarity index 97% rename from patches/fixes/0005-ARM-omap2-restore-OMAP4-barrier-behaviour.patch rename to patches/fixes/0004-ARM-omap2-restore-OMAP4-barrier-behaviour.patch index 950103adf..b7c9b3d1f 100644 --- a/patches/fixes/0005-ARM-omap2-restore-OMAP4-barrier-behaviour.patch +++ b/patches/fixes/0004-ARM-omap2-restore-OMAP4-barrier-behaviour.patch @@ -1,7 +1,7 @@ -From f8373670366429766e8c5279b4e8184bef6dc009 Mon Sep 17 00:00:00 2001 +From f2749d7a59fbf51266e914c61b577a0b13f054be Mon Sep 17 00:00:00 2001 From: Russell King <rmk+kernel@arm.linux.org.uk> Date: Wed, 15 Jul 2015 18:47:34 +0100 -Subject: [PATCH 5/5] ARM: omap2: restore OMAP4 barrier behaviour +Subject: [PATCH 4/4] ARM: omap2: restore OMAP4 barrier behaviour Restore the OMAP4 barrier behaviour using the new implementation which allows multiplatform systems to hook into the mb() and wmb() ARM @@ -19,7 +19,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> delete mode 100644 arch/arm/mach-omap2/include/mach/barriers.h diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig -index 2128441..6e14498 100644 +index 0a58e20..d2918cb 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -29,6 +29,7 @@ config ARCH_OMAP4 @@ -38,7 +38,7 @@ index 2128441..6e14498 100644 config SOC_AM33XX bool "TI AM33XX" -@@ -70,6 +72,7 @@ config SOC_DRA7XX +@@ -71,6 +73,7 @@ config SOC_DRA7XX select HAVE_ARM_ARCH_TIMER select IRQ_CROSSBAR select ARM_ERRATA_798181 if SMP @@ -46,7 +46,7 @@ index 2128441..6e14498 100644 config ARCH_OMAP2PLUS bool -@@ -91,6 +94,10 @@ config ARCH_OMAP2PLUS +@@ -92,6 +95,10 @@ config ARCH_OMAP2PLUS help Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 @@ -57,7 +57,7 @@ index 2128441..6e14498 100644 if ARCH_OMAP2PLUS -@@ -240,27 +247,6 @@ config OMAP3_SDRC_AC_TIMING +@@ -241,27 +248,6 @@ config OMAP3_SDRC_AC_TIMING wish to say no. Selecting yes without understanding what is going on could result in system crashes; @@ -331,5 +331,5 @@ index b84a012..9b09d85 100644 /* * Execute an ISB instruction to ensure that all of the -- -2.1.4 +2.5.0 diff --git a/patches/ref_omap2plus_defconfig b/patches/ref_omap2plus_defconfig index 3d792644d..60df6b793 100644 --- a/patches/ref_omap2plus_defconfig +++ b/patches/ref_omap2plus_defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.2.0-rc6 Kernel Configuration +# Linux/arm 4.2.0-rc7 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y diff --git a/tools/bone-config-checker.sh b/tools/bone-config-checker.sh new file mode 100755 index 000000000..5c9346960 --- /dev/null +++ b/tools/bone-config-checker.sh @@ -0,0 +1,224 @@ +#!/bin/sh -e + +DIR=$PWD + +config_enable () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xy" ] ; then + echo "Setting: ${config}=y" + ./scripts/config --enable ${config} + fi +} + +config_disable () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xn" ] ; then + echo "Setting: ${config}=n" + ./scripts/config --disable ${config} + fi +} + +config_module () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xm" ] ; then + echo "Setting: ${config}=m" + ./scripts/config --module ${config} + fi +} + +config_string () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "x${option}" ] ; then + echo "Setting: ${config}=\"${option}\"" + ./scripts/config --set-str ${config} "${option}" + fi +} + +config_value () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "x${option}" ] ; then + echo "Setting: ${config}=${option}" + ./scripts/config --set-val ${config} ${option} + fi +} + +cd ${DIR}/KERNEL/ + +# +# General setup +# +config="CONFIG_KERNEL_XZ" ; config_disable +config="CONFIG_KERNEL_LZO" ; config_enable + +# +# CPU Core family selection +# +config="CONFIG_ARCH_MXC" ; config_disable + +# +# OMAP Feature Selections +# +config="CONFIG_ARCH_OMAP3" ; config_disable +config="CONFIG_ARCH_OMAP4" ; config_disable +config="CONFIG_SOC_OMAP5" ; config_disable +config="CONFIG_SOC_AM43XX" ; config_disable +config="CONFIG_SOC_DRA7XX" ; config_disable + +# +# OMAP Legacy Platform Data Board Type +# +config="CONFIG_ARCH_SUNXI" ; config_disable +config="CONFIG_ARCH_TEGRA" ; config_disable + +# +# Processor Features +# +config="CONFIG_PL310_ERRATA_769419" ; config_disable + +# +# Kernel Features +# +config="CONFIG_SMP" ; config_disable +config="CONFIG_THUMB2_KERNEL" ; config_enable + +# +# Serial drivers +# +config="CONFIG_SERIAL_8250_DMA" ; config_disable +config="CONFIG_SERIAL_8250_OMAP" ; config_enable +config="CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP" ; config_enable + +# +# Non-8250 serial port support +# +config="CONFIG_SERIAL_OMAP" ; config_disable +config="CONFIG_SERIAL_FSL_LPUART" ; config_disable + +# +# Input Device Drivers +# +config="CONFIG_TOUCHSCREEN_EDT_FT5X06" ; config_enable + +# +# Native drivers +# +config="CONFIG_IMX_THERMAL" ; config_disable + +# +# Watchdog Device Drivers +# +config="CONFIG_DA9052_WATCHDOG" ; config_disable + +# +# Miscellaneous USB options +# +#http://bugs.elinux.org/issues/127 +config="CONFIG_USB_OTG" ; config_disable + +# +# USB Imaging devices +# +config="CONFIG_USB_MUSB_TUSB6010" ; config_disable +config="CONFIG_USB_MUSB_OMAP2PLUS" ; config_disable +config="CONFIG_USB_MUSB_AM35X" ; config_disable +config="CONFIG_USB_MUSB_DSPS" ; config_enable +config="CONFIG_USB_MUSB_UX500" ; config_disable +config="CONFIG_USB_TI_CPPI41_DMA" ; config_disable +config="CONFIG_MUSB_PIO_ONLY" ; config_enable + +# +# USB Peripheral Controller +# +config="CONFIG_USB_LIBCOMPOSITE" ; config_module +config="CONFIG_USB_F_ACM" ; config_module +config="CONFIG_USB_F_SS_LB" ; config_module +config="CONFIG_USB_U_SERIAL" ; config_module +config="CONFIG_USB_U_ETHER" ; config_module +config="CONFIG_USB_F_SERIAL" ; config_module +config="CONFIG_USB_F_OBEX" ; config_module +config="CONFIG_USB_F_NCM" ; config_module +config="CONFIG_USB_F_ECM" ; config_module +config="CONFIG_USB_F_PHONET" ; config_module +config="CONFIG_USB_F_SUBSET" ; config_module +config="CONFIG_USB_F_RNDIS" ; config_module +config="CONFIG_USB_F_MASS_STORAGE" ; config_module +config="CONFIG_USB_F_FS" ; config_module +config="CONFIG_USB_CONFIGFS" ; config_module +config="CONFIG_USB_CONFIGFS_SERIAL" ; config_enable +config="CONFIG_USB_CONFIGFS_ACM" ; config_enable +config="CONFIG_USB_CONFIGFS_OBEX" ; config_enable +config="CONFIG_USB_CONFIGFS_NCM" ; config_enable +config="CONFIG_USB_CONFIGFS_ECM" ; config_enable +config="CONFIG_USB_CONFIGFS_ECM_SUBSET" ; config_enable +config="CONFIG_USB_CONFIGFS_RNDIS" ; config_enable +config="CONFIG_USB_CONFIGFS_PHONET" ; config_disable +config="CONFIG_USB_CONFIGFS_MASS_STORAGE" ; config_disable +config="CONFIG_USB_CONFIGFS_F_LB_SS" ; config_disable +config="CONFIG_USB_CONFIGFS_F_FS" ; config_disable +config="CONFIG_USB_ZERO" ; config_module +config="CONFIG_USB_AUDIO" ; config_module +config="CONFIG_GADGET_UAC1" ; config_disable +config="CONFIG_USB_ETH" ; config_module +config="CONFIG_USB_ETH_RNDIS" ; config_enable +config="CONFIG_USB_ETH_EEM" ; config_disable +config="CONFIG_USB_G_NCM" ; config_module +config="CONFIG_USB_GADGETFS" ; config_module +config="CONFIG_USB_FUNCTIONFS" ; config_module +config="CONFIG_USB_FUNCTIONFS_ETH" ; config_enable +config="CONFIG_USB_FUNCTIONFS_RNDIS" ; config_enable +config="CONFIG_USB_FUNCTIONFS_GENERIC" ; config_enable +config="CONFIG_USB_MASS_STORAGE" ; config_module +config="CONFIG_USB_GADGET_TARGET" ; config_disable +config="CONFIG_USB_G_SERIAL" ; config_module +config="CONFIG_USB_MIDI_GADGET" ; config_module +config="CONFIG_USB_G_PRINTER" ; config_module +config="CONFIG_USB_CDC_COMPOSITE" ; config_module +config="CONFIG_USB_G_NOKIA" ; config_module +config="CONFIG_USB_G_ACM_MS" ; config_module +config="CONFIG_USB_G_MULTI" ; config_module +config="CONFIG_USB_G_MULTI_RNDIS" ; config_enable +config="CONFIG_USB_G_MULTI_CDC" ; config_enable +config="CONFIG_USB_G_HID" ; config_module +config="CONFIG_USB_G_DBGP" ; config_module +config="CONFIG_USB_G_DBGP_PRINTK" ; config_disable +config="CONFIG_USB_G_DBGP_SERIAL" ; config_enable +config="CONFIG_USB_G_WEBCAM" ; config_disable + +# +# on-CPU RTC drivers +# +config="CONFIG_RTC_DRV_OMAP" ; config_enable + +# +# Graphics support +# +config="CONFIG_DRM_OMAP" ; config_disable +config="CONFIG_DRM_IMX" ; config_disable + +#breaks tilcd + tfp410... +config="CONFIG_OMAP2_DSS" ; config_disable + +#capes: +config="CONFIG_CAPE_BONE_ARGUS" ; config_enable +config="CONFIG_BEAGLEBONE_PINMUX_HELPER" ; config_enable + +#Reset Controller: +config="CONFIG_STMMAC_ETH" ; config_disable +config="CONFIG_RESET_CONTROLLER" ; config_disable + +#overlay bugs... + +#These have to be modules, to work... +config="CONFIG_DRM_I2C_NXP_TDA998X" ; config_module +config="CONFIG_DRM_TILCDC" ; config_module +config="CONFIG_DRM_UDL" ; config_module +config="CONFIG_BACKLIGHT_PWM" ; config_module +config="CONFIG_BACKLIGHT_GPIO" ; config_module +config="CONFIG_LEDS_GPIO" ; config_module + +# +# Pin controllers +# +config="CONFIG_GPIO_OF_HELPER" ; config_enable + +# diff --git a/tools/config-checker.sh b/tools/config-checker.sh new file mode 100755 index 000000000..8aa1cf44c --- /dev/null +++ b/tools/config-checker.sh @@ -0,0 +1,1552 @@ +#!/bin/sh -e + +DIR=$PWD + +config_enable () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xy" ] ; then + echo "Setting: ${config}=y" + ./scripts/config --enable ${config} + fi +} + +config_disable () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xn" ] ; then + echo "Setting: ${config}=n" + ./scripts/config --disable ${config} + fi +} + +config_module () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "xm" ] ; then + echo "Setting: ${config}=m" + ./scripts/config --module ${config} + fi +} + +config_string () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "x${option}" ] ; then + echo "Setting: ${config}=\"${option}\"" + ./scripts/config --set-str ${config} "${option}" + fi +} + +config_value () { + ret=$(./scripts/config --state ${config}) + if [ ! "x${ret}" = "x${option}" ] ; then + echo "Setting: ${config}=${option}" + ./scripts/config --set-val ${config} ${option} + fi +} + +cd ${DIR}/KERNEL/ + +# +# General setup +# +config="CONFIG_USELIB" ; config_enable + +# +# RCU Subsystem +# +config="CONFIG_IKCONFIG" ; config_enable +config="CONFIG_IKCONFIG_PROC" ; config_enable +config="CONFIG_LOG_BUF_SHIFT" ; option="18" ; config_value +config="CONFIG_SYSFS_SYSCALL" ; config_enable +config="CONFIG_SYSCTL_SYSCALL" ; config_enable +config="CONFIG_KALLSYMS_ALL" ; config_enable +config="CONFIG_BPF_SYSCALL" ; config_enable +config="CONFIG_EMBEDDED" ; config_enable + +# +# Kernel Performance Events And Counters +# +config="CONFIG_OPROFILE" ; config_enable +config="CONFIG_SECCOMP_FILTER" ; config_enable + +# +# CPU Core family selection +# +config="CONFIG_ARCH_VIRT" ; config_disable +config="CONFIG_ARCH_MVEBU" ; config_disable +config="CONFIG_ARCH_HIGHBANK" ; config_disable + +# +# Device tree only +# +config="CONFIG_SOC_IMX50" ; config_enable +config="CONFIG_SOC_IMX6SL" ; config_enable +config="CONFIG_SOC_IMX6SX" ; config_enable +config="CONFIG_SOC_IMX7D" ; config_enable +config="CONFIG_SOC_LS1021A" ; config_enable + +# +# Cortex-A/Cortex-M asymmetric multiprocessing platforms +# +config="CONFIG_SOC_VF610" ; config_enable +config="CONFIG_WAND_RFKILL" ; config_enable + +# +# OMAP Feature Selections +# +config="CONFIG_POWER_AVS_OMAP" ; config_enable +config="CONFIG_POWER_AVS_OMAP_CLASS3" ; config_enable +config="CONFIG_OMAP_MUX_DEBUG" ; config_enable + +# +# TI OMAP/AM/DM/DRA Family +# +config="CONFIG_SOC_AM43XX" ; config_enable +config="CONFIG_SOC_DRA7XX" ; config_enable + +# +# OMAP Legacy Platform Data Board Type +# +config="CONFIG_MACH_OMAP_LDP" ; config_disable +config="CONFIG_MACH_OMAP3530_LV_SOM" ; config_disable +config="CONFIG_MACH_OMAP3_TORPEDO" ; config_disable +config="CONFIG_MACH_OMAP3517EVM" ; config_disable +config="CONFIG_MACH_OMAP3_PANDORA" ; config_disable +config="CONFIG_MACH_NOKIA_RX51" ; config_disable +config="CONFIG_ARCH_SOCFPGA" ; config_disable +config="CONFIG_ARCH_EXYNOS" ; config_disable +config="CONFIG_ARCH_VEXPRESS" ; config_disable +config="CONFIG_ARCH_WM8850" ; config_disable + +# +# Processor Features +# +config="CONFIG_PL310_ERRATA_753970" ; config_disable +config="CONFIG_ARM_ERRATA_754327" ; config_disable +config="CONFIG_ARM_ERRATA_773022" ; config_disable + +# +# Bus support +# +config="CONFIG_PCI" ; config_disable +config="CONFIG_PCI_SYSCALL" ; config_disable + +#first check.. +#exit + +# +# Kernel Features +# +config="CONFIG_HZ_100" ; config_enable +config="CONFIG_HZ_250" ; config_disable +config="CONFIG_HIGHPTE" ; config_enable +config="CONFIG_MEMORY_ISOLATION" ; config_enable +config="CONFIG_CMA" ; config_enable +config="CONFIG_CMA_DEBUG" ; config_disable +config="CONFIG_SECCOMP" ; config_enable +config="CONFIG_XEN" ; config_disable + +# +# Boot options +# +config="CONFIG_ARM_APPENDED_DTB" ; config_disable + +# +# CPU Frequency scaling +# +config="CONFIG_CPU_FREQ_STAT" ; config_enable +config="CONFIG_CPU_FREQ_STAT_DETAILS" ; config_enable +config="CONFIG_CPU_FREQ_GOV_POWERSAVE" ; config_enable +config="CONFIG_CPU_FREQ_GOV_USERSPACE" ; config_enable +config="CONFIG_CPU_FREQ_GOV_ONDEMAND" ; config_enable +config="CONFIG_CPU_FREQ_GOV_CONSERVATIVE" ; config_enable + +# +# CPU frequency scaling drivers +# +config="CONFIG_CPUFREQ_DT" ; config_enable +config="CONFIG_CPUFREQ_VOLTDM" ; config_enable +config="CONFIG_ARM_IMX6Q_CPUFREQ" ; config_enable +config="CONFIG_ARM_OMAP2PLUS_CPUFREQ" ; config_disable + +# +# At least one emulation must be selected +# +config="CONFIG_KERNEL_MODE_NEON" ; config_enable + +# +# Power management options +# +config="CONFIG_PM_AUTOSLEEP" ; config_enable +config="CONFIG_PM_WAKELOCKS" ; config_enable +config="CONFIG_PM_WAKELOCKS_GC" ; config_enable + +# +# Networking options +# +config="CONFIG_IP_PNP" ; config_enable +config="CONFIG_IP_PNP_DHCP" ; config_enable +config="CONFIG_IP_PNP_BOOTP" ; config_enable +config="CONFIG_IP_PNP_RARP" ; config_enable +config="CONFIG_NETLABEL" ; config_enable + +# +# IP: Netfilter Configuration +# +config="CONFIG_NFT_REDIR_IPV4" ; config_module + +# +# IPv6: Netfilter Configuration +# +config="CONFIG_NFT_REDIR_IPV6" ; config_module + +# +# DCCP Kernel Hacking +# +config="CONFIG_MAC802154" ; config_module + +# +# Classification +# +config="CONFIG_HSR" ; config_module + +# +# CAN Device Drivers +# + +config="CONFIG_CAN_C_CAN" ; config_module +config="CONFIG_CAN_C_CAN_PLATFORM" ; config_module + +# +# CAN SPI interfaces +# +config="CONFIG_CAN_MCP251X" ; config_module + +# +# Bluetooth device drivers +# +config="CONFIG_BT_HCIUART" ; config_module +config="CONFIG_BT_HCIUART_H4" ; config_enable +config="CONFIG_BT_HCIUART_BCSP" ; config_enable +config="CONFIG_BT_HCIUART_ATH3K" ; config_enable +config="CONFIG_BT_HCIUART_LL" ; config_enable +config="CONFIG_BT_HCIUART_3WIRE" ; config_enable +config="CONFIG_BT_HCIUART_BCM" ; config_enable +config="CONFIG_BT_HCIBCM203X" ; config_module +config="CONFIG_BT_HCIBPA10X" ; config_module +config="CONFIG_BT_HCIBFUSB" ; config_module +config="CONFIG_NFC_NCI" ; config_module +config="CONFIG_NFC_NCI_SPI" ; config_enable +config="CONFIG_NFC_HCI" ; config_module +config="CONFIG_NFC_SHDLC" ; config_enable + +# +# Near Field Communication (NFC) devices +# +config="CONFIG_NFC_WILINK" ; config_module +config="CONFIG_NFC_PN544" ; config_module +config="CONFIG_NFC_PN544_I2C" ; config_module +config="CONFIG_NFC_MICROREAD" ; config_module +config="CONFIG_NFC_MICROREAD_I2C" ; config_module + +# +# Generic Driver Options +# +config="CONFIG_UEVENT_HELPER" ; config_enable +config="CONFIG_DEVTMPFS_MOUNT" ; config_enable + +config="CONFIG_FIRMWARE_IN_KERNEL" ; config_enable +config="CONFIG_EXTRA_FIRMWARE" ; option="am335x-pm-firmware.elf am335x-bone-scale-data.bin am335x-evm-scale-data.bin am43x-evm-scale-data.bin" ; config_string +config="CONFIG_EXTRA_FIRMWARE_DIR" ; option="firmware" ; config_string + +config="CONFIG_DMA_CMA" ; config_enable +config="CONFIG_CMA_SIZE_MBYTES" ; option=24 ; config_value + +# +# Bus devices +# +config="CONFIG_OMAP_OCP2SCP" ; config_enable + +# +# Device Tree and Open Firmware support +# +config="CONFIG_OF_CONFIGFS" ; config_enable +config="CONFIG_PARPORT" ; config_disable + +# +# Misc devices +# +config="CONFIG_BONE_CAPEMGR" ; config_enable +config="CONFIG_TIEQEP" ; config_module + +# +# EEPROM support +# +config="CONFIG_EEPROM_AT24" ; config_enable +config="CONFIG_EEPROM_AT25" ; config_enable +config="CONFIG_EEPROM_93XX46" ; config_module + +# +# Texas Instruments shared transport line discipline +# +config="CONFIG_SENSORS_LIS3_SPI" ; config_module + +# +# Argus cape driver for beaglebone black +# +config="CONFIG_CAPE_BONE_ARGUS" ; config_enable + +# +# SCSI device support +# +config="CONFIG_SCSI_MOD" ; config_enable +config="CONFIG_SCSI" ; config_enable +config="CONFIG_SCSI_PROC_FS" ; config_enable + +# +# SCSI support type (disk, tape, CD-ROM) +# +config="CONFIG_BLK_DEV_SD" ; config_enable + +# +# SCSI Transports +# +config="CONFIG_ATA" ; config_enable + +# +# Controllers with non-SFF native interface +# +config="CONFIG_SATA_AHCI_PLATFORM" ; config_enable +config="CONFIG_AHCI_IMX" ; config_enable +config="CONFIG_AHCI_SUNXI" ; config_enable +config="CONFIG_AHCI_TEGRA" ; config_enable + +# +# PATA SFF controllers with BMDMA +# +config="CONFIG_PATA_IMX" ; config_enable + +# +# PIO-only SFF controllers +# +config="CONFIG_PATA_PLATFORM" ; config_enable +config="CONFIG_PATA_OF_PLATFORM" ; config_enable + +# +# Generic fallback / legacy drivers +# +config="CONFIG_MII" ; config_enable + +# +# Distributed Switch Architecture drivers +# +config="CONFIG_SUN4I_EMAC" ; config_enable +config="CONFIG_MVMDIO" ; config_disable +config="CONFIG_KS8851" ; config_module +config="CONFIG_NET_VENDOR_SEEQ" ; config_enable +config="CONFIG_STMMAC_ETH" ; config_enable +config="CONFIG_STMMAC_PLATFORM" ; config_enable +config="CONFIG_DWMAC_GENERIC" ; config_enable +config="CONFIG_DWMAC_ROCKCHIP" ; config_enable +config="CONFIG_DWMAC_SOCFPGA" ; config_disable +config="CONFIG_DWMAC_SUNXI" ; config_enable +config="CONFIG_TI_DAVINCI_EMAC" ; config_enable +config="CONFIG_TI_DAVINCI_MDIO" ; config_enable +config="CONFIG_TI_DAVINCI_CPDMA" ; config_enable +config="CONFIG_TI_CPSW_ALE" ; config_enable +config="CONFIG_TI_CPSW" ; config_enable +config="CONFIG_TI_CPTS" ; config_enable +config="CONFIG_VIA_VELOCITY" ; config_disable + +# +# MII PHY device drivers +# +config="CONFIG_SMSC_PHY" ; config_enable +config="CONFIG_MICREL_PHY" ; config_enable + +# +# USB Network Adapters +# +config="CONFIG_USB_ZD1201" ; config_module +config="CONFIG_WCN36XX" ; config_module +config="CONFIG_WCN36XX_DEBUGFS" ; config_disable +config="CONFIG_LIBERTAS_SPI" ; config_module +config="CONFIG_WL_MEDIATEK" ; config_enable +config="CONFIG_MT7601U" ; config_module +config="CONFIG_MWIFIEX" ; config_module +config="CONFIG_MWIFIEX_SDIO" ; config_module +config="CONFIG_MWIFIEX_USB" ; config_module + +# +# WiMAX Wireless Broadband devices +# +config="CONFIG_IEEE802154_FAKELB" ; config_module +config="CONFIG_IEEE802154_AT86RF230" ; config_module +config="CONFIG_IEEE802154_MRF24J40" ; config_module +config="CONFIG_IEEE802154_CC2520" ; config_module +config="CONFIG_IEEE802154_ATUSB" ; config_module + +# +# Input Device Drivers +# +config="CONFIG_KEYBOARD_ADP5589" ; config_module +config="CONFIG_KEYBOARD_QT1070" ; config_module +config="CONFIG_KEYBOARD_LKKBD" ; config_module +config="CONFIG_KEYBOARD_GPIO_POLLED" ; config_module +config="CONFIG_KEYBOARD_TCA6416" ; config_module +config="CONFIG_KEYBOARD_TCA8418" ; config_module +config="CONFIG_KEYBOARD_MATRIX" ; config_module +config="CONFIG_KEYBOARD_LM8333" ; config_module +config="CONFIG_KEYBOARD_MCS" ; config_module +config="CONFIG_KEYBOARD_MPR121" ; config_module +config="CONFIG_KEYBOARD_NEWTON" ; config_module +config="CONFIG_KEYBOARD_SAMSUNG" ; config_module +config="CONFIG_KEYBOARD_SUNKBD" ; config_module +config="CONFIG_KEYBOARD_SUN4I_LRADC" ; config_module +config="CONFIG_KEYBOARD_XTKBD" ; config_module +config="CONFIG_KEYBOARD_CAP11XX" ; config_module +config="CONFIG_KEYBOARD_BCM" ; config_module + +config="CONFIG_MOUSE_PS2_TOUCHKIT" ; config_enable +config="CONFIG_MOUSE_SERIAL" ; config_module +config="CONFIG_MOUSE_BCM5974" ; config_module +config="CONFIG_MOUSE_CYAPA" ; config_module +config="CONFIG_MOUSE_ELAN_I2C" ; config_module +config="CONFIG_MOUSE_VSXXXAA" ; config_module +config="CONFIG_MOUSE_GPIO" ; config_module + +config="CONFIG_INPUT_JOYSTICK" ; config_enable +config="CONFIG_JOYSTICK_ANALOG" ; config_module +config="CONFIG_JOYSTICK_A3D" ; config_module +config="CONFIG_JOYSTICK_ADI" ; config_module +config="CONFIG_JOYSTICK_COBRA" ; config_module +config="CONFIG_JOYSTICK_GF2K" ; config_module +config="CONFIG_JOYSTICK_GRIP" ; config_module +config="CONFIG_JOYSTICK_GRIP_MP" ; config_module +config="CONFIG_JOYSTICK_GUILLEMOT" ; config_module +config="CONFIG_JOYSTICK_INTERACT" ; config_module +config="CONFIG_JOYSTICK_SIDEWINDER" ; config_module +config="CONFIG_JOYSTICK_TMDC" ; config_module +config="CONFIG_JOYSTICK_IFORCE" ; config_module +config="CONFIG_JOYSTICK_IFORCE_USB" ; config_enable +config="CONFIG_JOYSTICK_IFORCE_232" ; config_enable +config="CONFIG_JOYSTICK_WARRIOR" ; config_module +config="CONFIG_JOYSTICK_MAGELLAN" ; config_module +config="CONFIG_JOYSTICK_SPACEORB" ; config_module +config="CONFIG_JOYSTICK_SPACEBALL" ; config_module +config="CONFIG_JOYSTICK_STINGER" ; config_module +config="CONFIG_JOYSTICK_TWIDJOY" ; config_module +config="CONFIG_JOYSTICK_ZHENHUA" ; config_module +config="CONFIG_JOYSTICK_AS5011" ; config_module +config="CONFIG_JOYSTICK_JOYDUMP" ; config_module +config="CONFIG_JOYSTICK_XPAD" ; config_module +config="CONFIG_JOYSTICK_XPAD_FF" ; config_enable +config="CONFIG_JOYSTICK_XPAD_LEDS" ; config_enable + +#exit + +config="CONFIG_TOUCHSCREEN_AD7879_SPI" ; config_module +config="CONFIG_TOUCHSCREEN_AR1021_I2C" ; config_module +config="CONFIG_TOUCHSCREEN_AUO_PIXCIR" ; config_module +config="CONFIG_TOUCHSCREEN_BU21013" ; config_module +config="CONFIG_TOUCHSCREEN_CHIPONE_ICN8318" ; config_module +config="CONFIG_TOUCHSCREEN_CY8CTMG110" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP_CORE" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP_I2C" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP_SPI" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP4_CORE" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP4_I2C" ; config_module +config="CONFIG_TOUCHSCREEN_CYTTSP4_SPI" ; config_module +config="CONFIG_TOUCHSCREEN_DA9052" ; config_module +config="CONFIG_TOUCHSCREEN_EETI" ; config_module +config="CONFIG_TOUCHSCREEN_EGALAX" ; config_module +config="CONFIG_TOUCHSCREEN_GOODIX" ; config_module +config="CONFIG_TOUCHSCREEN_ILI210X" ; config_module +config="CONFIG_TOUCHSCREEN_ELAN" ; config_module +config="CONFIG_TOUCHSCREEN_WACOM_I2C" ; config_module +config="CONFIG_TOUCHSCREEN_MAX11801" ; config_module +config="CONFIG_TOUCHSCREEN_MMS114" ; config_module +config="CONFIG_TOUCHSCREEN_EDT_FT5X06" ; config_module +config="CONFIG_TOUCHSCREEN_PIXCIR" ; config_module +config="CONFIG_TOUCHSCREEN_WDT87XX_I2C" ; config_module +config="CONFIG_TOUCHSCREEN_TSC_SERIO" ; config_module +config="CONFIG_TOUCHSCREEN_ST1232" ; config_module +config="CONFIG_TOUCHSCREEN_SX8654" ; config_module +config="CONFIG_TOUCHSCREEN_ZFORCE" ; config_module + +config="CONFIG_INPUT_AD714X" ; config_module +config="CONFIG_INPUT_AD714X_I2C" ; config_module +config="CONFIG_INPUT_AD714X_SPI" ; config_module +config="CONFIG_INPUT_BMA150" ; config_module +config="CONFIG_INPUT_E3X0_BUTTON" ; config_module +config="CONFIG_INPUT_MC13783_PWRBUTTON" ; config_module +config="CONFIG_INPUT_MPU3050" ; config_module +config="CONFIG_INPUT_GP2A" ; config_module +config="CONFIG_INPUT_GPIO_TILT_POLLED" ; config_module +config="CONFIG_INPUT_KXTJ9" ; config_module +config="CONFIG_INPUT_KXTJ9_POLLED_MODE" ; config_enable +config="CONFIG_INPUT_REGULATOR_HAPTIC" ; config_module +config="CONFIG_INPUT_TPS65218_PWRBUTTON" ; config_enable +config="CONFIG_INPUT_AXP20X_PEK" ; config_enable +config="CONFIG_INPUT_TWL4030_PWRBUTTON" ; config_enable +config="CONFIG_INPUT_TWL4030_VIBRA" ; config_enable +config="CONFIG_INPUT_TWL6040_VIBRA" ; config_enable +config="CONFIG_INPUT_UINPUT" ; config_enable +config="CONFIG_INPUT_PALMAS_PWRBUTTON" ; config_enable +config="CONFIG_INPUT_PCF8574" ; config_module +config="CONFIG_INPUT_GPIO_ROTARY_ENCODER" ; config_module +config="CONFIG_INPUT_DA9052_ONKEY" ; config_module +config="CONFIG_INPUT_DA9055_ONKEY" ; config_module +config="CONFIG_INPUT_ADXL34X" ; config_module +config="CONFIG_INPUT_ADXL34X_I2C" ; config_module +config="CONFIG_INPUT_ADXL34X_SPI" ; config_module +config="CONFIG_INPUT_IMS_PCU" ; config_module +config="CONFIG_INPUT_CMA3000" ; config_module +config="CONFIG_INPUT_CMA3000_I2C" ; config_module + +config="CONFIG_INPUT_DRV260X_HAPTICS" ; config_module +config="CONFIG_INPUT_DRV2667_HAPTICS" ; config_module + +#exit + +# +# Character devices +# +config="CONFIG_DEVKMEM" ; config_enable + +# +# Serial drivers +# +config="CONFIG_SERIAL_8250_NR_UARTS" ; option="6" ; config_value +config="CONFIG_SERIAL_8250_RUNTIME_UARTS" ; option="6" ; config_value +config="CONFIG_SERIAL_8250_OMAP" ; config_disable +#config="CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP" ; config_enable + +# +# Non-8250 serial port support +# +#config="CONFIG_SERIAL_OMAP" ; config_disable + +config="CONFIG_SERIAL_ARC" ; config_disable +config="CONFIG_SERIAL_FSL_LPUART" ; config_enable +config="CONFIG_SERIAL_FSL_LPUART_CONSOLE" ; config_enable +config="CONFIG_TCG_TPM" ; config_module +config="CONFIG_TCG_TIS_I2C_ATMEL" ; config_module + +# +# I2C support +# +config="CONFIG_I2C_CHARDEV" ; config_enable + +# +# Multiplexer I2C Chip support +# +config="CONFIG_I2C_MUX_PCA954x" ; config_enable + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +config="CONFIG_I2C_IMX" ; config_enable +config="CONFIG_I2C_MV64XXX" ; config_enable +config="CONFIG_I2C_SUN6I_P2WI" ; config_enable + +# +# External I2C/SMBus adapter drivers +# +config="CONFIG_I2C_DLN2" ; config_module + +# +# SPI Master Controller Drivers +# +config="CONFIG_SPI_DLN2" ; config_module +config="CONFIG_SPI_TEGRA114" ; config_module +config="CONFIG_SPI_TEGRA20_SLINK" ; config_module + +# +# PPS clients support +# +config="CONFIG_PPS_CLIENT_GPIO" ; config_module + +# +# Pin controllers +# +config="CONFIG_PINCTRL_TI_IODELAY" ; config_enable +config="CONFIG_GPIO_MAX730X" ; config_module + +# +# I2C GPIO expanders: +# +config="CONFIG_GPIO_ADP5588" ; config_module +config="CONFIG_GPIO_ADNP" ; config_module +config="CONFIG_GPIO_MAX7300" ; config_module +config="CONFIG_GPIO_MAX732X" ; config_module +config="CONFIG_GPIO_PCF857X" ; config_module +config="CONFIG_GPIO_SX150X" ; config_enable + +# +# MFD GPIO expanders +# +config="CONFIG_GPIO_DA9052" ; config_enable +config="CONFIG_GPIO_DA9055" ; config_enable +config="CONFIG_GPIO_DLN2" ; config_module +config="CONFIG_GPIO_TPS65910" ; config_enable + +# +# SPI GPIO expanders: +# +config="CONFIG_GPIO_74X164" ; config_module +config="CONFIG_GPIO_MAX7301" ; config_module +config="CONFIG_GPIO_MCP23S08" ; config_module +config="CONFIG_GPIO_MC33880" ; config_module + +# +# 1-wire Bus Masters +# +config="CONFIG_W1_MASTER_MXC" ; config_module +config="CONFIG_W1_MASTER_DS1WM" ; config_module +config="CONFIG_W1_MASTER_GPIO" ; config_module +config="CONFIG_HDQ_MASTER_OMAP" ; config_module + +# +# 1-wire Slaves +# +config="CONFIG_W1_SLAVE_DS2408" ; config_module +config="CONFIG_W1_SLAVE_DS2408_READBACK" ; config_enable +config="CONFIG_W1_SLAVE_DS2413" ; config_module +config="CONFIG_W1_SLAVE_DS2406" ; config_module +config="CONFIG_W1_SLAVE_DS2423" ; config_module +config="CONFIG_W1_SLAVE_DS2433_CRC" ; config_enable +config="CONFIG_W1_SLAVE_DS2760" ; config_module +config="CONFIG_W1_SLAVE_DS2780" ; config_module +config="CONFIG_W1_SLAVE_DS2781" ; config_module +config="CONFIG_W1_SLAVE_DS28E04" ; config_module +config="CONFIG_GENERIC_ADC_BATTERY" ; config_module +config="CONFIG_BATTERY_DA9052" ; config_module +config="CONFIG_AXP288_FUEL_GAUGE" ; config_module +config="CONFIG_CHARGER_GPIO" ; config_module +config="CONFIG_POWER_RESET_GPIO_RESTART" ; config_enable +config="CONFIG_POWER_RESET_IMX" ; config_enable +config="CONFIG_POWER_RESET_SYSCON" ; config_enable +config="CONFIG_POWER_RESET_SYSCON_POWEROFF" ; config_enable +config="CONFIG_POWER_AVS" ; config_enable + +# +# Voltage Domain Framework Drivers +# +config="CONFIG_VOLTAGE_DOMAIN_OMAP" ; config_enable + +# +# Native drivers +# +config="CONFIG_SENSORS_AD7314" ; config_module +config="CONFIG_SENSORS_ADM1021" ; config_module +config="CONFIG_SENSORS_ADM1025" ; config_module +config="CONFIG_SENSORS_ADM1026" ; config_module +config="CONFIG_SENSORS_ADM1031" ; config_module +config="CONFIG_SENSORS_ADT7X10" ; config_module +config="CONFIG_SENSORS_ADT7310" ; config_module +config="CONFIG_SENSORS_ADT7410" ; config_module +config="CONFIG_SENSORS_DS1621" ; config_module +config="CONFIG_SENSORS_DA9052_ADC" ; config_module +config="CONFIG_SENSORS_DA9055" ; config_module +config="CONFIG_SENSORS_F71805F" ; config_module +config="CONFIG_SENSORS_GL518SM" ; config_module +config="CONFIG_SENSORS_GL520SM" ; config_module +config="CONFIG_SENSORS_GPIO_FAN" ; config_enable +config="CONFIG_SENSORS_HIH6130" ; config_module +config="CONFIG_SENSORS_IIO_HWMON" ; config_module +config="CONFIG_SENSORS_IT87" ; config_module +config="CONFIG_SENSORS_POWR1220" ; config_module +config="CONFIG_SENSORS_LTC2945" ; config_module +config="CONFIG_SENSORS_LTC4222" ; config_module +config="CONFIG_SENSORS_LTC4260" ; config_module +config="CONFIG_SENSORS_MAX1619" ; config_module +config="CONFIG_SENSORS_MAX197" ; config_module +config="CONFIG_SENSORS_MAX6697" ; config_module +config="CONFIG_SENSORS_HTU21" ; config_module +config="CONFIG_SENSORS_MCP3021" ; config_module +config="CONFIG_SENSORS_LM63" ; config_module +config="CONFIG_SENSORS_LM75" ; config_module +config="CONFIG_SENSORS_LM77" ; config_module +config="CONFIG_SENSORS_LM78" ; config_module +config="CONFIG_SENSORS_LM80" ; config_module +config="CONFIG_SENSORS_LM83" ; config_module +config="CONFIG_SENSORS_LM85" ; config_module +config="CONFIG_SENSORS_LM87" ; config_module +config="CONFIG_SENSORS_LM90" ; config_module +config="CONFIG_SENSORS_LM92" ; config_module +config="CONFIG_SENSORS_LM95234" ; config_module +config="CONFIG_SENSORS_PC87360" ; config_module +config="CONFIG_SENSORS_NCT6683" ; config_module +config="CONFIG_SENSORS_NCT7802" ; config_module +config="CONFIG_SENSORS_NCT7904" ; config_module +config="CONFIG_SENSORS_PCF8591" ; config_module + +config="CONFIG_PMBUS" ; config_module +config="CONFIG_SENSORS_PMBUS" ; config_module +config="CONFIG_SENSORS_ADM1275" ; config_module +config="CONFIG_SENSORS_LM25066" ; config_module +config="CONFIG_SENSORS_LTC2978" ; config_module +config="CONFIG_SENSORS_LTC2978_REGULATOR" ; config_enable +config="CONFIG_SENSORS_MAX16064" ; config_module +config="CONFIG_SENSORS_MAX34440" ; config_module +config="CONFIG_SENSORS_MAX8688" ; config_module +config="CONFIG_SENSORS_TPS40422" ; config_module +config="CONFIG_SENSORS_UCD9000" ; config_module +config="CONFIG_SENSORS_UCD9200" ; config_module +config="CONFIG_SENSORS_ZL6100" ; config_module +config="CONFIG_SENSORS_PWM_FAN" ; config_module +config="CONFIG_SENSORS_SHT15" ; config_module +config="CONFIG_SENSORS_SHTC1" ; config_module +config="CONFIG_SENSORS_SMSC47M1" ; config_module +config="CONFIG_SENSORS_SMSC47B397" ; config_module +config="CONFIG_SENSORS_SCH5636" ; config_module +config="CONFIG_SENSORS_ADC128D818" ; config_module +config="CONFIG_SENSORS_INA209" ; config_module +config="CONFIG_SENSORS_INA2XX" ; config_module +config="CONFIG_SENSORS_TMP103" ; config_module +config="CONFIG_SENSORS_TWL4030_MADC" ; config_module +config="CONFIG_SENSORS_W83781D" ; config_module +config="CONFIG_SENSORS_W83L785TS" ; config_module +config="CONFIG_SENSORS_W83627HF" ; config_module +config="CONFIG_THERMAL_GOV_BANG_BANG" ; config_enable +config="CONFIG_CLOCK_THERMAL" ; config_enable +config="CONFIG_IMX_THERMAL" ; config_enable +config="CONFIG_TEGRA_SOCTHERM" ; config_enable + +#exit + +# +# Texas Instruments thermal drivers +# +config="CONFIG_TI_SOC_THERMAL" ; config_enable +config="CONFIG_DRA752_THERMAL" ; config_enable +config="CONFIG_WATCHDOG_NOWAYOUT" ; config_enable + +# +# Watchdog Device Drivers +# +config="CONFIG_DA9052_WATCHDOG" ; config_enable +config="CONFIG_OMAP_WATCHDOG" ; config_enable +config="CONFIG_SUNXI_WATCHDOG" ; config_enable +config="CONFIG_TWL4030_WATCHDOG" ; config_enable +config="CONFIG_IMX2_WDT" ; config_enable +config="CONFIG_TEGRA_WATCHDOG" ; config_enable + +# +# Multifunction device drivers +# +config="CONFIG_MFD_DA9055" ; config_enable +config="CONFIG_MFD_DA9063" ; config_enable +config="CONFIG_MFD_DLN2" ; config_enable +config="CONFIG_MFD_TPS65217" ; config_enable +config="CONFIG_MFD_TPS65218" ; config_enable +config="CONFIG_MFD_TPS65910" ; config_enable +config="CONFIG_MFD_WL1273_CORE" ; config_module +config="CONFIG_REGULATOR_USERSPACE_CONSUMER" ; config_enable +config="CONFIG_REGULATOR_ANATOP" ; config_enable +config="CONFIG_REGULATOR_AXP20X" ; config_enable +config="CONFIG_REGULATOR_DA9052" ; config_enable +config="CONFIG_REGULATOR_DA9055" ; config_disable +config="CONFIG_REGULATOR_DA9063" ; config_enable +config="CONFIG_REGULATOR_GPIO" ; config_enable +config="CONFIG_REGULATOR_PBIAS" ; config_enable +config="CONFIG_REGULATOR_PFUZE100" ; config_enable +config="CONFIG_REGULATOR_PWM" ; config_enable +config="CONFIG_REGULATOR_TI_ABB" ; config_enable +config="CONFIG_REGULATOR_TPS65023" ; config_enable +config="CONFIG_REGULATOR_TPS6507X" ; config_enable +config="CONFIG_REGULATOR_TPS65217" ; config_enable +config="CONFIG_REGULATOR_TPS65218" ; config_enable +config="CONFIG_REGULATOR_TPS65910" ; config_enable + +#exit + +# +# Multimedia core support +# +config="CONFIG_VIDEO_V4L2_SUBDEV_API" ; config_enable +config="CONFIG_V4L2_MEM2MEM_DEV" ; config_enable +config="CONFIG_VIDEOBUF2_CORE" ; config_enable +config="CONFIG_VIDEOBUF2_MEMOPS" ; config_enable +config="CONFIG_VIDEOBUF2_DMA_CONTIG" ; config_enable + +# +# Media drivers +# +config="CONFIG_IR_HIX5HD2" ; config_module +config="CONFIG_IR_SUNXI" ; config_module + +# +# Webcam devices +# +config="CONFIG_USB_GSPCA_TOUPTEK" ; config_module + +# +# Software defined radio USB devices +# +config="CONFIG_VIDEO_OMAP3" ; config_module +config="CONFIG_VIDEO_OMAP3_DEBUG" ; config_disable +config="CONFIG_SOC_CAMERA" ; config_module +config="CONFIG_SOC_CAMERA_PLATFORM" ; config_module +config="CONFIG_VIDEO_AM437X_VPFE" ; config_module +config="CONFIG_VIDEO_CODA" ; config_enable +config="CONFIG_VIDEO_MEM2MEM_DEINTERLACE" ; config_module + +# +# Supported MMC/SDIO adapters +# +config="CONFIG_I2C_SI470X" ; config_module +config="CONFIG_USB_SI4713" ; config_module +config="CONFIG_USB_DSBR" ; config_module +config="CONFIG_RADIO_TEA5764" ; config_module +config="CONFIG_RADIO_SAA7706H" ; config_module +config="CONFIG_RADIO_TEF6862" ; config_module +config="CONFIG_RADIO_WL1273" ; config_module + +# +# soc_camera sensor drivers +# +config="CONFIG_SOC_CAMERA_IMX074" ; config_module +config="CONFIG_SOC_CAMERA_MT9M001" ; config_module +config="CONFIG_SOC_CAMERA_MT9M111" ; config_module +config="CONFIG_SOC_CAMERA_MT9T031" ; config_module +config="CONFIG_SOC_CAMERA_MT9T112" ; config_module +config="CONFIG_SOC_CAMERA_MT9V022" ; config_module +config="CONFIG_SOC_CAMERA_OV2640" ; config_module +config="CONFIG_SOC_CAMERA_OV5642" ; config_module +config="CONFIG_SOC_CAMERA_OV6650" ; config_module +config="CONFIG_SOC_CAMERA_OV772X" ; config_module +config="CONFIG_SOC_CAMERA_OV9640" ; config_module +config="CONFIG_SOC_CAMERA_OV9740" ; config_module +config="CONFIG_SOC_CAMERA_RJ54N1" ; config_module +config="CONFIG_SOC_CAMERA_TW9910" ; config_module + +# +# Graphics support +# +config="CONFIG_IMX_IPUV3_CORE" ; config_enable + +# +# Direct Rendering Manager +# +config="CONFIG_DRM" ; config_enable + +#...Drivers... (these will enable other defaults..) +config="CONFIG_DRM_DW_HDMI" ; config_enable +config="CONFIG_DRM_VGEM" ; config_disable +config="CONFIG_DRM_UDL" ; config_enable +config="CONFIG_DRM_OMAP" ; config_enable +config="CONFIG_DRM_TILCDC" ; config_enable +config="CONFIG_DRM_IMX" ; config_enable + +# +# I2C encoder or helper chips +# +config="CONFIG_DRM_I2C_NXP_TDA998X" ; config_enable + +config="CONFIG_DRM_IMX_FB_HELPER" ; config_enable +config="CONFIG_DRM_IMX_PARALLEL_DISPLAY" ; config_enable +config="CONFIG_DRM_IMX_TVE" ; config_enable +config="CONFIG_DRM_IMX_LDB" ; config_enable +config="CONFIG_DRM_IMX_HDMI" ; config_enable + +#exit + +# +# Frame buffer hardware drivers +# +config="CONFIG_FB_MX3" ; config_disable +config="CONFIG_OMAP2_DSS" ; config_enable +config="CONFIG_OMAP5_DSS_HDMI" ; config_enable +config="CONFIG_OMAP2_DSS_SDI" ; config_disable + +# +# OMAP Display Device Drivers (new device model) +# +config="CONFIG_DISPLAY_ENCODER_OPA362" ; config_enable +config="CONFIG_DISPLAY_ENCODER_TFP410" ; config_enable +config="CONFIG_DISPLAY_ENCODER_TPD12S015" ; config_enable +config="CONFIG_DISPLAY_CONNECTOR_DVI" ; config_enable +config="CONFIG_DISPLAY_CONNECTOR_HDMI" ; config_enable +config="CONFIG_DISPLAY_PANEL_DPI" ; config_enable + +config="CONFIG_FB_SSD1307" ; config_enable +config="CONFIG_BACKLIGHT_PWM" ; config_enable +config="CONFIG_BACKLIGHT_GPIO" ; config_enable + +# +# Console display driver support +# +config="CONFIG_LOGO" ; config_enable +config="CONFIG_LOGO_LINUX_MONO" ; config_enable +config="CONFIG_LOGO_LINUX_VGA16" ; config_enable +config="CONFIG_LOGO_LINUX_CLUT224" ; config_enable + +# +# HD-Audio +# +config="CONFIG_SND_EDMA_SOC" ; config_module +config="CONFIG_SND_DAVINCI_SOC_MCASP" ; config_module +config="CONFIG_SND_DAVINCI_SOC_GENERIC_EVM" ; config_module +config="CONFIG_SND_AM33XX_SOC_EVM" ; config_module + +# +# SoC Audio support for Freescale i.MX boards: +# +config="CONFIG_SND_OMAP_SOC_HDMI_AUDIO" ; config_module + +# +# CODEC drivers +# +config="CONFIG_SND_SOC_HDMI_CODEC" ; config_module +config="CONFIG_SND_SOC_TLV320AIC31XX" ; config_module + +# +# HID support +# +config="CONFIG_UHID" ; config_enable +config="CONFIG_HID_GENERIC" ; config_enable + +# +# Special HID drivers +# +config="CONFIG_HID_APPLEIR" ; config_module +config="CONFIG_HID_BETOP_FF" ; config_module +config="CONFIG_HID_GT683R" ; config_module +config="CONFIG_HID_LOGITECH_DJ" ; config_enable +config="CONFIG_HID_LOGITECH_HIDPP" ; config_enable +config="CONFIG_HID_PLANTRONICS" ; config_module +config="CONFIG_HID_SENSOR_CUSTOM_SENSOR" ; config_module + +# +# Miscellaneous USB options +# +config="CONFIG_USB_OTG" ; config_enable + +# +# USB Host Controller Drivers +# +config="CONFIG_USB_XHCI_HCD" ; config_enable +config="CONFIG_USB_XHCI_PLATFORM" ; config_enable +config="CONFIG_USB_EHCI_HCD" ; config_enable +config="CONFIG_USB_EHCI_HCD_OMAP" ; config_enable +config="CONFIG_USB_EHCI_TEGRA" ; config_enable +config="CONFIG_USB_EHCI_HCD_PLATFORM" ; config_enable +config="CONFIG_USB_OHCI_HCD" ; config_disable + +# +# USB Imaging devices +# +config="CONFIG_USBIP_CORE" ; config_module +config="CONFIG_USBIP_VHCI_HCD" ; config_module +config="CONFIG_USBIP_HOST" ; config_module +config="CONFIG_USBIP_DEBUG" ; config_disable + +# +# Platform Glue Layer +# +config="CONFIG_USB_MUSB_TUSB6010" ; config_enable +config="CONFIG_USB_MUSB_OMAP2PLUS" ; config_enable +config="CONFIG_USB_MUSB_AM35X" ; config_enable +config="CONFIG_USB_MUSB_DSPS" ; config_enable +config="CONFIG_USB_MUSB_AM335X_CHILD" ; config_enable +config="CONFIG_USB_DWC3" ; config_enable +config="CONFIG_USB_DWC3_DUAL_ROLE" ; config_enable + +# +# Debugging features +# +config="CONFIG_USB_CHIPIDEA" ; config_enable +config="CONFIG_USB_CHIPIDEA_DEBUG" ; config_disable + +# +# USB Miscellaneous drivers +# +config="CONFIG_USB_CHAOSKEY" ; config_module + +# +# USB Physical Layer drivers +# +config="CONFIG_AM335X_CONTROL_USB" ; config_enable +config="CONFIG_AM335X_PHY_USB" ; config_enable +config="CONFIG_TWL6030_USB" ; config_enable +config="CONFIG_USB_GPIO_VBUS" ; config_enable +config="CONFIG_USB_MXS_PHY" ; config_enable +config="CONFIG_USB_GADGET_VBUS_DRAW" ; option="500" ; config_value + +# +# USB Peripheral Controller +# +config="CONFIG_USB_LIBCOMPOSITE" ; config_enable +config="CONFIG_USB_U_ETHER" ; config_enable +config="CONFIG_USB_F_ECM" ; config_enable +config="CONFIG_USB_F_SUBSET" ; config_enable +config="CONFIG_USB_F_RNDIS" ; config_enable +config="CONFIG_USB_ETH" ; config_enable +config="CONFIG_USB_ETH_EEM" ; config_disable +config="CONFIG_USB_GADGETFS" ; config_disable +config="CONFIG_USB_G_NOKIA" ; config_disable + +# +# MMC/SD/SDIO Card Drivers +# +config="CONFIG_MMC_BLOCK_MINORS" ; option="8" ; config_value + +# +# MMC/SD/SDIO Host Controller Drivers +# +config="CONFIG_MMC_SDHCI" ; config_enable +config="CONFIG_MMC_SDHCI_PLTFM" ; config_enable +config="CONFIG_MMC_SDHCI_ESDHC_IMX" ; config_enable +config="CONFIG_MMC_SDHCI_TEGRA" ; config_enable +config="CONFIG_MMC_OMAP" ; config_enable +config="CONFIG_MMC_OMAP_HS" ; config_enable +config="CONFIG_MMC_SUNXI" ; config_enable +config="CONFIG_MEMSTICK" ; config_disable + +# +# LED drivers +# +config="CONFIG_LEDS_LM3530" ; config_module +config="CONFIG_LEDS_LM3642" ; config_module +config="CONFIG_LEDS_PCA9532" ; config_module +config="CONFIG_LEDS_PCA9532_GPIO" ; config_enable +config="CONFIG_LEDS_GPIO" ; config_enable +config="CONFIG_LEDS_LP5521" ; config_module +config="CONFIG_LEDS_LP5562" ; config_module +config="CONFIG_LEDS_LP8501" ; config_module +config="CONFIG_LEDS_LP8860" ; config_module +config="CONFIG_LEDS_PCA963X" ; config_module +config="CONFIG_LEDS_TCA6507" ; config_module +config="CONFIG_LEDS_LM355x" ; config_module + +# +# LED Triggers +# +config="CONFIG_LEDS_TRIGGER_TIMER" ; config_enable +config="CONFIG_LEDS_TRIGGER_ONESHOT" ; config_enable +config="CONFIG_LEDS_TRIGGER_HEARTBEAT" ; config_enable +config="CONFIG_LEDS_TRIGGER_BACKLIGHT" ; config_enable +config="CONFIG_LEDS_TRIGGER_GPIO" ; config_enable +config="CONFIG_LEDS_TRIGGER_DEFAULT_ON" ; config_enable + +# +# I2C RTC drivers +# +config="CONFIG_RTC_DRV_DS1307" ; config_module +config="CONFIG_RTC_DRV_DS1374" ; config_module +config="CONFIG_RTC_DRV_DS1374_WDT" ; config_enable +config="CONFIG_RTC_DRV_DS1672" ; config_module +config="CONFIG_RTC_DRV_DS3232" ; config_module +config="CONFIG_RTC_DRV_HYM8563" ; config_module +config="CONFIG_RTC_DRV_MAX6900" ; config_module +config="CONFIG_RTC_DRV_RS5C372" ; config_module +config="CONFIG_RTC_DRV_ISL1208" ; config_module +config="CONFIG_RTC_DRV_ISL12022" ; config_module +config="CONFIG_RTC_DRV_X1205" ; config_module +config="CONFIG_RTC_DRV_PCF2127" ; config_module +config="CONFIG_RTC_DRV_PCF8563" ; config_module +config="CONFIG_RTC_DRV_PCF85063" ; config_module +config="CONFIG_RTC_DRV_PCF8583" ; config_module +config="CONFIG_RTC_DRV_M41T80" ; config_module +config="CONFIG_RTC_DRV_M41T80_WDT" ; config_enable +config="CONFIG_RTC_DRV_BQ32K" ; config_module +config="CONFIG_RTC_DRV_TPS65910" ; config_module +config="CONFIG_RTC_DRV_S35390A" ; config_module +config="CONFIG_RTC_DRV_FM3130" ; config_module +config="CONFIG_RTC_DRV_RX8581" ; config_module +config="CONFIG_RTC_DRV_RX8025" ; config_module +config="CONFIG_RTC_DRV_EM3027" ; config_module +config="CONFIG_RTC_DRV_RV3029C2" ; config_module + +# +# SPI RTC drivers +# +config="CONFIG_RTC_DRV_M41T93" ; config_module +config="CONFIG_RTC_DRV_M41T94" ; config_module +config="CONFIG_RTC_DRV_DS1305" ; config_module +config="CONFIG_RTC_DRV_DS1343" ; config_module +config="CONFIG_RTC_DRV_DS1347" ; config_module +config="CONFIG_RTC_DRV_DS1390" ; config_module +config="CONFIG_RTC_DRV_MAX6902" ; config_module +config="CONFIG_RTC_DRV_R9701" ; config_module +config="CONFIG_RTC_DRV_RS5C348" ; config_module +config="CONFIG_RTC_DRV_DS3234" ; config_module +config="CONFIG_RTC_DRV_PCF2123" ; config_module +config="CONFIG_RTC_DRV_RX4581" ; config_module +config="CONFIG_RTC_DRV_MCP795" ; config_module + +# +# Platform RTC drivers +# +config="CONFIG_RTC_DRV_DS1286" ; config_module +config="CONFIG_RTC_DRV_DS1511" ; config_module +config="CONFIG_RTC_DRV_DS1553" ; config_module +config="CONFIG_RTC_DRV_DS1685_FAMILY" ; config_module +config="CONFIG_RTC_DRV_DS1742" ; config_module +config="CONFIG_RTC_DRV_DA9055" ; config_module +config="CONFIG_RTC_DRV_DA9063" ; config_module +config="CONFIG_RTC_DRV_STK17TA8" ; config_module +config="CONFIG_RTC_DRV_M48T86" ; config_module +config="CONFIG_RTC_DRV_M48T35" ; config_module +config="CONFIG_RTC_DRV_M48T59" ; config_module +config="CONFIG_RTC_DRV_MSM6242" ; config_module +config="CONFIG_RTC_DRV_BQ4802" ; config_module +config="CONFIG_RTC_DRV_RP5C01" ; config_module +config="CONFIG_RTC_DRV_V3020" ; config_module +config="CONFIG_RTC_DRV_DS2404" ; config_module + +# +# on-CPU RTC drivers +# +config="CONFIG_RTC_DRV_SUN6I" ; config_enable + +# +# HID Sensor RTC drivers +# +config="CONFIG_RTC_DRV_HID_SENSOR_TIME" ; config_module + +# +# DMA Devices +# +config="CONFIG_DW_DMAC_CORE" ; config_enable +config="CONFIG_DW_DMAC" ; config_enable +config="CONFIG_TI_CPPI41" ; config_enable +config="CONFIG_FSL_EDMA" ; config_enable +config="CONFIG_DMA_SUN6I" ; config_enable + +# +# DMA Clients +# +config="CONFIG_UIO_PDRV_GENIRQ" ; config_module +config="CONFIG_UIO_DMEM_GENIRQ" ; config_module +config="CONFIG_UIO_PRUSS" ; config_module + +#STAGING +# +# Microsoft Hyper-V guest support +# +config="CONFIG_RTLLIB" ; config_module +config="CONFIG_RTLLIB_CRYPTO_CCMP" ; config_module +config="CONFIG_RTLLIB_CRYPTO_TKIP" ; config_module +config="CONFIG_RTLLIB_CRYPTO_WEP" ; config_module + +# +# Accelerometers +# +config="CONFIG_ADIS16201" ; config_module +config="CONFIG_ADIS16203" ; config_module +config="CONFIG_ADIS16204" ; config_module +config="CONFIG_ADIS16209" ; config_module +config="CONFIG_ADIS16220" ; config_module +config="CONFIG_ADIS16240" ; config_module +config="CONFIG_SCA3000" ; config_module + +# +# Analog to digital converters +# +config="CONFIG_AD7606" ; config_module +config="CONFIG_AD7606_IFACE_SPI" ; config_module +config="CONFIG_AD7780" ; config_module +config="CONFIG_AD7816" ; config_module +config="CONFIG_AD7192" ; config_module +config="CONFIG_AD7280" ; config_module + +# +# Analog digital bi-direction converters +# +config="CONFIG_ADT7316" ; config_module +config="CONFIG_ADT7316_SPI" ; config_module +config="CONFIG_ADT7316_I2C" ; config_module + +# +# Capacitance to digital converters +# +config="CONFIG_AD7150" ; config_module +config="CONFIG_AD7152" ; config_module +config="CONFIG_AD7746" ; config_module + +# +# Direct Digital Synthesis +# +config="CONFIG_AD9832" ; config_module +config="CONFIG_AD9834" ; config_module + +# +# Digital gyroscope sensors +# +config="CONFIG_ADIS16060" ; config_module + +# +# Network Analyzer, Impedance Converters +# +config="CONFIG_AD5933" ; config_module + +# +# Light sensors +# +config="CONFIG_SENSORS_ISL29018" ; config_module +config="CONFIG_SENSORS_ISL29028" ; config_module +config="CONFIG_TSL2583" ; config_module +config="CONFIG_TSL2x7x" ; config_module + +# +# Magnetometer sensors +# +config="CONFIG_SENSORS_HMC5843" ; config_module +config="CONFIG_SENSORS_HMC5843_I2C" ; config_module +config="CONFIG_SENSORS_HMC5843_SPI" ; config_module + +# +# Active energy metering IC +# +config="CONFIG_ADE7753" ; config_module +config="CONFIG_ADE7754" ; config_module +config="CONFIG_ADE7758" ; config_module +config="CONFIG_ADE7759" ; config_module +config="CONFIG_ADE7854" ; config_module +config="CONFIG_ADE7854_I2C" ; config_module +config="CONFIG_ADE7854_SPI" ; config_module + +# +# Resolver to digital converters +# +config="CONFIG_AD2S90" ; config_module +config="CONFIG_AD2S1200" ; config_module +config="CONFIG_AD2S1210" ; config_module + +# +# Android +# +config="CONFIG_ASHMEM" ; config_enable +config="CONFIG_ANDROID_TIMED_GPIO" ; config_module +config="CONFIG_SYNC" ; config_enable +config="CONFIG_SW_SYNC" ; config_disable +config="CONFIG_ION" ; config_enable + +# +# Common Clock Framework +# +config="CONFIG_CLK_TWL6040" ; config_enable +config="CONFIG_COMMON_CLK_PALMAS" ; config_enable +config="CONFIG_HWSPINLOCK" ; config_enable + +# +# Hardware Spinlock drivers +# +config="CONFIG_HWSPINLOCK_OMAP" ; config_enable + +# +# Clock Source drivers +# +config="CONFIG_TEGRA_IOMMU_SMMU" ; config_enable +config="CONFIG_ARM_SMMU" ; config_enable + +# +# Remoteproc drivers +# +config="CONFIG_REMOTEPROC" ; config_enable +config="CONFIG_OMAP_REMOTEPROC" ; config_enable +config="CONFIG_WKUP_M3_RPROC" ; config_enable + +# +# Rpmsg drivers +# +config="CONFIG_RPMSG" ; config_enable + +# +# SOC (System On Chip) specific Drivers +# +config="CONFIG_SOC_TI" ; config_enable + +# +# DEVFREQ Governors +# +config="CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND" ; config_enable +config="CONFIG_DEVFREQ_GOV_PERFORMANCE" ; config_enable +config="CONFIG_DEVFREQ_GOV_POWERSAVE" ; config_enable +config="CONFIG_DEVFREQ_GOV_USERSPACE" ; config_enable + +# +# DEVFREQ Drivers +# +config="CONFIG_ARM_TEGRA_DEVFREQ" ; config_enable +config="CONFIG_EXTCON" ; config_enable + +# +# Extcon Device Drivers +# +config="CONFIG_EXTCON_GPIO" ; config_enable +config="CONFIG_EXTCON_PALMAS" ; config_enable +config="CONFIG_EXTCON_USB_GPIO" ; config_enable +config="CONFIG_TI_EMIF" ; config_enable + +# +# Accelerometers +# +config="CONFIG_BMA180" ; config_module +config="CONFIG_BMC150_ACCEL" ; config_module +config="CONFIG_IIO_ST_ACCEL_3AXIS" ; config_module +config="CONFIG_IIO_ST_ACCEL_I2C_3AXIS" ; config_module +config="CONFIG_IIO_ST_ACCEL_SPI_3AXIS" ; config_module +config="CONFIG_KXSD9" ; config_module +config="CONFIG_MMA8452" ; config_module +config="CONFIG_KXCJK1013" ; config_module +config="CONFIG_MMA9551" ; config_module +config="CONFIG_MMA9553" ; config_module + +# +# Analog to digital converters +# +config="CONFIG_AD7266" ; config_module +config="CONFIG_AD7291" ; config_module +config="CONFIG_AD7298" ; config_module +config="CONFIG_AD7476" ; config_module +config="CONFIG_AD7791" ; config_module +config="CONFIG_AD7793" ; config_module +config="CONFIG_AD7887" ; config_module +config="CONFIG_AD7923" ; config_module +config="CONFIG_AD799X" ; config_module +config="CONFIG_AXP288_ADC" ; config_module +config="CONFIG_CC10001_ADC" ; config_module +config="CONFIG_MAX1027" ; config_module +config="CONFIG_MAX1363" ; config_module +config="CONFIG_MCP320X" ; config_module +config="CONFIG_MCP3422" ; config_module +config="CONFIG_NAU7802" ; config_module +config="CONFIG_TI_ADC081C" ; config_module +config="CONFIG_TI_ADC128S052" ; config_module +config="CONFIG_TWL6030_GPADC" ; config_module +config="CONFIG_VF610_ADC" ; config_module + +# +# Amplifiers +# +config="CONFIG_AD8366" ; config_module + +# +# SSP Sensor Common +# +config="CONFIG_IIO_SSP_SENSORHUB" ; config_module + +# +# Digital to analog converters +# +config="CONFIG_AD5064" ; config_module +config="CONFIG_AD5360" ; config_module +config="CONFIG_AD5380" ; config_module +config="CONFIG_AD5421" ; config_module +config="CONFIG_AD5446" ; config_module +config="CONFIG_AD5449" ; config_module +config="CONFIG_AD5504" ; config_module +config="CONFIG_AD5624R_SPI" ; config_module +config="CONFIG_AD5686" ; config_module +config="CONFIG_AD5755" ; config_module +config="CONFIG_AD5764" ; config_module +config="CONFIG_AD5791" ; config_module +config="CONFIG_AD7303" ; config_module +config="CONFIG_MAX517" ; config_module +config="CONFIG_MAX5821" ; config_module +config="CONFIG_MCP4725" ; config_module +config="CONFIG_MCP4922" ; config_module + +# +# Clock Generator/Distribution +# +config="CONFIG_AD9523" ; config_module + +# +# Phase-Locked Loop (PLL) frequency synthesizers +# +config="CONFIG_ADF4350" ; config_module + +# +# Digital gyroscope sensors +# +config="CONFIG_ADIS16080" ; config_module +config="CONFIG_ADIS16130" ; config_module +config="CONFIG_ADIS16136" ; config_module +config="CONFIG_ADIS16260" ; config_module +config="CONFIG_ADXRS450" ; config_module +config="CONFIG_BMG160" ; config_module +config="CONFIG_IIO_ST_GYRO_3AXIS" ; config_module +config="CONFIG_IIO_ST_GYRO_I2C_3AXIS" ; config_module +config="CONFIG_IIO_ST_GYRO_SPI_3AXIS" ; config_module +config="CONFIG_ITG3200" ; config_module + +# +# Humidity sensors +# +config="CONFIG_DHT11" ; config_module +config="CONFIG_SI7005" ; config_module +config="CONFIG_SI7020" ; config_module + +# +# Inertial measurement units +# +config="CONFIG_ADIS16400" ; config_module +config="CONFIG_ADIS16480" ; config_module +config="CONFIG_KMX61" ; config_module +config="CONFIG_INV_MPU6050_IIO" ; config_module + +# +# Light sensors +# +config="CONFIG_ADJD_S311" ; config_module +config="CONFIG_AL3320A" ; config_module +config="CONFIG_APDS9300" ; config_module +config="CONFIG_CM32181" ; config_module +config="CONFIG_CM3232" ; config_module +config="CONFIG_CM3323" ; config_module +config="CONFIG_CM36651" ; config_module +config="CONFIG_GP2AP020A00F" ; config_module +config="CONFIG_ISL29125" ; config_module +config="CONFIG_JSA1212" ; config_module +config="CONFIG_LTR501" ; config_module +config="CONFIG_TCS3414" ; config_module +config="CONFIG_TCS3472" ; config_module +config="CONFIG_TSL4531" ; config_module +config="CONFIG_VCNL4000" ; config_module + +# +# Magnetometer sensors +# +config="CONFIG_AK8975" ; config_module +config="CONFIG_AK09911" ; config_module +config="CONFIG_MAG3110" ; config_module +config="CONFIG_IIO_ST_MAGN_3AXIS" ; config_module +config="CONFIG_IIO_ST_MAGN_I2C_3AXIS" ; config_module +config="CONFIG_IIO_ST_MAGN_SPI_3AXIS" ; config_module + +# +# Triggers - standalone +# +config="CONFIG_IIO_INTERRUPT_TRIGGER" ; config_module +config="CONFIG_IIO_SYSFS_TRIGGER" ; config_module + +# +# Pressure sensors +# +config="CONFIG_BMP280" ; config_module +config="CONFIG_MPL115" ; config_module +config="CONFIG_MPL3115" ; config_module +config="CONFIG_MS5611" ; config_module +config="CONFIG_MS5611_I2C" ; config_module +config="CONFIG_MS5611_SPI" ; config_module +config="CONFIG_IIO_ST_PRESS" ; config_module +config="CONFIG_IIO_ST_PRESS_I2C" ; config_module +config="CONFIG_IIO_ST_PRESS_SPI" ; config_module +config="CONFIG_T5403" ; config_module + +# +# Lightning sensors +# +config="CONFIG_AS3935" ; config_module + +# +# Proximity sensors +# +config="CONFIG_SX9500" ; config_module + +# +# Temperature sensors +# +config="CONFIG_MLX90614" ; config_module +config="CONFIG_TMP006" ; config_module +config="CONFIG_PWM_PCA9685" ; config_module + +# +# PHY Subsystem +# +config="CONFIG_OMAP_CONTROL_PHY" ; config_enable +config="CONFIG_OMAP_USB2" ; config_enable +config="CONFIG_TI_PIPE3" ; config_enable +config="CONFIG_TWL4030_USB" ; config_enable +config="CONFIG_PHY_SUN4I_USB" ; config_enable +config="CONFIG_PHY_SUN9I_USB" ; config_enable + +# +# Android +# +config="CONFIG_ANDROID" ; config_enable +config="CONFIG_ANDROID_BINDER_IPC" ; config_enable +config="CONFIG_ANDROID_BINDER_IPC_32BIT" ; config_enable +config="CONFIG_NVMEM" ; config_enable +config="CONFIG_NVMEM_SUNXI_SID" ; config_enable + +#exit + +# +# File systems +# +config="CONFIG_EXT4_FS" ; config_enable +config="CONFIG_EXT4_ENCRYPTION" ; config_enable +config="CONFIG_JBD2" ; config_enable +config="CONFIG_FS_MBCACHE" ; config_enable +config="CONFIG_XFS_FS" ; config_enable +config="CONFIG_BTRFS_FS" ; config_enable +config="CONFIG_F2FS_FS" ; config_enable +config="CONFIG_FANOTIFY_ACCESS_PERMISSIONS" ; config_enable +config="CONFIG_AUTOFS4_FS" ; config_enable +config="CONFIG_FUSE_FS" ; config_enable +config="CONFIG_OVERLAY_FS" ; config_enable + +# +# DOS/FAT/NT Filesystems +# +config="CONFIG_FAT_FS" ; config_enable +config="CONFIG_MSDOS_FS" ; config_enable +config="CONFIG_VFAT_FS" ; config_enable +config="CONFIG_FAT_DEFAULT_IOCHARSET" ; option="iso8859-1" ; config_string + +# +# Pseudo filesystems +# +config="CONFIG_SQUASHFS_LZ4" ; config_enable +config="CONFIG_NFS_FS" ; config_enable +config="CONFIG_NFS_V2" ; config_enable +config="CONFIG_NFS_V3" ; config_enable +config="CONFIG_NFS_V4" ; config_enable +config="CONFIG_ROOT_NFS" ; config_enable +config="CONFIG_NLS_DEFAULT" ; option="iso8859-1" ; config_string +config="CONFIG_NLS_CODEPAGE_437" ; config_enable +config="CONFIG_NLS_ISO8859_1" ; config_enable + +# +# printk and dmesg options +# +config="CONFIG_BOOT_PRINTK_DELAY" ; config_disable + +# +# Debug Lockups and Hangs +# +config="CONFIG_SCHEDSTATS" ; config_enable +config="CONFIG_SCHED_STACK_END_CHECK" ; config_enable + +# +# Runtime Testing +# +config="CONFIG_KGDB" ; config_enable +config="CONFIG_KGDB_SERIAL_CONSOLE" ; config_enable +config="CONFIG_KGDB_TESTS" ; config_disable +config="CONFIG_KGDB_KDB" ; config_enable +config="CONFIG_KDB_KEYBOARD" ; config_enable + +# +# Crypto core or helper +# +config="CONFIG_CRYPTO_MANAGER_DISABLE_TESTS" ; config_enable + +# +# Random Number Generation +# +config="CONFIG_ARM_CRYPTO" ; config_enable +config="CONFIG_CRYPTO_SHA1_ARM" ; config_module +config="CONFIG_CRYPTO_SHA1_ARM_NEON" ; config_module +config="CONFIG_CRYPTO_SHA256_ARM" ; config_module +config="CONFIG_CRYPTO_SHA512_ARM" ; config_module +config="CONFIG_CRYPTO_AES_ARM" ; config_module +config="CONFIG_CRYPTO_AES_ARM_BS" ; config_module + +cd ${DIR}/ + +# diff --git a/version.sh b/version.sh index 14fe7cd8d..c4872efe5 100644 --- a/version.sh +++ b/version.sh @@ -13,7 +13,7 @@ toolchain="gcc_linaro_gnueabihf_4_9" #Kernel/Build KERNEL_REL=4.2 -KERNEL_TAG=${KERNEL_REL}-rc6 +KERNEL_TAG=${KERNEL_REL}-rc7 BUILD=bone2 #v3.X-rcX + upto SHA -- GitLab