All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herve Codina <herve.codina@bootlin.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Fabio Estevam <festevam@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>, Li Yang <leoyang.li@nxp.com>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Mark Brown <broonie@kernel.org>,
	Nicholas Piggin <npiggin@gmail.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Shengjiu Wang <shengjiu.wang@gmail.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Qiang Zhao <qiang.zhao@nxp.com>
Subject: Re: [PATCH v2 02/10] soc: fsl: qe: Add support for TSA
Date: Wed, 11 Jan 2023 16:06:51 +0100	[thread overview]
Message-ID: <20230111160651.24538b35@bootlin.com> (raw)
In-Reply-To: <7a36f02b-1ba1-b509-4aa0-c5c37a3cb3ef@csgroup.eu>

Hi Christophe,

On Wed, 11 Jan 2023 13:47:23 +0000
Christophe Leroy <christophe.leroy@csgroup.eu> wrote:

> Le 06/01/2023 à 17:37, Herve Codina a écrit :
> > The TSA (Time Slot Assigner) is available in some
> > PowerQUICC SoC such as the MPC885 or MPC866.
> > 
> > Its purpose is to route some TDM time-slots to other
> > internal serial controllers.  
> 
> Is the subject correct ? As far as I understand this patch adds support 
> for the TSA on the CPM (exactly on CPM1), not on the QE.

Yes exactly, it is a CPM1 support (kind of previous version of QE).

Do you think that fixing the subject is enough or do I need also
to create a new directory drivers/soc/fsl/cpm/ and move these drivers
(TSA and QMC) in this new directory.

The alternative could be to leave this driver in drivers/soc/qe/ and
rename it to cpm-tsa.c.

For information, we have some plan to have this driver working
with QE (not done yet).

> 
> By the way, there are already some embryo for handling TSA on QE in 
> drivers/soc/fsl/qe/qe-tdm.c

Yes but this can be seen as an extension only used by 
drivers/net/wan/fsl_ucc_hdlc.c and it supports QE only.

Not sure that qe-tdm.c will fit well if several other
drivers instances use it.

> 
> > 
> > Signed-off-by: Herve Codina <herve.codina@bootlin.com>  
> 
> Christophe

Thanks for the review,
Hervé

-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

WARNING: multiple messages have this Message-ID (diff)
From: Herve Codina <herve.codina@bootlin.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Fabio Estevam <festevam@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Xiubo Li <Xiubo.Lee@gmail.com>, Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>, Li Yang <leoyang.li@nxp.com>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Mark Brown <broonie@kernel.org>,
	Nicholas Piggin <npiggin@gmail.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Jaroslav Kysela <perex@perex.cz>,
	Shengjiu Wang <shengjiu.wang@gmail.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Qiang Zhao <qiang.zhao@nxp.com>
Subject: Re: [PATCH v2 02/10] soc: fsl: qe: Add support for TSA
Date: Wed, 11 Jan 2023 16:06:51 +0100	[thread overview]
Message-ID: <20230111160651.24538b35@bootlin.com> (raw)
In-Reply-To: <7a36f02b-1ba1-b509-4aa0-c5c37a3cb3ef@csgroup.eu>

Hi Christophe,

On Wed, 11 Jan 2023 13:47:23 +0000
Christophe Leroy <christophe.leroy@csgroup.eu> wrote:

> Le 06/01/2023 à 17:37, Herve Codina a écrit :
> > The TSA (Time Slot Assigner) is available in some
> > PowerQUICC SoC such as the MPC885 or MPC866.
> > 
> > Its purpose is to route some TDM time-slots to other
> > internal serial controllers.  
> 
> Is the subject correct ? As far as I understand this patch adds support 
> for the TSA on the CPM (exactly on CPM1), not on the QE.

Yes exactly, it is a CPM1 support (kind of previous version of QE).

Do you think that fixing the subject is enough or do I need also
to create a new directory drivers/soc/fsl/cpm/ and move these drivers
(TSA and QMC) in this new directory.

The alternative could be to leave this driver in drivers/soc/qe/ and
rename it to cpm-tsa.c.

For information, we have some plan to have this driver working
with QE (not done yet).

> 
> By the way, there are already some embryo for handling TSA on QE in 
> drivers/soc/fsl/qe/qe-tdm.c

Yes but this can be seen as an extension only used by 
drivers/net/wan/fsl_ucc_hdlc.c and it supports QE only.

Not sure that qe-tdm.c will fit well if several other
drivers instances use it.

> 
> > 
> > Signed-off-by: Herve Codina <herve.codina@bootlin.com>  
> 
> Christophe

Thanks for the review,
Hervé

