]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: hwmon: (mr75203) fix "intel,vm-map" property to be optional
authorEliav Farber <farbere@amazon.com>
Thu, 8 Sep 2022 15:24:29 +0000 (15:24 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Sep 2022 18:53:04 +0000 (11:53 -0700)
commit9f5eaf3aa68e63a5d73e1e6af3b3e79a17dc916a
tree8de38c760174282ab1c597faf98f550c2252799e
parentd6a18dcf72e8dbdc9b45caf0d8f6fb051feb0b3a
dt-bindings: hwmon: (mr75203) fix "intel,vm-map" property to be optional

Change "intel,vm-map" property to be optional instead of required.

The driver implementation indicates it is not mandatory to have
"intel,vm-map" in the device tree:
 - probe doesn't fail in case it is absent.
 - explicit comment in code - "Incase intel,vm-map property is not
   defined, we assume incremental channel numbers".

Fixes: 07fd945121c4 ("hwmon: Add DT bindings schema for PVT controller")
Signed-off-by: Eliav Farber <farbere@amazon.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220908152449.35457-2-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml