[RFC PATCH 3/5] serdev: add of_ helper to get serdev controller

2020-10-26 Thread Vaishnav M A
controller is added. Signed-off-by: Vaishnav M A --- drivers/tty/serdev/core.c | 17 + include/linux/serdev.h| 2 ++ 2 files changed, 19 insertions(+) diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c index 01b248fdc264..85977b36ed7f 100644 --- a/drivers/tty

[RFC PATCH 4/5] gnss: ubx add MODULE_DEVICE_TABLE(serdev)

2020-10-26 Thread Vaishnav M A
export serdev id table to the module header. Signed-off-by: Vaishnav M A --- drivers/gnss/ubx.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gnss/ubx.c b/drivers/gnss/ubx.c index 7b05bc40532e..e50056cc4223 100644 --- a/drivers/gnss/ubx.c +++ b/drivers/gnss/ubx.c

[RFC PATCH 0/5] Add serdev_device_id for platform instantiation

2020-10-26 Thread Vaishnav M A
: 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

[RFC PATCH 2/5] file2alias: Support for serdev devices

2020-10-26 Thread Vaishnav M A
This patch allows file2alias to generate the proper module headers to support serdev modalias drivers. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Vaishnav M A --- scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 10 ++ 2 files changed, 13

[RFC PATCH 5/5] gnss: change of_property_read to device_property_read

2020-10-26 Thread Vaishnav M A
change of_property_read_u32() for the current-speed property to use the device_property_read_u32() this helps passing the properties over a suitably populated struct property_entry. Signed-off-by: Vaishnav M A --- drivers/gnss/serial.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions

[RFC PATCH 1/5] serdev: Add serdev_device_id

2020-10-26 Thread Vaishnav M A
introduced to name the driver to be used with the device, required for device(s) that are neither described by device tree nor ACPI table.serdev_device_uevent is also extended for modalias devices. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Vaishnav M A --- drivers/tty/serdev/core.c

Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 8:14 PM Vaishnav M A wrote: > > On Sun, Oct 18, 2020 at 5:05 PM Jonathan Cameron wrote: > > > > On Sun, 18 Oct 2020 08:55:43 +0530 > > Vaishnav M A wrote: > > > > > replace the of_property_read_u32 for reading the amst

[PATCH v4] iio:light:tsl2563 use generic fw accessors

