[lkml]   [2020]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] iio: health: max30100: use generic property handler
On Sun, Mar 15, 2020 at 12:50:39PM +0000, Jonathan Cameron wrote:
> On Fri, 13 Mar 2020 08:59:13 +0530
> Rohit Sarkar <> wrote:
> > Instead of of_property_read_xxx use device_property_read_xxx as it is
> > compatible with ACPI too as opposed to only device tree.
> >
> > Signed-off-by: Rohit Sarkar <>
> Look at how this driver is probing from DT. There is another thing you need
> to do to make it possible to use PRP001 ACPI based bindings.
> (check what Andy Shevchenko did in a similar patch)
> I'm being deliberately vague as useful for you to understand what is going
> on here for yourself :)
> Also, make sure to check you have cc'd everyone relevant. Here you are missing
> the driver author. +cc Matt
> Jonathan

Have sent out a v2 with the required correction, although I still dont completely
understand how this ACPI magic works. In the process of going over get a
better picture.


 \ /
  Last update: 2020-03-15 16:29    [W:0.061 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site