devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/2] of: introduce of_address_count() helper
@ 2022-09-30  9:08 Yang Yingliang
  2022-09-30  9:08 ` [PATCH -next 1/2] of/address: " Yang Yingliang
  2022-09-30  9:08 ` [PATCH -next 2/2] of/platform: use " Yang Yingliang
  0 siblings, 2 replies; 5+ messages in thread
From: Yang Yingliang @ 2022-09-30  9:08 UTC (permalink / raw)
  To: devicetree; +Cc: robh+dt, frowand.list, yangyingliang

Introduce of_address_count() helper to count the IO resources, so
some drivers can use it instead of open-coding.

E.g. irq-orion and tegra194-cbb.

Yang Yingliang (2):
  of/address: introduce of_address_count() helper
  of/platform: use of_address_count() helper

 drivers/of/address.c       | 11 +++++++++++
 drivers/of/platform.c      |  5 ++---
 include/linux/of_address.h |  7 +++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-10-08  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30  9:08 [PATCH -next 0/2] of: introduce of_address_count() helper Yang Yingliang
2022-09-30  9:08 ` [PATCH -next 1/2] of/address: " Yang Yingliang
2022-09-30 21:56   ` Rob Herring
2022-10-08  7:05     ` Yang Yingliang
2022-09-30  9:08 ` [PATCH -next 2/2] of/platform: use " Yang Yingliang

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).