Hello to all, The goal of this WIP set is to provide support for sub-functional hw blocks inside Qualcomm QPNP PMIC chips by creating a new qpnp bus (device-driver modeled). On SPMI interface we attach a so called Slaves. For example one PMIC chip like pm8941 has two slave id's. On every slaveid the PMIC chip has various peripherials. Every peripheral driver should expose qpnp_driver structure and implement the .probe and .remove callbacks. Every peripheral driver will reside on the proper place in /drivers directory. The fisrt patch describes the devicetree binding of the slave devices attached to the SPMI interface. The second patch adds implemetation of the qpnp-bus and a layer connection with the SPMI interface. The third patch adds spmi arbiter and underlying slaveid devicetree nodes for msm8974 SoC. The other patches are example of rtc-qpnp driver and binding documentation. Since this set is a WIP, it will be used as a starting point for future duscussions about implementing QPNP PMIC sub-function hw blocks. Regards, Stan Ivan T. Ivanov (2): dt: qpnp: add binding description of Qualcomm QPNP PMICs dt: qcom: msm8974: add qpnp-spmi device nodes Stanimir Varbanov (4): qpnp: add support for Qualcomm QPNP PMICs rtc: add qpnp rtc driver dt: msm8974: add qpnp rtc device node dt: rtc: add binding document for rtc-qpnp .../devicetree/bindings/qpnp/qcom,qpnp-spmi.txt | 42 ++ .../devicetree/bindings/rtc/qcom,rtc-qpnp.txt | 21 + arch/arm/boot/dts/qcom-msm8974.dtsi | 52 ++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/qpnp/Kconfig | 12 + drivers/qpnp/Makefile | 1 + drivers/qpnp/qpnp-bus.c | 475 +++++++++++++++++++ drivers/qpnp/qpnp-spmi.c | 63 +++ drivers/rtc/Kconfig | 8 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-qpnp.c | 489 ++++++++++++++++++++ include/linux/qpnp.h | 83 ++++ 13 files changed, 1250 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/qpnp/qcom,qpnp-spmi.txt create mode 100644 Documentation/devicetree/bindings/rtc/qcom,rtc-qpnp.txt create mode 100644 drivers/qpnp/Kconfig create mode 100644 drivers/qpnp/Makefile create mode 100644 drivers/qpnp/qpnp-bus.c create mode 100644 drivers/qpnp/qpnp-spmi.c create mode 100644 drivers/rtc/rtc-qpnp.c create mode 100644 include/linux/qpnp.h -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html