All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Suman Anna <s-anna@ti.com>
Cc: Dave Gerlach <d-gerlach@ti.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Tony Lindgren <tony@atomide.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Sekhar Nori <nsekhar@ti.com>,
	Kishon Vijay Abraham <kishon@ti.com>,
	Lokesh Vutla <lokeshvutla@ti.com>,
	Aswath Govindraju <a-govindraju@ti.com>
Subject: Re: [PATCH v3 3/5] arm64: dts: ti: Add support for AM642 SoC
Date: Thu, 21 Jan 2021 11:46:39 -0600	[thread overview]
Message-ID: <20210121174639.jqbvem6b4ozd3six@sterling> (raw)
In-Reply-To: <197af185-d2ea-3c76-d0bf-714485f8f195@ti.com>

On 11:25-20210121, Suman Anna wrote:
> On 1/20/21 2:25 PM, Dave Gerlach wrote:
> > The AM642 SoC belongs to the K3 Multicore SoC architecture platform,
> > providing advanced system integration to enable applications such as
> > Motor Drives, PLC, Remote IO and IoT Gateways.
> > 
> > Some highlights of this SoC are:
> > * Dual Cortex-A53s in a single cluster, two clusters of dual Cortex-R5F
> >   MCUs, and a single Cortex-M4F.
> > * Two Gigabit Industrial Communication Subsystems (ICSSG).
> > * Integrated Ethernet switch supporting up to a total of two external
> >   ports.
> > * PCIe-GEN2x1L, USB3/USB2, 2xCAN-FD, eMMC and SD, UFS, OSPI memory
> >   controller, QSPI, I2C, eCAP/eQEP, ePWM, ADC, among other
> >   peripherals.
> > * Centralized System Controller for Security, Power, and Resource
> >   Management (DMSC).
> > 
> > See AM64X Technical Reference Manual (SPRUIM2, Nov 2020)
> > for further details: https://www.ti.com/lit/pdf/spruim2
> > 
> > Introduce basic support for the AM642 SoC to enable ramdisk or MMC
> > boot. Introduce the sdhci, i2c, spi, and uart MAIN domain periperhals
> > under cbass_main and the i2c, spi, and uart MCU domain periperhals
> > under cbass_mcu.
> > 
> > Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> > Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> 
> Hmm, there are a few pieces contributed by me, so please do add
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Sure, thanks..

[...]

> > +
> > +	sdhci0: mmc@fa10000 {
> > +		compatible = "ti,am64-sdhci-8bit";
> 
> Hmm, I tried booting this series on top of 5.11-rc1 + Nishanth's current
> ti-k3-dts-next. So, boot of these patches using this baseline fails when using
> MMC rootfs, but is ok when using initramfs. This particular compatible and the
> corresponding driver change are only in linux-next coming through couple of
> patches from the MMC subsystem.
> 
> I am not sure why we would be including stuff that's dependent on some other
> patches being merged from a different sub-system? Strangely, this ought to be
> caught by dtbs_check, but it is not throwing any errors.
> 
> IMHO, these should only be added if you have no other external dependencies
> especially when you are applying on a 5.11-rc baseline. The MMC pull-requests
> would not go through arm-soc either.
> 

Yes, I am aware of this - this is no different from integration we have
done in the past as well.. intent is to get bindings in via subsystem
trees and dts changes via arm-soc. I always insist that basic ramdisk
boot always in the basic introduction tree. mmc, nfs are add-ons that
get added via subsystem tree and I host the dts changes - in this case
every dts node binding is fine with subsystems already queued in
linux-next. And this is no different from what I have noticed on other
ARM SoC maintainer trees as well.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

WARNING: multiple messages have this Message-ID (diff)
From: Nishanth Menon <nm@ti.com>
To: Suman Anna <s-anna@ti.com>
Cc: devicetree@vger.kernel.org, Vignesh Raghavendra <vigneshr@ti.com>,
	Dave Gerlach <d-gerlach@ti.com>, Tony Lindgren <tony@atomide.com>,
	Sekhar Nori <nsekhar@ti.com>,
	Kishon Vijay Abraham <kishon@ti.com>,
	Lokesh Vutla <lokeshvutla@ti.com>,
	Rob Herring <robh+dt@kernel.org>,
	Aswath Govindraju <a-govindraju@ti.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 3/5] arm64: dts: ti: Add support for AM642 SoC
Date: Thu, 21 Jan 2021 11:46:39 -0600	[thread overview]
Message-ID: <20210121174639.jqbvem6b4ozd3six@sterling> (raw)
In-Reply-To: <197af185-d2ea-3c76-d0bf-714485f8f195@ti.com>

