HID: amd_sfh: Add light chromaticity support
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Tue, 19 Sep 2023 08:10:53 +0000 (13:40 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 24 Sep 2023 12:31:33 +0000 (13:31 +0100)
commit3244d44a7c5e6961d79eafa44370ff13c909d670
treee99562bc96e228d90a90c255683251b9616e4801
parentee3710f39f9d0ae5137a866138d005fe1ad18132
HID: amd_sfh: Add light chromaticity support

In most cases, ambient color sensors also support the x and y light
colors, which represent the coordinates on the CIE 1931 chromaticity
diagram. Thus, add light chromaticity x and y.

Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Link: https://lore.kernel.org/r/20230919081054.2050714-9-Basavaraj.Natikar@amd.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.c
drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.h
drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_report_desc.h