Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3209240pxb; Sat, 9 Oct 2021 04:52:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSsZRSKMG56H3WSNWT4QYBFIr+N3AZRmVr1w+DMwEf7UGd+DGLMqprijPHI4IgCp6VuXfm X-Received: by 2002:aa7:c948:: with SMTP id h8mr23532354edt.380.1633780363389; Sat, 09 Oct 2021 04:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633780363; cv=none; d=google.com; s=arc-20160816; b=x35YVo5Jf1VAXjVokj9P12vI+TKvSciGnJz15lodbcSPretLXci/rQsRWpHXl+I2Al JI2goCEoQF8oCo16n6W+GX3eO2uWuEK2qV0fmWlA+LYCb50FTY/Ve9gsyUF+SLDb9V71 tqggEeJJYTO3NHKQPwQo4OeHmmjztVAgOIu8YVE0G6/v3+GEF1ZhFAs/k6RR3p1l4xJa Q/A7SsItsRuhJnwht+3TF0osoGuqahfMqmi8OwJGX9VFU9TJG2/tTQf7ciFy3L51+xZy HXijVUllBwk0SsieB13PiiIV0jBhXiHm9k1dof7FIbzkzn4PGEzxQou/JQV9zc6Bxbdc bbOg== 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=DiwHj+vaHXUQKXyQ9BUo+GIG90hR4W/o3+wsmuFsT8o=; b=eLknYORflNJaVAUeweKfdIc6FlCwOAn3p24mCUJShOyP+vvJ7ivqRYhHv1gSFesdZm SY+88cOGfzAAUYzVZCHVRn+6Jiets25aic24vqpxEZUyP1W9WtVQP743QLeujfmQxWu+ V0ml8FOYYhKvSqt8BBqJic1aZAY8BOUrcOyoQcQ3RKTu26p0vUkOVg/cWZTIMjgus12F xKi3D1Nyq0ryXts0fBd/FsJQtFzya6Th1DjHvyX/58Y810oxPejs9/00DEtCYTsRPqAJ Fj5ef2YzA1D3+CgT78hW0SD/RBfaXB5aKT92NIFwkkbhxx+6LjXQ0zG40nEJMPcuYxa6 ghLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=G9otH0hT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eQnjtpS0; 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 lk1si2988143ejb.203.2021.10.09.04.52.20; Sat, 09 Oct 2021 04:52:43 -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=G9otH0hT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eQnjtpS0; 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 S232926AbhJILwz (ORCPT + 99 others); Sat, 9 Oct 2021 07:52:55 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:53559 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbhJILwu (ORCPT ); Sat, 9 Oct 2021 07:52:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 07E59580A0F; Sat, 9 Oct 2021 07:50:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 09 Oct 2021 07:50:53 -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=DiwHj+vaHXUQK XyQ9BUo+GIG90hR4W/o3+wsmuFsT8o=; b=G9otH0hTuvTBZrKLrU12TNBbLBBfZ lPN/4q0bSZPeqP3kp0fKB/TC/07R7GrozvMxP+uzTIKmNmrfjkiPoaM06LmNKPIr QEo4Vfhz1MVSO+3iOkrQgr2saTM3zwawxi2FJrVCHHYiy5HfpRZNYaB/CHAp98xQ 5IKTYnYrFKGBLKaanFFbm7gdjh5aaFqUqeq38CHSSqqKwiDGVktUlT/Keq20ewBf qdDM39e8WPWiQLqjbqMGInvPB/rCBaxTphqTAOzUAeeDxrPj0ibiGk0TMRuaCOTN +HHygzwyIj/Sd98FZF25ZGKfZe/VSrNM2S0hMxlKnpTx3GM5CWJzMOx4Q== 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=DiwHj+vaHXUQKXyQ9BUo+GIG90hR4W/o3+wsmuFsT8o=; b=eQnjtpS0 TMgJuue4gg5PRYwwN4aTwiCyY8u0ftuBklXqUpF9HQqV60bSUqT41KfFwAObEza8 A7g9LQUjlmboh/XNRXlUCGKctsBH3HWi2S7NZfgaHvdA3L691j5Gj2mnq9vlrdGm 4VO19MyzDqRWWiNyqUNdg+h3SSLFueBFW1tAtu8gFBqjz8w4+LHG2Om6cotkbeRn d8n3ZUwHLQE4cTAU+CXKoC2YB4HqDAew/Nyv9gb35W22QAqQ+VNwvqjBto6yvMzt W44kLb6InjRL9ZuX/w29hkJc4vBvzlkWdeavdWJ6NOhA9OUA+L5Bcs9CHzSWRCyk Fo+7OhDEqfL+rQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtvddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeetlhhishht rghirhcuhfhrrghntghishcuoegrlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvg eqnecuggftrfgrthhtvghrnhepffdthffggefglefgkeejhfekiefgleelfefhtefhheef teelgeeggefgfeffvddtnecuffhomhgrihhnpeguvghvihgtvghtrhgvvgdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishht rghirhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Oct 2021 07:50:46 -0400 (EDT) From: Alistair Francis To: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, kernel@pengutronix.de Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, linux-imx@nxp.com, amitk@kernel.org, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Alistair Francis , Rob Herring Subject: [PATCH v12 01/10] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml Date: Sat, 9 Oct 2021 21:50:20 +1000 Message-Id: <20211009115031.18392-2-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211009115031.18392-1-alistair@alistair23.me> References: <20211009115031.18392-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 --- .../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