1# Copyright (c) 2023 Andreas Kilian 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Vishay VEML7700 High Accuracy Ambient Light Sensor With I2C Interface. 6 See: https://www.vishay.com/doc?84286 7 8compatible: "vishay,veml7700" 9 10include: [sensor-device.yaml, i2c-device.yaml] 11 12properties: 13 psm-mode: 14 type: int 15 default: 0x00 16 description: | 17 Power saving mode as described in the datasheet on page 8. 18 The initial power on register value for the PSM register is 0 19 (power saving mode is disabled) which is the default value. 20 Possible values are: 21 0x00 = Disable power saving mode 22 0x01 = Mode 1 (0001b) 23 0x03 = Mode 2 (0011b) 24 0x05 = Mode 3 (0101b) 25 0x07 = Mode 4 (0111b) 26 enum: 27 - 0x00 28 - 0x01 29 - 0x03 30 - 0x05 31 - 0x07 32