Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1246199lqo; Thu, 9 May 2024 08:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkxxg8pxIgs0WG8GlqxE53Vcx+tX7mCIpQTOwXXSDz1qOXwtO67l/nAEjWjXQvHG1/JsFkFB2IJTP++Za0paFx3oNet14C7HC1KAhUDw== X-Google-Smtp-Source: AGHT+IEuxSW4pI9pOYgQEtdpmWQUy8sHAmwqoLaQlRfDMoBNQhKPIB3hv/RhQAaO2+UdZDfdf+mD X-Received: by 2002:a17:902:e74a:b0:1e2:3e1e:3d9 with SMTP id d9443c01a7336-1eeb0899ae1mr78554985ad.63.1715268717386; Thu, 09 May 2024 08:31:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715268717; cv=pass; d=google.com; s=arc-20160816; b=DIdUbSYEUTeSlM0V8jUTdSMNz1hHj0o4XZZF/ttmsnxF9W+/PTXYSoHnZrueIir2fy 1mYlw/UjNTAQdhcZ2VU9ih1iqwtinym9Sh0cRtu4bgjkdbZJr1kSjkEz+dqPvBRkJwA4 oy+ry3Ya/dLJDMzK1vNuMFRtsBd2uDEaTVR2SYNFLD5s9SDfphCBLigXxfhaGFGJsann e6gfF3oXDlJAZVTx4H0Ur2PmDcDI7bXXL6n0BjGsznN+TeViirkXOUc79vG5BSaidjNm VCxvlui/uaEct07FBsIS9zOrIC+enTztem/+YdNtDiENUp2FazlAAQAL8HvCEZuEPN4s r51w== 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=mUXTSlQVtdsMdvCBjiATajxwE9mOc99J1DwIZjrfkv8V0LIfbkjivip7MJrViDDQYj kL6OKh8E/gegcsUQlpJIKuaF/9ceeR7VJniX9aISiYJoJVi0yDZFz5ulfq444fhxKN4w EADbtmjRjE/PxounOj+594OIafvHu1c6UnyVRnZwgC4twC21AAQEDnSe5ltR5+xvCEZ0 wYqJzeEu29j/j1ocnhU9rfoRcT7fypMKLl51IRThRjG6k2lhbAGhjv/TDhjxoEtXQfFH dRPP7Hk697Q6XbwfV2nbqGTvg5t8kKHaTbztD9rzttBaiZgVxH8xI8su5cM4441FH9s2 PDDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ADaZwSgZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf977si16580805ad.29.2024.05.09.08.31.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 08:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ADaZwSgZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174635-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174635-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9D182B21D6A for ; Thu, 9 May 2024 15:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78BA716F82E; Thu, 9 May 2024 15:31:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ADaZwSgZ" 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 92F6E3BBE3; Thu, 9 May 2024 15:31:16 +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=1715268676; cv=none; b=CgFOnfIo+Xiq4KKKVf/zjFVJYo3lHLW96XuZfag6yypV3GTnhv4vFA//pCngYEf3hpmq0CBZC1Nl4B+V6NDc88Nn7ytTu2ayZBGdYpMk17SDRNeVJk6Cesy2WzNOOs7A+WbllOdz8PcrxhBI4k53w9Jyp1ZMMYoGw2Hxtdyvipk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715268676; c=relaxed/simple; bh=Mk/kaGfo1nd9dUr4W4lbqu4SomACMK5r/e5cywhFtl8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HlcZhiLzSIcaXgqcplZNcjZKXQCPdle3xBv+3w+bkJmUiBXNnVouex3cK9snKlP20Po9ryAAzrfRhyaHr9mz+6GTjf3y93/YF4xWnWZqpey7K6lfdf5ukilBbHT/qRDaQMjdcP20Y86QZjeLnzAuWAT3T/koZNAQoBKLwXrc/ug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ADaZwSgZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14375C116B1; Thu, 9 May 2024 15:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715268676; bh=Mk/kaGfo1nd9dUr4W4lbqu4SomACMK5r/e5cywhFtl8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ADaZwSgZJu7O+aKWRjHMGcfG9AvFhTn6OAghl0gAx0X3BNJ2bRiqEBawS3yHds1RA ubwlqC3kioPCC3+bmJkNnBG2CNytIRRM8aCxjhcCAFdsJUxV2GNnujGAPBiGBtWDSt 8XTXp1Yc5J3XXn/hPeUnKp4AJpj0e+Oa6AgE0iBdzjvGxIxyQRB6olbqYI/HrJnuVl JZdnE5/nSxjOuBpKQ2BCMu/M+HSryBK9NGuRyIRklgB0O3s8YoJFzGKP8fYncPQgvh txjHINbkPy7x5AyhS6K1qmQ9AszIaJx+2VoUINt/yEFlF89mngXSEfq1Dj1C53Ugvy mnmS4sYZcRdLw== Received: by wens.tw (Postfix, from userid 1000) id AD61C5F9B4; Thu, 9 May 2024 23:31:13 +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 v6 1/2] regulator: dt-bindings: Add Allwinner D1 system LDOs Date: Thu, 9 May 2024 23:31:06 +0800 Message-Id: <20240509153107.438220-2-wens@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240509153107.438220-1-wens@kernel.org> References: <20240509153107.438220-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