public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 09/73] ARM: tegra: gr2d is not backwards-compatible
Date: Mon, 22 Jun 2020 17:22:09 +0200	[thread overview]
Message-ID: <20200622152209.GA4008275@ulmo> (raw)
In-Reply-To: <9f56be9a-1a79-07cc-371f-f3abcd20701e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1720 bytes --]

On Wed, Jun 17, 2020 at 07:21:30PM +0300, Dmitry Osipenko wrote:
> 16.06.2020 16:51, Thierry Reding пишет:
> > From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > 
> > The instantiation of gr2d in Tegra114 is not backwards-compatible with
> > the version found on earlier chips. Remove the misleading compatible
> > string.
> > 
> > Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > ---
> >  arch/arm/boot/dts/tegra114.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi
> > index a0ac9ea9ec9d..d583dfba688f 100644
> > --- a/arch/arm/boot/dts/tegra114.dtsi
> > +++ b/arch/arm/boot/dts/tegra114.dtsi
> > @@ -35,7 +35,7 @@ host1x@50000000 {
> >  		ranges = <0x54000000 0x54000000 0x01000000>;
> >  
> >  		gr2d@54140000 {
> > -			compatible = "nvidia,tegra114-gr2d", "nvidia,tegra20-gr2d";
> > +			compatible = "nvidia,tegra114-gr2d";
> >  			reg = <0x54140000 0x00040000>;
> >  			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
> >  			clocks = <&tegra_car TEGRA114_CLK_GR2D>;
> > 
> 
> Could you please explain what's the difference? AFAIK, the 2D HW is
> identical on T20/30/114.

My understanding is that the IP core itself is identical. However, the
compatible string really describes the integration of the IP, which in
case of Tegra114 is slightly different in that it's part of the HEG
power partition, whereas it wasn't previously.

That means that without knowledge of the power partition we won't be
able to access the gr2d IP on Tegra114 at all and hence it isn't
backwards compatible with Tegra20.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2020-06-22 15:22 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 13:51 [PATCH 00/73] ARM: tegra: Various fixes for DT schema validation Thierry Reding
     [not found] ` <20200616135238.3001888-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 13:51   ` [PATCH 01/73] ARM: tegra: Add missing clock-names for SDHCI on Tegra114 Thierry Reding
2020-06-16 13:51   ` [PATCH 02/73] ARM: tegra: Remove simple clocks bus Thierry Reding
     [not found]     ` <20200616135238.3001888-3-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 19:06       ` Jon Hunter
     [not found]         ` <74f8be81-216b-b69b-4517-c90d5f7d578a-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-17 14:21           ` Thierry Reding
2020-06-16 13:51   ` [PATCH 03/73] ARM: tegra: Remove simple regulators bus Thierry Reding
     [not found]     ` <20200616135238.3001888-4-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-16 19:24       ` Jon Hunter
     [not found]         ` <cf8eb9d4-70d5-400f-ecc8-2139c25563a9-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-17 14:22           ` Thierry Reding
2020-06-16 13:51   ` [PATCH 04/73] ARM: tegra: Remove battery-name property Thierry Reding
2020-06-16 13:51   ` [PATCH 05/73] ARM: tegra: roth: Use the correct DSI/CSI supply Thierry Reding
2020-06-16 13:51   ` [PATCH 06/73] ARM: tegra: tn7: " Thierry Reding
2020-06-16 13:51   ` [PATCH 07/73] ARM: tegra: Do not mark host1x as simple bus Thierry Reding
2020-06-16 13:51   ` [PATCH 08/73] ARM: tegra: Add missing host1x properties Thierry Reding
2020-06-16 13:51   ` [PATCH 09/73] ARM: tegra: gr2d is not backwards-compatible Thierry Reding
     [not found]     ` <20200616135238.3001888-10-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-17 16:21       ` Dmitry Osipenko
     [not found]         ` <9f56be9a-1a79-07cc-371f-f3abcd20701e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-22 15:22           ` Thierry Reding [this message]
2020-06-22 15:29             ` Dmitry Osipenko
2020-06-16 13:51   ` [PATCH 10/73] ARM: tegra: gr3d " Thierry Reding
2020-06-16 13:51   ` [PATCH 11/73] ARM: tegra: The Tegra114 DC " Thierry Reding
2020-06-16 13:51   ` [PATCH 12/73] ARM: tegra: Drop display controller parent clocks on Tegra114 Thierry Reding
     [not found]     ` <20200616135238.3001888-13-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-24 16:19       ` Dmitry Osipenko
     [not found]         ` <0bc2ec0e-f863-207a-d61b-058503598139-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-25  7:37           ` Thierry Reding
2020-06-25 14:18             ` Dmitry Osipenko
2020-06-16 13:51   ` [PATCH 13/73] ARM: tegra: Rename sdhci nodes to mmc Thierry Reding
2020-06-16 13:51   ` [PATCH 14/73] ARM: tegra: Tegra114 SDHCI is not backwards-compatible Thierry Reding
2020-06-16 13:51   ` [PATCH 15/73] ARM: tegra: Add missing #phy-cells property to USB PHYs Thierry Reding
2020-06-16 13:51   ` [PATCH 16/73] ARM: tegra: Add missing #sound-dai-cells property to codecs Thierry Reding
2020-06-16 13:51   ` [PATCH 17/73] ARM: tegra: Name GPIO hog nodes consistently Thierry Reding
2020-06-16 13:51   ` [PATCH 18/73] ARM: tegra: Use standard name for Ethernet devices Thierry Reding
2020-06-16 13:51   ` [PATCH 19/73] ARM: tegra: Use proper tuple notation Thierry Reding
2020-06-16 13:51   ` [PATCH 20/73] ARM: tegra: Add micro-USB A/B port on Jetson TK1 Thierry Reding
2020-06-16 13:51   ` [PATCH 21/73] ARM: tegra: Add missing panel power supplies on Nyan Thierry Reding
2020-06-16 13:51   ` [PATCH 22/73] ARM: tegra: Add #reset-cells to Tegra124 memory controller Thierry Reding
2020-06-16 13:51   ` [PATCH 23/73] ARM: tegra: Fix order of XUSB controller clocks Thierry Reding
2020-06-16 13:51   ` [PATCH 24/73] ARM: tegra: Add missing clock-names for SDHCI controllers Thierry Reding
2020-06-16 13:51   ` [PATCH 25/73] ARM: tegra: Use proper unit-addresses for OPPs Thierry Reding
2020-06-16 13:51   ` [PATCH 26/73] ARM: tegra: medcom-wide: Remove extra panel power supply Thierry Reding
2020-06-16 13:51   ` [PATCH 27/73] ARM: tegra: Use numeric unit-addresses Thierry Reding
2020-06-16 13:51   ` [PATCH 28/73] ARM: tegra: Use standard names for LED nodes Thierry Reding
2020-06-16 13:51   ` [PATCH 29/73] ARM: tegra: seaboard: Use standard battery bindings Thierry Reding
2020-06-16 13:51   ` [PATCH 30/73] ARM: tegra: Use standard names for SRAM nodes Thierry Reding
2020-06-16 13:51   ` [PATCH 31/73] ARM: tegra: Add parent clock to DSI output Thierry Reding
2020-06-16 13:51   ` [PATCH 32/73] ARM: tegra: Remove spurious comma from node name Thierry Reding
2020-06-16 13:51   ` [PATCH 33/73] ARM: tegra: The Tegra30 DC is not backwards-compatible Thierry Reding
2020-06-16 13:51   ` [PATCH 34/73] ARM: tegra: The Tegra30 SDHCI " Thierry Reding
2020-06-16 13:52   ` [PATCH 35/73] arm64: tegra: Add missing #phy-cells property on Jetson TX2 Thierry Reding
2020-06-16 13:52   ` [PATCH 36/73] arm64: tegra: Add missing #phy-cells property on Jetson AGX Xavier Thierry Reding
2020-06-16 13:52   ` [PATCH 37/73] arm64: tegra: Fix #address-cells/#size-cells for SRAM on Tegra186 Thierry Reding
2020-06-16 13:52   ` [PATCH 38/73] arm64: tegra: Use standard notation for interrupts Thierry Reding
2020-06-16 13:52   ` [PATCH 39/73] arm64: tegra: Remove extra compatible for Tegra194 SDHCI Thierry Reding
2020-06-16 13:52   ` [PATCH 40/73] arm64: tegra: Remove extra compatible for Tegra210 SDHCI Thierry Reding
2020-06-16 13:52   ` [PATCH 41/73] arm64: tegra: Describe interconnect paths on Tegra186 Thierry Reding
2020-06-16 13:52   ` [PATCH 42/73] arm64: tegra: Describe interconnect paths on Tegra194 Thierry Reding
2020-06-16 13:52   ` [PATCH 43/73] arm64: tegra: Add interrupt for Tegra194 memory controller Thierry Reding
2020-06-16 13:52   ` [PATCH 44/73] arm64: tegra: Add Tegra132 compatible string for host1x Thierry Reding
2020-06-16 13:52   ` [PATCH 45/73] arm64: tegra: Add interrupt-names " Thierry Reding
2020-06-16 13:52   ` [PATCH 46/73] arm64: tegra: Remove parent clock from display controllers Thierry Reding
2020-06-16 13:52   ` [PATCH 47/73] arm64: tegra: Fixup I/O and PLL supply names for HDMI/DP Thierry Reding
2020-06-16 13:52   ` [PATCH 48/73] arm64: tegra: Add unit-address to memory node Thierry Reding
2020-06-16 13:52   ` [PATCH 49/73] arm64: tegra: Rename sdhci nodes to mmc Thierry Reding
2020-06-16 13:52   ` [PATCH 50/73] arm64: tegra: Enable XUSB on Norrin Thierry Reding
2020-06-16 13:52   ` [PATCH 51/73] arm64: tegra: Remove undocumented battery-name property Thierry Reding
2020-06-16 13:52   ` [PATCH 52/73] arm64: tegra: Remove simple clocks bus Thierry Reding
     [not found]     ` <20200616135238.3001888-53-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-30 11:13       ` Jon Hunter
     [not found]         ` <46e907c8-6fd5-73ff-9ca4-bcf3ee19d716-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-30 11:16           ` Jon Hunter
2020-06-16 13:52   ` [PATCH 53/73] arm64: tegra: Remove simple regulators bus Thierry Reding
     [not found]     ` <20200616135238.3001888-54-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-06-30 11:11       ` Jon Hunter
     [not found]         ` <fe583ea8-6a66-f78e-b926-5d0ed775361f-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2020-06-30 11:16           ` Jon Hunter
2020-06-16 13:52   ` [PATCH 54/73] arm64: tegra: norrin: Add missing panel power supply Thierry Reding
2020-06-16 13:52   ` [PATCH 55/73] arm64: tegra: Use proper tuple notation Thierry Reding
2020-06-16 13:52   ` [PATCH 56/73] arm64: tegra: Do not mark host1x as simple bus Thierry Reding
2020-06-16 13:52   ` [PATCH 57/73] arm64: tegra: Use sor0_out clock on Tegra132 Thierry Reding
2020-06-16 13:52   ` [PATCH 58/73] arm64: tegra: Tegra132 EMC is not compatible with Tegra124 Thierry Reding
2020-06-16 13:52   ` [PATCH 59/73] arm64: tegra: Add missing #phy-cells property to USB PHYs Thierry Reding
2020-06-16 13:52   ` [PATCH 60/73] arm64: tegra: Remove unneeded power supplies Thierry Reding
2020-06-16 13:52   ` [PATCH 61/73] arm64: tegra: Update USB connector nodes Thierry Reding
2020-06-16 13:52   ` [PATCH 62/73] arm64: tegra: Use standard EEPROM properties Thierry Reding
2020-06-16 13:52   ` [PATCH 63/73] arm64: tegra: Remove XUSB pad controller interrupt from XUSB node Thierry Reding
2020-06-16 13:52   ` [PATCH 64/73] arm64: tegra: Fix {clock,reset}-names ordering Thierry Reding
2020-06-16 13:52   ` [PATCH 65/73] arm64: tegra: Do not mark display hub as simple bus Thierry Reding
2020-06-16 13:52   ` [PATCH 66/73] arm64: tegra: Use standard names for SRAM nodes Thierry Reding
2020-06-16 13:52   ` [PATCH 67/73] arm64: tegra: Remove unused interrupts from Tegra194 AON GPIO Thierry Reding
2020-06-16 13:52   ` [PATCH 68/73] arm64: tegra: Fix indentation in Tegra194 device tree Thierry Reding
2020-06-16 13:52   ` [PATCH 69/73] arm64: tegra: Rename agic -> interrupt-controller Thierry Reding
2020-06-16 13:52   ` [PATCH 70/73] arm64: tegra: Various fixes for PMICs Thierry Reding
2020-06-16 13:52   ` [PATCH 71/73] arm64: tegra: Sort nodes by unit-address on Jetson Nano Thierry Reding
2020-06-16 13:52   ` [PATCH 72/73] arm64: tegra: Rename cbb@0 to bus@0 on Tegra194 Thierry Reding
2020-06-16 13:52   ` [PATCH 73/73] arm64: tegra: Fix order of XUSB controller clocks Thierry Reding

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=20200622152209.GA4008275@ulmo \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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