[v1,0/4] Update APDS990x ALS to support IIO

Message ID 20230308090219.12710-1-clamor95@gmail.com
Headers
Series Update APDS990x ALS to support IIO |

Message

Svyatoslav Ryhel March 8, 2023, 9:02 a.m. UTC
  Add apds990x binding scheme, convert it to get basic data from
dts and use common IIO API. Since it works with IIO now, move from
/misc to /iio.

Svyatoslav Ryhel (4):
  dt-bindings: iio: light: add apds990x binding
  misc: adps990x: convert to OF
  misc: apds990x: convert to IIO
  iio: light: move apds990x into proper place

 .../bindings/iio/light/avago,apds990x.yaml    |  76 ++
 drivers/iio/light/Kconfig                     |  10 +
 drivers/iio/light/Makefile                    |   1 +
 drivers/{misc => iio/light}/apds990x.c        | 802 +++++++++---------
 drivers/misc/Kconfig                          |  10 -
 drivers/misc/Makefile                         |   1 -
 6 files changed, 509 insertions(+), 391 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds990x.yaml
 rename drivers/{misc => iio/light}/apds990x.c (67%)
  

Comments

Greg KH March 9, 2023, 12:57 p.m. UTC | #1
On Wed, Mar 08, 2023 at 11:02:15AM +0200, Svyatoslav Ryhel wrote:
> Add apds990x binding scheme, convert it to get basic data from
> dts and use common IIO API. Since it works with IIO now, move from
> /misc to /iio.
> 
> Svyatoslav Ryhel (4):
>   dt-bindings: iio: light: add apds990x binding
>   misc: adps990x: convert to OF
>   misc: apds990x: convert to IIO
>   iio: light: move apds990x into proper place
> 
>  .../bindings/iio/light/avago,apds990x.yaml    |  76 ++
>  drivers/iio/light/Kconfig                     |  10 +
>  drivers/iio/light/Makefile                    |   1 +
>  drivers/{misc => iio/light}/apds990x.c        | 802 +++++++++---------
>  drivers/misc/Kconfig                          |  10 -
>  drivers/misc/Makefile                         |   1 -
>  6 files changed, 509 insertions(+), 391 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds990x.yaml
>  rename drivers/{misc => iio/light}/apds990x.c (67%)
> 

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>