Qualcomm SPMI PMIC pin controller drivers
Subsystems (5)
v5 cover Qualcomm SPMI PMIC pin controller drivers
Changes since v4:
- Use PMIC name in compatible string.
- PINCTRL_QCOM_SPMI_PMIC from Kconfig symbol.
- Remove pmic string from drivers file names.
- Fixed coding style issues.
- Use qcom-spmi-gpio and qcom-spmi-mpp from dirver names, to be similar to qcom-spmi-iadc, qcom-spmi-vadc and qcom-spmi-temp-alarm drivers.
Short description:
Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in Qualcomm SPMI based PMIC chips.
MPP's are enhanced GPIO's with analog circuits, which support analog and digital input/output.
v4: https://www.mail-archive.com/[email protected]/msg725568.html
Bjorn Andersson (1):
pinctrl: Device tree bindings for Qualcomm PMIC GPIO block
Ivan T. Ivanov (3):
pinctrl: Device tree bindings for Qualcomm PMIC MPP block
pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
pinctrl: Qualcomm SPMI PMIC MPP pin controller driver
.../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 215 +++++ .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 ++++ drivers/pinctrl/qcom/Kconfig | 13 + drivers/pinctrl/qcom/Makefile | 2 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 937 ++++++++++++++++++++ drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 953 +++++++++++++++++++++ include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 142 +++ include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 44 + 8 files changed, 2468 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-gpio.h create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-mpp.h
Signature · 1 line
1.9.1
PATCH v5 1/4 pinctrl: Device tree bindings for Qualcomm PMIC GPIO block
From: Bjorn Andersson <bjorn.andersson-/[email protected]>
This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm.
--- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 215 +++++++++++++++++++++ include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 142 ++++++++++++++ 2 files changed, 357 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-gpio.h
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt new file +215 -0
@@ -0,0 +1,215 @@ +Qualcomm PMIC GPIO block + +This binding describes the GPIO block(s) found in the 8xxx series of +PMIC's from Qualcomm. + +- compatible: + Usage: required + Value type: <string> + Definition: must be one of: + "qcom,pm8018-gpio" + "qcom,pm8038-gpio" + "qcom,pm8058-gpio" + "qcom,pm8917-gpio" + "qcom,pm8921-gpio" + "qcom,pm8941-gpio" + "qcom,pma8084-gpio" + +- reg: + Usage: required + Value type: <prop-encoded-array> + Definition: Register base of the GPIO block and length. + +- interrupts: + Usage: required + Value type: <prop-encoded-array> + Definition: Must contain an array of encoded interrupt specifiers for + each available GPIO + +- gpio-controller: + Usage: required + Value type: <none> + Definition: Mark the device node as a GPIO controller + +- #gpio-cells: + Usage: required + Value type: <u32> + Definition: Must be 2; + the first cell will be used to define gpio number and the + second denotes the flags for this gpio + +Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for +a general description of GPIO and interrupt bindings. + +Please refer to pinctrl-bindings.txt in this directory for details of the +common pinctrl bindings used by client devices, including the meaning of the +phrase "pin configuration node". + +The pin configuration nodes act as a container for an arbitrary number of +subnodes. Each of these subnodes represents some desired configuration for a +pin or a list of pins. This configuration can include the +mux function to select on those pin(s), and various pin configuration +parameters, as listed below. + + +SUBNODES: + +The name of each subnode is not important; all subnodes should be enumerated +and processed purely based on their content. + +Each subnode only affects those parameters that are explicitly listed. In +other words, a subnode that lists a mux function but no pin configuration +parameters implies no information about any pin configuration parameters. +Similarly, a pin subnode that describes a pullup parameter implies no +information about e.g. the mux function. + +The following generic properties as defined in pinctrl-bindings.txt are valid +to specify in a pin configuration subnode: + +- pins: + Usage: required + Value type: <string-array> + Definition: List of gpio pins affected by the properties specified in + this subnode. Valid pins are: + gpio1-gpio6 for pm8018 + gpio1-gpio12 for pm8038 + gpio1-gpio40 for pm8058 + gpio1-gpio38 for pm8917 + gpio1-gpio44 for pm8921 + gpio1-gpio36 for pm8941 + gpio1-gpio22 for pma8084 + +- function: + Usage: required + Value type: <string> + Definition: Specify the alternative function to be configured for the + specified pins. Valid values are: + "normal", + "paired", + "func1", + "func2", + "dtest1", + "dtest2", + "dtest3", + "dtest4" + +- bias-disable: + Usage: optional + Value type: <none> + Definition: The specified pins should be configured as no pull. + +- bias-pull-down: + Usage: optional + Value type: <none> + Definition: The specified pins should be configured as pull down. + +- bias-pull-up: + Usage: optional + Value type: <empty> + Definition: The specified pins should be configured as pull up. + +- qcom,pull-up-strength: + Usage: optional + Value type: <u32> + Definition: Specifies the strength to use for pull up, if selected. + Valid values are; as defined in + <dt-bindings/pinctrl/qcom,pmic-gpio.h>: + 1: 30uA (PMIC_GPIO_PULL_UP_30) + 2: 1.5uA (PMIC_GPIO_PULL_UP_1P5) + 3: 31.5uA (PMIC_GPIO_PULL_UP_31P5) + 4: 1.5uA + 30uA boost (PMIC_GPIO_PULL_UP_1P5_30) + If this property is ommited 30uA strength will be used if + pull up is selected + +- bias-high-impedance: + Usage: optional + Value type: <none> + Definition: The specified pins will put in high-Z mode and disabled. + +- input-enable: + Usage: optional + Value type: <none> + Definition: The specified pins are put in input mode. + +- output-high: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in output mode, driven + high. + +- output-low: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in output mode, driven + low. + +- power-source: + Usage: optional + Value type: <u32> + Definition: Selects the power source for the specified pins. Valid + power sources are defined per chip in + <dt-bindings/pinctrl/qcom,pmic-gpio.h> + +- qcom,drive-strength: + Usage: optional + Value type: <u32> + Definition: Selects the drive strength for the specified pins. Value + drive strengths are: + 0: no (PMIC_GPIO_STRENGTH_NO) + 1: high (PMIC_GPIO_STRENGTH_HIGH) 0.9mA @ 1.8V - 1.9mA @ 2.6V + 2: medium (PMIC_GPIO_STRENGTH_MED) 0.6mA @ 1.8V - 1.25mA @ 2.6V + 3: low (PMIC_GPIO_STRENGTH_LOW) 0.15mA @ 1.8V - 0.3mA @ 2.6V + as defined in <dt-bindings/pinctrl/qcom,pmic-gpio.h> + +- drive-push-pull: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in push-pull mode. + +- drive-open-drain: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in open-drain mode. + +- drive-open-source: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in open-source mode. + +Example: + + pm8921_gpio: gpio@150 { + compatible = "qcom,pm8921-gpio"; + reg = <0x150 0x160>; + interrupts = <192 1>, <193 1>, <194 1>, + <195 1>, <196 1>, <197 1>, + <198 1>, <199 1>, <200 1>, + <201 1>, <202 1>, <203 1>, + <204 1>, <205 1>, <206 1>, + <207 1>, <208 1>, <209 1>, + <210 1>, <211 1>, <212 1>, + <213 1>, <214 1>, <215 1>, + <216 1>, <217 1>, <218 1>, + <219 1>, <220 1>, <221 1>, + <222 1>, <223 1>, <224 1>, + <225 1>, <226 1>, <227 1>, + <228 1>, <229 1>, <230 1>, + <231 1>, <232 1>, <233 1>, + <234 1>, <235 1>; + + gpio-controller; + #gpio-cells = <2>; + + pm8921_gpio_keys: gpio-keys { + volume-keys { + pins = "gpio20", "gpio21"; + function = "normal"; + + input-enable; + bias-pull-up; + drive-push-pull; + qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; + power-source = <PM8921_GPIO_S4>; + }; + }; + };
include/dt-bindings/pinctrl/qcom,pmic-gpio.h new file +142 -0
142 lines not on this page · raw message
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v5 2/4 pinctrl: Device tree bindings for Qualcomm PMIC MPP block
In reply to Ivan T. IvanovDeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers.
--- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 +++++++++++++++++++++ include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 44 ++++++ 2 files changed, 206 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-mpp.h
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt new file +162 -0
@@ -0,0 +1,162 @@ +Qualcomm PMIC Multi-Purpose Pin (MPP) block + +This binding describes the MPP block(s) found in the 8xxx series +of PMIC's from Qualcomm. + +- compatible: + Usage: required + Value type: <string> + Definition: Should contain one of: + "qcom,pm8841-mpp", + "qcom,pm8941-mpp", + "qcom,pma8084-mpp", + +- reg: + Usage: required + Value type: <prop-encoded-array> + Definition: Register base of the MPP block and length. + +- interrupts: + Usage: required + Value type: <prop-encoded-array> + Definition: Must contain an array of encoded interrupt specifiers for + each available MPP + +- gpio-controller: + Usage: required + Value type: <none> + Definition: Mark the device node as a GPIO controller + +- #gpio-cells: + Usage: required + Value type: <u32> + Definition: Must be 2; + the first cell will be used to define MPP number and the + second denotes the flags for this MPP + +Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for +a general description of GPIO and interrupt bindings. + +Please refer to pinctrl-bindings.txt in this directory for details of the +common pinctrl bindings used by client devices, including the meaning of the +phrase "pin configuration node". + +The pin configuration nodes act as a container for an arbitrary number of +subnodes. Each of these subnodes represents some desired configuration for a +pin or a list of pins. This configuration can include the +mux function to select on those pin(s), and various pin configuration +parameters, as listed below. + +SUBNODES: + +The name of each subnode is not important; all subnodes should be enumerated +and processed purely based on their content. + +Each subnode only affects those parameters that are explicitly listed. In +other words, a subnode that lists a mux function but no pin configuration +parameters implies no information about any pin configuration parameters. +Similarly, a pin subnode that describes a pullup parameter implies no +information about e.g. the mux function. + +The following generic properties as defined in pinctrl-bindings.txt are valid +to specify in a pin configuration subnode: + +- pins: + Usage: required + Value type: <string-array> + Definition: List of MPP pins affected by the properties specified in + this subnode. Valid pins are: + mpp1-mpp4 for pm8841 + mpp1-mpp8 for pm8941 + mpp1-mpp4 for pma8084 + +- function: + Usage: required + Value type: <string> + Definition: Specify the alternative function to be configured for the + specified pins. Valid values are: + "normal", + "paired", + "dtest1", + "dtest2", + "dtest3", + "dtest4" + +- bias-disable: + Usage: optional + Value type: <none> + Definition: The specified pins should be configured as no pull. + +- bias-pull-up: + Usage: optional + Value type: <u32> + Definition: The specified pins should be configured as pull up. + Valid values are 600, 10000 and 30000 in bidirectional mode + only, i.e. when operating in qcom,analog-mode and input and + outputs are enabled. The hardware ignores the configuration + when operating in other modes. + +- bias-high-impedance: + Usage: optional + Value type: <none> + Definition: The specified pins will put in high-Z mode and disabled. + +- input-enable: + Usage: optional + Value type: <none> + Definition: The specified pins are put in input mode, i.e. their input + buffer is enabled + +- output-high: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in output mode, driven + high. + +- output-low: + Usage: optional + Value type: <none> + Definition: The specified pins are configured in output mode, driven + low. + +- power-source: + Usage: optional + Value type: <u32> + Definition: Selects the power source for the specified pins. Valid power + sources are defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h> + +- qcom,analog-mode: + Usage: optional + Value type: <none> + Definition: Selects Analog mode of operation: combined with input-enable + and/or output-high, output-low MPP could operate as + Bidirectional Logic, Analog Input, Analog Output. + +- qcom,amux-route: + Usage: optional + Value type: <u32> + Definition: Selects the source for analog input. Valid values are + defined in <dt-bindings/pinctrl/qcom,pmic-mpp.h> + PMIC_MPP_AMUX_ROUTE_CH5, PMIC_MPP_AMUX_ROUTE_CH6... + +Example: + + mpps@a000 { + compatible = "qcom,pm8841-mpp"; + reg = <0xa000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <4 0xa0 0 0>, <4 0xa1 0 0>, <4 0xa2 0 0>, <4 0xa3 0 0>; + + pinctrl-names = "default"; + pinctrl-0 = <&pm8841_default>; + + pm8841_default: default { + gpio { + pins = "mpp1", "mpp2", "mpp3", "mpp4"; + function = "normal"; + input-enable; + power-source = <PM8841_MPP_S3>; + }; + }; + };
include/dt-bindings/pinctrl/qcom,pmic-mpp.h new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v5 3/4 pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
In reply to Ivan T. IvanovThis is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips.
--- drivers/pinctrl/qcom/Kconfig | 13 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 937 +++++++++++++++++++++++++++++++ 3 files changed, 951 insertions(+) create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
drivers/pinctrl/qcom/Kconfig +13 -0
@@ -39,4 +39,17 @@ config PINCTRL_MSM8X74 This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm TLMM block found in the Qualcomm 8974 platform. +config PINCTRL_QCOM_SPMI_PMIC + tristate "Qualcomm SPMI PMIC pin controller driver" + depends on GPIOLIB && OF && SPMI + select REGMAP_SPMI + select PINMUX + select PINCONF + select GENERIC_PINCONF + help + This is the pinctrl, pinmux, pinconf and gpiolib driver for the + Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, + which are using SPMI for communication with SoC. Example PMIC's + devices are pm8841, pm8941 and pma8084. + endif
drivers/pinctrl/qcom/Makefile +1 -0
@@ -4,3 +4,4 @@ obj-$(CONFIG_PINCTRL_APQ8064) += pinctrl-apq8064.o obj-$(CONFIG_PINCTRL_IPQ8064) += pinctrl-ipq8064.o obj-$(CONFIG_PINCTRL_MSM8960) += pinctrl-msm8960.o obj-$(CONFIG_PINCTRL_MSM8X74) += pinctrl-msm8x74.o +obj-$(CONFIG_PINCTRL_QCOM_SPMI_PMIC) += pinctrl-spmi-gpio.o
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c new file +937 -0
937 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
Hi Ivan,
Just realized that this patch can generate compiler errors due to 3.18 changes in pinmux_ops struct and gpiochip_remove returns void now.
Same with drivers/pinctrl/qcom/pinctrl-spmi-pmic-mpp.c
Review
Quoted 12 lines · Ivan T. Ivanov
(quoted diff) +10
-0+ .enable = pmic_gpio_pinmux_enable, +}; +static int pmic_gpio_remove(struct platform_device *pdev) +{ + struct pmic_gpio_state *state = platform_get_drvdata(pdev); + int ret; + + ret = gpiochip_remove(&state->chip); + if (ret < 0) + return ret;
drivers/pinctrl/qcom/pinctrl-spmi-pmic-gpio.c +2 -6
@@ -378,7 +378,7 @@ static const struct pinmux_ops pmic_gpio_pinmux_ops = { .get_functions_count = pmic_gpio_get_functions_count, .get_function_name = pmic_gpio_get_function_name, .get_function_groups = pmic_gpio_get_function_groups, - .enable = pmic_gpio_pinmux_enable, + .set_mux = pmic_gpio_pinmux_enable, }; static int pmic_gpio_config_get(struct pinctrl_dev *pctldev,
@@ -907,12 +907,8 @@ err_chip:static int pmic_gpio_remove (struct platform_device *pdev) {struct pmic_gpio_state *state =platform_get_drvdata (pdev); -int ret; - - ret =gpiochip_remove (&state->chip); -if (ret <0 ) -return ret; +gpiochip_remove (&state->chip);pinctrl_unregister (state->ctrl);return 0 ;
Thanks,
srini
Re: [PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
Quoted 5 lines · Srinivas Kandagatla
Hi Ivan,
Just realized that this patch can generate compiler errors due to 3.18
changes inpinmux_opsstruct andgpiochip_removereturns void now.
Yes. I am just preparing new version of this for Linus.
Regards,
Ivan
PATCH v5 4/4 pinctrl: Qualcomm SPMI PMIC MPP pin controller driver
In reply to Ivan T. IvanovThis is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips.
--- drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 953 ++++++++++++++++++++++++++++++++ 2 files changed, 954 insertions(+) create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
drivers/pinctrl/qcom/Makefile +1 -0
@@ -5,3 +5,4 @@ obj-$(CONFIG_PINCTRL_IPQ8064) += pinctrl-ipq8064.o obj-$(CONFIG_PINCTRL_MSM8960) += pinctrl-msm8960.o obj-$(CONFIG_PINCTRL_MSM8X74) += pinctrl-msm8x74.o obj-$(CONFIG_PINCTRL_QCOM_SPMI_PMIC) += pinctrl-spmi-gpio.o +obj-$(CONFIG_PINCTRL_QCOM_SPMI_PMIC) += pinctrl-spmi-mpp.o
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c new file +953 -0
953 lines not on this page · raw message
Signature · 6 lines
1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 29 lines · Ivan T. Ivanov
Changes since v4:
- Use PMIC name in compatible string.
-PINCTRL_QCOM_SPMI_PMICfromKconfigsymbol.
- Remove pmic string from drivers file names.
- Fixed coding style issues.
- Use qcom-spmi-gpio and qcom-spmi-mpp from dirver names, to be similar to qcom-spmi-iadc, qcom-spmi-vadc and qcom-spmi-temp-alarm drivers.Short description:
Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in Qualcomm SPMI based PMIC chips.
MPP's are enhanced GPIO's with analog circuits, which support analog and digital input/output.
v4: https://www.mail-archive.com/[email protected]/msg725568.html
Bjorn Andersson (1):
pinctrl: Device tree bindings for Qualcomm PMIC GPIO blockIvan T. Ivanov (3):
pinctrl: Device tree bindings for Qualcomm PMIC MPP block
pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver
pinctrl: Qualcomm SPMI PMIC MPP pin controller driver
Quoted 16 lines
.../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 215 +++++ .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 ++++ drivers/pinctrl/qcom/Kconfig | 13 + drivers/pinctrl/qcom/Makefile | 2 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 937 ++++++++++++++++++++ drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 953 +++++++++++++++++++++ include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 142 +++ include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 44 + 8 files changed, 2468 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c create mode 100644 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-gpio.h create mode 100644 include/dt-bindings/pinctrl/qcom,pmic-mpp.h
This looks good and I gave it a spin on one of our 8974 devices and verified that gpio_keys works :)
Regards,
Bjorn
Quoted 7 lines · Bjorn Andersson
On Wed 01 Oct 09:30 PDT 2014, Ivan T. Ivanov wrote:
This looks good and I gave it a spin on one of our 8974 devices and verified that
gpio_keysworks :)Acked-by Bjorn Andersson <[email protected]>
Thank you Bjorn.
Regards,
Ivan
Quoted 3 lines
Regards,
Bjorn
Quoted 10 lines · Ivan T. Ivanov
Changes since v4:
- Use PMIC name in compatible string.
-PINCTRL_QCOM_SPMI_PMICfromKconfigsymbol.
- Remove pmic string from drivers file names.
- Fixed coding style issues.
- Use qcom-spmi-gpio and qcom-spmi-mpp from dirver names, to be similar to qcom-spmi-iadc, qcom-spmi-vadc and qcom-spmi-temp-alarm drivers.
Quoted 8 lines
Short description:
Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in Qualcomm SPMI based PMIC chips.
MPP's are enhanced GPIO's with analog circuits, which support analog and digital input/output.
I think I'm happy to apply this for v3.19 now that I have Björn's ACK on it too (or is it even Reviewed-by..?)
But I can't find these patches in my mailbox, do you have a branch based off v3.18-rc1 I can pull from?
Yours,
Linus Walleij
Quoted 20 lines · Linus Walleij
Quoted 17 lines · Ivan T. Ivanov
Changes since v4:
Quoted 1 line
- Use PMIC name in compatible string.
-PINCTRL_QCOM_SPMI_PMICfromKconfigsymbol.
- Remove pmic string from drivers file names.
- Fixed coding style issues.
- Use qcom-spmi-gpio and qcom-spmi-mpp from dirver names, to be similar to qcom-spmi-iadc, qcom-spmi-vadc and qcom-spmi-temp-alarm drivers.Quoted 1 line
Short description:
Quoted 1 line
Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in Qualcomm SPMI
based
PMIC chips.Quoted 1 line
Quoted 8 lines
Quoted 2 lines
MPP's are enhanced GPIO's with analog circuits, which support analog and digital input/output.
I think I'm happy to apply this for v3.19 now that I have Björn's ACK on it too (or is it even Reviewed-by..?)
But I can't find these patches in my mailbox, do you have a branch based off v3.18-rc1 I can pull from?
They are prepared but not sent. Will try to send them shortly.
Thank you.
Ivan
Quoted 4 lines
Yours,
Linus Walleij