linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] Add serdev_device_id for platform instantiation
@ 2020-10-26 17:57 Vaishnav M A
  2020-10-26 17:57 ` [RFC PATCH 1/5] serdev: Add serdev_device_id Vaishnav M A
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vaishnav M A @ 2020-10-26 17:57 UTC (permalink / raw)
  To: johan
  Cc: ribalda, robh, gregkh, jirislaby, masahiroy, andriy.shevchenko,
	linux-kernel, linux-serial, linux-kbuild, jkridner, drew,
	robertcnelson, vaishnav

This patch series aims to add serdev_device_id to the serdev drivers
so as to support platform instantiation of a serdev device.The first
two patches adding the serdev_device_id has already been once submitted
by Ricardo Ribalda Delgado(in CC) here:
https://lore.kernel.org/lkml/20180611115240.32606-1-ricardo.ribalda@gmail.com/

The problem currently trying to solved is bit different from dynamically
loading/removing serdev devices as addressed in the original patch series,
the aim now is to attach a serdev driver once to a device that is not a part of
the device tree or the ACPI table, Eg. a device on a greybus created gbphy uart.

The patches were tested with a set of uBlox GNSS Receiver Clicks on a PocketBeagle.
The serdev_device_id table is exported only for a single driver(drivers/gnss/ubx.c)
for reference.

Ricardo Ribalda (2):
  serdev: Add serdev_device_id
  file2alias: Support for serdev devices

Vaishnav M A (3):
  serdev: add of_ helper to get serdev controller
  gnss: ubx add MODULE_DEVICE_TABLE(serdev)
  gnss: change of_property_read to device_property_read

 drivers/gnss/serial.c             |  3 +-
 drivers/gnss/ubx.c                |  9 +++++
 drivers/tty/serdev/core.c         | 58 +++++++++++++++++++++++++++----
 include/linux/mod_devicetable.h   | 10 ++++++
 include/linux/serdev.h            |  5 +++
 scripts/mod/devicetable-offsets.c |  3 ++
 scripts/mod/file2alias.c          | 10 ++++++
 7 files changed, 90 insertions(+), 8 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2020-10-26 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 17:57 [RFC PATCH 0/5] Add serdev_device_id for platform instantiation Vaishnav M A
2020-10-26 17:57 ` [RFC PATCH 1/5] serdev: Add serdev_device_id Vaishnav M A
2020-10-26 17:57 ` [RFC PATCH 2/5] file2alias: Support for serdev devices Vaishnav M A
2020-10-26 17:57 ` [RFC PATCH 3/5] serdev: add of_ helper to get serdev controller Vaishnav M A
2020-10-26 17:57 ` [RFC PATCH 4/5] gnss: ubx add MODULE_DEVICE_TABLE(serdev) Vaishnav M A
2020-10-26 17:57 ` [RFC PATCH 5/5] gnss: change of_property_read to device_property_read Vaishnav M A

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