From: Manish Narani <manish.narani@xilinx.com>
To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com,
michal.simek@xilinx.com, adrian.hunter@intel.com,
manish.narani@xilinx.com, leoyang.li@nxp.com,
sudeep.holla@arm.com, olof@lixom.net, amit.kucheria@linaro.org,
rajanv@xilinx.com, jollys@xilinx.com
Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 1/4] firmware: xilinx: Add SD Node and DLL Reset Data APIs
Date: Tue, 18 Sep 2018 19:15:36 +0530 [thread overview]
Message-ID: <1537278339-9257-2-git-send-email-manish.narani@xilinx.com> (raw)
In-Reply-To: <1537278339-9257-1-git-send-email-manish.narani@xilinx.com>
Add ZynqMP firmware SD Node data API to be used in call from SDHCI
driver. Also add DLL Reset data API to used for DLL reset calls from any
drivers.
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
---
include/linux/firmware/xlnx-zynqmp.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
index 58a7478..743687b 100644
--- a/include/linux/firmware/xlnx-zynqmp.h
+++ b/include/linux/firmware/xlnx-zynqmp.h
@@ -58,13 +58,25 @@ enum pm_ret_status {
XST_PM_ABORT_SUSPEND,
};
+enum pm_node_id {
+ NODE_SD_0 = 39,
+ NODE_SD_1,
+};
+
enum pm_ioctl_id {
+ IOCTL_SD_DLL_RESET = 6,
IOCTL_SET_PLL_FRAC_MODE = 8,
IOCTL_GET_PLL_FRAC_MODE,
IOCTL_SET_PLL_FRAC_DATA,
IOCTL_GET_PLL_FRAC_DATA,
};
+enum dll_reset_type {
+ PM_DLL_RESET_ASSERT,
+ PM_DLL_RESET_RELEASE,
+ PM_DLL_RESET_PULSE,
+};
+
enum pm_query_id {
PM_QID_INVALID,
PM_QID_CLOCK_GET_NAME,
--
2.1.1
next prev parent reply other threads:[~2018-09-18 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-18 13:45 [RFC PATCH 0/4] Add auto tuning support for ZynqMP SDHCI controller Manish Narani
2018-09-18 13:45 ` Manish Narani [this message]
2018-09-18 13:45 ` [RFC PATCH 2/4] dt-bindings: mmc: arasan: Document 'xlnx,zynqmp-8.9a' controller Manish Narani
2018-09-24 21:31 ` Rob Herring
2018-09-18 13:45 ` [RFC PATCH 3/4] mmc: sdhci-of-arasan: Add auto tuning support for ZynqMP platform Manish Narani
2018-09-18 13:45 ` [RFC PATCH 4/4] arm64: zynqmp: Add new SDHCI compatible string Manish Narani
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=1537278339-9257-2-git-send-email-manish.narani@xilinx.com \
--to=manish.narani@xilinx.com \
--cc=adrian.hunter@intel.com \
--cc=amit.kucheria@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=jollys@xilinx.com \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=michal.simek@xilinx.com \
--cc=olof@lixom.net \
--cc=rajanv@xilinx.com \
--cc=robh+dt@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=ulf.hansson@linaro.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).