All of lore.kernel.org
 help / color / mirror / Atom feed
From: Horia Geanta <horia.geanta@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree
Date: Tue, 31 Jul 2018 16:19:08 +0000	[thread overview]
Message-ID: <VI1PR0402MB3485200F812BA748AB3AF912982E0@VI1PR0402MB3485.eurprd04.prod.outlook.com> (raw)
In-Reply-To: 20180731145228.15145-9-laurentiu.tudor@nxp.com

On 7/31/2018 5:53 PM, laurentiu.tudor at nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
> 
> Add support for SEC ICID configuration and apply it for ls1046a.
> Also add code to make the necessary device tree fixups.
> 
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>

[snip]
> +#define SET_SEC_RTIC_ICID_ENTRY(rtic_num, streamid) \
> +	SET_ICID_ENTRY(NULL, streamid, (((streamid) << 16) | (streamid)), \
> +		offsetof(ccsr_sec_t, rticliodnr[rtic_num].ls) + \
> +		CONFIG_SYS_FSL_SEC_ADDR, 0)
> +
RTIC nodes have a binding doc in Linux kernel:
Documentation/devicetree/bindings/crypto/fsl-sec4.txt

Thus, in theory, "fsl,sec-v4.0-rtic-memory" could be used instead of NULL for
the compat string.
PPC code in arch/powerpc/include/asm/fsl_liodn.h does this.

In practice, this won't make any difference until a RTIC kernel driver is added.

Regards,
Horia

  reply	other threads:[~2018-07-31 16:19 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 14:52 [U-Boot] [PATCH v6 0/8] NXP LS1046A SMMU enabling patches laurentiu.tudor at nxp.com
2018-07-31 14:52 ` [U-Boot] [PATCH v6 1/8] armv8: fsl-layerscape: add missing register blocks base address defines laurentiu.tudor at nxp.com
2018-08-01  3:22   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 2/8] armv8: ls1046a: advertise QMan v3 in configuration laurentiu.tudor at nxp.com
2018-08-01  3:22   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 3/8] misc: fsl_portals: setup QMAN_BAR{E} also on ARM platforms laurentiu.tudor at nxp.com
2018-08-01  3:23   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 4/8] armv8: fsl-layerscape: add missing debug stream ID laurentiu.tudor at nxp.com
2018-08-01  3:23   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 5/8] armv8: ls1046a: initial icid setup support laurentiu.tudor at nxp.com
2018-08-01  3:24   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 6/8] armv8: ls1046a: add icid setup for qman portals laurentiu.tudor at nxp.com
2018-08-01  3:25   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 7/8] armv8: ls1046a: setup fman ports ICIDs and device tree laurentiu.tudor at nxp.com
2018-08-01  3:25   ` Bharat Bhushan
2018-07-31 14:52 ` [U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up " laurentiu.tudor at nxp.com
2018-07-31 16:19   ` Horia Geanta [this message]
2018-08-01  3:26     ` Bharat Bhushan
2018-08-01  7:48       ` Laurentiu Tudor
2018-08-01  7:47     ` Laurentiu Tudor

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=VI1PR0402MB3485200F812BA748AB3AF912982E0@VI1PR0402MB3485.eurprd04.prod.outlook.com \
    --to=horia.geanta@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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 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.