Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'qcom-drivers-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/drivers

Qualcomm ARM Based Driver Updates for v4.10

* Fixup QCOM SCM to use devm_reset_controller_register
* Add QCOM pinctrl to Qualcomm MAINTAINERS entry
* Add PM8994 regulator definitions
* Add stub for WCNSS_CTRL API

* tag 'qcom-drivers-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
firmware: qcom: scm: Use devm_reset_controller_register()
MAINTAINERS: add drivers/pinctrl/qcom to ARM/QUALCOMM SUPPORT
pinctrl: pm8994: add pad voltage regulator defines
soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API

Signed-off-by: Olof Johansson <olof@lixom.net>

+27 -1
+1
MAINTAINERS
··· 1600 1600 F: arch/arm64/boot/dts/qcom/* 1601 1601 F: drivers/i2c/busses/i2c-qup.c 1602 1602 F: drivers/clk/qcom/ 1603 + F: drivers/pinctrl/qcom/ 1603 1604 F: drivers/soc/qcom/ 1604 1605 F: drivers/spi/spi-qup.c 1605 1606 F: drivers/tty/serial/msm_serial.h
+3 -1
drivers/firmware/qcom_scm.c
··· 356 356 scm->reset.ops = &qcom_scm_pas_reset_ops; 357 357 scm->reset.nr_resets = 1; 358 358 scm->reset.of_node = pdev->dev.of_node; 359 - reset_controller_register(&scm->reset); 359 + ret = devm_reset_controller_register(&pdev->dev, &scm->reset); 360 + if (ret) 361 + return ret; 360 362 361 363 /* vote for max clk rate for highest performance */ 362 364 ret = clk_set_rate(scm->core_clk, INT_MAX);
+4
include/dt-bindings/pinctrl/qcom,pmic-gpio.h
··· 89 89 #define PMA8084_GPIO_S4 2 90 90 #define PMA8084_GPIO_L6 3 91 91 92 + #define PM8994_GPIO_VPH 0 93 + #define PM8994_GPIO_S4 2 94 + #define PM8994_GPIO_L12 3 95 + 92 96 /* To be used with "function" */ 93 97 #define PMIC_GPIO_FUNC_NORMAL "normal" 94 98 #define PMIC_GPIO_FUNC_PAIRED "paired"
+6
include/dt-bindings/pinctrl/qcom,pmic-mpp.h
··· 65 65 #define PMA8084_MPP_S4 2 66 66 #define PMA8084_MPP_L6 3 67 67 68 + #define PM8994_MPP_VPH 0 69 + /* Only supported for MPP_05-MPP_08 */ 70 + #define PM8994_MPP_L19 1 71 + #define PM8994_MPP_S4 2 72 + #define PM8994_MPP_L12 3 73 + 68 74 /* 69 75 * Analog Input - Set the source for analog input. 70 76 * To be used with "qcom,amux-route" property
+13
include/linux/soc/qcom/wcnss_ctrl.h
··· 3 3 4 4 #include <linux/soc/qcom/smd.h> 5 5 6 + #if IS_ENABLED(CONFIG_QCOM_WCNSS_CTRL) 7 + 6 8 struct qcom_smd_channel *qcom_wcnss_open_channel(void *wcnss, const char *name, qcom_smd_cb_t cb); 9 + 10 + #else 11 + 12 + static inline struct qcom_smd_channel* 13 + qcom_wcnss_open_channel(void *wcnss, const char *name, qcom_smd_cb_t cb) 14 + { 15 + WARN_ON(1); 16 + return ERR_PTR(-ENXIO); 17 + } 18 + 19 + #endif 7 20 8 21 #endif