-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

WARNING: multiple messages have this Message-ID (diff)
From: Herve Codina <herve.codina@bootlin.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Li Yang <leoyang.li@nxp.com>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	Qiang Zhao <qiang.zhao@nxp.com>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Shengjiu Wang <shengjiu.wang@gmail.com>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	Fabio Estevam <festevam@gmail.com>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v2 02/10] soc: fsl: qe: Add support for TSA
Date: Wed, 11 Jan 2023 16:06:51 +0100	[thread overview]
Message-ID: <20230111160651.24538b35@bootlin.com> (raw)
In-Reply-To: <7a36f02b-1ba1-b509-4aa0-c5c37a3cb3ef@csgroup.eu>

Hi Christophe,

On Wed, 11 Jan 2023 13:47:23 +0000
Christophe Leroy <christophe.leroy@csgroup.eu> wrote:

> Le 06/01/2023 à 17:37, Herve Codina a écrit :
> > The TSA (Time Slot Assigner) is available in some
> > PowerQUICC SoC such as the MPC885 or MPC866.
> > 
> > Its purpose is to route some TDM time-slots to other
> > internal serial controllers.  
> 
> Is the subject correct ? As far as I understand this patch adds support 
> for the TSA on the CPM (exactly on CPM1), not on the QE.

Yes exactly, it is a CPM1 support (kind of previous version of QE).

Do you think that fixing the subject is enough or do I need also
to create a new directory drivers/soc/fsl/cpm/ and move these drivers
(TSA and QMC) in this new directory.

The alternative could be to leave this driver in drivers/soc/qe/ and
rename it to cpm-tsa.c.

For information, we have some plan to have this driver working
with QE (not done yet).

> 
> By the way, there are already some embryo for handling TSA on QE in 
> drivers/soc/fsl/qe/qe-tdm.c

Yes but this can be seen as an extension only used by 
drivers/net/wan/fsl_ucc_hdlc.c and it supports QE only.

Not sure that qe-tdm.c will fit well if several other
drivers instances use it.

> 
> > 
> > Signed-off-by: Herve Codina <herve.codina@bootlin.com>  
> 
> Christophe

Thanks for the review,
Hervé

-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

WARNING: multiple messages have this Message-ID (diff)
From: Herve Codina <herve.codina@bootlin.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Li Yang <leoyang.li@nxp.com>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	Qiang Zhao <qiang.zhao@nxp.com>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Shengjiu Wang <shengjiu.wang@gmail.com>,
	Xiubo Li <Xiubo.Lee@gmail.com>,
	Fabio Estevam <festevam@gmail.com>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v2 02/10] soc: fsl: qe: Add support for TSA
Date: Wed, 11 Jan 2023 16:06:51 +0100	[thread overview]
Message-ID: <20230111160651.24538b35@bootlin.com> (raw)
In-Reply-To: <7a36f02b-1ba1-b509-4aa0-c5c37a3cb3ef@csgroup.eu>

Hi Christophe,

On Wed, 11 Jan 2023 13:47:23 +0000
Christophe Leroy <christophe.leroy@csgroup.eu> wrote:

> Le 06/01/2023 à 17:37, Herve Codina a écrit :
> > The TSA (Time Slot Assigner) is available in some
> > PowerQUICC SoC such as the MPC885 or MPC866.
> > 
> > Its purpose is to route some TDM time-slots to other
> > internal serial controllers.  
> 
> Is the subject correct ? As far as I understand this patch adds support 
> for the TSA on the CPM (exactly on CPM1), not on the QE.

Yes exactly, it is a CPM1 support (kind of previous version of QE).

Do you think that fixing the subject is enough or do I need also
to create a new directory drivers/soc/fsl/cpm/ and move these drivers
(TSA and QMC) in this new directory.

The alternative could be to leave this driver in drivers/soc/qe/ and
rename it to cpm-tsa.c.

For information, we have some plan to have this driver working
with QE (not done yet).

> 
> By the way, there are already some embryo for handling TSA on QE in 
> drivers/soc/fsl/qe/qe-tdm.c

Yes but this can be seen as an extension only used by 
drivers/net/wan/fsl_ucc_hdlc.c and it supports QE only.

Not sure that qe-tdm.c will fit well if several other
drivers instances use it.

> 
> > 
> > Signed-off-by: Herve Codina <herve.codina@bootlin.com>  
> 
> Christophe

Thanks for the review,
Hervé

