gattrs: add divisor to struct
acpuclk: use gattr for vmin
acpuclk: fix vmin gen_attr bounds
KGSL: Add a simple GPU governor for Adreno xxx GPU series

initial coding for a Simple GPU governor based on my own work 2 years ago
from Sensation GB kernel commit: c1ea8f64167270d67915b4d4fb00910b1c0f513f

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:

	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
KGSL: make simple govenor a selectable option, co-exist with ondemand

also removed some hardcoded values

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
KGSL: simple governor: expose tunables to sysfs interface via module_param

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
KGSL: Simple Governor: fix minor logic issue

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
KGSL: Simple Governor: some styling changes, early returns instead of assigning a val and returning in the end of the function call and change the copyright/author from the middle of the file to the header.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
kgsl: cleanups for simple governor
acpuclk: macro-ize voltage limits
dhd: fix new wakelock code again

- Correctly handle unbalanced lock/unlock
- Use correct units (i.e. ms, not jiffies) for timeout
hw_random: fixups for msm_rng

 - add_device_randomness() if hwrng is enabled at boot
 - Replace the awful arch_get_random buffer with an atomic
   ringbuffer.  It's not contested enough to justify locking.
 - Enlarge the buffer, and loop to fill it
random: use a thread to stir erandom

The thread serves two purposes: to stir erandom's pool in an effort to
mitigate RC4's short periods, and to scrub data from the hwrng before
mixing into input_pool.
input: add_input_randomness on abs events
random: krngd fixups

 - give krngd its own waitqueue so erandom can wake it
 - restore erandom_stir_thresh & related
 - use the RC4 KSA to re-seed
 - stop seeding if pool is full
random: correctly freeze krngd
random: add_*_randomness housekeeping

 - Remove unused add_irq_randomness infrastructure
 - Remove unused add_disk_randomness infrastructure
 - Adapt add_interrupt_randomness for touchscreen input
hw_random: improve msm_rng precache

 - Use precache for ordinary reads to avoid collision in msm_rng_read
 - Expand cache to 4096 bytes in case qrngd is in use
 - Remove workarounds for pre-initialization reads
 - Tighten read delays to 10 ms
 - Schedule precache work only when needed
random: prioritize userspace wakeups
hw_random: cache in larger chunks