Message ID | 20200707080104.23711-1-chris.ruehl@gtsys.com.hk (mailing list archive) |
---|---|
Headers | show |
Series | shtc1: add support for device tree bindings | expand |
On 7/7/2020 4:01 pm, Chris Ruehl wrote: > Add support for DTS bindings to the shtc driver > The patches add the compatible table and of_property_read_bool to the > shtc1.c. Newly created Yaml document has been released to the > Documentation/devicetree/hwmon/sensirion,shtc1.yaml > > Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk> > --- > Version 3 > Fix errors report with checkpatch.pl > Correct logic, add (!) when check for sensirion,low_precision > Version 2 > remove the #ifdef CONFIG_OF > ignore platform data if dev->of_node is valid > use boolean only therefor use sensirion,low_precise to fit the logic > add missing driver.of_match_table entry > Version 1 > initial version > I didn't fix the WARNINGS coming up with checkpatch, they are initial commit errors when added to the kernel. But I have a patch pending to fix the format issue , once this is accepted.
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk> --- Version 3 Fix errors report with checkpatch.pl Correct logic, add (!) when check for sensirion,low_precision Version 2 remove the #ifdef CONFIG_OF ignore platform data if dev->of_node is valid use boolean only therefor use sensirion,low_precise to fit the logic add missing driver.of_match_table entry Version 1 initial version