linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anand Moon <linux.amoon@gmail.com>
Cc: Anand Moon <linux.amoon@gmail.com>,
	Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	Johan Hovold <johan@kernel.org>,
	Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
	linux-usb@vger.kernel.org
Subject: [PATCH v4 0/5] Use new helper function for clock and PM macro
Date: Sun, 21 Apr 2024 19:17:29 +0530	[thread overview]
Message-ID: <20240421134752.2652-1-linux.amoon@gmail.com> (raw)

using new helper functions for dev resources for clock and PM
to simplify the code changes.

Addressed some review comments.

v4: Add Reviewed-by:  Alan Stern  For patches 1 - 4:
    Add Acked-by: Thinh Nguyen For patch 5
    Fix rephase commit messaeg for patch 2 and 4
    Fix some typo in the commit messagee

v3 changes:
1 Use  new DEFINE_SIMPLE_DEV_PM_OPS macro for PM operations
  Thanks to Thinh Nguyen for your inputs.
  so I have to update the $subject and commit messagee with using new
  macro.

2 Drop the dev_err_probe in return to simplify the error for clocks.

3 Dop the devm_regulator_bulk_get_enable patch.

Tests on Odroid XU4 and Odroid U3.
found no regression with suspend resume functionality.

Previous changes:
V3: https://lore.kernel.org/all/20240412142317.5191-6-linux.amoon@gmail.com/

V2: https://lore.kernel.org/all/20240404071350.4242-3-linux.amoon@gmail.com/

V1: https://patchwork.kernel.org/project/linux-samsung-soc/patch/20240301193831.3346-2-linux.amoon@gmail.com/

Thanks
-Anand

Anand Moon (5):
  usb: ehci-exynos: Use devm_clk_get_enabled() helpers
  usb: ehci-exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
  usb: ohci-exynos: Use devm_clk_get_enabled() helpers
  usb: ohci-exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
  usb: dwc3: exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions

 drivers/usb/dwc3/dwc3-exynos.c | 13 +++----------
 drivers/usb/host/ehci-exynos.c | 27 ++++++---------------------
 drivers/usb/host/ohci-exynos.c | 27 ++++++---------------------
 3 files changed, 15 insertions(+), 52 deletions(-)

-- 
2.44.0


             reply	other threads:[~2024-04-21 13:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21 13:47 Anand Moon [this message]
2024-04-21 13:47 ` [PATCH v4 1/5] usb: ehci-exynos: Use devm_clk_get_enabled() helpers Anand Moon
2024-04-21 13:47 ` [PATCH v4 2/5] usb: ehci-exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions Anand Moon
2024-04-21 13:47 ` [PATCH v4 3/5] usb: ohci-exynos: Use devm_clk_get_enabled() helpers Anand Moon
2024-04-21 13:47 ` [PATCH v4 4/5] usb: ohci-exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions Anand Moon
2024-04-21 13:47 ` [PATCH v4 5/5] usb: dwc3: exynos: " Anand Moon
2024-04-24  1:21 ` [PATCH v4 0/5] Use new helper function for clock and PM macro Thinh Nguyen
2024-05-07  8:00   ` Anand Moon

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=20240421134752.2652-1-linux.amoon@gmail.com \
    --to=linux.amoon@gmail.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=johan@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).