• Georgi Djakov's avatar
    pinctrl: qcom: Add APQ8084 pinctrl support · c4f6f9c0
    Georgi Djakov authored
    This patchset adds pinctrl support for the Qualcomm APQ8084 platform.
    
    This set of patches adds pinctrl support for the Qualcomm APQ8084 platform.
    The first patch adds the pin definitions. The second patch contains the
    devicetree binding documentation. The third patch adds the DT node.
    The last patch makes the INTR_TARGET_PROC_APPS value configurable and
    defines it for each existing SoC.
    
    Tested on IFC6540 board.
    
    Changes since v3:
     - Fixed the sdc valid pin values in the binding documentation - sdc2
       instead of sdc3. (suggested by Bjorn Andersson)
    
    Changes since v2:
     - Fixed some incorrect bits and offsets. (suggested by Bjorn Andersson)
     - Updated binding documentation to follow the format of msm8960.
       (suggested by Bjorn Andersson)
     - Added fourth patch, which removes the hardcoded INTR_TARGET_PROC_APPS
       value and makes it configurable. Also we keep the current value for
       existing SoCs. (suggested by Bjorn Andersson)
    
    Changes since v1:
     - Updated the total number of pins (suggested by Bjorn Andersson)
     - Added the missing pin info (provided by Andy Gross)
     - Updated groups and functions to be consistent with other pinctrls.
       (suggested by Andy Gross)
     - Removed unused functions, qdss and test pins. (suggested by Andy Gross)
     - Updated the documentation with the possible functions.
    Reviewed-by: default avatarAndy Gross <agross@codeaurora.org>
    Acked-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
    Signed-off-by: default avatarGeorgi Djakov <gdjakov@mm-sol.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    c4f6f9c0
pinctrl-apq8084.c 36.6 KB