Commit graph

569708 commits

Author SHA1 Message Date
Mahesh Sivasubramanian
fa8b06a184 soc: qcom: event_timer: Fix irq_desc structure usage
Some of the common irq data is moved into a irq_common_data structure
within irq_desc structure.

Change irq_data references to irq_common_data structure to fix
compilation issues.

Change-Id: I59c99348a44d364d74af6b67ccabdd2d8c5008b0
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-04-13 11:06:02 -07:00
Mahesh Sivasubramanian
15ecda6ff9 defconfig: Enable MPM for msmcortex defconfig
MPM driver is required to configure the hardware to wakeup from SoC
sleep. It is currently not enabled for cortex targets.

Enable MPM_OF config for cortex targets.

Change-Id: I09313d7809ec939a9d0440d0ab30a5992f512b96
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-04-13 11:05:53 -07:00
Mahesh Sivasubramanian
0228837248 defconfig: enable MSM_PM for msmcortex
MSM_PM enables sleep modes for CPU subsystem. It is not currently
enabled for msmcortex target.

Enable MSM_PM for cortex target.

Change-Id: I67244ff55690c164634e9233e2d0cec3388c5be8
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-04-13 11:05:43 -07:00
Mayank Rana
c71663e596 ARM: dts: msm: Update QMP PHY supply name on msm8996 and msmcobalt
Rename vdda18-supply as core-supply with USB QMP PHY on msm8996
and msmcobalt. Also provides required voltage value with this
core ldo for msm8996.

CRs-Fixed: 1001463
Change-Id: Ia826e361d8259126a8168c07539ba4b4f6053f65
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-13 11:05:33 -07:00
Mayank Rana
78602620ed usb: phy: qmp: Add support to use different voltage with core supply
On newer platform USB QMP PHY needs different voltage supply as core
voltage. This change adds required support for the same.

CRs-Fixed: 1001463
Change-Id: If100d36bade241dedf28e3cea9e07be192bdfdc2
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-13 11:05:24 -07:00
Mayank Rana
9c2a287cae ARM: dts: msm: Select CML clock with USB QMP PHY on msmcobalt
USB QMP PHY requires CML based refclock, otherwise USB QMP PHY
PLL may not lock. Hence select CML based refclock by programming
SYSCLK_EN_SEL register.

CRs-Fixed: 1001463
Change-Id: I4cc68a447d0cf3571a50b18d7eec5415430f9423
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-13 11:05:13 -07:00
Mayank Rana
37e734900a ARM: dts: msm: Fix USB3_PHY_SW_RESET register's offset on msmcobalt
Update USB3_PHY_SW_RESET register's offset on msmcobalt otherwise
USB QMP PHY is not released out of reset.

CRs-Fixed: 1001463
Change-Id: Idc71b0abb24cf8c103dfde893ba8c40d342a7fb8
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-04-13 11:04:57 -07:00
Oleg Perelet
00c0225855 msm: kgsl: Invoke DCVS callbacks on A540
As long as GPMU is enabled, DCVS has to handshake with firmware.
It is a new requirement of A540 power management.

CRs-Fixed: 973565
Change-Id: Ie6480fc3ba0e1b95aab40e31b09ff2bd798ff30f
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-04-13 11:04:46 -07:00
Hareesh Gundu
f8856af38c msm: kgsl: Return EOPNOTSUPP for A3XX command batch profiling
A3XX doesn't have support for command batch profiling. Return
EOPNOTSUPP for a command batch profiling request on A3XX, so that
userspace code knows that this feature is not supported.

CRs-Fixed: 986169
Change-Id: I6dfcab462a933ef31e3bba6bef07f17016ae50b9
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-04-13 11:04:35 -07:00
Tarun Karra
a65f379129 msm: kgsl: Pass correct buffer size for mapping gpuobj user memory
Current code incorrectly specifies buffer size as 0 for mapping
gpuobj user memory. This causes the map to fail because buffer
size is expected to be a non zero value. Fix this by passing the
correct size of the buffer to be mapped.

CRs-Fixed: 995378
Change-Id: I1a9aeb3f1dd67f014847322e5b14cba8775a82a4
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
2016-04-13 11:04:12 -07:00
Hareesh Gundu
4a6f12c7a0 msm: kgsl: Fix gpudev NULL dereference in adreno_remove
In adreno_remove() there is possibility of dereference of gpudev
without NULL check. Fix this by getting gpudev after adreno_dev
NULL check.

