On 19/11/2024 15:07, JuenKit Yip wrote: > add "compatible" property for supporting devicetree > > Signed-off-by: JuenKit Yip <hunterteaegg@xxxxxxx> > --- > drivers/hwmon/sht3x.c | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c > index 650b0bcc2359..2ac1537b3e3e 100644 > --- a/drivers/hwmon/sht3x.c > +++ b/drivers/hwmon/sht3x.c > @@ -954,6 +954,19 @@ static int sht3x_probe(struct i2c_client *client) > return PTR_ERR_OR_ZERO(hwmon_dev); > } > > +/* devicetree ID table */ > +static const struct of_device_id sht3x_of_match[] = { > + { .compatible = "sensirion,sht30", .data = (void *)sht3x }, This does not match your binding at all. Also all SHT/STS devices are compatible, so express it in the binding with a fallback. Anyway, you cannot just send half of patch afterwards without resolving previous comments. If this is v2, mark it as v2. If this is a resend, mark it as RESEND. See other examples on mailing lists (lore.kernel.org) and read submitting patches document. Best regards, Krzysztof