devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: William Breathitt Gray <vilhelm.gray@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devicetree@vger.kernel.org, lars@metafoo.de,
	benjamin.gaignard@st.com, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	William Breathitt Gray <vilhelm.gray@gmail.com>,
	jic23@kernel.org, pmeerw@pmeerw.net, knaack.h@gmx.de,
	akpm@linux-foundation.org, fabrice.gasnier@st.com,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 00/11] Introduce the Counter subsystem
Date: Sun, 22 Jul 2018 18:49:49 -0400	[thread overview]
Message-ID: <cover.1532298882.git.vilhelm.gray@gmail.com> (raw)

Changes in v9:
 - Prefix exported symbols with "counter_" to make counter namespace
   explicit and clear
 - Replace scnprintf and snprintf lines with sprintf in 104-quad-8.c
   since we're dealing with sysfs files

This revision is functionally identical to the last; changes in this
version were made to improve code clarity. Andrew Morton suggested
improving the names of the exported symbols to clean up the Counter
subsytem namespace. This revision adds a "counter_" prefix to the
exported symbols to keep the namespace tidy and these symbols as
clearly part of the Counter subsystem.

Andrew Morton also brought up a good point that the Generic Counter
"signal" terminology could conflict with the existing established use of
the term in other areas of the Linux kernel. I've changed the major
exported symbols in counter.h that used the "signal_" naming covention
to now use a "counter_signal_" naming convention in order to help
prevent this confusion; I've made similar changes to symbols in
counter.c as well. If this naming still causes trouble, we can consider
alternative names for this component.

William Breathitt Gray

Benjamin Gaignard (2):
  counter: Add STM32 Timer quadrature encoder
  dt-bindings: counter: Document stm32 quadrature encoder

Fabrice Gasnier (2):
  counter: stm32-lptimer: add counter device
  dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move

William Breathitt Gray (7):
  counter: Introduce the Generic Counter interface
  counter: Documentation: Add Generic Counter sysfs documentation
  docs: Add Generic Counter interface documentation
  iio: 104-quad-8: Update license boilerplate
  counter: 104-quad-8: Add Generic Counter interface support
  counter: 104-quad-8: Documentation: Add Generic Counter sysfs
    documentation
  iio: counter: Add deprecation markings for IIO Counter attributes

 Documentation/ABI/testing/sysfs-bus-counter   |  230 +++
 .../ABI/testing/sysfs-bus-counter-104-quad-8  |   36 +
 Documentation/ABI/testing/sysfs-bus-iio       |    8 +
 .../testing/sysfs-bus-iio-counter-104-quad-8  |   16 +
 .../{iio => }/counter/stm32-lptimer-cnt.txt   |    0
 .../bindings/counter/stm32-timer-cnt.txt      |   31 +
 .../devicetree/bindings/mfd/stm32-lptimer.txt |    2 +-
 .../devicetree/bindings/mfd/stm32-timers.txt  |    7 +
 Documentation/driver-api/generic-counter.rst  |  342 ++++
 Documentation/driver-api/index.rst            |    1 +
 MAINTAINERS                                   |   15 +-
 drivers/Kconfig                               |    2 +
 drivers/Makefile                              |    1 +
 drivers/{iio => }/counter/104-quad-8.c        |  782 +++++++-
 drivers/counter/Kconfig                       |   51 +
 drivers/{iio => }/counter/Makefile            |    5 +-
 drivers/counter/counter.c                     | 1567 +++++++++++++++++
 drivers/{iio => }/counter/stm32-lptimer-cnt.c |  361 +++-
 drivers/counter/stm32-timer-cnt.c             |  390 ++++
 drivers/iio/Kconfig                           |    1 -
 drivers/iio/Makefile                          |    1 -
 drivers/iio/counter/Kconfig                   |   34 -
 include/linux/counter.h                       |  510 ++++++
 include/linux/counter_enum.h                  |   45 +
 24 files changed, 4352 insertions(+), 86 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-counter
 create mode 100644 Documentation/ABI/testing/sysfs-bus-counter-104-quad-8
 rename Documentation/devicetree/bindings/{iio => }/counter/stm32-lptimer-cnt.txt (100%)
 create mode 100644 Documentation/devicetree/bindings/counter/stm32-timer-cnt.txt
 create mode 100644 Documentation/driver-api/generic-counter.rst
 rename drivers/{iio => }/counter/104-quad-8.c (44%)
 create mode 100644 drivers/counter/Kconfig
 rename drivers/{iio => }/counter/Makefile (46%)
 create mode 100644 drivers/counter/counter.c
 rename drivers/{iio => }/counter/stm32-lptimer-cnt.c (48%)
 create mode 100644 drivers/counter/stm32-timer-cnt.c
 delete mode 100644 drivers/iio/counter/Kconfig
 create mode 100644 include/linux/counter.h
 create mode 100644 include/linux/counter_enum.h

-- 
2.18.0

             reply	other threads:[~2018-07-22 22:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-22 22:49 William Breathitt Gray [this message]
2018-07-22 22:50 ` [PATCH v9 01/11] counter: Introduce the Generic Counter interface William Breathitt Gray
2018-07-22 22:50 ` [PATCH v9 02/11] counter: Documentation: Add Generic Counter sysfs documentation William Breathitt Gray
2018-07-22 22:50 ` [PATCH v9 03/11] docs: Add Generic Counter interface documentation William Breathitt Gray
2018-07-22 22:50 ` [PATCH v9 04/11] iio: 104-quad-8: Update license boilerplate William Breathitt Gray
2018-07-22 22:50 ` [PATCH v9 05/11] counter: 104-quad-8: Add Generic Counter interface support William Breathitt Gray
2018-07-22 22:51 ` [PATCH v9 06/11] counter: 104-quad-8: Documentation: Add Generic Counter sysfs documentation William Breathitt Gray
2018-07-22 22:51 ` [PATCH v9 07/11] counter: Add STM32 Timer quadrature encoder William Breathitt Gray
2018-07-22 22:51 ` [PATCH v9 08/11] dt-bindings: counter: Document stm32 " William Breathitt Gray
2018-07-22 22:51 ` [PATCH v9 09/11] counter: stm32-lptimer: add counter device William Breathitt Gray
2018-07-22 22:51 ` [PATCH v9 10/11] dt-bindings: counter: Adjust dt-bindings for STM32 lptimer move William Breathitt Gray
2018-07-22 22:52 ` [PATCH v9 11/11] iio: counter: Add deprecation markings for IIO Counter attributes William Breathitt Gray
2018-10-17  2:01 ` [PATCH v9 00/11] Introduce the Counter subsystem William Breathitt Gray

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=cover.1532298882.git.vilhelm.gray@gmail.com \
    --to=vilhelm.gray@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=benjamin.gaignard@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrice.gasnier@st.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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).