From mboxrd@z Thu Jan 1 00:00:00 1970 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 CB602C4321E for ; Fri, 25 Nov 2022 04:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=eMqQ/yRifYCP99jHwmPnVJQLfMcZ1X2OtGA5VMVeefM=; b=2f6pgQRzVaEfGo qc65m6XI0oKt1WaoDYLZW8DEj7KvFhh221ZF1NVpWfDNzNgp0j8qWp8CypTlA5Le91rpLAoXsNotW IlwrhAAimCY6cswx81COXNSO8tstRfZsVeMddNqp4n3167hsANieKc7Vgnb/vhwseiP4tzP68Kguy wiBCjj9BM6ZHL7zUP5md1V4XsOAidqZezixsJV2eqsnhF5IE1hiatzzZTKzoC02y+BXbCy18ML0iE 1cnopzvA74TOzQ+BpfuJMdGgFjxwFLq66Y8byP3DZ20uqLSRmfJMdD+N852EUeD3atLXuA+RGsb3t TzcGYulFbq4kzXSdP0Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyPu1-00CWZa-Lq; Fri, 25 Nov 2022 04:01:25 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oyPtx-00CWV7-FM for linux-arm-kernel@lists.infradead.org; Fri, 25 Nov 2022 04:01:23 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 081C15C0118; Thu, 24 Nov 2022 23:01:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 24 Nov 2022 23:01:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1669348879; x=1669435279; bh=mj 3Gov5wKiQnQuD89ZZReDiiaf0nPdNccfQhMNfEqG8=; b=ItEin8pqsM13pA2zZh W4wIeOd4FOuJf6cBV4DkjLtegSyIFfBFapj1mM0geaoAznlISlXX9zkrRJpJGGhY akRCZ6NrGFnQSdLZ9Ihnf7HvTeE57Mr0Y0BQgSQxn20o536J1QwSdUkJG2ZWBGEI 06vx/nxbA2r6otro8b9whbxyK7gcquTVtpg1+Lz2+NZ2uL9OO63q6xNph0iW28XX HC3su8FOfLYjybwllQ6nyCGtwYHFYzVz+ptKCYps2x451CY+CASdD7RcsiwBkp/P id0M1cZc6vH31KnSlRqGsfRf4Q4rYXVPpru5/Av07PRXpKhkrYAAUajipRBqXgKs zkWQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1669348879; x=1669435279; bh=mj3Gov5wKiQnQ uD89ZZReDiiaf0nPdNccfQhMNfEqG8=; b=GLUc3ZmcAe6E9lb10iXixwo7/q7Nj RHbdF8WbUaI6nrtCUYFNXSVrn+0i9xB8408XQoq/ury1ecNxMPR0MwN9/v6PskDF vPMwH9y6M23LcQUGlcthbg9IZQ+1TqHKodAjGWJbMXRHZY3s0SPByNzdrVMlh9bK 0Fupv3SBUTLR79dywlI0bKPUyrTTTrFiknP6bdqeDAZAkAbyeDZKq2wE4geU2K8Q a0XyiUWFoTJl+M5rZuPhb3LY4/qnmuhsNY5GCuBKYd3BORX+Q9DQrUeftzl0RprY vEL7vFQAY5x8Wmio/SyA0S6/YUtEs4k8MHfUs6dw+hw0+XFlkOPz2dlDQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrieeggdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Nov 2022 23:01:18 -0500 (EST) From: Samuel Holland To: Liam Girdwood , Mark Brown , Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring Cc: Samuel Holland , Andrew Lunn , Heiko Stuebner , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v4 3/4] dt-bindings: sram: sunxi-sram: Add regulators child Date: Thu, 24 Nov 2022 22:01:11 -0600 Message-Id: <20221125040112.18160-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221125040112.18160-1-samuel@sholland.org> References: <20221125040112.18160-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221124_200121_965878_E9706DD4 X-CRM114-Status: GOOD ( 11.52 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some sunxi SoCs have in-package regulators controlled by a register in the system control MMIO block. Allow a child node for this regulator device in addition to SRAM child nodes. Signed-off-by: Samuel Holland --- Changes in v4: - Remove unevaluatedProperties from regulators schema reference Changes in v3: - Require the regulators node to have a unit address - Reference the regulator schema from the SRAM controller schema - Move the system LDOs example to the SRAM controller schema - Reorder the patches so the example passes validation Changes in v2: - New patch for v2 .../allwinner,sun4i-a10-system-control.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml index 98a7dc7f467d..c487ac9521e9 100644 --- a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml +++ b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml @@ -56,6 +56,9 @@ properties: ranges: true patternProperties: + "^regulators@[0-9a-f]+$": + $ref: /schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml# + "^sram@[a-z0-9]+": type: object @@ -130,3 +133,28 @@ examples: }; }; }; + + - | + syscon@3000000 { + compatible = "allwinner,sun20i-d1-system-control"; + reg = <0x3000000 0x1000>; + ranges; + #address-cells = <1>; + #size-cells = <1>; + + regulators@3000150 { + compatible = "allwinner,sun20i-d1-system-ldos"; + reg = <0x3000150 0x4>; + + reg_ldoa: ldoa { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + reg_ldob: ldob { + regulator-name = "vcc-dram"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + }; + }; + }; -- 2.37.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel