devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640
@ 2023-08-31 19:07 Naresh Solanki
  2023-09-01 15:45 ` Conor Dooley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Naresh Solanki @ 2023-08-31 19:07 UTC (permalink / raw)
  To: Guenter Roeck, Jean Delvare, krzysztof.kozlowski+dt, Rob Herring,
	Conor Dooley, Naresh Solanki
  Cc: linux-hwmon, Patrick Rudolph, Naresh Solanki, Rob Herring,
	devicetree, linux-kernel

From: Patrick Rudolph <patrick.rudolph@9elements.com>

Add the DT property 'infineon,en-pin-fixed-level' to
indicated that the chip EN pin is at fixed level
or left unconnected(has internal pull-down).

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
----
Changes in V5:
- Update pin name to align with datasheet
Changes in V4:
- Update property name & description.
- Update commit message.
---
 .../hwmon/pmbus/infineon,tda38640.yaml        | 50 +++++++++++++++++++
 .../devicetree/bindings/trivial-devices.yaml  |  2 -
 2 files changed, 50 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml
new file mode 100644
index 000000000000..9eecfae5dfcf
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C
+
+maintainers:
+  - Naresh Solanki <naresh.solanki@9elements.com>
+
+description: |
+  The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck
+  Regulator with SVID and I2C designed for Industrial use.
+
+  Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9
+
+properties:
+  compatible:
+    enum:
+      - infineon,tda38640
+
+  reg:
+    maxItems: 1
+
+  infineon,en-pin-fixed-level:
+    description:
+      Indicates that the chip EN pin is at fixed level or left
+      unconnected(has internal pull-down).
+    type: boolean
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        tda38640@40 {
+            compatible = "infineon,tda38640";
+            reg = <0x40>;
+        };
+    };
+
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 40bc475ee7e1..86c7d34f63bf 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -151,8 +151,6 @@ properties:
           - infineon,slb9645tt
             # Infineon SLB9673 I2C TPM 2.0
           - infineon,slb9673
-            # Infineon TDA38640 Voltage Regulator
-          - infineon,tda38640
             # Infineon TLV493D-A1B6 I2C 3D Magnetic Sensor
           - infineon,tlv493d-a1b6
             # Infineon Multi-phase Digital VR Controller xdpe11280

base-commit: 919a83d020a8dfa1411c1dc1cff23a833f0f5268
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640
  2023-08-31 19:07 [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640 Naresh Solanki
@ 2023-09-01 15:45 ` Conor Dooley
  2023-09-02 14:13 ` Guenter Roeck
  2023-09-05  6:42 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2023-09-01 15:45 UTC (permalink / raw)
  To: Naresh Solanki
  Cc: Guenter Roeck, Jean Delvare, krzysztof.kozlowski+dt, Rob Herring,
	Conor Dooley, linux-hwmon, Patrick Rudolph, Rob Herring,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3538 bytes --]

On Thu, Aug 31, 2023 at 09:07:27PM +0200, Naresh Solanki wrote:
> From: Patrick Rudolph <patrick.rudolph@9elements.com>
> 
> Add the DT property 'infineon,en-pin-fixed-level' to
> indicated that the chip EN pin is at fixed level
> or left unconnected(has internal pull-down).
> 
> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>

If there's another revision, please add some of the context as to why
the property is needed to the commit message. Otherwise, this looks okay
to me.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ----
> Changes in V5:
> - Update pin name to align with datasheet
> Changes in V4:
> - Update property name & description.
> - Update commit message.
> ---
>  .../hwmon/pmbus/infineon,tda38640.yaml        | 50 +++++++++++++++++++
>  .../devicetree/bindings/trivial-devices.yaml  |  2 -
>  2 files changed, 50 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml
> new file mode 100644
> index 000000000000..9eecfae5dfcf
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +
> +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C
> +
> +maintainers:
> +  - Naresh Solanki <naresh.solanki@9elements.com>
> +
> +description: |
> +  The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck
> +  Regulator with SVID and I2C designed for Industrial use.
> +
> +  Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9
> +
> +properties:
> +  compatible:
> +    enum:
> +      - infineon,tda38640
> +
> +  reg:
> +    maxItems: 1
> +
> +  infineon,en-pin-fixed-level:
> +    description:
> +      Indicates that the chip EN pin is at fixed level or left
> +      unconnected(has internal pull-down).
> +    type: boolean
> +
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        tda38640@40 {
> +            compatible = "infineon,tda38640";
> +            reg = <0x40>;
> +        };
> +    };
> +
> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> index 40bc475ee7e1..86c7d34f63bf 100644
> --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> @@ -151,8 +151,6 @@ properties:
>            - infineon,slb9645tt
>              # Infineon SLB9673 I2C TPM 2.0
>            - infineon,slb9673
> -            # Infineon TDA38640 Voltage Regulator
> -          - infineon,tda38640
>              # Infineon TLV493D-A1B6 I2C 3D Magnetic Sensor
>            - infineon,tlv493d-a1b6
>              # Infineon Multi-phase Digital VR Controller xdpe11280
> 
> base-commit: 919a83d020a8dfa1411c1dc1cff23a833f0f5268
> -- 
> 2.41.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640
  2023-08-31 19:07 [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640 Naresh Solanki
  2023-09-01 15:45 ` Conor Dooley
@ 2023-09-02 14:13 ` Guenter Roeck
  2023-09-05  6:42 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2023-09-02 14:13 UTC (permalink / raw)
  To: Naresh Solanki
  Cc: Jean Delvare, krzysztof.kozlowski+dt, Rob Herring, Conor Dooley,
	linux-hwmon, Patrick Rudolph, Rob Herring, devicetree,
	linux-kernel

On Thu, Aug 31, 2023 at 09:07:27PM +0200, Naresh Solanki wrote:
> From: Patrick Rudolph <patrick.rudolph@9elements.com>
> 
> Add the DT property 'infineon,en-pin-fixed-level' to
> indicated that the chip EN pin is at fixed level
> or left unconnected(has internal pull-down).
> 
> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
> ----
> Changes in V5:
> - Update pin name to align with datasheet
> Changes in V4:
> - Update property name & description.
> - Update commit message.
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Applied to hwmon-next.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640
  2023-08-31 19:07 [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640 Naresh Solanki
  2023-09-01 15:45 ` Conor Dooley
  2023-09-02 14:13 ` Guenter Roeck
@ 2023-09-05  6:42 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-05  6:42 UTC (permalink / raw)
  To: Naresh Solanki, Guenter Roeck, Jean Delvare,
	krzysztof.kozlowski+dt, Rob Herring, Conor Dooley
  Cc: linux-hwmon, Patrick Rudolph, Rob Herring, devicetree,
	linux-kernel

On 31/08/2023 21:07, Naresh Solanki wrote:
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    i2c {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +
> +        tda38640@40 {

Any reason why you ignored Conor's comment here?

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-05 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 19:07 [PATCH v5 1/3] dt-bindings: hwmon: Add Infineon TDA38640 Naresh Solanki
2023-09-01 15:45 ` Conor Dooley
2023-09-02 14:13 ` Guenter Roeck
2023-09-05  6:42 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).