From nobody Tue Nov 26 06:57:18 2024 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 C03491E3DC2 for ; Mon, 21 Oct 2024 10:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729505272; cv=none; b=vBk3PIJRmnQ9qYob4IthpdDfGxl7D90jDCwC3Pgld1XPSWnOKdC82HB/xXbnVDJjoT+6GF9xV/07YS55KRKThlzYaAUtCNTxbafCbvgbtSM/cJ/1YY3z0wdkdyKqXDQtAY6aUFRfMdY5AFg559rjufL8bHfFpKp8cnyrRA/tmg0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729505272; c=relaxed/simple; bh=QdZWSFTeGpOWzSib81TVg25Rz1n0HWmtYu4OVad4FCo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=ZdP/3UxcYpfnRYfMK9scETiVni901irjFg026PbBYCfdgrIDQczgf6OMtREF6pLqxH6kG6PjF5Wh/D7FwVxKmfxjwIhue8OWCvcuMyDi2SWtuSXz5H5VRqlyHkAt/EpkG1dQ9KQY4LNurfRz99b34lcVysbxITQggN38qjhuKKU= 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.49 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-f49.google.com with SMTP id 5b1f17b1804b1-431481433bdso45200125e9.3 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=PwiC1PpBf0n26mriDNPxTl11U/co0zHaSbhfpyp/e/BbGowO3aCFNjpiVaB5ynWGMh JYoiy8n+pHhm+k/9fXvaR2WIzRlzqSDFGtMiw/26Dz/i6ZVCIbF8Wm/bt8EGmvwSWQnI CDThL0n3OV6HaHZlsZWrN9Ole1oXVP9VczY+uKh+WjNzYrBJp0NEH/1GVPSp3XTMD1zx cWGr+LRPfYkBIs+IiuDNQKdbe34aJGQBXPkNBfquRB6nCLSWWpk0ZyHw4oY5/Xh4VKdX se04bOjJh0GU6QgkN2SHXXvBRdDjphG5YFBCAgh/4VVsPUg+VS/INZZnJWyf5u9r7dVn wmfA== X-Forwarded-Encrypted: i=1; AJvYcCXCpVrq5rnO8fhcSH0WeFtbpjqdQGhYPUDxzzAj35kvIsjflIgLbf5JSgwOnHd/Gq+D0fSWFRkqVQ1egMU=@vger.kernel.org X-Gm-Message-State: AOJu0Yw06Ma3q4QwQCQkfdkqB0jDcJwbF6EuYTrYcIqM0yvGASl9CxZF eVpHc6rmq1BgJxwCa6yaUemWpiOHAFGjzgacsTjnAcfjuZUqTNnntZTU509hoEgokGCb4WivuLs VK/g= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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,pli= 1209bc.yaml 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 =3D <1>; + #size-cells =3D <0>; + + regulator@5f { + compatible =3D "vicor,pli1209bc"; + reg =3D <0x5f>; + + regulators { + p12v_d: vout2 { + regulator-name =3D "bcm3"; + regulator-boot-on; + }; + }; + }; + }; + diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Docum= entation/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 =20 base-commit: d79616b04f0e08178ceb716a5d2ef60ab723d532 --=20 2.42.0