Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp433995pxb; Mon, 25 Oct 2021 11:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQzYDSHpXTPiViNgOjLKL40m2YeK6Ag9bFW+6kF3wuIUCs1iKkoKVv1iTK4lNpgYCjRqJ7 X-Received: by 2002:a17:907:8a0f:: with SMTP id sc15mr7368749ejc.399.1635185221291; Mon, 25 Oct 2021 11:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635185221; cv=none; d=google.com; s=arc-20160816; b=yPrQB/vijN3kyokml+3N5UDBTUa+HK7XaApGRKMfKR/oEd2x9UyZ/hHzZeJ+ewCH01 5oHBXedKth4gvfedZwWhpk1YQ3nbHDvCNfgmaClabohVhdV4mqLwXhr5Sa2qB7rIYipT 0CmVZ2hp14SyAOtBPIYAsCNZoL0bWwXnJ34OVGzwrNJWh0U0TgcYiwJ9fOsr5FRBWXp8 GskKUliwCufp5b9mFibaJID0Uw/KRSBNzf98fWEnVMc8cKW7o+D4Hs3U8BQ5ZY7NUHBq Xq7m3u79SWitm9oCU/c4t1xmJsGzF08EPqGPSJcPwEqo36NjCyd39Ei2Ja6DXDl8r5BL xcbA== 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=xPIOWPlEpcSPgVeMbUyqzIh0yquJ8UKRhzhIcmgwvNU=; b=y/4okdQ7ZbGjnNAhV1OiryTVsP4tW925t+ursOhPBnH5XaFKK3P14c0TWoQk9MpKxX PyKWMA5O75VjwCUifPjJURHDzuldQhcB50UIQPRFg6kSEBerI2qymKK0+jbT9v3YHKRN WP4LKGez/8P5giE/xBx8SbpdgjTPUMyboL2J+PTKbMW4T6UoJ+Uohof1nBOKRQTnc4SF fL8shvGoVnluVTx2/cPXEc1pZEBKqzH3LqA0c//8Nd6REmMugzvTs7APA1Y85z7NPe7U f09k7OEuz8ZRb+P2N1x5VtNQdYwuhQG0lGoPnlR3FJ/8MihmY7ViXQuT+2ct3eJv2Yue GXSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=MyMo3f0t; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EzYtRWQB; 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 i4si1426935edc.633.2021.10.25.11.06.35; Mon, 25 Oct 2021 11:07:01 -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=fm2 header.b=MyMo3f0t; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=EzYtRWQB; 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 S231713AbhJYKz4 (ORCPT + 99 others); Mon, 25 Oct 2021 06:55:56 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:58005 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232837AbhJYKzz (ORCPT ); Mon, 25 Oct 2021 06:55:55 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E34F158045A; Mon, 25 Oct 2021 06:53:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 25 Oct 2021 06:53:31 -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=fm2; bh=xPIOWPlEpcSPg VeMbUyqzIh0yquJ8UKRhzhIcmgwvNU=; b=MyMo3f0t/4hNgBQPbTN0Vfo5b0L2Y my6Ff2ag4qDoUP0xA7eFSf5OgI2rjk+gJTXfvUeUxomNKTfS9ZCzBDoeiUS77FHT zHAG27671eFMGvtPW14LGistc3Ljr20ZooC4MM+j+vmSLMbZVCAvN8mtAugI0KND zfrxBCdQcX3MbQgyVuu9k42JVIzyo2HqPKCXTa1YyXG3Eh7J5U7X6BujLWH/5tF/ FNvFIi08oTpPhvDW+D1owBeFt0eZO8DEz1SDPoTI0bLM0EXrgYIWKY1niP/Gd3FI IlKtG7P3ud6CP5WgeN3+0f2jyGtZSBQPgSBRPFdPyA39xxOSXC1/DiDtw== 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= fm1; bh=xPIOWPlEpcSPgVeMbUyqzIh0yquJ8UKRhzhIcmgwvNU=; b=EzYtRWQB FIKNpZxoTZHUoaHAFA9x2FKhVJ+D0rXaoPk6/YiZGpDgajsE+eDB9kscZHtz9uZa aGi5eY7lyRku/EujHylPasBZN4xKiqLkUq+mOh/SXtcfWqP96sd4HttcTxXPKNGK q8vPLsdDNAhZdCIJ7YCOUqfsRl635lWOaXsKcFv9WTntSpmDv6OJwxH5pr2/JTN5 av/RoUl7vExbETbN3IvzC276XANCYLl/Q5mYu2hD5QGc+O2i7RTlqPwAGSUUk5+J uh+/FAF+6dyEeDm7YRIXDK0ANDvQ2zlWZgoi3AkhJPUWq8XnV8vxxT9rOn04+/ov QlI9VezkmrBUrg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeetlhhishht rghirhcuhfhrrghntghishcuoegrlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvg eqnecuggftrfgrthhtvghrnhepffdthffggefglefgkeejhfekiefgleelfefhtefhheef teelgeeggefgfeffvddtnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishht rghirhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 06:53:21 -0400 (EDT) From: Alistair Francis To: robh+dt@kernel.org, kernel@pengutronix.de, lgirdwood@gmail.com, lee.jones@linaro.org, broonie@kernel.org Cc: s.hauer@pengutronix.de, rui.zhang@intel.com, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, amitk@kernel.org, shawnguo@kernel.org, alistair23@gmail.com, devicetree@vger.kernel.org, linux-imx@nxp.com, andreas@kemnade.info, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Alistair Francis , Rob Herring Subject: [PATCH v14 1/8] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml Date: Mon, 25 Oct 2021 20:53:02 +1000 Message-Id: <20211025105309.37942-2-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211025105309.37942-1-alistair@alistair23.me> References: <20211025105309.37942-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 Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- .../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