Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1195706pxt; Sat, 7 Aug 2021 03:41:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhKPUDVc2wTnRQo3N7MhSrRJCPO/4mR5cBaikBc+DET6G+uzUeQIEAHrFm28OiDDbwRuG2 X-Received: by 2002:a17:906:86c4:: with SMTP id j4mr13930661ejy.431.1628332906150; Sat, 07 Aug 2021 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628332906; cv=none; d=google.com; s=arc-20160816; b=aS7h/T3BAer8letrD7X0j1b4e47LyJ1Bt5IG6El9sCm0vE70lw8ul1DQLoOeYa1B3G mhJYE4E/h/BdgS5RGLE0PUJ91xrSgZPFZEYVqF+W9Ezpak0mbkkuZVmXmgu8MVtneoXU ONdkuFL8tfP6C+l6b9erweIMnTY9y4XZ+osuP5CYxi0VQwRzBjkw4vSOLTQ491s5Xp1u BJHBMKrciZmpZCJds3Mz+TBkiH8eKJP089Efdf5zlvmwC6QRt9k7e5yszqzOcN4f15JT Oy+PV9I8SivfUx/PPG0VamfV+RzDNlvvGd5vJWV8du2sXZaAEzL0fWlWHrUX6YA/IGZz nMVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=VEDE2BLIpf0evX9WccmkC2h6O8pdz1/Qld9JBV1z04s=; b=vD4pYpsOxRbraUyW5CCX9DVUbnRn78SPkAgzyY9wxAMwW6BFTTg7s3+8tASUuIJZy2 3xCMQTfWbmdXbUn1qe/k3DZo+CfUoHrCr4Olrc5OqlgHCRBWCNXQ6Sd5BCGefSl1ajuG EWCHLPFDJAVzAa/pN/CmyPjEQhtpuv8XxuRZEhUFOToCNEVS4lmBPWhxv5gNGaQlAWz/ 3rPK0oR8TWYd06Zv504LW15UxOzGkKF5cCe1PgzU+fUJN/drJpDgLZyOPSEVHIzPnpM9 72RyKVUa2fa3OYS2CKAvVBrTNX2qfM/3ysfluXtQp/33ZQ1v0VALscQWDl5l/WJ+5zh2 N3xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=nNP49X2V; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=c1+8fXdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si12100321edq.609.2021.08.07.03.41.23; Sat, 07 Aug 2021 03:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=nNP49X2V; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=c1+8fXdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbhHGKkQ (ORCPT + 99 others); Sat, 7 Aug 2021 06:40:16 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36531 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231990AbhHGKkP (ORCPT ); Sat, 7 Aug 2021 06:40:15 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D66245C00C2; Sat, 7 Aug 2021 06:39:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 07 Aug 2021 06:39:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=VEDE2BLIpf0ev X9WccmkC2h6O8pdz1/Qld9JBV1z04s=; b=nNP49X2VXp33QydZPgeUp57KbxgmK PY7YhsgbwLLP8LIjB434b9gxJQ7gWL0lIO6m16DjvbYLw7+HSrFVVAAmDjFl+kqg +Jd95NBlbzT1A3oIFhivvMKl7T0FUzcBZsGin/J6YjEH0pTXVwp6T3/v/OMJiSFo ms0e2cRejoz4m2fjyHzlBOINGGqENasMSiQKCXjBQYErgwcj0f/MNT9ORLBsijdL wpqncdXlvj0r07royBb7r7tydQijVNynq5ab6s13H/yFznGCNrBifOjvCIB55wMf sW5FA7NRy7CeMMrgg67jwb5l8xD1Q521cPtWcFnAJ+Jan6qJN3bC8Bzaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=VEDE2BLIpf0evX9WccmkC2h6O8pdz1/Qld9JBV1z04s=; b=c1+8fXdA ENgt8CN6n2wun7BNpjM7EgkH4I60XEkJRe1P9wF6qZrnGmMkIJIWiPT7NTcMfH9A MCbXo89Kmr9y2mu1cjtyra8hmDsvSlE+EpFxhHnL6Q25GoC34oKY8pvkviaAtPA8 s9sakCBxOT3RhZEdECA8FGs+ip7A0BFDbGVX8hPO/6SOPN2vCZ7Xw0gxZjNFeIRt uaIYaPWIiz6JVNQSJ2JSUyyE1Qamhh485uF64cTvyS9K+F1fvJNLBi8Dri/vBI8d viYkn7QGF8a9KUwoDC6Bh3V5ylG4JEamPywLNpacWrW+n5Riaz+57vcBn82BMSeD zbPBQPu8p3LMKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeefgdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepffdthffggefgle fgkeejhfekiefgleelfefhtefhheefteelgeeggefgfeffvddtnecuffhomhgrihhnpegu vghvihgtvghtrhgvvgdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 7 Aug 2021 06:39:53 -0400 (EDT) From: Alistair Francis To: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, Alistair Francis Subject: [PATCH v10 01/11] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml Date: Sat, 7 Aug 2021 20:39:30 +1000 Message-Id: <20210807103940.152-2-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210807103940.152-1-alistair@alistair23.me> References: <20210807103940.152-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- .../bindings/mfd/silergy,sy7636a.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml diff --git a/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml b/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml new file mode 100644 index 000000000000..0566f9498e2f --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: silergy sy7636a PMIC + +maintainers: + - Alistair Francis + +properties: + compatible: + const: silergy,sy7636a + + reg: + description: + I2C device address. + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + '#thermal-sensor-cells': + const: 0 + + epd-pwr-good-gpios: + description: + Specifying the power good GPIOs. + maxItems: 1 + + regulators: + type: object + + properties: + compatible: + const: silergy,sy7636a-regulator + + vcom: + type: object + $ref: /schemas/regulator/regulator.yaml# + properties: + regulator-name: + const: vcom + + additionalProperties: false + +required: + - compatible + - reg + - '#thermal-sensor-cells' + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@62 { + compatible = "silergy,sy7636a"; + reg = <0x62>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epdpmic>; + #thermal-sensor-cells = <0>; + + regulators { + reg_epdpmic: vcom { + regulator-name = "vcom"; + regulator-boot-on; + }; + }; + }; + }; +... -- 2.31.1