1# Copyright (c) 2022, Hiroki Tada
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Hamamatsu Photonics S11059 Color Sensor.  See datasheet at
6  https://datasheetspdf.com/pdf/1323325/Hamamatsu/S11059-02DT/1
7
8compatible: "hamamatsu,s11059"
9
10include: [sensor-device.yaml, i2c-device.yaml]
11
12properties:
13  high-gain:
14    type: boolean
15    description: |
16      When present, the high gain is enabled.
17      The gain ratio is 10 times from low to high.
18
19  integration-time:
20    type: int
21    default: 546000
22    description: |
23      Integration time (unit is us).
24      By setting this value to the desired integration time,
25      the Integration time setting and Manual timing register
26      values are set automatically.
27
28      The default value is 546ms. See datasheet, bottom of page 3.
29