From: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> To: Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Michal Simek <michal.simek@xilinx.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> Cc: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-gpio@vger.kernel.org>, <git@xilinx.com>, <saikrishna12468@gmail.com>, Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> Subject: [PATCH v6 0/3] Add ZynqMP pinctrl driver Date: Thu, 22 Apr 2021 13:59:59 +0530 [thread overview] Message-ID: <1619080202-31924-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> (raw) Add support for Xilinx ZynqMP pinctrl driver and also update the Xilinx firmware driver to support pinctrl functionality. This driver queries the pin information from the firmware and allow configuring the pins as per the request. Note: Patch#2 is already applied but sending in this series for completeness. changes in v6: - Rebased the patche series on 'devel' branch in pinctrl tree and no functional changes. changes in v5: - Used generic property 'power-source' instead of driver specific for configuring the IO voltages, updated the same in dt-binding. - Added support to build driver as a module. - Used error codes returned by the Xilinx firmware instead of shadowing the error codes in the driver. - Fixed comments from Andy related to spell checks, NULL checks, explicit typecast, header inclusion ordering, removing kernel docs for the obvious ones. changes in v4: - Added comment for ignoring the return value for GET_FUNCTION_NAME qid. - Updated the zynqmp_pinctrl_get_function_name() API prototype to void as it always returns zero. changes in v3: - Fixed binding doc comments from Rob. - Used 'maxItems' for groups and pins properties. - Updated commit subject and description to have present tense statements. changes in v2: - Use pattern for pin names in yaml file. - Updated to support multiple groups and pins. - Added type ref for the vendor specific properties. - Removed 'schmitt-cmos', instead used common properties. - Removed macros for drive-strength property. Sai Krishna Potthuri (3): firmware: xilinx: Add pinctrl support dt-bindings: pinctrl: Add binding for ZynqMP pinctrl driver pinctrl: Add Xilinx ZynqMP pinctrl driver support .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 336 +++++++ drivers/firmware/xilinx/zynqmp.c | 114 +++ drivers/pinctrl/Kconfig | 14 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-zynqmp.c | 906 ++++++++++++++++++ include/dt-bindings/pinctrl/pinctrl-zynqmp.h | 19 + include/linux/firmware/xlnx-zynqmp.h | 90 ++ 7 files changed, 1480 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml create mode 100644 drivers/pinctrl/pinctrl-zynqmp.c create mode 100644 include/dt-bindings/pinctrl/pinctrl-zynqmp.h -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> To: Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Michal Simek <michal.simek@xilinx.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> Cc: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-gpio@vger.kernel.org>, <git@xilinx.com>, <saikrishna12468@gmail.com>, Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> Subject: [PATCH v6 0/3] Add ZynqMP pinctrl driver Date: Thu, 22 Apr 2021 13:59:59 +0530 [thread overview] Message-ID: <1619080202-31924-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> (raw) Add support for Xilinx ZynqMP pinctrl driver and also update the Xilinx firmware driver to support pinctrl functionality. This driver queries the pin information from the firmware and allow configuring the pins as per the request. Note: Patch#2 is already applied but sending in this series for completeness. changes in v6: - Rebased the patche series on 'devel' branch in pinctrl tree and no functional changes. changes in v5: - Used generic property 'power-source' instead of driver specific for configuring the IO voltages, updated the same in dt-binding. - Added support to build driver as a module. - Used error codes returned by the Xilinx firmware instead of shadowing the error codes in the driver. - Fixed comments from Andy related to spell checks, NULL checks, explicit typecast, header inclusion ordering, removing kernel docs for the obvious ones. changes in v4: - Added comment for ignoring the return value for GET_FUNCTION_NAME qid. - Updated the zynqmp_pinctrl_get_function_name() API prototype to void as it always returns zero. changes in v3: - Fixed binding doc comments from Rob. - Used 'maxItems' for groups and pins properties. - Updated commit subject and description to have present tense statements. changes in v2: - Use pattern for pin names in yaml file. - Updated to support multiple groups and pins. - Added type ref for the vendor specific properties. - Removed 'schmitt-cmos', instead used common properties. - Removed macros for drive-strength property. Sai Krishna Potthuri (3): firmware: xilinx: Add pinctrl support dt-bindings: pinctrl: Add binding for ZynqMP pinctrl driver pinctrl: Add Xilinx ZynqMP pinctrl driver support .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 336 +++++++ drivers/firmware/xilinx/zynqmp.c | 114 +++ drivers/pinctrl/Kconfig | 14 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-zynqmp.c | 906 ++++++++++++++++++ include/dt-bindings/pinctrl/pinctrl-zynqmp.h | 19 + include/linux/firmware/xlnx-zynqmp.h | 90 ++ 7 files changed, 1480 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml create mode 100644 drivers/pinctrl/pinctrl-zynqmp.c create mode 100644 include/dt-bindings/pinctrl/pinctrl-zynqmp.h -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-04-22 8:30 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-22 8:29 Sai Krishna Potthuri [this message] 2021-04-22 8:29 ` [PATCH v6 0/3] Add ZynqMP pinctrl driver Sai Krishna Potthuri 2021-04-22 8:30 ` [PATCH v6 1/3] firmware: xilinx: Add pinctrl support Sai Krishna Potthuri 2021-04-22 8:30 ` Sai Krishna Potthuri 2021-04-22 8:30 ` [PATCH v6 2/3] dt-bindings: pinctrl: Add binding for ZynqMP pinctrl driver Sai Krishna Potthuri 2021-04-22 8:30 ` Sai Krishna Potthuri 2021-04-22 8:30 ` [PATCH v6 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support Sai Krishna Potthuri 2021-04-22 8:30 ` Sai Krishna Potthuri 2021-04-22 16:39 ` kernel test robot 2021-04-23 15:53 ` Andy Shevchenko 2021-04-23 15:53 ` Andy Shevchenko 2021-04-26 13:20 ` Sai Krishna Potthuri 2021-04-26 13:20 ` Sai Krishna Potthuri 2021-04-26 14:04 ` Andy Shevchenko 2021-04-26 14:04 ` Andy Shevchenko 2021-04-27 7:23 ` Michal Simek 2021-04-27 7:23 ` Michal Simek 2021-04-27 7:31 ` Andy Shevchenko 2021-04-27 7:31 ` Andy Shevchenko 2021-04-27 7:38 ` Michal Simek 2021-04-27 7:38 ` Michal Simek 2021-04-27 8:39 ` Andy Shevchenko 2021-04-27 8:39 ` Andy Shevchenko 2021-04-27 9:59 ` Michal Simek 2021-04-27 9:59 ` Michal Simek 2021-04-27 14:04 ` Andy Shevchenko 2021-04-27 14:04 ` Andy Shevchenko 2021-04-28 5:33 ` Sai Krishna Potthuri 2021-04-28 5:33 ` Sai Krishna Potthuri 2021-05-11 12:38 ` Sai Krishna Potthuri 2021-05-11 12:38 ` Sai Krishna Potthuri 2021-06-17 6:37 ` Sai Krishna Potthuri 2021-06-17 6:37 ` Sai Krishna Potthuri 2021-06-17 7:18 ` Andy Shevchenko 2021-06-17 7:18 ` Andy Shevchenko 2021-06-17 7:31 ` Greg Kroah-Hartman 2021-06-17 7:31 ` Greg Kroah-Hartman 2021-04-22 9:13 ` [PATCH v6 0/3] Add ZynqMP pinctrl driver Linus Walleij 2021-04-22 9:13 ` Linus Walleij 2021-04-23 15:54 ` Andy Shevchenko 2021-04-23 15:54 ` Andy Shevchenko 2021-04-29 14:21 ` Linus Walleij 2021-04-29 14:21 ` Linus Walleij 2021-04-29 14:32 ` Sai Krishna Potthuri 2021-04-29 14:32 ` Sai Krishna Potthuri
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1619080202-31924-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com \ --to=lakshmi.sai.krishna.potthuri@xilinx.com \ --cc=devicetree@vger.kernel.org \ --cc=git@xilinx.com \ --cc=gregkh@linuxfoundation.org \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=michal.simek@xilinx.com \ --cc=robh+dt@kernel.org \ --cc=saikrishna12468@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.