From patchwork Mon Aug 12 13:52:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13760643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C05BDC52D7C for ; Mon, 12 Aug 2024 13:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EUVxrI+2RKYPcairIK6u6ot3lWt5K8CdNqpnzdf/BEM=; b=GikEUF57SO/Lh+Jb4WPTNvFK3w wThlIEN2te3dYpzfFwPjabxbD9kUJ2CRgW2fnD8QIamoNNThKcpI2wMk2hldy1LwxpvGqD5/93+YX 2Dow4X8s16t/7igDiiCNITaJ5TgMmZNZselfPL8+kKbOh0CVZ/lKx4rcrVYuo4FtJonmOuhtIRqcP Lhwrw3zFTjbFIb8ZufMMXP0v182sbUmyCOQLY+q0FlW3c2lg2AdLuE5hpWWERE0eH0lXx049lSnNP kKQef1Nlbl4a4jf5A/3m8MoYp0Q9F3Z5FyzXPIFhbRwNIu++ufl0BSAc0rnl15kQ4op+hrgSbuo3E qMRnztRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdVXG-00000000VYl-3jxl; Mon, 12 Aug 2024 13:56:34 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdVTn-00000000UPH-2I31 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 13:53:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1723470779; x=1755006779; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jp+geUDZCqTPYYoFzm0i6Cp+RUKDlSua67ltTtH+eKQ=; b=cwIjk30ShZ46tTjuTpZBBHmj7U5BvKiE5/POOegVM5NzhModvx0MdcmB SH5drLLiGot12CEKEk7zctqabkAoskgWQyNcMVnIa9Gida88wGUn/STx5 z6mrSAKlvd7oXwk6LGAeAjGQ/Iwlpcu9jvPECtcoKJyKG/ugnbXlxPo9s Xtcna17GLSEm2PsguwWF8ZX84wNWrP/VJB2P/TA+JuvQ3Sjyx4COZcKDw JEsXLjZyifxtMSBY2g5AgjCgxGi+nbOPO4ZERfFuBW214XP5aQAJ/3zrM 3vQmTiD3NaWQ8xrsh3YXOj5tP43XW/5gxgeddJNiViy8+jsVDxITnpcNB w==; X-CSE-ConnectionGUID: s4TBmy++Rr+nQ8F2ugpKvw== X-CSE-MsgGUID: Q+ToFOHzSC6AcBeLd4lv7A== X-IronPort-AV: E=Sophos;i="6.09,283,1716274800"; d="scan'208";a="261298074" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 12 Aug 2024 06:52:55 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 12 Aug 2024 06:52:43 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 12 Aug 2024 06:52:41 -0700 From: Andrei Simion To: , , , , , , , CC: , , , Andrei Simion Subject: [PATCH v2 2/7] regulator: dt-bindings: microchip,mcp16502: Add voltage input supply documentation Date: Mon, 12 Aug 2024 16:52:26 +0300 Message-ID: <20240812135231.43744-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812135231.43744-1-andrei.simion@microchip.com> References: <20240812135231.43744-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_065259_742146_55CF2D76 X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update the yaml schema with info about input supply phandle for each buck and ldo according with the PMIC MCP16502 Datasheet. Signed-off-by: Andrei Simion Reviewed-by: Krzysztof Kozlowski --- v1 -> v2: - added in v2 --- .../regulator/microchip,mcp16502.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml b/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml index 1aca3646789e..c3e1fc6e260e 100644 --- a/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml +++ b/Documentation/devicetree/bindings/regulator/microchip,mcp16502.yaml @@ -28,6 +28,21 @@ properties: reg: maxItems: 1 + lvin-supply: + description: Input supply phandle for LDO1 and LDO2 + + pvin1-supply: + description: Input supply phandle for VDD_IO (BUCK1) + + pvin2-supply: + description: Input supply phandle for VDD_DDR (BUCK2) + + pvin3-supply: + description: Input supply phandle for VDD_CORE (BUCK3) + + pvin4-supply: + description: Input supply phandle for VDD_OTHER (BUCK4) + regulators: type: object additionalProperties: false @@ -68,6 +83,11 @@ examples: pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; + lvin-supply = <®_5v>; + pvin1-supply = <®_5v>; + pvin2-supply = <®_5v>; + pvin3-supply = <®_5v>; + pvin4-supply = <®_5v>; regulators { VDD_IO {