From patchwork Tue Oct 15 11:33:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 13836233 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 5ABA31D90DB for ; Tue, 15 Oct 2024 11:33:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728992025; cv=none; b=pLRCcGyrk3qF5pxoyX9HfQ8zr2EOuk/q2HQ4pItbzlVONkEspXi8SZCVgML1SJMLU9nmWo+bi6V7cue3mUwZJ1hJ8ETycxWpitb82wv5OjLMnCge3wd7h4N8VGgMCsm88fYzGoV7DAFgl5Bs4vnZip7FOGIHK30wiOs+fKVN79I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728992025; c=relaxed/simple; bh=EpSNCNH55EMHDXaxmMg5PL0Q29l93G+4owMmJTlOxC8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OS2zgDLk0cc5kuL0++Ljm+gv3WN6Oq+gzI+xb8BiM45moOUgDWjLwuqOd0M4O22JWeE+Jyc4igt9Z4dphLfVXpPy8Y48izNlx09tmWviq2B4ZG7/tgcuC0u9Kcx/F4JjTqRzMy9N3OXo6gNTi9aBh+kBmNOfhd8Xnf1WucSscOs= 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=PaE3q25t; arc=none smtp.client-ip=209.85.128.42 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="PaE3q25t" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-431286f50e1so34166025e9.0 for ; Tue, 15 Oct 2024 04:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1728992021; x=1729596821; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=9+VZqaDNm/nXVhGomDf3heagvr4DLJiJM3bMFD0yQQg=; b=PaE3q25t75lym4VjIJw/ObJ9uo8O16mo/L3CwZI43rMkAWmj6miQYZLUhwEULaJfFm VoPLShornBVZCeyo0bRFrPkjVsFy4EwowMSfn1V+Epdt4fzWTzCwazNrFVF6rPp5qWVb g8qREf5jVa8LIi2Hfy/AojtnaI4glAZgnY8u4HmBgmzFfft4g+q/ucchoLsCXlZU21Gq JryNEbBdnhWIoIkgzQ/2/nhmemegcnqjhIiP3mGMtbYfeFa8OOJqk6GhKn+aQvbtDczU M4/pgpq76FNCD9TaLoTwZvDSOHbWCLgyi+aUTrizc7dYyNw4jtqZCVSJ8OHKPvHaaNk9 i/WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728992021; x=1729596821; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9+VZqaDNm/nXVhGomDf3heagvr4DLJiJM3bMFD0yQQg=; b=uyT9bqGqSXSpW2baPWpM+HDuOibJDbGxOnWA5CP/Nd/Ec6RKwpRLd9WyK9zfCiTnNZ oEopEHH9QGlaxumnumERw3cPtmaLMHF1oDe/uXk2k/lBl5ZfeI2Zddbhqu70J6l4okbO Se0u3qgdziNnwO7KhYndPIKHnMQP9tBloRihJ/dQXCJk/jq1wR8cJ3a0NpyZT+x0QLc0 exWUIEhCbv9+n5WrHVFbPh9Ljn+nCC+Fgrwkogu8AVb1Bz5xOBvkngUfqII9IOxCCDwg 8Saa8RyPiCfmY9cLVr5JlZD0iFF9z8xeP60d9+uyBEa6HDFRWPdOEUsufuEtH6xEdr42 9r4w== X-Forwarded-Encrypted: i=1; AJvYcCXukTTSX+ts0JozSmscpVqZT9GT3KpWfVOU0Ry5QqlbbjiCR5HnuLf4YCnCACPy22EqYHXdtsY61VSJAg==@vger.kernel.org X-Gm-Message-State: AOJu0Yxoyon+rLmvKlM9FA6wV0rR7jg0PGoQPhPA9pYAzaYV47OYuYSK HWb+UT5LRCyTroKMRWfPd46u2/ifhRTDt7KubaZbCL5DjHjA0Ix8r7VgWq+JatM= X-Google-Smtp-Source: AGHT+IGEWqcYi1ZOd31/pKsjgf+yfqOzpHiaKQGzHak8tGP5ctTTmIcoPMm4LdGfPAUwW5O/CHhkKw== X-Received: by 2002:adf:fe08:0:b0:37d:39bf:37e3 with SMTP id ffacd0b85a97d-37d5ff59707mr9764255f8f.16.1728992021556; Tue, 15 Oct 2024 04:33:41 -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-4314209688dsm12579695e9.14.2024.10.15.04.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 04:33:41 -0700 (PDT) From: Naresh Solanki To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvester Bauer , Naresh Solanki , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: hwmon: pmbus: pli209bc: Add bindings Date: Tue, 15 Oct 2024 17:03:27 +0530 Message-ID: <20241015113329.667831-2-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20241015113329.667831-1-naresh.solanki@9elements.com> References: <20241015113329.667831-1-naresh.solanki@9elements.com> Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add bindings for Vicor pli1209bc. It a Digital Supervisor with Isolation for use with BCM Bus Converter Modules. Signed-off-by: Naresh Solanki --- .../bindings/hwmon/pmbus/vicor,pli1209bc.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.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..3647d14e9111 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pmbus/vicor,pli1209bc.yaml @@ -0,0 +1,65 @@ +# 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: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pli1209bc_p12v_d: regulator@5f { + compatible = "vicor,pli1209bc"; + reg = <0x5f>; + + regulators { + p12v_d: vout2 { + regulator-name = "bcm3"; + regulator-boot-on; + }; + }; + }; + }; +