Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bu27034: ROHM BU27034NUC to BU27034ANUC

The ROHM BU27034NUC was cancelled and BU27034ANUC is replacing this
sensor. These senors aren't compatible from the software point of view.

According to ROHM, the BU27034NUC was never mass-produced. Hence dropping
the BU27034NUC support and using this driver to support BU27034ANUC
should not be a problem to users. We however need to ensure than people
who use old kernel with the old BU27034NUC driver don't get the old
driver probed for the new sensor.

Prepare to use the BU27034NUC driver to support the new BU27034ANUC and
change the compatible to prevent probing the old driver with the new
sensor.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/ed8b963b0cd3a84c06a494c79969a136d5abcf92.1720176341.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Matti Vaittinen and committed by
Jonathan Cameron
dd77c0ff 3c9edf76

+2 -3
+2 -3
drivers/iio/light/rohm-bu27034.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * BU27034 ROHM Ambient Light Sensor 3 + * BU27034ANUC ROHM Ambient Light Sensor 4 4 * 5 5 * Copyright (c) 2023, ROHM Semiconductor. 6 - * https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/light/bu27034nuc-e.pdf 7 6 */ 8 7 9 8 #include <linux/bitfield.h> ··· 1500 1501 } 1501 1502 1502 1503 static const struct of_device_id bu27034_of_match[] = { 1503 - { .compatible = "rohm,bu27034" }, 1504 + { .compatible = "rohm,bu27034anuc" }, 1504 1505 { } 1505 1506 }; 1506 1507 MODULE_DEVICE_TABLE(of, bu27034_of_match);