From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 B5CAC264614 for ; Sun, 14 Sep 2025 12:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757853761; cv=none; b=DVkX8GOV2EtNmrYUJNt9ttoSwodFxo5zGxGCPmcmHGTtVo/gJ62lC7RBjSnBXAx8xB9ypEucsPSV5QVYt/ijTsZLR/APsS9xNrwm9ARqO6RbOqp388W8y8BJUJJjwEvLE1Reo/g10PGpP/WsTqRyEejiRpMSVyeA9aaoQ1Bxe48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757853761; c=relaxed/simple; bh=y0sCz1ox1pdVdqC9lyNwJysTnUl+q01sDp++N8XGWHE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F45vEjjRCUgqA3el+gJ1OypP8S6jETuJDgcoUOJZ3LdrmMP0MXN+DdPSgKOc2ujzsWLSxJD71eBdy6ZkqGTIQDHSvTy3etd6dO/yMjyOY04uNy0gMEo4ZfsGaqyjtaqMZDS0aCcB13r7BNwlofFtfMlyvDUCljVQwXf4kOM+ito= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LHpsT/Hc; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LHpsT/Hc" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-3ea7af25f42so95285f8f.0 for ; Sun, 14 Sep 2025 05:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757853758; x=1758458558; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7YlK8x1e1nNbpl5BkBqgVftDE3O74o0MrUDh59tTEnY=; b=LHpsT/HcJwdMOk1R6v1K7d7gfNZL5c3gCpcFNPMt6d/dhj7g8tpFb1tGLNTj9/Ve/0 4Wgp6OMRrhSi5AcxzZGkw4WsmKROi0hKkJnUsuHcASVoKvqIV00p+HLaLFYDBlSOAMQz W8H3vGNWgfeV4j6fc698DcIvqhblHNOAzWZDGOzVuhrOMCBWjj/w6Iyf+9f9i/CpfcUt 9LAWiHnpwJampHPy+xoKhT71YUY5H4uAQ7KSk3MRkc++BQQScNwaVDEUIEZmu525vfWm mHNLnXfotArsYxsp5Bu6paQiLgGeCHYoZfQQogcv2CPaKGvt52l9R5zI9wBsPkuNY3X8 p8+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757853758; x=1758458558; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7YlK8x1e1nNbpl5BkBqgVftDE3O74o0MrUDh59tTEnY=; b=UkDCzJJU4I2l5kaLqbXzpeHPV+2b3OwBrDuWzqvJ8bga8OJbrW9AiMnLRiUzkCQ/AT SYDYAs3fCg1IW0OZPQAeOFEo28BJv8dwXBmHH+kDUtIzduGb9PLsGpjNHnTmwFcGies/ RMs59NQZKsoDaf0aeEbkOT4xS8J7GdAXIGuL8Nf7XPil+dFV6++9Om+BQj3VyW/OC8IH VlOeBia0XQBkomfU4n9lBjECQe45TixTBE3AagUq5laEW5NT29OCLvp3V9Gp4RdR9e7Z t6MzfVrjFk7sLWC5B+2lbUpruvJ/Hfva/4fTpVkH+m5MfGmF7zEym+hZqjwXixeVwOrX CrFQ== X-Forwarded-Encrypted: i=1; AJvYcCUzDRJxufKuvqtOBHzo1Qg3MrofVsZAbFDWChiOqpp6MLKLUo5j0Wpl22/PcTReefwWIFLDMvGKzGo=@vger.kernel.org X-Gm-Message-State: AOJu0YwOPlmQ7SqmC43rW1rYdaKKzgSPMuTQTmpPk5Y3u8XKguYTAOA+ rnR4XMVafr/q48GPouNpH7UigFUVX1JvQ5pJY7A0z+pFtQPvlNmqUk2Z X-Gm-Gg: ASbGncvu1koYB+IKRbzJutZ1cGHxatZv8ZVYTUmP1rsiKHPTG4bYaszEiGarxQ0Zgej bw1xVwXVA200nfOdhBpbvdUSjRRedGQkkYdnp/mrMmtIPSWHk4o/GfQxw3AI8fy1LAHvMbIfycr JC0nuOI0bJHrya8jph606K/SIF+oW7RYYyS79u8IdWjNfofcltZ2iCwHJLEhhGlWWMLTM15Jvc+ 2EPE7BBW2evG1mS9Cokup9Nrnb8Jabml6mbjz/+nq/jDYP1LPH1sVyLNsQayuYK9ItRgtQ3OnJE tfbEvT0IKp8HvVuFRvOpwYX3IuvUgFPImFzALlVnI1b/oyDD7JGqgWEsY5fjTUbuISVItL/N3Ei S23PsA02rtC1VXrM371eO0z5RfwAnC0VGuUAeMs/AkpnGqtKZQpVfVmHLx5tOFE6NLmdHiAs0zT 1t672KxqM9 X-Google-Smtp-Source: AGHT+IELVFIlesJEmaJQpWXNNvn35JfGIecuwQDqOHfPhALJRBcTy5rG9hu4+nxlOgJqxNq0ak5Xxw== X-Received: by 2002:a05:6000:178c:b0:3de:78c8:120c with SMTP id ffacd0b85a97d-3e765a139bdmr7119284f8f.38.1757853757902; Sun, 14 Sep 2025 05:42:37 -0700 (PDT) Received: from ivaylo-T580.. (91-139-201-119.stz.ddns.bulsat.com. [91.139.201.119]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e9511abbccsm3727773f8f.9.2025.09.14.05.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Sep 2025 05:42:37 -0700 (PDT) From: Ivaylo Ivanov To: Krzysztof Kozlowski , =?UTF-8?q?Andr=C3=A9=20Draszik?= , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , Conor Dooley , Lee Jones , Liam Girdwood , Mark Brown , Alexandre Belloni Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/7] regulator: dt-bindings: add documentation for s2mps16-pmic regulators Date: Sun, 14 Sep 2025 15:42:21 +0300 Message-ID: <20250914124227.2619925-2-ivo.ivanov.ivanov1@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250914124227.2619925-1-ivo.ivanov.ivanov1@gmail.com> References: <20250914124227.2619925-1-ivo.ivanov.ivanov1@gmail.com> Precedence: bulk X-Mailing-List: linux-rtc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The S2MPS16 is a PMIC found in exynos8890 devices, which controls voltage regulators - 38 LDOs, of which 11 are used for CP, and 11 BUCKs, of which 1 is used for CP. Provide documentation for devicetree definitions, regulator naming patterns, etc. Signed-off-by: Ivaylo Ivanov --- .../bindings/regulator/samsung,s2mps16.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps16.yaml diff --git a/Documentation/devicetree/bindings/regulator/samsung,s2mps16.yaml b/Documentation/devicetree/bindings/regulator/samsung,s2mps16.yaml new file mode 100644 index 000000000..ede87d3b9 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/samsung,s2mps16.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/samsung,s2mps16.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S2MPS16 Power Management IC regulators + +maintainers: + - Ivaylo Ivanov + +description: | + This is a part of device tree bindings for S2M and S5M family of Power + Management IC (PMIC). + + The S2MPS16 provides buck and LDO regulators. + + See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for + additional information and example. + +patternProperties: + # 27 LDOs + "^ldo([1-9]|1[0-3]|2[5-9]|3[0-8])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + LDOs 14-24 are used for CP, and they're left unimplemented due to lack + of documentation on them. + + required: + - regulator-name + + # 10 bucks + "^buck([1-9]|1[0-1])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single BUCK regulator. + + BUCK 10 is used for CP, and it's left unimplemented due to lack of + documentation on it. + + required: + - regulator-name + +additionalProperties: false -- 2.43.0