Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp287110lqh; Mon, 6 May 2024 21:14:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWX0BxAIJuWAqXqxwccNQhYQKgeE8TbF04QXP8by4TBUkGgEg1AIkL5jp6KAvwvWJiINIcG4YUeVjeC3XB9QK2+5NCriGernU+y+rAtfg== X-Google-Smtp-Source: AGHT+IHjZVl1jPby2t/StY9fCoZadfPoBCLnKXXw6QsHVyNwpFu7XPbBm04eOUY0gtAN7g2axA0A X-Received: by 2002:a05:6a21:6711:b0:1af:a617:86ac with SMTP id wh17-20020a056a21671100b001afa61786acmr5211739pzb.53.1715055247645; Mon, 06 May 2024 21:14:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715055247; cv=pass; d=google.com; s=arc-20160816; b=p1TawdafZxhlQ+ZpeEcL8yFGjh8lmhBXx8ju/LdmtMNq/eb0V8auPedPcLg+z6kiQV h9a5z1iKyn32Tb7JeW6vJutlhagqwlOQYJOJrcoDzLFnkpZiovpzEEaj0DoBAf+nh7mV OlwTvHo4FGizK9LAfbnuTdsUfWTO9idlkOFE2gvNrsKzHNGmyj4BlrXv0WOb+Fpi0hZy GikjcnjXclN51+7UoI5Y0oVBQrQrBAjTmgpNwEfxwQfGJf0bEjP2v8pk9PRiVdvGhsXY Fu1hEAVGb0OM2o1UPw9Zi719HAEstADBR5mwFqQFADClLcxf1KdQlcnY84i6pdMrxxaw hHEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ndkd3H0uhogbCU9Y18jO78ngS9ATAFjex46StfBr9DA=; fh=Wr2wVn9QhuxVeQ3l4FL/Fq8SHKkbWC8x25q3NQyHaug=; b=Bve0R6V0q/AoRX9tUK8KzKRe2qQQMpsLPhle4z8qtZ770O8iwyxf0rp35zEHMOSX09 T1gqwP7zFx9JzoE9ChuN996gv/Iu3LVEN7MY8axREcobAg60O2a5Tkej4xIrs7UQENVn tRELV+Ns4dpdl8G2DhLc+2cbTBOVsOoBa6e2s9oynS90zTeGptHLfnxNCknjwlK6Uws/ pwtp59bQNyrfaDh6ZqAj6Vol2eiVEToavE6o6GpN6Biy3FS11BWfPDxvJaLnrDL0jmJh cmLil+MoHw5khyZLXRjIZMAwd75kzRzIYKvPw9eq5z+rI8H+bMiPhi42i1zC6uYXP0TC I4eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p+XCp7id; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z3-20020a170902d54300b001e3e3adea66si6814182plf.641.2024.05.06.21.14.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 21:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p+XCp7id; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5CA82284F52 for ; Tue, 7 May 2024 04:14:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30DE954BD7; Tue, 7 May 2024 04:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p+XCp7id" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43D895491A; Tue, 7 May 2024 04:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715055231; cv=none; b=lIYdwwl3aLWjP+8u8H3Urkf3xLrnWSgAA3j8SNUhveUw9a8GQQxIJWeECa2ElagyRQiSf/v3s37hcZ9kL3v52QT1/yp2hROP5fTY9AYUceMkyGNa8Ya3lbbvRrbZC67AEuwP2+JlpDr93Vc5+63vhvTdnY+0FYVLKZIc0zMDvvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715055231; c=relaxed/simple; bh=Mk/kaGfo1nd9dUr4W4lbqu4SomACMK5r/e5cywhFtl8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h1vT74AwZybEC8sHh3ev/KIe/MLjHN+1ebYtg2Pv2boqgx39Yh22S+NJ2+3ACZRK/f7yaeYJr6Z9hFgs6j1oxJzq/ESfB/u2+vRkhndtL3cmJ58MSOyQuC57n8EX47QN9Q7kkSdmXa6AoLzz7V/thhPKaMKLxR2X3GLM1pUFWLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p+XCp7id; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9FB9C4AF63; Tue, 7 May 2024 04:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715055230; bh=Mk/kaGfo1nd9dUr4W4lbqu4SomACMK5r/e5cywhFtl8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p+XCp7idKyIjVMcsKA+oB+O2qyzftDDngJzIZxvQmEXSUwKsST0zsEanCp6cRHZtE hGbX3Vh7oCrNjogrFU9Exq8+4bwyMW6CDyU/qooWEnhAGblj7NOfOeq7vMrIF5CDak C7vHmcqE1zMCd/lVNP7dioy10PL+OBawKYdBRxgbeT6E1rdMuNURjwtWUyxL4AiWw1 FOny4W7GPANtuk27HUHnVbeiTe4KEN0C2rR/LfERkKlDff8MHO8+FKpJBjA2JlSgnG W/bgcllCUzj/ryPEAhZFONPi201g87QERhy7DKMov4rrN6eDZ2d2fMDs4D5Q/WFDmb WZB6NQZRge7zQ== Received: by wens.tw (Postfix, from userid 1000) id 46D695F834; Tue, 7 May 2024 12:13:48 +0800 (CST) From: Chen-Yu Tsai To: Mark Brown Cc: Samuel Holland , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Krzysztof Kozlowski , Chen-Yu Tsai Subject: [PATCH RESEND v5 1/2] regulator: dt-bindings: Add Allwinner D1 system LDOs Date: Tue, 7 May 2024 12:13:42 +0800 Message-Id: <20240507041343.272569-2-wens@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240507041343.272569-1-wens@kernel.org> References: <20240507041343.272569-1-wens@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Samuel Holland The Allwinner D1 SoC contains two pairs of in-package LDOs. The pair of "system" LDOs is for general purpose use. LDOA generally powers the board's 1.8 V rail. LDOB powers the in-package DRAM, where applicable. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Samuel Holland Signed-off-by: Chen-Yu Tsai --- .../allwinner,sun20i-d1-system-ldos.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml diff --git a/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml b/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml new file mode 100644 index 000000000000..ec6695c8d2e3 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/allwinner,sun20i-d1-system-ldos.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner D1 System LDOs + +maintainers: + - Samuel Holland + +description: + Allwinner D1 contains a pair of general-purpose LDOs which are designed to + supply power inside and outside the SoC. They are controlled by a register + within the system control MMIO space. + +properties: + compatible: + enum: + - allwinner,sun20i-d1-system-ldos + + reg: + maxItems: 1 + +patternProperties: + "^ldo[ab]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +... -- 2.39.2