summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spmi (follow)
Commit message (Collapse)AuthorAge
* spmi: msm: Add virtual SPMI PMIC front end driverYimin Peng2018-02-13
| | | | | | | | Add basic infrastructure for SPMI front end driver. Frontend driver communicates with backend to service SPMI request from clients. Change-Id: Icff567a2f224fb49f370bf760287d9d3615a3325 Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
* spmi: pmic-arb: Reserve a channel for debug portKiran Gunda2017-04-18
| | | | | | | | | Do not keep the channel reserved for debug port in the ppid to apid mapping table. This is to avoid accessing that particular channel during the read/write/irq operations. Change-Id: I8f49d1d87978a5b68ea711d3e30606d72fd09f73 Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
* spmi: pmic_arb: block access of invalid read and writesAbhijeet Dharmapurikar2016-03-01
| | | | | | | | | | | | | | | | | | | The system crashes due to bad access when reading from an non configured peripheral and when writing to peripheral which is not owned by current ee. This patch verifies ownership to avoid crashing on write. For reads, since the forward mapping table, data_channel->ppid, is towards the end of the block, we use the core size to figure the max number of ppids supported. The table starts at an offset of 0x800 within the block, so size - 0x800 will give us the area used by the table. Since each table is 4 bytes long (core_size - 0x800) / 4 will gives us the number of data_channel supported. This new protection is functional on hw v2. Change-Id: I74e3452963a7dda9a8c8aaef76de3117cabc454b Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
* spmi: pmic_arb: add support for hw version 2Gilad Avidov2015-03-26
| | | | | | | | | | | | | | | 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>
* spmi: of: fixup generic SPMI devicetree binding exampleJosh Cartwright2014-05-28
| | | | | | | | The generic SPMI example was missing an equal sign in the assignment of the #size-cells property. Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* spmi: document the PMIC arbiter SPMI bindingsJosh Cartwright2014-02-15
| | | | | Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* spmi: add generic SPMI controller binding documentationJosh Cartwright2014-02-15
Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>