2020-10-18 Thread Vaishnav M A
to remove the of_node present check. Signed-off-by: Vaishnav M A --- v4: -update commit message, fix punctuation. -update to a shorter commit title, used for similar changes within the subsystem, like in 00fa493b9989 ("iio:proximity:as3935: Drop of_match_pt

Re: [PATCH v3] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
On Mon, Oct 19, 2020 at 12:00 AM Andy Shevchenko wrote: > > On Sun, Oct 18, 2020 at 6:53 PM Vaishnav M A wrote: > > > > Add i2c_device_id table for the vl53l0x-i2c driver, > > helps in device instantiation using i2c_new_client_device > > or from userspace in

Re: [PATCH v3] iio: light: vcnl4035 add i2c_device_id

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 11:59 PM Andy Shevchenko wrote: > > On Sun, Oct 18, 2020 at 6:47 PM Vaishnav M A wrote: > > > > Add i2c_device_id table for the vl53l0x-i2c driver, > > helps in device instantiation using i2c_new_client_device > > In all your patches plea

[PATCH v4] iio: light: vcnl4035 add i2c_device_id

2020-10-18 Thread Vaishnav M A
Add i2c_device_id table for the vcnl4035 driver, enabling device instantiation using i2c_new_client_device() or from userspace in cases where device-tree based description is not possible now, like device(s) on a gbphy i2c adapter created by greybus. Signed-off-by: Vaishnav M A --- v4

[PATCH v4] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
Add i2c_device_id table for the vl53l0x-i2c driver, helps in device instantiation using i2c_new_client_device() or from userspace in cases where device-tree based description is not possible now, like device(s) on a gbphy i2c adapter created by greybus. Signed-off-by: Vaishnav M A --- v4

Re: [PATCH v2] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 4:47 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 08:47:32 +0530 > Vaishnav M A wrote: > > A very similar change was made recently in > 00fa493b9989 ("iio:proximity:as3935: Drop of_match_ptr and use generic fw > accessors") > ht

Re: [PATCH v2] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 5:03 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 09:01:42 +0530 > Vaishnav M A wrote: > > > add i2c_device_id for the vl53l0x-i2c driver so > > that the device can be instantiated using i2c_new_client_device > > or from userspace, use

[PATCH v3] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-18 Thread Vaishnav M A
Add i2c_device_id table for the vl53l0x-i2c driver, helps in device instantiation using i2c_new_client_device or from userspace in cases where device-tree based description is not possible now (Example: device on a gbphy i2c adapter created by greybus) Signed-off-by: Vaishnav M A --- v3

Re: [PATCH v2] iio: light: vcnl4035 add i2c_device_id

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 5:06 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 09:06:02 +0530 > Vaishnav M A wrote: > > > add i2c_device_id for the vcnl4035 driver so that > > the device can be instantiated using i2c_new_client_device > > or from userspace, use

[PATCH v3] iio: light: vcnl4035 add i2c_device_id

2020-10-18 Thread Vaishnav M A
Add i2c_device_id table for the vl53l0x-i2c driver, helps in device instantiation using i2c_new_client_device or from userspace in cases where device-tree based description is not possible now (Example: device on a gbphy i2c adapter created by greybus) Signed-off-by: Vaishnav M A --- v3

Re: [PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 5:05 PM Jonathan Cameron wrote: > > On Sun, 18 Oct 2020 08:55:43 +0530 > Vaishnav M A wrote: > > > replace the of_property_read_u32 for reading the amstaos,cover-comp-gain > > property with device_property_read_u32,allows the driver to > >

[PATCH v3] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-18 Thread Vaishnav M A
remove the of_node present check. Signed-off-by: Vaishnav M A --- v3: -modify commit message for readability, mention minor logic change -include mod_devicetable.h and property.h headers v2: -fix commit message drivers/iio/light/tsl2563.c | 16 +--- 1 file

Re: [PATCH] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
On Sun, Oct 18, 2020 at 3:57 AM Matt Ranostay wrote: > > On Fri, Oct 16, 2020 at 11:41 AM Vaishnav M A > wrote: > > > > > > This patch aims to replace the of_property_read_u32 for reading > > the ams,tuning-capacitor-pf, ams,nflwdth properties with > > d

[PATCH v2] iio: light: vcnl4035 add i2c_device_id

2020-10-17 Thread Vaishnav M A
add i2c_device_id for the vcnl4035 driver so that the device can be instantiated using i2c_new_client_device or from userspace, useful in cases where device tree based description is not possible now(Eg. a device on a gbphy i2c adapter created by greybus) Signed-off-by: Vaishnav M A --- v2

[PATCH v2] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-17 Thread Vaishnav M A
add i2c_device_id for the vl53l0x-i2c driver so that the device can be instantiated using i2c_new_client_device or from userspace, useful in cases where device tree based description is not possible now(Eg. a device on a gbphy i2c adapter created by greybus). Signed-off-by: Vaishnav M A --- v2

[PATCH v2] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
the device by a suitably populated struct property_entry. Signed-off-by: Vaishnav M A --- v2: - fix commit message drivers/iio/light/tsl2563.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/iio/light/tsl2563.c b/drivers/iio/light/tsl2563.c

[PATCH v2] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-17 Thread Vaishnav M A
instantiation of the device by a suitably populated struct property_entry Signed-off-by: Vaishnav M A --- v2: - fix commit message drivers/iio/proximity/as3935.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity

[PATCH] iio: proximity: vl53l0x-i2c add i2c_device_id

2020-10-16 Thread Vaishnav M A
description is not possible now(Eg. a device on a gbphy i2c adapter created by greybus). The particular usecase here is described over this RFC Patch for the mikroBUS driver: https://lore.kernel.org/patchwork/patch/1290148/ Thanks and Regards, Vaishnav M A Signed-off-by: Vaishnav M A --- drivers

[PATCH] iio: light: vcnl4035 add i2c_device_id

2020-10-16 Thread Vaishnav M A
RFC Patch for the mikroBUS driver: https://lore.kernel.org/patchwork/patch/1290148/ Thanks and Regards, Vaishnav M A Signed-off-by: Vaishnav M A --- drivers/iio/light/vcnl4035.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/iio/light/vcnl4035.c b/drivers/iio/light/vcnl4035

[PATCH] iio: proximity: as3935 change of_property_read to device_property_read

2020-10-16 Thread Vaishnav M A
This patch aims to replace the of_property_read_u32 for reading the ams,tuning-capacitor-pf, ams,nflwdth properties with device_property_read_u32. Thanks and Regards, Vaishnav M A Signed-off-by: Vaishnav M A --- drivers/iio/proximity/as3935.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH] iio: light: tsl2563 change of_property_read to device_property_read

2020-10-16 Thread Vaishnav M A
This patch aims to replace the of_property_read_u32 for reading the amstaos,cover-comp-gain property with device_property_read_u32 Thanks and Regards, Vaishnav M A Signed-off-by: Vaishnav M A --- drivers/iio/light/tsl2563.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions

Re: [RFC PATCH v2 1/3] add mikrobus descriptors to greybus_manifest

2020-09-01 Thread Vaishnav M A
. > > It is just an observation from me, I guess, it is obvious. > Sure, we can split up the mikrobus driver patch into two parts and still ensure that each patch builds without errors, will fix this in the next version. > My two cent worth comment, > Zoran > ___ &

Re: [RFC PATCH v2 1/3] add mikrobus descriptors to greybus_manifest

2020-08-19 Thread Vaishnav M A
Hi, Trying to add more information regarding the newly added descriptors and describe how they are used now within the mikroBUS driver. On Tue, Aug 18, 2020 at 6:18 PM Vaishnav M A wrote: > > This patch adds new descriptors used in the manifest parsing inside > the mikrobus driver, t

Re: [RFC PATCH v2 0/3] mikroBUS driver for add-on boards

2020-08-18 Thread Vaishnav M A
et_maintainer.pl after making the changes will add both recipients in future versions. Thanks and Regards, Vaishnav M A > > On 2020-08-18 07:48, Vaishnav M A wrote: > > Hi, > > > > This Patch series is an update to the mikroBUS driver > > RFC v1 Patch : https://lkml.org

Re: [RFC PATCH v2 0/3] mikroBUS driver for add-on boards

2020-08-18 Thread Vaishnav M A
On Tue, Aug 18, 2020 at 8:54 PM Greg KH wrote: > > On Tue, Aug 18, 2020 at 06:18:12PM +0530, Vaishnav M A wrote: > > Hi, > > > > This Patch series is an update to the mikroBUS driver > > RFC v1 Patch : https://lkml.org/lkml/2020/7/24/518 . > > Please use lore.k

Re: [greybus-dev] [RFC PATCH v2 3/3] Add Device Tree Bindings for mikroBUS port

2020-08-18 Thread Vaishnav M A
On Tue, Aug 18, 2020 at 7:05 PM Laurent Pinchart wrote: > > Hi Vaishnav, > > Thank you for the patch. > > On Tue, Aug 18, 2020 at 06:18:15PM +0530, Vaishnav M A wrote: > > This patch adds device tree bindings for the mikroBUS port, > > device tree overlay

[RFC PATCH v2 1/3] add mikrobus descriptors to greybus_manifest

2020-08-18 Thread Vaishnav M A
drivers through the Unified Properties API under linux/property.h The corresponding pull request for manifesto is updated at : https://github.com/projectara/manifesto/pull/2 Signed-off-by: Vaishnav M A --- include/linux/greybus/greybus_manifest.h | 47 1 file changed, 47

[RFC PATCH v2 3/3] Add Device Tree Bindings for mikroBUS port

2020-08-18 Thread Vaishnav M A
This patch adds device tree bindings for the mikroBUS port, device tree overlays for the mikrobus Port on the BeagleBoard.org PocketBeagle is available here : github.com/beagleboard/bb.org-overlays/blob/master/src/arm/PB-MIKROBUS-0.dts Signed-off-by: Vaishnav M A --- .../bindings/misc/linux

[RFC PATCH v2 2/3] mikroBUS driver for add-on boards on mikrobus ports

2020-08-18 Thread Vaishnav M A
boards are available here: https://github.com/vaishnav98/manifesto/tree/mikrobusv3 Signed-off-by: Vaishnav M A --- MAINTAINERS | 6 + drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/mikrobus/Kconfig

[RFC PATCH v2 0/3] mikroBUS driver for add-on boards

2020-08-18 Thread Vaishnav M A
, use greybus CPort protocol enum instead of new protcol enums Fix cases of wrong indendation, ignoring return values, freeing allocated resources in case of errors and other style suggestions in v1 review. Vaishnav M A (3): add mikrobus descriptors to greybus_manifest

Re: [greybus-dev] [PATCH] RFC : mikroBUS driver for add-on boards

2020-07-26 Thread Vaishnav M A
On Sun, Jul 26, 2020 at 8:34 PM Alex Elder wrote: > > On 7/24/20 7:06 AM, Vaishnav M A wrote: > > Attached is a patch for the mikroBUS driver which helps to > > instantiate an add-on board device on a mikrobus port by fetching > > the device identifier manifest binary

Re: [greybus-dev] [PATCH] RFC : mikroBUS driver for add-on boards

2020-07-26 Thread Vaishnav M A
On Sun, Jul 26, 2020 at 6:18 PM Alex Elder wrote: > > On 7/24/20 7:06 AM, Vaishnav M A wrote: > > Attached is a patch for the mikroBUS driver which helps to > > instantiate an add-on board device on a mikrobus port by fetching > > the device identifier manifest binary

[PATCH] RFC : mikroBUS driver for add-on boards

2020-07-24 Thread Vaishnav M A
add-on boards. Further, it opens up the possibility for support under dynamically instantiated buses such as with Greybus. Please let know the feedback you have on this patch or the approach used. Thanks, Vaishnav M A Signed-off-by: Vaishnav M A --- MAINTAINERS