CRs-Fixed: 993267
Change-Id: I17d8b4ba2c74a787a065dbdb0ac88d065605fcb1
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-04-13 11:04:00 -07:00
Tarun Karra
0e5fa91290 msm: kgsl: verify user memory permissions before mapping to GPU driver
For user memory of type KGSL_USER_MEM_TYPE_ADDR mapped to GPU driver
verify permissions and map GPU permissions same as CPU permissions.
If elevated permissions are requested return an error to prevent
privilege escalation. Without this check user could map readonly
memory into GPU driver as readwrite and gain elevated privilege.

Write permissions check is currently inverted causing readonly
user pages to be mapped as readwrite in GPU driver. Fix this
check to map readonly pages as readonly.

CRs-Fixed: 988993
Change-Id: I0e097d7e4e4c414c0849e33bcc61a26fb94291ad
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
2016-04-13 11:03:50 -07:00
Oleg Perelet
0917d68d0b msm: kgsl: Enable GPMU and SPTP/RAC power collapse on A540
Enable GPMU and SPTP/RAC power collapse on A540.

CRs-Fixed: 973565
Change-Id: I73b40d264c4054a43c2776337b80af88adff077e
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-04-13 11:03:40 -07:00
Harshdeep Dhatt
6e3b3512ba msm: kgsl: Zero the adreno ioctl command buffer
The kernel command buffer is not zeroed in the adreno ioctls,
and may contain garbage. The garbage value can lead to
unexpected results.

CRs-Fixed: 993518
Change-Id: I75033cdf4637881ecd6fa4dd31aea083b134e6d2
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-04-13 11:03:29 -07:00
Harshdeep Dhatt
d8cd9dca9b msm: kgsl: Correct the order of preemption packets
Current order:
IB1 batch, timestamp writes, SRM=NULL, CP_YIELD_ENABLE,
CP_CONTEXT_SWITCH_YIELD

Correct order:
IB1 batch, SRM=NULL, CP_YIELD_ENABLE, timestamp writes,
CP_CONTEXT_SWITCH_YIELD

Reason:
if preemption is initiated after the last checkpoint but
before SET_RENDER_MODE == NULL is executed, all of the PM4s
starting at the preamble of the check point will be replayed
up to the SRM == NULL, including an attempt to re-timestamp/
re-retire the last batch of IBs.

If what was intended here was to make sure that the IB batch
would be retired once then the SET_RENDER_MODE == NULL and
CP_YIELD_ENABLE should be placed immediately after IB_PFE packets
and before the time stamping PM4 packets in the ring buffer.

CRs-Fixed: 990078
Change-Id: I04a1a44f12dd3a09c50b4fe39e14a2bd636b24de
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-04-13 11:03:08 -07:00
Dhoat Harpal
8876c65ca7 soc: qcom: glink: Use tasklet/kworker for TX and RX path
Currently, Rx an Tx is based on workqueue and it is taking significant
time to schedule a workqueue which is hampering performance.

Use tasklet if underlying transport supports atomic context, otherwise
kworker is used.

CRs-Fixed: 978296
Change-Id: I736d2b90730ec10f9dff21944c4ad50e4d87da5c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2016-04-12 15:49:53 -07:00
Osvaldo Banuelos
4333a953a4 ARM: dts: msm: Update APM threshold and hysteresis voltages for msmcobalt
Lower the APM threshold voltage from 852 mV to 832 mV in agreement
with hardware guidelines. In addition, specify an APM hysteresis
voltage of 32 mV to help reduce the number of corners whose floor
voltages need to be raised to ensure stable operation with
manual APM switching.

Change-Id: Ida87a70395e8bfd1506166cfa02f5b48b1132269
CRs-Fixed: 1001346
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:52 -07:00
Osvaldo Banuelos
2d36c20ef4 regulator: cprh-kbss-regulator: use APM hysteresis for voltage adjustments
Adjust floor voltages based upon a configurable APM hysteresis voltage.
This reduces the number of corners whose floor voltages must be raised
to ensure stable operation with manual APM switching. In particular,
for corners with ceiling voltage greater than or equal to the APM
threshold voltage and floor voltage less than APM threshold voltage
set an adjusted floor of max(floor, APM threshold - APM hysteresis).

Change-Id: I65bebcfd8f4785bce9f65243987c05444aab14ee
CRs-Fixed: 1001346
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:52 -07:00
Osvaldo Banuelos
bb3716d1cc ARM: dts: msm: update VDD_APC CPR floor to ceiling range for msmcobalt
Increase the maximum floor to ceiling range of LowSVS and SVS
corners to 55 mV and Nominal and Turbo corners to 65 mV for
both VDD_APC0 and VDD_APC1 CPR devices. Also, increase the SVS
floor voltage to 572 mV in agreement with hardware guidelines.

Change-Id: Ida2a9ba842038ec2567344f1544e5b4f73794215
CRs-Fixed: 1001353
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:51 -07:00
Osvaldo Banuelos
802247e417 regulator: cprh-kbss-regulator: move controller type initialization
Initialize the controller type before cpr3_parse_common_ctrl_data()
is called as this function performs initializations based upon
controller type.

Change-Id: I0cdcd6519338043e40acf9357f39a61ff6f43604
CRs-Fixed: 1001355
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:51 -07:00
Karthikeyan Ramasubramanian
76de914f49 Revert "soc: qcom: msm_smd: Use correct IO Read/Write"
This reverts commit c064e79d29 ("soc: qcom: msm_smd: Use correct IO
Read/Write").

Use no_log variant of IO Read/Write APIs to avoid log storm and improve
performance.

CRs-Fixed: 1001212
Change-Id: I37cf5b22f263448eaed5fa039a5d32c707db5d29
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-04-12 15:49:50 -07:00
Karthikeyan Ramasubramanian
e1490c2ae3 Revert "soc: qcom: glink_smem_native_xprt: Use correct IO Read/Write"
This reverts commit 53679dae72 ("soc: qcom: glink_smem_native_xprt:
Use correct IO Read/Write").

Use no_log variant of IO Read/Write APIs to avoid log storm and improve
performance.

CRs-Fixed: 1001212
Change-Id: I89d9dd8b4cb720f8f968df2a35cbb52b4d09b589
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-04-12 15:49:50 -07:00
Osvaldo Banuelos
1136cf88f2 ARM: dts: msm: enable VDD_APC CPR interpolation for msmcobalt
Enable open-loop and target quotient interpolation for VDD_APC
CPR devices. Also, treat the scaled open-loop voltage as the
absolute ceiling for each corner. This ensures the CPR voltages
more closely track the silicon Vmin and prevents unnecessary
power consumption.

Change-Id: I8b1baad474a76553ac4094c09fc01b1ea0a4646a
CRs-Fixed: 1001350
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:49 -07:00
Osvaldo Banuelos
c413bcb70a regulator: cprh-kbss-regulator: fix interpolation for highest fuse corner
Currently, open-loop voltage interpolation is skipped for corners
mapping to the highest fused corner thus resulting in incorrect
open-loop voltages when open-loop interpolation is enabled. Fix this.

Change-Id: Iab5a2dadfec45efb08b9c45f956e9f102d2d2c55
CRs-Fixed: 1001350
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-04-12 15:49:49 -07:00
Shiv Maliyappanahalli
8bc5414b74 ASoC: msm: qdsp6v2: use session id for token value
Read commands are currently assigning 64bit physical address
to 32bit token. There is a possibility that this physical address
may have same lower 32bit values which could cause errors. Fix
by assigning session id as the token value.

Change-Id: Ie704e34338201ecec191b2031d20552691aed3ea
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-04-12 15:49:49 -07:00
Shiv Maliyappanahalli
6a9927bfd7 ASoC: msm: qdsp6v2: use token for tracking no wait cmd
Use tokens to track all active no wait commands.
In ASM driver, certain commands are waited on to get response
from ADSP. There is a possibility that certain no-wait
commands can be improperly recognized and woken up leading
to time outs.

Change-Id: I2030a354493845b63cf92d35ca4eaadef38cfb79
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-04-12 15:49:48 -07:00
Xu Han
64d192c0e2 msm: sensor: Fix potential NULL ptr dereference
Fix potential NULL ptr dereference in msm_cci and
msm_csiphy driver.

CRs-Fixed: 981832
Change-Id: I8b7a807c20fd6ff2636943e779597d20459d2d88
Signed-off-by: Xu Han <hanxu@codeaurora.org>
2016-04-12 15:49:48 -07:00
Ping Li
20804741fe msm: mdss: Fix AD configuration for single DSI case
The default configuration for AD config_buffer_mode register is correct
for dual DSI case, but not for single DSI case. This change correctly
set the AD config_buffer_mode for single DSI case.

Change-Id: I8b1b665e027e925d607fda078cc453a5406f85ea
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-04-12 15:49:47 -07:00
Sureshnaidu Laveti
ea024084d7 ARM: dts: msm: Add camera sensor module nodes for msmcobalt
Add CCI, CSIPHY, CSID, camera, actuator, eeprom, ois
dtsi entries for msmcobalt.

Change-Id: I933ae498a243cc6d5a38e8553043b30425683ffe
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2016-04-12 15:49:47 -07:00
Sureshnaidu Laveti
3599fad412 ARM: dts: msm: Add documentation changes for camera drivers
Add new version 5.0 to CSIPHY and CSID documentation

Change-Id: I7295aa6f23b01304c65ff8de08ac115dc53b9803
Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2016-04-12 15:49:46 -07:00
Seemanta Dutta
d2eed33121 ARM: dts: msm: Add documentation files for camera drivers
Add documentation file for camera drivers into the 4.4 kernel
tree.

CRs-Fixed: 1001183
Change-Id: I6fe3301673eaba9b8b6fa6c4ad8706fa5e979dd0
Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
2016-04-12 15:49:46 -07:00
Rohit Vaswani
4ea6a48201 edac: device: Use poll_msec from registered edac device instead of default
Use the poll_msec set by the driver that registreed an edac device
to define the poll time for how often the edac_check callback function
should be scheduled.

CRs-fixed: 1001207
Change-Id: I973d7fb966cb9f6f9497510df5de000d4f8ffcba
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
2016-04-12 15:49:45 -07:00
Mitchel Humpherys
fe576e32e7 ARM: dts: msm: Add more clocks to mmss_smmu for cobalt
The MMSS SMMU needs a few more clocks for correct operation.  Add them.

CRs-Fixed: 1000848
Change-Id: Ica34a3a8b514ca4eebc2fb8081db2b167471cd9b
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2016-04-12 15:49:45 -07:00
Sreelakshmi Gownipalli
565a49213d defconfig: arm64: msm: Enable diag config flag
Enable diag driver by turning on  CONFIG_DIAG_CHAR flag.

Change-Id: I7bd98ad43d0eef1c77ba29102e76efbca282e7c6
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2016-04-12 15:49:45 -07:00
Venkat Gopalakrishnan
29027e3b9a phy: qcom-ufs: update pll min/max voltage
The pll min/max supported voltage has changed from 1.8v to 1.2v,
make the necessary change to reflect that.

CRs-Fixed: 1000754
Change-Id: I4dae3d2471bf3a179e810b5d5520eb26f45e26ba
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-04-12 15:49:44 -07:00
Venkat Gopalakrishnan
b7ac4821c9 ARM: dts: msm: disable UFS LPM modes for msmcobalt cdp/mtp
UFS Hibern8 exit fails on msmcobalt, keep lpm disabled
to avoid entering/exiting hibern8 till its fixed.

CRs-Fixed: 1000754
Change-Id: Iaf5a7a346a7d6ec90edd2e8f46bfa1af7bf6d3d0
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-04-12 15:49:44 -07:00
Venkat Gopalakrishnan
bf1d4b4374 ARM: dts: msm: Add ufs and sdhc device nodes for msmcobalt
Enable the UFS and SDHC controllers for cdp and mtp
platform on msmcobalt.

CRs-Fixed: 994739
Change-Id: Ia55c0c59ffad586636a88f42de9fa68656abfe49
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-04-12 15:49:43 -07:00
Venkat Gopalakrishnan
cbda86d806 ARM: dts: msm: Update ufs clks and regulators for msmcobalt
Update the correct clocks and regulators used for UFS.

CRs-Fixed: 994739
Change-Id: Id545c5b8f567e7ccdab1c07af9637848366b49a5
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-04-12 15:49:43 -07:00
Maya Erez
439ef7b343 msm_11ad: add rfclk3 clock handling
On platforms where the power supply for 11AD is external
the wil6210 device can control the rfclk3 clock using a GPIO.
wil6210 driver has to enable the clock during device reset
to guarantee the rfclk3 is on for bootloader activity.
After the wil6210 device is up, the wil6210 driver needs to
leave only the pin clock enabled, to allow the device to
toggle it.

Change-Id: I0f6181d18268f7a2f615155525fbed0f0fe7572a
CRs-Fixed: 986130
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-04-12 15:49:42 -07:00
Jeevan Shriram
a6c4b5ad91 kernel: sched: Fix compilation issues for Usermode Linux
Fix compilation errors for ARCH=um for x86_64 architecture.

CRs-Fixed: 996252
Change-Id: I414b551e28a950e4b601f31bb4bfa2f1200d1713
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-04-12 15:49:42 -07:00
Jeevan Shriram
9df7002903 net: ipv4: Fix type casting to resolve compilation errors
Fix type casting in IPv4 and IPV6 driver to avoid compilation
issues for ARCH=um on x86_64.

CRs-Fixed: 996252
Change-Id: Ic3ed8affa2c5bc8fd9b403614f692ab01e1a307a
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-04-12 15:49:42 -07:00
David Collins
3ee8625f41 ARM: dts: msm: use VDD_GFX CPR regulator for GPU clock on msmcobalt
Switch the GPU clock to use the gfx_vreg CPR regulator device for
vdd_gpucc-supply.  This ensures that the VDD_GFX operating
voltage ends up as low as possible.  Also switch the gdsc_gpu_gx
GDSC regulator to use the gfx_vreg regulator for parent-supply.

Add and use a stub regulator for the GFX clock vdd_gpucc-supply
on sim and rumi targets since gfx_vreg may not be usable on these
targets for certain hardware and bootloader combinations.

Change-Id: Ic6536cb90da928ea82d4575922bdf3cb153e5a27
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:41 -07:00
David Collins
deb0522330 ARM: dts: msm: add VDD_GFX CPR controller device for msmcobalt
Add a VDD_GFX CPR4 controller device which allows consumers to
make voltage corner requests which are then translated to the
minimum possible voltage using the CPR hardware feedback.

Change-Id: Idd5f5380f911b5b5d402b7c19999ce2e300d660d
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:41 -07:00
David Collins
542cc0c4ed ARM: dts: msm: add VDD_GFX MEM-ACC regulator device for msmcobalt
Add a mem-acc-regulator device for the VDD_GFX supply which can
be used to switch the GPU memory arrays into and out of the SVS
voltage usage state.

Change-Id: If2559c619f51bd5a34b7845818ba4c4f8645a975
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:40 -07:00
David Collins
8a7aa1f37b ARM: dts: msm: replace PM8005 S1 stub regulator device on msmcobalt
Replace the PM8005 S1 stub regulator device with a qpnp-regulator
device.  This ensures that consumers physically affect the state
of S1.

Change-Id: I55723cb5a1d49672f243d6911889caa59ec0ee9f
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:40 -07:00
David Collins
bf55ec5b23 ARM: dts: msm: add PM8005 PMIC peripheral devices for msmcobalt
Add a dtsi file which specifies the peripherals found in the
PM8005 PMIC chip.  Include this new file for msmcobalt boards
since they make use of this chip.

Change-Id: I6620cf1fd5ec4181b7ce79bc97039af954dc324e
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:39 -07:00
David Collins
076ec489b9 platform: qpnp-revid: add support for PM8005
The subtype register value for PM8005 is 0x18.  Add this to the
list of known PMICs.

Change-Id: I5cd316784f1339975a973e63c962fae6cb9db852
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:39 -07:00
David Collins
732654df61 regulator: qpnp-regulator: add support for FTS426 type regulators
Add support for PMIC FTSMPS 426 type regulators.  These have a
4 mV step size and a voltage control scheme consisting of two
8-bit registers defining a 16-bit voltage set point in units of
millivolts.

Change-Id: Id27bf066a014c0a39f47febff2603873050125d9
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:38 -07:00
David Collins
8d00063863 regulator: cpr3-mmss-regulator: add support for msmcobalt CPR4 controller
Add support for the fuse layout and hardware constraints of the
msmcobalt CPR4 controller which is used to manage the GPU supply
regulator.  Also update the cpr3-regulator core driver in order
to support CPR register writing for this device.

Change-Id: I408854a93e820c168551bcfec7d4f87cdbe5d638
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:38 -07:00
David Collins
4db208cd26 regulator: add documentation snapshot for mem-acc-regulator
This is a snapshot of the mem-acc-regulator device tree bindings
documentation file present in the msm-3.18 branch as of
commit 9d555a2ec04c ("regulator: mem-acc: Add support for multi
register configuration").

Change-Id: Iad561ef5bab93f1e82879364639b4a5472e65902
CRs-Fixed: 986619
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-04-12 15:49:37 -07:00