add soc 123 for MSM8260a for apexqtmo
Merge pull request #1 from nardholio/cm-11.0

add soc 123 for MSM8260a for apexqtmo
qcom/common: add dtbtool

This is a combination of 3 commits.

Author: David Ng <dave@codeaurora.org>
Date:   Fri Jul 27 23:52:11 2012 +0000

    dtbtool: Initial revision of table of device tree tool

    A tool to generate an image of table of device tree.  The image
    contains a header, table of device tree indices followed by the
    list of device tree blobs.

    Refer to dtbtool.txt for more information.

    Change-Id: Ib0d5f974cdb8a8fc341f01b5d086a5285b1d7dc5

Author: David Ng <dave@codeaurora.org>
Date:   Thu Aug 9 23:56:41 2012 +0000

    dtbtool: Add support for array of ID's in qcom,msm-id tag

    Allow multiple chipset/platform/soc_rev triplets in
    qcom,msm-id tag.  This allows one DTS/DTB file to be used
    for multiple chipset/platform/soc_rev variants.

    Preliminary version - needs error handling in triplet
    parsing and general code cleanup.

    Change-Id: Ic3d018c0667d1ec7189d6e14b3378effda00d781

Author: Duy Truong <dtruong@codeaurora.org>
Date:   Sun Feb 10 14:35:11 2013 +0000

    Update copyright to The Linux Foundation

    Change-Id: Id084b09bf3a083ea5c0389900bbeb5ef149b3108

Change-Id: I9efb55e1fc76e2e4e850d3853ff287715c43eee1
qcom-common: Fix dtbTool code formatting

Change-Id: I58e24893dcd0f5c27eb4f2a9e41a296d423591ba
common-qcom: Add PowerHAL

 * New PowerHAL for QCOM devices based on upstream.
 * Requires libqc-opt and mpdecision
 * Includes support for new audio hints
 * Includes hook for external set_interactive bits

Change-Id: Ib5c956fedd1a4aee591b409b1524e95624324480
common-qcom: Make QC PowerHAL opt-in

 * Set TARGET_POWERHAL_VARIANT=qcom to use this version.

Change-Id: Iedf6ab57611e90b75304a515f93678a9b85e32e1
common-qcom: enable custom module name extension

Change-Id: I34d141ec19c3f01e7404067db4cbd493b5865d3a
Merge "common-qcom: enable custom module name extension" into cm-11.0
qcom: Add crypto helper for ODE

Change-Id: I85c4fe21ac11c527b02bd1f9aa75eaf29457d251
dtbtool: add new --dt_tag switch

* Add new switch named --dt_tag (or -d)
* Allows a custom QCDT_DT_TAG
* If --dt_tag/-d is not used, it defaults to "qcom,msm-id =<" as it is today.

This should allow more flexibility with devices requiring various DT_TAGs going forward.

Change-Id: I6f6a9a55b3b94ce6103a4890b28792380fe1e274
init script: Add usergroup write permission to idle_time node.

Set usergroup write permission of idle_time node to enable idle
timeout feature.

Change-Id: If6b0a94e93b5117c4004726d62a346403f7a8ed3
CRs-Fixed: 610823
dtbtool: simplify code. reducing indenting.

this tidy is in preparation for adding a stat call
instead of relying upon readdir.

Change-Id: Ibdc28c43218e2c67434a4580c61b91162e1169a6
dtbtool: fix for filesystems that don't return d_type from readdir

readdir() doesn't return d_type for all filesystems, in particular XFS
doesn't fill in this field. fix by using stat() instead of d_type to
determine if a dtb is a regular file. code is also rearranged slightly
to avoid doing a redundant stat().

Change-Id: I26b402f517cf8ecefa78d8ae45e51219b333b682
power: Add support for CPU boost hint

Change-Id: I07c3e8daf8a5f3b568e27334f26d4ba8f4cf40c4
power: Kill logspam

Change-Id: Icdbc3113f034ba1845762ea964e967fa270b5a15
power: Add support for SET_PROFILE hints

 * Add support for system performance profiles.
 * Uses mpctl to configure the CPUs in the appropriate modes.
 * PERFORMANCE = all cores at max
 * POWER_SAVE = max two cores at non-turbo voltage
 * If a custom profile is set, don't honor any other hints
 * Clean up the code and firm up the locking.

Change-Id: Ie6acada805780c9ae6e6bc2002843aef638ca63b
power: Disable the 8974pro-specific display on/off path

 * It's now handled by mpctl directly, and this code does not correctly
   handle the interactive governor. Just disable it as the main
   function does everything we need.

Change-Id: I8fdf9d80bfbf940b55bbe962c1e7a0829bcec14c
qcom/common: Added O_NOFOLLOW to avoid follow the symlink

open system call is added with NOFOLLOW flag

Change-Id: I402643635e3ee11b3ac5df63c3b71a9fd6f0d2db