public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: Michael Walle <michael@walle.cc>, Andy Tang <andy.tang@nxp.com>
Cc: "u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Tom Rini <trini@konsulko.com>,
	Peter Griffin <peter.griffin@linaro.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH v3 01/29] armv8: ls1028a: add IOMMU stream ID to vivante node
Date: Thu, 16 Sep 2021 09:53:23 +0000	[thread overview]
Message-ID: <20210916095322.stmqnv2fezzbj2n3@skbuf> (raw)
In-Reply-To: <20210902164558.1920849-2-michael@walle.cc>

On Thu, Sep 02, 2021 at 06:45:30PM +0200, Michael Walle wrote:
> The fixup is done for the "fsl,ls1028a-gpu" which isn't any official
> device tree binding. Don't break it, but instead add a fixup for another
> compatible "vivante,gc" which is the offical one for the GPU on the
> LS1028A.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
> index 49df8b3790..d93a793f39 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
> @@ -18,6 +18,7 @@ struct icid_id_table icid_tbl[] = {
>  	SET_SATA_ICID(1, "fsl,ls1028a-ahci", FSL_SATA1_STREAM_ID),
>  	SET_EDMA_ICID(FSL_EDMA_STREAM_ID),
>  	SET_QDMA_ICID("fsl,ls1028a-qdma", FSL_DMA_STREAM_ID),
> +	SET_GPU_ICID("vivante,gc", FSL_GPU_STREAM_ID),
>  	SET_GPU_ICID("fsl,ls1028a-gpu", FSL_GPU_STREAM_ID),
>  	SET_DISPLAY_ICID(FSL_DISPLAY_STREAM_ID),
>  #ifdef CONFIG_FSL_CAAM
> -- 
> 2.30.2
> 

So I have zero tangency with the LS1028A GPU (I've just ordered a
DisplayPort to HDMI adapter so I can test it from now on with my HDMI
capture card), but I think that you know that the "fsl,ls1028a-gpu"
compatible string is for this driver:
https://source.codeaurora.org/external/qoriq/qoriq-components/linux/tree/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx.c?h=LSDK-21.08
which yes, has no upstream equivalent, and will probably never be upstream.

And by the way, every time I boot an upstream kernel with upstream
U-Boot, I get this warning due to the attempted fixup, which is really annoying:

WARNING could not find node fsl,ls1028a-gpu: FDT_ERR_NOTFOUND.

So I personally would not mind if we would just delete anything having
to do with "fsl,ls1028a-gpu" from mainline U-Boot (at least until
something meaningful gets added to Linux which is specific to the
LS1028A) :)

