Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp455281pxh; Wed, 10 Nov 2021 04:33:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuwP9524kXxk++776r5fNjf6LakOxV1iSARWVsG+D7oZcDLLZo4aBHyXNd5J5yVp3dxiRh X-Received: by 2002:a17:907:d90:: with SMTP id go16mr20024647ejc.137.1636547627215; Wed, 10 Nov 2021 04:33:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636547627; cv=none; d=google.com; s=arc-20160816; b=rFlfvXUk8vFrQwmcBg8CHjztTBPViW9hfrilP51B13u10AypSsJBVGnjK1v2txfEvs SsuK6wFvKQBnosn90LvzKEWSphpYMmucuuIaRtlPYvpteL9jM/i1RBNgIjul2ArRr/F1 yIK4p2/oDOLvVOP+GQIUk/kO2fsrvLaJaPq4RMOAAdAJN8PuHhk6Smgulb8HqwwXEKx6 1mYhf4qpwj+0cQQ3ZnqmPrbhlqoJTZEufRzXJTpAeGInLUAnoBeekn8a7dJPiv/ndPU/ KLLZ6KJ3tUDaBzCWKyFJ+rjH9ngmsx1pRQpdM1y1iP8HX5/m8pyOzuYbhEQLJq56QDl3 C6xg== 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=S52VQKgvs3V9zkAzLJ7pBTzuE68xbOjiQ64Xx5N7gJ+lNVlPEuupQRrFZxUBiVDnRC 8kLu2+XOEw9TPDryRHK8Msb6S2WLf7rouaSMjzWE/1K8WDylaG6z5N/SZORZ5nojpmEo 7LPymiw1/HNJiR9qTckHU1nomdDxkkuiue5MFVGu8N1IVnVTw2fwAxe46HtkJbGjw89N SIwHLQS86hqwabkL2pYJAOuO8xsN7cUkkPLpbOHg6B9Qe8+cqZfywkYVqSq0DMNxeRJ4 NSId6S5NrCp7h9cS3oJQ54VcHxrCgl+/aiDHWdhfm6SZCY1ovxGM3P9I+8JPTtKIGPji 43gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=vGFIeCbc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dcKRWJXD; 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 g3si48182972ejt.101.2021.11.10.04.33.21; Wed, 10 Nov 2021 04:33:47 -0800 (PST) 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=vGFIeCbc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dcKRWJXD; 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 S231701AbhKJMcw (ORCPT + 99 others); Wed, 10 Nov 2021 07:32:52 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:40977 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbhKJMcv (ORCPT ); Wed, 10 Nov 2021 07:32:51 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id D6C9658086C; Wed, 10 Nov 2021 07:30:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 10 Nov 2021 07:30:03 -0500 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=vGFIeCbcjdwHw05iRAS3FQRI0E3Gg Rx2hyhmX6ExPgKIx81LSzYsmfVaR5wuOqz515OtweVEZsbfrjYW0dpY9DLtTjeCP 9yr3gMPecNCczIOxyRMK7aMwNMke71sRP1XRSbjc/J6bdujIvn0pUq92J9jafz74 +2gRR7BzA4LL7j3NmyY3XQBUN27Nl9loJ9LcZZ6zIAxg0XJzFNLLuQDpAcFjGXhL LjxTMta0AfF+BSyKYTyvse/YXqfHuj8uEcFw6alJUYZNzrCW2/1vasQWZQL1T+tP mtm4O+xSPxg9KnmpDZBjquZeKUOG8m/9AoX/mm1Cs2aWScJfTTW0SGy+g== 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=dcKRWJXD bi8qTwrHPoVvDQxbgtgcEtYijl46IUzPVSzM7bVAI6zOl9So1arSCPHIhDYSN4CS pfmhP0giK//p1sM0ZJhfyTCa7m/acfYOJZCQ+O4LuU708jJF/UkVq1E5jQg5GnGv BOrg2YjeEC/xg5CnG3dNvArCk040YKguXEsTuXFVApSMqqhXctZOamZousIjwMy0 zrUWgXvUvcyFuUVqc0mWNP1BAF2EE+HYqr3/JPsR8W9ArEqT9wyqPuykDHEmZlt0 LPKE17agECOZygyloLSk4K/+VZh01NhkJnOQEPcnBoZCEtWbsyQnH1eDJztoVnPb YJGHOMjefq35+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudejgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomheptehlihhsthgr ihhrucfhrhgrnhgtihhsuceorghlihhsthgrihhrsegrlhhishhtrghirhdvfedrmhgvqe enucggtffrrghtthgvrhhnpefftdfhgfeggfelgfekjefhkeeigfelleefhfethfehfeet leeggeeggfefffdvtdenucffohhmrghinhepuggvvhhitggvthhrvggvrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Nov 2021 07:29:57 -0500 (EST) From: Alistair Francis To: lee.jones@linaro.org, broonie@kernel.org, kernel@pengutronix.de, lgirdwood@gmail.com, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, s.hauer@pengutronix.de, linux-hwmon@vger.kernel.org, amitk@kernel.org, linux-pm@vger.kernel.org, linux-imx@nxp.com, alistair23@gmail.com, andreas@kemnade.info, shawnguo@kernel.org, Alistair Francis , Rob Herring Subject: [PATCH v15 1/8] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml Date: Wed, 10 Nov 2021 22:29:41 +1000 Message-Id: <20211110122948.188683-2-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211110122948.188683-1-alistair@alistair23.me> References: <20211110122948.188683-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