From patchwork Mon Oct 21 09:14:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 13843816 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C00A31E0087 for ; Mon, 21 Oct 2024 10:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729505271; cv=none; b=gi3mc/d9zqfZoHgJh1Cmrt2FTb4oGsj3va1v1LKzXfmnv3RNoMnbbY+cDe/edmprpZjKpTQX7IKoPxS946wNDh/TzIzkhquwD7RFbEgOnDCNUt/JN+oahIJywq5aP19duHpm77tLP8sULKB4awO5HhZ4GtUhsp1CC+5K1hJiMx4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729505271; c=relaxed/simple; bh=QdZWSFTeGpOWzSib81TVg25Rz1n0HWmtYu4OVad4FCo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=KTTSbS5fpOBXMKp+H3b6+BDr07InhGDlQZ9cLMdWwGwP36XjYBla5u2rRySpqnRt6WSnDwjf3IsaVfWObRnweemH9lctjtuAITg7rlzIujSK+2AcHAbCfqDmp4BMp5DF5dn3nP2VBtWtqFcRYguzM/v7TgnmK5hLZSEWqWvB3Kw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b=fKGgLyPP; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="fKGgLyPP" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4314c4cb752so45217385e9.2 for ; Mon, 21 Oct 2024 03:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1729505267; x=1730110067; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=EBql76qWJOBLXqDBsTH119HC7QDwlYFKmnY1odQsxTU=; b=fKGgLyPPWt0pLp1mFM2RVXcHs3xb1bnBBHtwjK0YLN8z6sAgqtD5boV4LreoFYVkQT aQW/aiVRvpURun99vbkNXbJ2eF+WFfzKwwK3fFU6Gr/9RELP13wRpHrd1gBcSh9+j4k6 vP8X9Hdg+OAbS7bV3KfuN0m53+zPcmTCjD/Qf7a4pdITFbIQD4oPKzlwF83BGv2+yDnl /wN8HAnagq73w+KgdI5S9jHGUSo4DzhitBA7OjpEaJ3iJOZmmw9a0mJkeO4h60oUSSUh xnkKX6WMO08E9JAL5mHEqHVkkcuNXVjBq7DyCVu10H6jEKxQzwkI+LxoWz6cvJFVWysb v7FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729505267; x=1730110067; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EBql76qWJOBLXqDBsTH119HC7QDwlYFKmnY1odQsxTU=; b=Cjxc4TYUgxjD2/9HOOQ/5RqoJ/12RcdCzm2Md9qJzmLB5NDAKYXZ1syCK6GDnEstAf 9qpZEXe9qYkI8BQeLO4dHYzyLGakkkGMkLZFGKGHbCOkqbU+jUQ6v+Uy+vgvVlGw//Ez qO+YBrEtOQVYQ4ykT3H7bTI9VlF5O3eDgQM2VWx4KLk/2fYDQA+JFgaJpz3kzg80JYFP BlE8ubUtd54nkv5tTdVsNPBZry0yyiJf+3PpfXlWBhvZSsrj/lzMbrfvq1HvB84g9Bvn TAc6yFTusyy0EarHxTBaj1nGRt8gR3xQEPMD9tD/PP3MyAfPXd0qDVrQyQ2lqKn4LQVl cMIQ== X-Forwarded-Encrypted: i=1; AJvYcCXy2FPYLeSndT6f/5PNwZwVdcj1QXNOwJ+dgLQC70xzeOjH/4SZGjLoynDg2pxP4NrEs5DWZrXtk2SssA==@vger.kernel.org X-Gm-Message-State: AOJu0YyPkMiuxvkjM3xowJNKxOvaCZ6tCJEinnMMCDq1eAOHbjaitM14 qbg6QqUvFiV6P/ds3XmBY4JCbOtqslrfQGgSwVZEOY3Iv8FGF2WtbOKisQ+a6rU= X-Google-Smtp-Source: AGHT+IEq7dO7gIDeubgjOK5nBjj3N26LiS79UsNXDGMVSWLjEXQrVDIOmL3jcj587GAFbmPX3U5X5g== X-Received: by 2002:a05:600c:45c3:b0:42f:8515:e490 with SMTP id 5b1f17b1804b1-4316161f58bmr98151325e9.5.1729505266808; Mon, 21 Oct 2024 03:07:46 -0700 (PDT) Received: from stroh80.lab.9e.network (ip-078-094-000-050.um19.pools.vodafone-ip.de. [78.94.0.50]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4316f57fc17sm51394775e9.15.2024.10.21.03.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 03:07:45 -0700 (PDT) From: Naresh Solanki To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jdelvare@suse.com, linux@roeck-us.net, sylv@sylv.io, linux-hwmon@vger.kernel.org, Naresh Solanki Subject: [PATCH v2] dt-bindings: hwmon: pmbus: Add bindings for Vicor pli1209bc Date: Mon, 21 Oct 2024 14:44:29 +0530 Message-ID: <20241021091430.3489816-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove vicor,pli1209bc from trivial-devices as it requires additional properties and does not fit into the trivial devices category. Add new bindings for Vicor pli1209bc, a Digital Supervisor with Isolation for use with BCM Bus Converter Modules. VR rails are defined under regulator node as expected by pmbus driver. Signed-off-by: Naresh Solanki --- Changes in V2: - Squash the two patch in patch into one. - Update commit message. --- .../bindings/hwmon/pmbus/vicor,pli1209bc.yaml | 62 +++++++++++++++++++ .../devicetree/bindings/trivial-devices.yaml | 2 - 2 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.yaml base-commit: d79616b04f0e08178ceb716a5d2ef60ab723d532 diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.yaml new file mode 100644 index 000000000000..026a835da58e --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/pmbus/vicor,pli1209bc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Vicor PLI1209BC Power Regulator + +maintainers: + - Marcello Sylvester Bauer + - Naresh Solanki + +description: + The Vicor PLI1209BC is a Digital Supervisor with Isolation for use + with BCM Bus Converter Modules. + +properties: + compatible: + enum: + - vicor,pli1209bc + + reg: + maxItems: 1 + + regulators: + type: object + description: + List of regulators provided by this controller. + + properties: + vout2: + $ref: /schemas/regulator/regulator.yaml# + type: object + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@5f { + compatible = "vicor,pli1209bc"; + reg = <0x5f>; + + regulators { + p12v_d: vout2 { + regulator-name = "bcm3"; + regulator-boot-on; + }; + }; + }; + }; + diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 15f89d7ecf73..00361b5cfc3c 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -404,8 +404,6 @@ properties: - ti,tps546d24 # I2C Touch-Screen Controller - ti,tsc2003 - # Vicor Corporation Digital Supervisor - - vicor,pli1209bc # Winbond/Nuvoton H/W Monitor - winbond,w83793