Let me add Andy Tang to the discussion just to make sure that he's aware
of what you're up to:
https://www.spinics.net/lists/kernel/msg4060045.html

  reply	other threads:[~2021-09-16  9:53 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02 16:45 [PATCH v3 00/29] arm: dts: ls1028a: sync device tree with linux Michael Walle
2021-09-02 16:45 ` [PATCH v3 01/29] armv8: ls1028a: add IOMMU stream ID to vivante node Michael Walle
2021-09-16  9:53   ` Vladimir Oltean [this message]
2021-09-16 10:15     ` Michael Walle
2021-09-02 16:45 ` [PATCH v3 02/29] arm: dts: ls1028a: remove /memory node Michael Walle
2021-09-02 16:45 ` [PATCH v3 03/29] arm: dts: ls1028a-{rdb, qds}: remove dm-pre-reloc property Michael Walle
2021-09-14 23:43   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 04/29] arm: dts: ls1028a: add an empty /soc Michael Walle
2021-09-14 23:43   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 05/29] arm: dts: ls1028a: move the clockgen node into /soc Michael Walle
2021-09-14 23:44   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 06/29] arm: dts: ls1028a: move I2C controller nodes " Michael Walle
2021-09-14 23:47   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 07/29] arm: dts: ls1028a: move the FlexSPI controller node Michael Walle
2021-09-14 23:47   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 08/29] arm: dts: ls1028a: move the SPI and eSDHC controller nodes into /soc Michael Walle
2021-09-14 23:48   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 09/29] arm: dts: ls1028a: move the UART " Michael Walle
2021-09-14 23:49   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 10/29] arm: dts: ls1028a: move the low-power UART " Michael Walle
2021-09-14 23:50   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 11/29] arm: dts: ls1028a: move the GPIO controller " Michael Walle
2021-09-14 23:51   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 12/29] arm: dts: ls1028a: move SATA and USB " Michael Walle
2021-09-14 23:52   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 13/29] arm: dts: ls1028a: move the PCIe " Michael Walle
2021-09-14 23:53   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 14/29] arm: dts: ls1028a: move the watchdog node " Michael Walle
2021-09-14 23:54   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 15/29] arm: dts: ls1028a: move the iRC node and its devices " Michael Walle
2021-09-14 23:56   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 16/29] arm: dts: ls1028a: update the labels Michael Walle
2021-09-15  0:02   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 17/29] watchdog: sp805_wdt: use correct compatible string Michael Walle
2021-09-02 16:45 ` [PATCH v3 18/29] spi: fsl_dspi: add new compatible fsl, ls1021a-v1.0-dspi Michael Walle
2021-09-02 16:45 ` [PATCH v3 19/29] spi: fsl_dspi: rename num-cs to spi-num-chipselects Michael Walle
2021-09-15  0:05   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 20/29] serial: lpuart: add new compatible fsl, ls1028a-lpuart Michael Walle
2021-09-02 16:45 ` [PATCH v3 21/29] scsi: ceva: rename the resource name to match the linux kernel one Michael Walle
2021-09-15  0:10   ` Vladimir Oltean
2021-09-15  7:26     ` Michael Walle
2021-09-02 16:45 ` [PATCH v3 22/29] usb: xhci: fsl: add new compatible fsl,ls1028a-dwc3 Michael Walle
2021-09-03 23:51   ` [PATCH v3 22/29] usb: xhci: fsl: add new compatible fsl, ls1028a-dwc3 Bin Meng
2021-09-02 16:45 ` [PATCH v3 23/29] pci: layerscape: add official ls1028a binding support Michael Walle
2021-09-02 16:45 ` [PATCH v3 24/29] arm: dts: ls1028a: remove num-lanes in the PCIe controller nodes Michael Walle
2021-09-15  0:12   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 25/29] arm: dts: ls1028a: move the PCI I/O window to match Michael Walle
2021-09-15  0:13   ` Vladimir Oltean
2021-09-16  4:03     ` Z.Q. Hou
2021-09-02 16:45 ` [PATCH v3 26/29] arm: dts: ls1028a: disable the PCIe controller by default Michael Walle
2021-09-15  0:14   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 27/29] arm: dts: ls1028a: drop non-removable property from esdhc controller node Michael Walle
2021-09-15  0:17   ` Vladimir Oltean
2021-09-15  8:09     ` Michael Walle
2021-09-15 10:36       ` Vladimir Oltean
2021-10-05  7:57         ` Michael Walle
2021-09-02 16:45 ` [PATCH v3 28/29] arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux Michael Walle
2021-09-15  0:24   ` Vladimir Oltean
2021-09-02 16:45 ` [PATCH v3 29/29] arm: dts: sl28: sync dtbs Michael Walle
2021-09-15  0:27   ` Vladimir Oltean
2021-10-05  0:39 ` [PATCH v3 00/29] arm: dts: ls1028a: sync device tree with linux Vladimir Oltean

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=20210916095322.stmqnv2fezzbj2n3@skbuf \
    --to=vladimir.oltean@nxp.com \
    --cc=andy.tang@nxp.com \
    --cc=jagan@amarulasolutions.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=michael@walle.cc \
    --cc=peter.griffin@linaro.org \
    --cc=priyanka.jain@nxp.com \
    --cc=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox