Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TCS3472 and VEML6040 sensor support (and a few others) #6448

Open
wants to merge 8 commits into
base: rpi-6.6.y
Choose a base branch
from

Commits on Oct 29, 2024

  1. configs: Regenerate the defconfigs

    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    83b7a50 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. iio: add modifiers for A and B ultraviolet light

    commit b89710b upstream.
    
    Currently there are only two modifiers for ultraviolet light: a generic
    one for any ultraviolet light (IIO_MOD_LIGHT_UV) and one for deep
    ultraviolet (IIO_MOD_LIGHT_DUV), which is also referred as ultraviolet
    C (UV-C) band and covers short-wave ultraviolet.
    
    There are still no modifiers for the long-wave and medium-wave
    ultraviolet bands. These two bands are the main components used to
    obtain the UV index on the Earth's surface.
    
    Add modifiers for the ultraviolet A (UV-A) and ultraviolet B (UV-B)
    bands.
    
    Signed-off-by: Javier Carrasco <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Jonathan Cameron <[email protected]>
    javiercarrascocruz authored and pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    c5dbcd7 View commit details
    Browse the repository at this point in the history
  2. iio: move LIGHT_UVA and LIGHT_UVB to the end of iio_modifier

    commit 6f6c72a upstream.
    
    The new modifiers should have added to the end of the enum, so they do
    not affect the existing entries.
    
    No modifiers were added since then, so they can be moved safely to the
    end of the list.
    
    Move IIO_MOD_LIGHT_UVA and IIO_MOD_LIGHT_UVB to the end of iio_modifier.
    
    Fixes: b89710b ("iio: add modifiers for A and B ultraviolet light")
    Suggested-by: Paul Cercueil <[email protected]>
    Signed-off-by: Javier Carrasco <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Jonathan Cameron <[email protected]>
    javiercarrascocruz authored and pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    d4d22db View commit details
    Browse the repository at this point in the history
  3. iio: light: add VEML6075 UVA and UVB light sensor driver

    commit 3b82f43 upstream.
    
    The Vishay VEMl6075 is a low power, 16-bit resolution UVA and UVB
    light sensor with I2C interface and noise compensation (visible and
    infrarred).
    
    Every UV channel generates an output signal measured in counts per
    integration period, where the integration time is configurable.
    
    This driver adds support for both UV channels and the ultraviolet
    index (UVI) inferred from them according to the device application note
    with open-air (no teflon) coefficients.
    
    Signed-off-by: Javier Carrasco <[email protected]>
    Link: https://lore.kernel.org/r/[email protected]
    Signed-off-by: Jonathan Cameron <[email protected]>
    javiercarrascocruz authored and pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    92a3d4f View commit details
    Browse the repository at this point in the history
  4. configs: Back-port several sensors

    Add config settings for the HTS221, VEML6075 and AS73211 sensors.
    
    Link: raspberrypi#6446
    
    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    481fc2c View commit details
    Browse the repository at this point in the history
  5. overlays: Back-port several sensors

    Extend the i2c-sensor overlay with support for the HTS221, VEML6075
    and AS73211 sensors.
    
    Link: raspberrypi#6446
    
    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    b2f724a View commit details
    Browse the repository at this point in the history
  6. configs: Add TCS3472=m

    Enable support for the TCS3472 family of light sensors.
    
    Link: raspberrypi#6446
    
    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    0c20388 View commit details
    Browse the repository at this point in the history
  7. overlays: Add TCS3472 and VEML6040 support

    Extend the i2c-sensor overlay with support for the VEML6040 and TCS3472
    family of light sensors.
    
    Link: raspberrypi#6446
    
    Signed-off-by: Phil Elwell <[email protected]>
    pelwell committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    9da3c21 View commit details
    Browse the repository at this point in the history