[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250204-mutilated-throwing-59cabf18f187@spud>
Date: Tue, 4 Feb 2025 18:16:17 +0000
From: Conor Dooley <conor@...nel.org>
To: Basharath Hussain Khaja <basharath@...thit.com>
Cc: danishanwar <danishanwar@...com>, rogerq <rogerq@...nel.org>,
andrew+netdev <andrew+netdev@...n.ch>, davem <davem@...emloft.net>,
edumazet <edumazet@...gle.com>, kuba <kuba@...nel.org>,
pabeni <pabeni@...hat.com>, Rob Herring <robh@...nel.org>,
krzk+dt <krzk+dt@...nel.org>, conor+dt <conor+dt@...nel.org>,
nm <nm@...com>, ssantosh <ssantosh@...nel.org>,
tony <tony@...mide.com>, richardcochran <richardcochran@...il.com>,
parvathi <parvathi@...thit.com>, schnelle <schnelle@...ux.ibm.com>,
rdunlap <rdunlap@...radead.org>, diogo ivo <diogo.ivo@...mens.com>,
m-karicheri2 <m-karicheri2@...com>, horms <horms@...nel.org>,
jacob e keller <jacob.e.keller@...el.com>,
m-malladi <m-malladi@...com>,
javier carrasco cruz <javier.carrasco.cruz@...il.com>,
afd <afd@...com>, s-anna <s-anna@...com>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
netdev <netdev@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-omap <linux-omap@...r.kernel.org>,
pratheesh <pratheesh@...com>, prajith <prajith@...com>,
vigneshr <vigneshr@...com>, praneeth <praneeth@...com>,
srk <srk@...com>, rogerq <rogerq@...com>,
krishna <krishna@...thit.com>, pmohan <pmohan@...thit.com>,
mohan <mohan@...thit.com>
Subject: Re: [RFC v2 PATCH 01/10] dt-bindings: net: ti: Adds DUAL-EMAC mode
support on PRU-ICSS2 for AM57xx SOCs
On Mon, Feb 03, 2025 at 05:59:55PM +0530, Basharath Hussain Khaja wrote:
> >> >> + $ref: /schemas/types.yaml#/definitions/phandle
> >> >> + description:
> >> >> + phandle to Enhanced Capture (eCAP) event for ICSS
> >> >
> >> > Why do you need phandles for these things, can they not be looked up by
> >> > compatible? (e.g. multiple devices on one SoC).
> >> >
> >>
> >> ecap is another peripheral similar to IEP in ICSSM/ICSSG. We have created a
> >> separate driver for possible reuse with ICSSG in future.
> >
> > That's not an answer to my question.
> >
>
> We can use compatible if we have only one instance of a peripheral in the SOC.
> On the AM57x SOC we have two identical ICSS instances(ICSS1 and ICSS2). So we
> use phandles to differentiate between the two instances. Currently this patch
> series adds support for ICSS2 instance on the AM57x SOC. Support for ICSS1 instance
> will be added in subsequent patches.
Cool, that's an acceptance answer, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists