Skip to content

Commit

Permalink
spmi: pmic_arb: add support for hw version 2
Browse files Browse the repository at this point in the history
Qualcomm PMIC Arbiter version-2 changes from version-1 are:

- Some different register offsets.
- New channel register space, one per PMIC peripheral (ppid).
  All tx traffic uses these channels.
- New observer register space. All rx trafic uses this space.
- Different command format for spmi command registers.

Reviewed-by: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
Tested-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Gilad Avidov authored and Greg Kroah-Hartman committed Mar 26, 2015
1 parent 0b9641f commit d0c6ae4
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Qualcomm SPMI Controller (PMIC Arbiter)

The SPMI PMIC Arbiter is found on the Snapdragon 800 Series. It is an SPMI
The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI
controller with wrapping arbitration logic to allow for multiple on-chip
devices to control a single SPMI master.

Expand All @@ -19,6 +19,10 @@ Required properties:
"core" - core registers
"intr" - interrupt controller registers
"cnfg" - configuration registers
Registers used only for V2 PMIC Arbiter:
"chnls" - tx-channel per virtual slave registers.
"obsrvr" - rx-channel (called observer) per virtual slave registers.

- reg : address + size pairs describing the PMIC arb register sets; order must
correspond with the order of entries in reg-names
- #address-cells : must be set to 2
Expand Down
Loading

0 comments on commit d0c6ae4

Please sign in to comment.