From nobody Thu Sep 18 07:17:04 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0D3BC001B2 for ; Fri, 9 Dec 2022 01:33:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbiLIBdi (ORCPT ); Thu, 8 Dec 2022 20:33:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbiLIBd3 (ORCPT ); Thu, 8 Dec 2022 20:33:29 -0500 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8DA786F70; Thu, 8 Dec 2022 17:33:27 -0800 (PST) Received: by codeconstruct.com.au (Postfix, from userid 10000) id 2F05820203; Fri, 9 Dec 2022 09:33:22 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1670549602; bh=oPERloVDACX37C/EgAVnKfvFY7AD1n20mfLsVbn2Wrk=; h=From:To:Subject:Date:In-Reply-To:References; b=RYi4g9RZnovzNqtlqDppYdmbhj54VvJ45Ob+87b7qqkRac2SGPF2fdEdy0P/VIOMz 5voE2Ph0fkIW13xnZRqIuF4ttPSxDKyzaYdvsILAcn2z0DqyTchIYRH4R91EYhHlJO srxdMZ9uOWKE41VYCRG0TJ93KwzcSvWQE0y8CygNN4H+xroQ9eYrea6dgUf51smhxC MFdheASfsQgaq5+6qNoj7pf8WAdmHD0fX6o6GxgvXotcvN146zECF1ThOQUUjLyNqE e/QbO0TeOoSm1/rR9KMFGcIh1yN264fJ5EU3HVT5LfmKETXMrSTpY8aKAquWpyfh07 F3FS5qgViMFmw== From: Jeremy Kerr To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Philipp Zabel , Mark Brown Subject: [RFC PATCH v2 1/3] dt-bindings: mfd/syscon: Add resets property Date: Fri, 9 Dec 2022 09:33:07 +0800 Message-Id: <20221209013309.407879-2-jk@codeconstruct.com.au> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221209013309.407879-1-jk@codeconstruct.com.au> References: <20221209013309.407879-1-jk@codeconstruct.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Simple syscon devices may require deassertion of a reset signal in order to access their register set. This change adds the `resets` property from reset.yaml#/properties/resets (referenced through core.yaml), specifying a maxItems of 1 for a single (optional) reset descriptor. This will allow a future change to the syscon driver to implement reset control. Signed-off-by: Jeremy Kerr Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/syscon.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentat= ion/devicetree/bindings/mfd/syscon.yaml index 4e4baf53796d..9dc5984d9147 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -86,6 +86,9 @@ properties: on the device. enum: [1, 2, 4, 8] =20 + resets: + maxItems: 1 + hwlocks: maxItems: 1 description: --=20 2.35.1