Commit graph

17 commits

Author SHA1 Message Date
Nava kishore Manne
057fcb7917 Removed version information from all drivers.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-11-20 16:32:15 +05:30
Rohit Fule
652be149c6 sw_services:xilpm: Modified serial ordering of PM_API ids
This patch removes clock related PM API ids defined in pm_defs.h
under sw_services and reassigns ids in serial order.

Signed-off-by: Rohit Fule <rohitf@xilinx.com>
Acked-by: Jyotheeswar Reddy Mutthareddyvari <jyothee@xilinx.com>
2015-08-07 16:01:41 +05:30
Nava kishore Manne
7a47ffd9e8 Removed executable file permission from source code files.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-03 18:32:57 +05:30
Nava kishore Manne
e35699808d Update Tcl files to support MultiBd and Packaged Bd Designs
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-07-31 16:55:01 +05:30
Soren Brinkmann
159e188d9d xilpm: Remove useless assignments from enum declarations
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-03 18:40:00 +05:30
Soren Brinkmann
69bae79a14 xilpm: Expand 'req' to 'request'
To avoid confustion between request vs requirement, spell them out.

Scripted change:
  find -type f -name "*.[chS]" -exec sed -i -e 's/PM_REQ_WAKEUP/PM_REQUEST_WAKEUP/g' -e 's/PM_REQ_SUSPEND/PM_REQUEST_SUSPEND/g' -e 's/PM_REQ_NODE/PM_REQUEST_NODE/g' -e 's/REQ_ACK_NO/REQUEST_ACK_NO/g' -e 's/REQ_ACK_BLOCKING/REQUEST_ACK_BLOCKING/g' -e 's/REQ_ACK_CB_STANDARD/REQUEST_ACK_CB_STANDARD/g' -e 's/REQ_ACK_CB_ERROR/REQUEST_ACK_CB_CERROR/g' -e 's/IPI_BUFFER_REQ_OFFSET/IPI_BUFFER_REQUEST_OFFSET/g' -e 's/XPm_ReqSuspend/XPm_RequestSuspend/g' -e 's/XPm_ReqWakeUp/XPm_RequestWakeUp/g' -e 's/XPm_ReqNode/XPm_RequestNode/g' '{}' ';'

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-03 18:40:00 +05:30
Nava kishore Manne
398cbdc152 lib:sw_services:standalone drivers license changes
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-15 14:48:25 +05:30
Soren Brinkmann
4b7afd3d4e xilpm: Remove stdint.h
Migrate to the standard standalone types.

Scripted change:
  find -type f -name "*.[ch]" -exec sed -i -e 's/uint32_t/u32/g' -e 's/uint8_t/u8/g' -e 's/uint16_t/u16/g' '{}' ';'
  find -type f -name "*.[ch]" -exec sed -i -e 's/int32_t/s32/g' -e 's/int8_t/s8/g' -e 's/int16_t/s16/g' '{}' ';'

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:12 +05:30
Soren Brinkmann
1a875cb79f xilpm: Remove pm_this_cpuid
Remove this unused macro.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
a8b9765edc xilpm: Move common parts to common header
The pm_client.h headers hold processor specific information. Move common
information to the common header.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
92747ad56a xilpm example: Remove GicEnableInterrupt()
The function is just a trivial wrapper => inline.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
fcd1ad8d4e xilpm example: Remove gic_setup_handler()
The function is just a trivial wrapper and used once only. Just inline
it.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:10 +05:30
Soren Brinkmann
bb2e0bdb77 xilpm: Clean up
Fix some white space and comment issues.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:10 +05:30
Jyotheeswar Reddy
22b06a8e40 lib:xilpm:example: Use TCM-A for saving context
swbeta2 commit 90e16f97eb510ea91702729bf38bc7c7d5d62dba

FSBL inits the TCMs that are used by R5 Apps. We have vectors in TCM-A
and that  data is passed on to FSBL and it is initialized. So using the
same TCM block as vectors ensures that we use an intialized memory and
avoids ECC errors due to RMW or Reads of uninitialized memory locations.
In JTAG mode, TCM still needs to be initialized using XSDB.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:08 +05:30
Soren Brinkmann
1eca099af7 xilpm: self-suspend: Set VINITH on R5
swbeta2 commit 8e5bf013a42c56c713efcfa1ab00c78e648b2333

To ensure we resume at the correct vector address, set the VINITH bit
accordingly.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:08 +05:30
Soren Brinkmann
879cc61c83 xilpm: self-suspend: Set RVBAR on A53
swbeta2 commit 7ebba935262ebff0df604fd560f4a023d32a7c72

To ensure the application is resumed at the vector table, set the RVBAR
accordingly.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:08 +05:30
Jyotheeswar Reddy
ef6ec50aa5 libs:xilpm_v1_0: Adding Power Management Library for ZynqMP
swbeta2 commit 8e824dfe3b169461916c0190194a3eb5a7810b1a

xilpm provides a set of APIs which can be used by standalone applications
to call in PMUFW power management APIs via IPI. Self-suspend example is
provided to demonstrate the usage of this library.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:08 +05:30