lkml.org 
[lkml]   [2023]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/5] iio: light: ROHM BU27008 color sensor
On Mon, Apr 24, 2023 at 04:10:09PM +0300, Matti Vaittinen wrote:
> The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear
> and IR) with four configurable channels. Red and green being always
> available and two out of the rest three (blue, clear, IR) can be
> selected to be simultaneously measured. Typical application is adjusting
> LCD backlight of TVs, mobile phones and tablet PCs.
>
> Add initial support for the ROHM BU27008 color sensor.
> - raw_read() of RGB and clear channels
> - triggered buffer w/ DRDY interrtupt

...

This...

> +#include <linux/bits.h>

...is guaranteed to be included by this.

> +#include <linux/bitops.h>

...

> +static const struct of_device_id bu27008_of_match[] = {
> + { .compatible = "rohm,bu27008", },

Inner comma is not necessary to have.

> + { }
> +};


--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2023-04-24 17:23    [W:0.451 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site