-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2023-01-11 15:07 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 16:37 [PATCH v2 00/10] Add the PowerQUICC audio support using the QMC Herve Codina
2023-01-06 16:37 ` Herve Codina
2023-01-06 16:37 ` Herve Codina
2023-01-06 16:37 ` [PATCH v2 01/10] dt-bindings: soc: fsl: cpm_qe: Add TSA controller Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-08 15:10   ` Krzysztof Kozlowski
2023-01-08 15:10     ` Krzysztof Kozlowski
2023-01-08 15:10     ` Krzysztof Kozlowski
2023-01-10  8:04     ` Herve Codina
2023-01-10  8:04       ` Herve Codina
2023-01-10  8:04       ` Herve Codina
2023-01-10  8:04       ` Herve Codina
2023-01-11  9:56       ` Krzysztof Kozlowski
2023-01-11  9:56         ` Krzysztof Kozlowski
2023-01-11  9:56         ` Krzysztof Kozlowski
2023-01-11  9:56         ` Krzysztof Kozlowski
2023-01-06 16:37 ` [PATCH v2 02/10] soc: fsl: qe: Add support for TSA Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-11 13:47   ` Christophe Leroy
2023-01-11 13:47     ` Christophe Leroy
2023-01-11 13:47     ` Christophe Leroy
2023-01-11 15:06     ` Herve Codina [this message]
2023-01-11 15:06       ` Herve Codina
2023-01-11 15:06       ` Herve Codina
2023-01-11 15:06       ` Herve Codina
2023-01-11 17:16       ` Christophe Leroy
2023-01-11 17:16         ` Christophe Leroy
2023-01-11 17:16         ` Christophe Leroy
2023-01-11 17:16         ` Christophe Leroy
2023-01-06 16:37 ` [PATCH v2 03/10] MAINTAINERS: add the Freescale TSA controller entry Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37 ` [PATCH v2 04/10] powerpc/8xx: Use a larger CPM1 command check mask Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-10  8:23   ` Christophe Leroy
2023-01-10  8:23     ` Christophe Leroy
2023-01-10  8:23     ` Christophe Leroy
2023-01-06 16:37 ` [PATCH v2 05/10] dt-bindings: soc: fsl: cpm_qe: Add QMC controller Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-08 15:14   ` Krzysztof Kozlowski
2023-01-08 15:14     ` Krzysztof Kozlowski
2023-01-08 15:14     ` Krzysztof Kozlowski
2023-01-10  8:06     ` Herve Codina
2023-01-10  8:06       ` Herve Codina
2023-01-10  8:06       ` Herve Codina
2023-01-10  8:06       ` Herve Codina
2023-01-06 16:37 ` [PATCH v2 06/10] soc: fsl: qe: Add support for QMC Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-11 13:58   ` Christophe Leroy
2023-01-11 13:58     ` Christophe Leroy
2023-01-11 13:58     ` Christophe Leroy
2023-01-11 15:40     ` Herve Codina
2023-01-11 15:40       ` Herve Codina
2023-01-11 15:40       ` Herve Codina
2023-01-11 15:40       ` Herve Codina
2023-01-11 17:34       ` Christophe Leroy
2023-01-11 17:34         ` Christophe Leroy
2023-01-11 17:34         ` Christophe Leroy
2023-01-11 17:34         ` Christophe Leroy
2023-01-06 16:37 ` [PATCH v2 07/10] MAINTAINERS: add the Freescale QMC controller entry Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37 ` [PATCH v2 08/10] dt-bindings: sound: Add support for QMC audio Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-08 15:16   ` Krzysztof Kozlowski
2023-01-08 15:16     ` Krzysztof Kozlowski
2023-01-08 15:16     ` Krzysztof Kozlowski
2023-01-10  8:07     ` Herve Codina
2023-01-10  8:07       ` Herve Codina
2023-01-10  8:07       ` Herve Codina
2023-01-10  8:07       ` Herve Codina
2023-01-11  9:58       ` Krzysztof Kozlowski
2023-01-11  9:58         ` Krzysztof Kozlowski
2023-01-11  9:58         ` Krzysztof Kozlowski
2023-01-11  9:58         ` Krzysztof Kozlowski
2023-01-06 16:37 ` [PATCH v2 09/10] ASoC: fsl: " Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37 ` [PATCH v2 10/10] MAINTAINERS: add the Freescale QMC audio entry Herve Codina
2023-01-06 16:37   ` Herve Codina
2023-01-06 16:37   ` Herve Codina

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=20230111160651.24538b35@bootlin.com \
    --to=herve.codina@bootlin.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=christophe.leroy@csgroup.eu \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=leoyang.li@nxp.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=nicoleotsuka@gmail.com \
    --cc=npiggin@gmail.com \
    --cc=qiang.zhao@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=shengjiu.wang@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tiwai@suse.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.