From patchwork Thu Jan 5 00:50:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Kerr X-Patchwork-Id: 639520 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 74735C54EBD for ; Thu, 5 Jan 2023 00:55:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbjAEAy7 (ORCPT ); Wed, 4 Jan 2023 19:54:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjAEAyh (ORCPT ); Wed, 4 Jan 2023 19:54:37 -0500 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3714D701; Wed, 4 Jan 2023 16:51:16 -0800 (PST) Received: by codeconstruct.com.au (Postfix, from userid 10000) id 190672009B; Thu, 5 Jan 2023 08:51:13 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1672879873; bh=adaPG21LWF9KYARFKo+io9g1sMsGa7P4yZ1kIRb0M64=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KZQagnkHgmxQydGGTXtq2J8RFLX5lYyQOOYNo62WuH3oPBh7P4tNBcUPzfBzJhx/P VvtzsTaAq8NlVRzKbqHAY1fpu/X6f9ukwKjyO9ND7YBtlpJdBMddC+lZqJejdfgOgv Y89wOkCOe5heYXdyNN+n2zArq6l/1qMKYAGsbkMLr3M/gymM5w4WEKOkIb/Q5rPH73 0whgAU8fyHBUC3C32uYLU3QXAN2fYFt3xGo3iKmAFCNzHygNgPd/wT+o6KQYJuvyRh SZtQP9H3f/y3FFz9Jce/UhuqOz+NNykpnc9CfnkQi96Pq7nu0JM9I8njO+PTV01mAN g0wWcH/fzWmyw== From: Jeremy Kerr To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Philipp Zabel Cc: Mark Brown Subject: [PATCH v4 1/2] dt-bindings: mfd/syscon: Add resets property Date: Thu, 5 Jan 2023 08:50:09 +0800 Message-Id: <20230105005010.124948-2-jk@codeconstruct.com.au> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230105005010.124948-1-jk@codeconstruct.com.au> References: <20230105005010.124948-1-jk@codeconstruct.com.au> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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/Documentation/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] + resets: + maxItems: 1 + hwlocks: maxItems: 1 description: