summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/qcom-spmi-pmic.c
Commit message (Collapse)AuthorAgeFilesLines
* mfd: qcom-spmi-pmic: Add support for pm8005, pm8998 and pmi8998Stephen Boyd2018-06-041-0/+6
| | | | | | | | | | | Add the compatibles and PMIC ids for the pm8005, pm8998, and pmi8998 PMICS found on MSM8998 and SDM845 based platforms. Cc: <devicetree@vger.kernel.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: qcom-spmi-pmic: Use devm_of_platform_populate()Benjamin Gaignard2017-07-061-8/+1Star
| | | | | | | | Usage of devm_of_platform_populate() simplify driver code by allowing to delete pmic_spmi_remove(). Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: qcom-spmi-pmic: Don't access non-existing registersIvan T. Ivanov2016-01-111-1/+3
| | | | | | | | | | | Revision ID registers are available only on devices with Slave IDs that are even, so don't make access to unavailable registers. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> [sboyd@codeaurora.org: Consider all slave ids that are even] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: qcom-spmi-pmic: Add specific compatible strings for Qualcomm's SPMI PMIC'sIvan T. Ivanov2015-03-301-7/+96
| | | | | | | | | | Some of the PMIC's could have specific regmap configuration tables in future, so add specific compatible strings for known PMIC's. Also print runtime detected chip revision information. Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: Add support for Qualcomm SPMI PMICsJosh Cartwright2014-09-261-0/+67
The Qualcomm SPMI PMIC chips are components used with the Snapdragon 800 series SoC family. This driver exists largely as a glue mfd component, it exists to be an owner of an SPMI regmap for children devices described in device tree. Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>