On 11:25-20210121, Suman Anna wrote:
> On 1/20/21 2:25 PM, Dave Gerlach wrote:
> > The AM642 SoC belongs to the K3 Multicore SoC architecture platform,
> > providing advanced system integration to enable applications such as
> > Motor Drives, PLC, Remote IO and IoT Gateways.
> > 
> > Some highlights of this SoC are:
> > * Dual Cortex-A53s in a single cluster, two clusters of dual Cortex-R5F
> >   MCUs, and a single Cortex-M4F.
> > * Two Gigabit Industrial Communication Subsystems (ICSSG).
> > * Integrated Ethernet switch supporting up to a total of two external
> >   ports.
> > * PCIe-GEN2x1L, USB3/USB2, 2xCAN-FD, eMMC and SD, UFS, OSPI memory
> >   controller, QSPI, I2C, eCAP/eQEP, ePWM, ADC, among other
> >   peripherals.
> > * Centralized System Controller for Security, Power, and Resource
> >   Management (DMSC).
> > 
> > See AM64X Technical Reference Manual (SPRUIM2, Nov 2020)
> > for further details: https://www.ti.com/lit/pdf/spruim2
> > 
> > Introduce basic support for the AM642 SoC to enable ramdisk or MMC
> > boot. Introduce the sdhci, i2c, spi, and uart MAIN domain periperhals
> > under cbass_main and the i2c, spi, and uart MCU domain periperhals
> > under cbass_mcu.
> > 
> > Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
> > Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> 
> Hmm, there are a few pieces contributed by me, so please do add
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Sure, thanks..

[...]

> > +
> > +	sdhci0: mmc@fa10000 {
> > +		compatible = "ti,am64-sdhci-8bit";
> 
> Hmm, I tried booting this series on top of 5.11-rc1 + Nishanth's current
> ti-k3-dts-next. So, boot of these patches using this baseline fails when using
> MMC rootfs, but is ok when using initramfs. This particular compatible and the
> corresponding driver change are only in linux-next coming through couple of
> patches from the MMC subsystem.
> 
> I am not sure why we would be including stuff that's dependent on some other
> patches being merged from a different sub-system? Strangely, this ought to be
> caught by dtbs_check, but it is not throwing any errors.
> 
> IMHO, these should only be added if you have no other external dependencies
> especially when you are applying on a 5.11-rc baseline. The MMC pull-requests
> would not go through arm-soc either.
> 

Yes, I am aware of this - this is no different from integration we have
done in the past as well.. intent is to get bindings in via subsystem
trees and dts changes via arm-soc. I always insist that basic ramdisk
boot always in the basic introduction tree. mmc, nfs are add-ons that
get added via subsystem tree and I host the dts changes - in this case
every dts node binding is fine with subsystems already queued in
linux-next. And this is no different from what I have noticed on other
ARM SoC maintainer trees as well.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-01-21 17:52 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 20:25 [PATCH v3 0/5] arm64: Initial support for Texas Instruments AM642 Platform Dave Gerlach
2021-01-20 20:25 ` Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 1/5] dt-bindings: arm: ti: Add bindings for AM642 SoC Dave Gerlach
2021-01-20 20:25   ` Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 2/5] dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64 Dave Gerlach
2021-01-20 20:25   ` Dave Gerlach
2021-01-20 20:50   ` Suman Anna
2021-01-20 20:50     ` Suman Anna
2021-01-25 14:39   ` Nishanth Menon
2021-01-25 14:39     ` Nishanth Menon
2021-02-09  2:34   ` Rob Herring
2021-02-09  2:34     ` Rob Herring
2021-01-20 20:25 ` [PATCH v3 3/5] arm64: dts: ti: Add support for AM642 SoC Dave Gerlach
2021-01-20 20:25   ` Dave Gerlach
2021-01-20 22:04   ` Nishanth Menon
2021-01-20 22:04     ` Nishanth Menon
2021-01-21 17:25   ` Suman Anna
2021-01-21 17:25     ` Suman Anna
2021-01-21 17:46     ` Nishanth Menon [this message]
2021-01-21 17:46       ` Nishanth Menon
2021-01-21 18:13       ` Suman Anna
2021-01-21 18:13         ` Suman Anna
2021-01-21 18:39         ` Nishanth Menon
2021-01-21 18:39           ` Nishanth Menon
2021-01-21 19:57           ` Suman Anna
2021-01-21 19:57             ` Suman Anna
2021-01-21 20:13             ` Nishanth Menon
2021-01-21 20:13               ` Nishanth Menon
2021-01-21 20:42               ` Suman Anna
2021-01-21 20:42                 ` Suman Anna
2021-01-21 21:18                 ` Nishanth Menon
2021-01-21 21:18                   ` Nishanth Menon
2021-01-21 22:57                   ` Suman Anna
2021-01-21 22:57                     ` Suman Anna
2021-01-22 11:23             ` Arnd Bergmann
2021-01-22 11:23               ` Arnd Bergmann
2021-01-22 13:00               ` Tony Lindgren
2021-01-22 13:00                 ` Tony Lindgren
2021-01-25 14:16                 ` Nishanth Menon
2021-01-25 14:16                   ` Nishanth Menon
2021-01-25 22:48   ` Suman Anna
2021-01-25 22:48     ` Suman Anna
2021-01-25 23:02     ` Suman Anna
2021-01-25 23:02       ` Suman Anna
2021-01-20 20:25 ` [PATCH v3 4/5] arm64: dts: ti: k3-am64-main: Enable DMA support Dave Gerlach
2021-01-20 20:25   ` Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 5/5] arm64: dts: ti: Add support for AM642 EVM Dave Gerlach
2021-01-20 20:25   ` Dave Gerlach
2021-01-25 16:44   ` Suman Anna
2021-01-25 16:44     ` Suman Anna

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=20210121174639.jqbvem6b4ozd3six@sterling \
    --to=nm@ti.com \
    --cc=a-govindraju@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=lokeshvutla@ti.com \
    --cc=nsekhar@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=s-anna@ti.com \
    --cc=tony@atomide.com \
    --cc=vigneshr@ti.com \
    /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.