diff mbox series

[v2,2/2] dt-bindings: hwmon: lm90: do not require VCC supply

Message ID 20210920181913.338772-2-krzysztof.kozlowski@canonical.com (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] dt-bindings: hwmon: lm90: convert to dtschema | expand

Commit Message

Krzysztof Kozlowski Sept. 20, 2021, 6:19 p.m. UTC
The LM90-like sensors usually need VCC supply, however this can be
hard-wired to the board main supply (like in SiFive HiFive Unmatched
RISC-V board).  Original bindings made VCC supply as required but in
practice several other boards skipped it.  Make it optional.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

---

Changes since v1:
1. New patch
---
 Documentation/devicetree/bindings/hwmon/national,lm90.yaml | 1 -
 1 file changed, 1 deletion(-)

Comments

Rob Herring Sept. 23, 2021, 9:11 p.m. UTC | #1
On Mon, 20 Sep 2021 20:19:13 +0200, Krzysztof Kozlowski wrote:
> The LM90-like sensors usually need VCC supply, however this can be
> hard-wired to the board main supply (like in SiFive HiFive Unmatched
> RISC-V board).  Original bindings made VCC supply as required but in
> practice several other boards skipped it.  Make it optional.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> 
> ---
> 
> Changes since v1:
> 1. New patch
> ---
>  Documentation/devicetree/bindings/hwmon/national,lm90.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Guenter Roeck Sept. 24, 2021, 1:12 a.m. UTC | #2
On Mon, Sep 20, 2021 at 08:19:13PM +0200, Krzysztof Kozlowski wrote:
> The LM90-like sensors usually need VCC supply, however this can be
> hard-wired to the board main supply (like in SiFive HiFive Unmatched
> RISC-V board).  Original bindings made VCC supply as required but in
> practice several other boards skipped it.  Make it optional.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied.

Thanks,
Guenter

> ---
> 
> Changes since v1:
> 1. New patch
> ---
>  Documentation/devicetree/bindings/hwmon/national,lm90.yaml | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
> index e712117da3df..6e1d54ff5d5b 100644
> --- a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
> @@ -55,7 +55,6 @@ properties:
>  required:
>    - compatible
>    - reg
> -  - vcc-supply
>  
>  additionalProperties: false
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
index e712117da3df..6e1d54ff5d5b 100644
--- a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
+++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
@@ -55,7 +55,6 @@  properties:
 required:
   - compatible
   - reg
-  - vcc-supply
 
 additionalProperties: false