ARM: dts: msm: Use phandles for PM8941 local slave IDs

Add a pair of phandles to represent PM8941 local slave IDs 0 and
1.  The global slave ID used in SPMI transactions corresponding
to these local slave IDs changes depending upon whether or not
PM8941 is the primary PMIC in the system.

Using phandles for the local slave IDs allows the global slave
IDs for the local slave IDs to be specified on a per board basis.
This is required for MSM8974Pro-AC where the global slave IDs for
PM8941 change.

Change-Id: If2af21b8069d73a602da61cc000da602164b3442
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Add RPM regulator devices for Qualcomm PMIC PMA8084

Add a device tree include file which defines all PMIC PMA8084 RPM
regulator devices.

Change-Id: I2b84b70febb388ae1f184169ac2b74cde5756d9b
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Add regulator constraints and labels for msm8974pro-ac

Utilize the PMA8084 RPM regulator devices for MSM8974Pro-AC targets.
Add voltage constraints and regulator phandles via a new target
specific device tree include file.

Change-Id: Id7c769a220a813da0c84f8e299164f4012807f75
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Add various SPMI peripheral devices for PMIC pma8084

Add device nodes for the following SPMI peripherals to the PMIC
PMA8084 device tree file:
	1. 0x0100 - revid
	2. 0x0800 - power-on
	3. 0x0900 - misc
	4. 0x2400 - temp-alarm
	5. 0x2800 - coincell
	6. 0x6000 - rtc

PMA8084 and PM8941 share the six peripherals listed above.
Adding them for PMA8084 brings PMA8084 almost to feature parity
with PM8941.  This is important for MSM8974Pro-AC where PMA8084
is used as the primary PMIC in place of PM8941.

Change-Id: Iea6f9aefb37ca02b1164574458d6efec07f1c918
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Remove empty PM8841 MPP configurations for msm8974-mtp

Remove the empty PMIC PM8841 MPP initialization configurations
since they have no effect and because PM8841 is not present on
MSM8974Pro-AC targets.  The MPP configurations cause a compile
error for MSM8974Pro-AC if they are left in place.

Change-Id: I3f41ece51d2d09458dc24a998e34cd2c5d535e6f
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Add dtsi file to capture msm8974pro-ac + pm8941 chipset

MSM8974Pro-AC utilizes a chipset consisting of at least
MSM8974Pro and PMA8084.  A derivation of this is a chipset
consisting of MSM8974Pro, PMA8084, and PM8941.  Add a new dtsi
file which represents this chipset.

Change-Id: Id9d648defb76fa91fae5b3146b0f1d4271698db0
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Use PMA8084 resources for msm8974pro-ac-mtp

MSM8974Pro-AC uses PMA8084 as a primary PMIC instead of PM8941.
Add a new dtsi file to remap all MTP board consumer usage of
PM8941 and PM8841 resources (regulators, GPIOs, MPPs, IRQs)
to the corresponding PMA8084 resources.

Change-Id: I82e196bad2ba59a2a96b978f90faee1c47c3ca4f
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Use PMA8084 resources for msm8974pro-ac

MSM8974Pro-AC uses PMA8084 as a primary PMIC instead of PM8941.
Remap all consumer usage of PM8941 resources (regulators, GPIOs,
MPPs, IRQs) to the corresponding PMA8084 resources.

Change-Id: If6ef7a84bce5bafaca4066a57e7eec660472e336
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
ARM: dts: msm: Run HS200 @ 100MHz for msm8974pro AB/AC mtp

To enable bringup run HS200 @ 100MHz.

Change-Id: Iafb2074827328c9a4870d4afc0c39e6eea569dfd
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
msm: camera: Update CPP driver for new hardware version

Update CPP driver for 0x10010001 version which is used in 8974 v3
pro.

Change-Id: I36183ab8f31a83277eadb01e59d429be1bde89db
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Merge "msm: camera: Update CPP driver for new hardware version" into jb_3.1_rb1.1
Merge changes Iafb20748,If6ef7a84,I82e196ba,Id9d648de,I3f41ece5 into jb_3.1_rb1.1

* changes:
  ARM: dts: msm: Run HS200 @ 100MHz for msm8974pro AB/AC mtp
  ARM: dts: msm: Use PMA8084 resources for msm8974pro-ac
  ARM: dts: msm: Use PMA8084 resources for msm8974pro-ac-mtp
  ARM: dts: msm: Add dtsi file to capture msm8974pro-ac + pm8941 chipset
  ARM: dts: msm: Remove empty PM8841 MPP configurations for msm8974-mtp