From: Rob Herring <robh@kernel.org>
To: Naresh Solanki <naresh.solanki@9elements.com>
Cc: Guenter Roeck <linux@roeck-us.net>,
broonie@kernel.org, conor@kernel.org,
Jean Delvare <jdelvare@suse.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: ir38060: Move & update dt binding
Date: Mon, 24 Feb 2025 09:06:45 -0600 [thread overview]
Message-ID: <20250224150645.GA2786847-robh@kernel.org> (raw)
In-Reply-To: <20250221213837.1594057-1-naresh.solanki@9elements.com>
On Sat, Feb 22, 2025 at 03:08:34AM +0530, Naresh Solanki wrote:
> Move dt binding under hwmon/pmbus & align accordingly.
>
> Previously the DT binding was invalid & wouldn't work with pmbus driver.
> Pmbus driver expects a regulator node & hence added the same.
This still doesn't really capture the previous discussion. With this, my
response is still 'fix the driver'. It seems there is something about
this is a common driver...
>
> Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
> ---
> Changes in V2:
> 1. Update commit message
> ---
> .../hwmon/pmbus/infineon,ir38060.yaml | 61 +++++++++++++++++++
> .../bindings/regulator/infineon,ir38060.yaml | 45 --------------
> 2 files changed, 61 insertions(+), 45 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml
> delete mode 100644 Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml
> new file mode 100644
> index 000000000000..e1f683846a54
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,ir38060.yaml
> @@ -0,0 +1,61 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,ir38060.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Infineon Buck Regulators with PMBUS interfaces
> +
> +maintainers:
> + - Not Me.
> +
> +properties:
> + compatible:
> + enum:
> + - infineon,ir38060
> + - infineon,ir38064
> + - infineon,ir38164
> + - infineon,ir38263
> +
> + reg:
> + maxItems: 1
> +
> + regulators:
> + type: object
> + description:
> + list of regulators provided by this controller.
> +
> + properties:
> + vout:
> + $ref: /schemas/regulator/regulator.yaml#
> + type: object
> +
> + unevaluatedProperties: false
> +
> + additionalProperties: false
> +
> +required:
> + - compatible
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + regulator@34 {
> + compatible = "infineon,ir38060";
> + reg = <0x34>;
> +
> + regulators {
> + vout {
> + regulator-name = "p5v_aux";
> + regulator-min-microvolt = <437500>;
> + regulator-max-microvolt = <1387500>;
> + };
> + };
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml b/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml
> deleted file mode 100644
> index e6ffbc2a2298..000000000000
> --- a/Documentation/devicetree/bindings/regulator/infineon,ir38060.yaml
> +++ /dev/null
> @@ -1,45 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> -%YAML 1.2
> ----
> -$id: http://devicetree.org/schemas/regulator/infineon,ir38060.yaml#
> -$schema: http://devicetree.org/meta-schemas/core.yaml#
> -
> -title: Infineon Buck Regulators with PMBUS interfaces
> -
> -maintainers:
> - - Not Me.
> -
> -allOf:
> - - $ref: regulator.yaml#
> -
> -properties:
> - compatible:
> - enum:
> - - infineon,ir38060
> - - infineon,ir38064
> - - infineon,ir38164
> - - infineon,ir38263
> -
> - reg:
> - maxItems: 1
> -
> -required:
> - - compatible
> - - reg
> -
> -unevaluatedProperties: false
> -
> -examples:
> - - |
> - i2c {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - regulator@34 {
> - compatible = "infineon,ir38060";
> - reg = <0x34>;
> -
> - regulator-min-microvolt = <437500>;
> - regulator-max-microvolt = <1387500>;
> - };
> - };
>
> base-commit: 8df0f002827e18632dcd986f7546c1abf1953a6f
> --
> 2.42.0
>
prev parent reply other threads:[~2025-02-24 15:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 21:38 [PATCH v2 1/2] dt-bindings: hwmon: ir38060: Move & update dt binding Naresh Solanki
2025-02-21 21:38 ` [PATCH v2 2/2] ARM: dts: aspeed: sbp1: Align regulator node with Infineon ir38060 Naresh Solanki
2025-02-21 22:17 ` [PATCH v2 1/2] dt-bindings: hwmon: ir38060: Move & update dt binding Rob Herring (Arm)
2025-02-24 15:06 ` Rob Herring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250224150645.GA2786847-robh@kernel.org \
--to=robh@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=naresh.solanki@9elements.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).