mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Claudiu Beznea <claudiu.beznea@microchip.com>
To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<ludovic.desroches@microchip.com>, <linus.walleij@linaro.org>,
	<linux@armlinux.org.uk>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-gpio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	Claudiu Beznea <claudiu.beznea@microchip.com>
Subject: [PATCH 0/3] pinctrl: at91: cleanups
Date: Wed, 31 Aug 2022 16:56:33 +0300	[thread overview]
Message-ID: <20220831135636.3176406-1-claudiu.beznea@microchip.com> (raw)

Hi,

Machine specific PM code was calling gpio driver specific code to enable
wakeup interrupts. Moved this code to the pinctrl-at91 driver as close
as possible to the moment machine specific code is executed (in .noirq
member of struct dev_pm_ops). The code has been tested on sama5d2_xplained,
sama5d3_xplained, sam9x60ek, sama7g5ek.

Along with it added 2 cleanups.

Thank you,
Claudiu Beznea

Claudiu Beznea (3):
  pinctrl: at91: use kernel-doc style for documentation of
    at91_gpio_chip
  pinctrl: at91: move gpio suspend/resume calls to driver's context
  pinctrl: at91: use dev_dbg() instead of printk()

 arch/arm/mach-at91/pm.c        |  15 -----
 drivers/pinctrl/pinctrl-at91.c | 105 +++++++++++++++++----------------
 include/soc/at91/pm.h          |  16 -----
 3 files changed, 55 insertions(+), 81 deletions(-)
 delete mode 100644 include/soc/at91/pm.h

-- 
2.34.1


             reply	other threads:[~2022-08-31 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 13:56 Claudiu Beznea [this message]
2022-08-31 13:56 ` [PATCH 1/3] pinctrl: at91: use kernel-doc style for documentation of at91_gpio_chip Claudiu Beznea
2022-08-31 13:56 ` [PATCH 2/3] pinctrl: at91: move gpio suspend/resume calls to driver's context Claudiu Beznea
2022-08-31 13:56 ` [PATCH 3/3] pinctrl: at91: use dev_dbg() instead of printk() Claudiu Beznea
2022-09-02 22:19 ` [PATCH 0/3] pinctrl: at91: cleanups Linus Walleij

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=20220831135636.3176406-1-claudiu.beznea@microchip.com \
    --to=claudiu.beznea@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=ludovic.desroches@microchip.com \
    --cc=nicolas.ferre@microchip.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®