All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc:tegra:pmc: Add wake source interrupt for mgbe.
@ 2023-01-16 10:19 Sushil Singh
  2023-02-27 13:34 ` Jon Hunter
  0 siblings, 1 reply; 3+ messages in thread
From: Sushil Singh @ 2023-01-16 10:19 UTC (permalink / raw)
  To: thierry.reding; +Cc: jonathanh, linux-tegra, netdev, vbhadram, Sushil Singh

Add mgbe ethernet GPIO wake interrupt

Signed-off-by: Sushil Singh <sushilkumars@nvidia.com>
---
 drivers/soc/tegra/pmc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index cf4cfbf..f4abc7f 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -3,7 +3,7 @@
  * drivers/soc/tegra/pmc.c
  *
  * Copyright (c) 2010 Google, Inc
- * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
  *
  * Author:
  *	Colin Cross <ccross@google.com>
@@ -4227,6 +4227,7 @@ static const char * const tegra234_reset_sources[] = {
 static const struct tegra_wake_event tegra234_wake_events[] = {
 	TEGRA_WAKE_GPIO("power", 29, 1, TEGRA234_AON_GPIO(EE, 4)),
 	TEGRA_WAKE_IRQ("rtc", 73, 10),
+	TEGRA_WAKE_GPIO("mgbe_wake", 56, 0, TEGRA234_MAIN_GPIO(Y, 3)),
 };
 
 static const struct tegra_pmc_soc tegra234_pmc_soc = {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] soc:tegra:pmc: Add wake source interrupt for mgbe.
  2023-01-16 10:19 [PATCH] soc:tegra:pmc: Add wake source interrupt for mgbe Sushil Singh
@ 2023-02-27 13:34 ` Jon Hunter
  2023-02-27 14:54   ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Hunter @ 2023-02-27 13:34 UTC (permalink / raw)
  To: Sushil Singh, thierry.reding; +Cc: linux-tegra, netdev, vbhadram



On 16/01/2023 10:19, Sushil Singh wrote:
> Add mgbe ethernet GPIO wake interrupt

Add the GPIO wake interrupt for the MGBE ethernet controller on Tegra234 
devices.

> 
> Signed-off-by: Sushil Singh <sushilkumars@nvidia.com>
> ---
>   drivers/soc/tegra/pmc.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
> index cf4cfbf..f4abc7f 100644
> --- a/drivers/soc/tegra/pmc.c
> +++ b/drivers/soc/tegra/pmc.c
> @@ -3,7 +3,7 @@
>    * drivers/soc/tegra/pmc.c
>    *
>    * Copyright (c) 2010 Google, Inc
> - * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
> + * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
>    *
>    * Author:
>    *	Colin Cross <ccross@google.com>
> @@ -4227,6 +4227,7 @@ static const char * const tegra234_reset_sources[] = {
>   static const struct tegra_wake_event tegra234_wake_events[] = {
>   	TEGRA_WAKE_GPIO("power", 29, 1, TEGRA234_AON_GPIO(EE, 4)),
>   	TEGRA_WAKE_IRQ("rtc", 73, 10),
> +	TEGRA_WAKE_GPIO("mgbe_wake", 56, 0, TEGRA234_MAIN_GPIO(Y, 3)),

Just 'mgbe' is sufficient.

>   };
>   
>   static const struct tegra_pmc_soc tegra234_pmc_soc = {

Please check the subject prefix for the subsystem by looking at the git 
history ...

$ git log --oneline drivers/soc/tegra/pmc.c
0474cc8489bd soc/tegra: pmc: Process wake events during resume
1ddb8f6d44ff soc/tegra: pmc: Fix dual edge triggered wakes
c9c4ddb20c42 soc/tegra: pmc: Add I/O pad table for Tegra234
74f7f183d81c soc/tegra: pmc: Check device node status property
...

So the subject should start "soc/tegra: pmc: ". Also remove the '.' from 
the end of the subject.

Finally, please use 'MGBE' in the subject and description.

Jon

-- 
nvpublic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] soc:tegra:pmc: Add wake source interrupt for mgbe.
  2023-02-27 13:34 ` Jon Hunter
@ 2023-02-27 14:54   ` Thierry Reding
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2023-02-27 14:54 UTC (permalink / raw)
  To: Jon Hunter; +Cc: Sushil Singh, linux-tegra, vbhadram

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

On Mon, Feb 27, 2023 at 01:34:55PM +0000, Jon Hunter wrote:
> 
> 
> On 16/01/2023 10:19, Sushil Singh wrote:
> > Add mgbe ethernet GPIO wake interrupt
> 
> Add the GPIO wake interrupt for the MGBE ethernet controller on Tegra234
> devices.
> 
> > 
> > Signed-off-by: Sushil Singh <sushilkumars@nvidia.com>
> > ---
> >   drivers/soc/tegra/pmc.c | 3 ++-
> >   1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
> > index cf4cfbf..f4abc7f 100644
> > --- a/drivers/soc/tegra/pmc.c
> > +++ b/drivers/soc/tegra/pmc.c
> > @@ -3,7 +3,7 @@
> >    * drivers/soc/tegra/pmc.c
> >    *
> >    * Copyright (c) 2010 Google, Inc
> > - * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
> > + * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
> >    *
> >    * Author:
> >    *	Colin Cross <ccross@google.com>
> > @@ -4227,6 +4227,7 @@ static const char * const tegra234_reset_sources[] = {
> >   static const struct tegra_wake_event tegra234_wake_events[] = {
> >   	TEGRA_WAKE_GPIO("power", 29, 1, TEGRA234_AON_GPIO(EE, 4)),
> >   	TEGRA_WAKE_IRQ("rtc", 73, 10),
> > +	TEGRA_WAKE_GPIO("mgbe_wake", 56, 0, TEGRA234_MAIN_GPIO(Y, 3)),
> 
> Just 'mgbe' is sufficient.
> 
> >   };
> >   static const struct tegra_pmc_soc tegra234_pmc_soc = {
> 
> Please check the subject prefix for the subsystem by looking at the git
> history ...
> 
> $ git log --oneline drivers/soc/tegra/pmc.c
> 0474cc8489bd soc/tegra: pmc: Process wake events during resume
> 1ddb8f6d44ff soc/tegra: pmc: Fix dual edge triggered wakes
> c9c4ddb20c42 soc/tegra: pmc: Add I/O pad table for Tegra234
> 74f7f183d81c soc/tegra: pmc: Check device node status property
> ...
> 
> So the subject should start "soc/tegra: pmc: ". Also remove the '.' from the
> end of the subject.
> 
> Finally, please use 'MGBE' in the subject and description.

Also, for these kinds of highly Tegra-specific patches, there's no need
to include the netdev mailing list. This is entirely about integration
of the MGBE in some Tegra-specific IP, so I don't expect anyone from
netdev to have any interest in this.

Thierry

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-27 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 10:19 [PATCH] soc:tegra:pmc: Add wake source interrupt for mgbe Sushil Singh
2023-02-27 13:34 ` Jon Hunter
2023-02-27 14:54   ` Thierry Reding

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.