All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add TI iodelay driver using #pinctrl-cells
@ 2016-12-30 18:37 Tony Lindgren
       [not found] ` <20161230183732.5595-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
  2016-12-30 18:37 ` [PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver Tony Lindgren
  0 siblings, 2 replies; 39+ messages in thread
From: Tony Lindgren @ 2016-12-30 18:37 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Gary Bisson, Grygorii Strashko, Mark Rutland, Nishanth Menon,
	Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-gpio-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA

Hi all,

Here's a respin of Nishanth's iodelay driver that I've updated to
use #pinctrl-cells and generic pinctrl group and function code.

Gary, note that this one has an iterator function that you may
be able to use too, and hopefully we can simplify things further
eventually by introducing a generic iterator.

Note that these patches are against the current pinctrl devel
branch at commit b61d1546906d ("pinctrl: single: Use generic
pinmux helpers for managing functions").

Regards,

Tony

Nishanth Menon (1):
  pinctrl: Introduce TI IOdelay configuration driver

Tony Lindgren (1):
  pinctrl: core: Make dt_free_map optional

 .../devicetree/bindings/pinctrl/ti,iodelay.txt     |  47 +
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/core.c                             |   3 -
 drivers/pinctrl/devicetree.c                       |   3 +-
 drivers/pinctrl/ti/Kconfig                         |  10 +
 drivers/pinctrl/ti/Makefile                        |   1 +
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c            | 945 +++++++++++++++++++++
 8 files changed, 1007 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt
 create mode 100644 drivers/pinctrl/ti/Kconfig
 create mode 100644 drivers/pinctrl/ti/Makefile
 create mode 100644 drivers/pinctrl/ti/pinctrl-ti-iodelay.c

-- 
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 39+ messages in thread
* [PATCHv3 0/2] Add TI iodelay driver using #pinctrl-cells
@ 2017-01-05 18:54 Tony Lindgren
       [not found] ` <20170105185414.27247-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 39+ messages in thread
From: Tony Lindgren @ 2017-01-05 18:54 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Gary Bisson, Grygorii Strashko, Mark Rutland, Nishanth Menon,
	Rob Herring, devicetree, linux-gpio, linux-omap

Hi,

Here's a v3 respin of Nishanth's iodelay driver that I've updated to
use #pinctrl-cells and generic pinctrl group and function code.

Gary, note that this one has an iterator function that you may
be able to use too, and hopefully we can simplify things further
eventually by introducing a generic iterator.

Regards,

Tony

Changes since v1
- Fix compile error if CONFIG_DEBUG_FS is not set

Changes since v2
- Update with Nishanth's kerneldoc comments
- Added Rob's ack

Nishanth Menon (1):
  pinctrl: Introduce TI IOdelay configuration driver

Tony Lindgren (1):
  pinctrl: core: Make dt_free_map optional

 .../devicetree/bindings/pinctrl/ti,iodelay.txt     |  47 +
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/core.c                             |   3 -
 drivers/pinctrl/devicetree.c                       |   3 +-
 drivers/pinctrl/ti/Kconfig                         |  10 +
 drivers/pinctrl/ti/Makefile                        |   1 +
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c            | 944 +++++++++++++++++++++
 8 files changed, 1006 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,iodelay.txt
 create mode 100644 drivers/pinctrl/ti/Kconfig
 create mode 100644 drivers/pinctrl/ti/Makefile
 create mode 100644 drivers/pinctrl/ti/pinctrl-ti-iodelay.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 39+ messages in thread
* [PATCH 0/2] pinctrl: Introduce support for iodelay module in TI SoCs
@ 2015-03-04  0:00 Nishanth Menon
  2015-03-04  0:00   ` Nishanth Menon
  0 siblings, 1 reply; 39+ messages in thread
From: Nishanth Menon @ 2015-03-04  0:00 UTC (permalink / raw)
  To: Tony Lindgren, Linus Walleij
  Cc: linux-gpio, linux-kernel, devicetree, linux-omap,
	linux-arm-kernel, Lokesh Vutla, Nishanth Menon

Hi,

SoCs such as DRA7 family from Texas Instruments also include a highly
configurable hardware block called the IOdelay block. This block
allows very specific custom fine tuning for electrical characteristics
of IO pins that are necessary for functionality and device lifetime
requirements.

IODelay module exists on it's own register space with registers
allocated for various pins. A set of values (derived from either
automated tools OR from device datasheet) is then computed on a
per-chip basis(to account for die specific variations) to generate a
set of delay parameters that are programmed to one or more registers
for the delay path of the io line. This is used in specific instances
such as MMC to achieve high-throughput modes, and most pins dont
usually need tweaking functionality provided by this driver.

Even though this kind of operates similar to a pinctrl model,
functionally, it is a characteristics tuning which does not completely
fit the standard pinconf model either.

In addition to the regular pin muxing modes supported by the
pinctrl-single, additional configuration for this block for specific
pins may also be mandatory in certain cases.

Series based on v4.0-rc1

Nishanth Menon (2):
  pinctrl: bindings: pinctrl: Add support for TI's IODelay
    configuration
  pinctrl: Introduce TI IOdelay configuration driver

 .../bindings/pinctrl/ti,iodelay-pinctrl.txt        |   86 ++
 drivers/pinctrl/Kconfig                            |   11 +
 drivers/pinctrl/Makefile                           |    1 +
 drivers/pinctrl/pinctrl-ti-iodelay.c               |  963 ++++++++++++++++++++
 include/dt-bindings/pinctrl/dra.h                  |    6 +
 5 files changed, 1067 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,iodelay-pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-ti-iodelay.c

-- 
1.7.9.5


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

end of thread, other threads:[~2017-02-16 13:59 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-30 18:37 [PATCH 0/2] Add TI iodelay driver using #pinctrl-cells Tony Lindgren
     [not found] ` <20161230183732.5595-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2016-12-30 18:37   ` [PATCH 1/2] pinctrl: core: Make dt_free_map optional Tony Lindgren
     [not found]     ` <20161230183732.5595-2-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-01-09 18:41       ` Linus Walleij
2016-12-30 18:37 ` [PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver Tony Lindgren
2016-12-30 18:49   ` [PATCH] ARM: dts: Add dra7 iodelay configuration and use it for MMC Tony Lindgren
     [not found]     ` <20161230184914.GC3940-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-01-09 18:47       ` Linus Walleij
2017-02-14 18:51     ` Tony Lindgren
     [not found]       ` <20170214185120.GL21809-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-02-14 18:57         ` Nishanth Menon
     [not found]           ` <932aa035-27c9-0bb4-ffe2-81959aea6662-l0cyMroinI0@public.gmane.org>
2017-02-15 12:35             ` Kishon Vijay Abraham I
     [not found]               ` <58A44B02.10204-l0cyMroinI0@public.gmane.org>
2017-02-15 15:50                 ` Tony Lindgren
2017-02-16 13:58                   ` Kishon Vijay Abraham I
     [not found]   ` <20161230183732.5595-3-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2016-12-31 22:52     ` [PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver kbuild test robot
     [not found]       ` <201701010645.EBjk2p8Y%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-02 18:04         ` Tony Lindgren
2017-01-01  2:02     ` kbuild test robot
2017-01-02 22:12     ` Tony Lindgren
2017-01-04 13:32       ` Rob Herring
2017-01-04 15:38       ` Nishanth Menon
     [not found]         ` <63a8a1ec-343a-8c96-a0d2-21d81f7ad10e-l0cyMroinI0@public.gmane.org>
2017-01-04 16:05           ` Tony Lindgren
     [not found]             ` <20170104160511.GF25222-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-01-04 16:51               ` Nishanth Menon
     [not found]       ` <20170102221228.GH9325-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-01-04 17:57         ` Nishanth Menon
2017-01-05 18:50           ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2017-01-05 18:54 [PATCHv3 0/2] Add TI iodelay driver using #pinctrl-cells Tony Lindgren
     [not found] ` <20170105185414.27247-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-01-05 18:54   ` [PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver Tony Lindgren
2017-01-09 18:46     ` Linus Walleij
2015-03-04  0:00 [PATCH 0/2] pinctrl: Introduce support for iodelay module in TI SoCs Nishanth Menon
2015-03-04  0:00 ` [PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver Nishanth Menon
2015-03-04  0:00   ` Nishanth Menon
2015-03-04  0:00   ` Nishanth Menon
2015-03-04 22:58   ` Paul Bolle
2015-03-04 22:58     ` Paul Bolle
2015-03-04 22:58     ` Tony Lindgren
2015-03-04 22:58       ` Tony Lindgren
2015-03-05  2:22       ` Nishanth Menon
2015-03-05  2:22         ` Nishanth Menon
2015-03-05  2:22         ` Nishanth Menon
2015-03-10 11:03   ` Linus Walleij
2015-03-10 11:03     ` Linus Walleij
2015-03-10 11:03     ` Linus Walleij
2015-03-11 12:39     ` Nishanth Menon
2015-03-11 12:39       ` Nishanth Menon
2015-03-11 12:39       ` Nishanth Menon

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.