Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4965391rwb; Sat, 10 Dec 2022 19:48:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf7wBfdldSvfSbKYU4FLW50BI+sFTGa+PXhsyBljYa2wbqzZpODGjDCotcD4EJ0kY34bULsx X-Received: by 2002:a17:90b:120e:b0:219:28b6:805a with SMTP id gl14-20020a17090b120e00b0021928b6805amr11365583pjb.45.1670730535309; Sat, 10 Dec 2022 19:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670730535; cv=none; d=google.com; s=arc-20160816; b=G7zifWMLrpVr/ip2uZ5MrUvDZjgeWdirnDVKoNF9dx63SM7YoYUGScxkZlmftsVl56 mlXmheWF2Yh5dcWGS8TEUdzz5vQPyhq+PrYXd3xjJqd0gH0uH3mp7g5yNmyKDvzeAv52 YmLI+TAIJJP36hjmnX6GHgl0/sQPL7STzWuYO1DnyY5gjZfFG5DpdKql3S+IlQBxZ5aG hK83P5B5CZ/euKpb3r8egE3kEEjrYrapZNvAThJSnBfjBNAyvR/pyIoq5xkUmVjUiPnV eTfVNmpQX/gaFoEzKPiCIu7/ZY0UeiofSLUzjqtFJ0NNHzLfuXZWOXhgfCZhVTuq48KG U3lw== 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; bh=oPERloVDACX37C/EgAVnKfvFY7AD1n20mfLsVbn2Wrk=; b=r8vxoWAVnZy2ddVqoSFMTXCja8YD7xasq6uTe2/yaTO1gd6LHwxncuAXnQ5YaZ1TYy Ki6hhV3iFP9bJWnz/eSJ7oFOk0OTfjg62LEFgu6Qy8AgGdr6b/srOIyB0prwKHIU2FmC GM7yZdjsPr3dROYu5H85GsY3ILZUgNu1LAgoZP0Pzcw8oswOnIVAqnruouYAIhz0DJE+ pA35Nj1Mvcwt7k5U8zocT4K92MLyxHaSH8wasbbDsja5YKrHXs145osbcUiT2bq/ZR5p n7LwdlRPyLUrp3H2HGlFvjOOkpgBRkKvVWxBzajIW/wB7nH0AU1A7OsYpvjODS9gIO1Q NMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b="MkK/2c2i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az23-20020a17090b029700b001f4fc7af64esi6067814pjb.101.2022.12.10.19.48.45; Sat, 10 Dec 2022 19:48:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b="MkK/2c2i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbiLKC5Z (ORCPT + 76 others); Sat, 10 Dec 2022 21:57:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiLKC5P (ORCPT ); Sat, 10 Dec 2022 21:57:15 -0500 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EEB113FA2; Sat, 10 Dec 2022 18:57:12 -0800 (PST) Received: by codeconstruct.com.au (Postfix, from userid 10000) id 4A10E20354; Sun, 11 Dec 2022 10:57:11 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1670727431; bh=oPERloVDACX37C/EgAVnKfvFY7AD1n20mfLsVbn2Wrk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MkK/2c2iyP1MybzC0kOXMHe226O5SponW1t/oUZMVXW99ewF1hn4lTcOfdJJ36kf4 zPyseAjirHZk2G40uqxk44kfnOczYdKR88TbIH8y0TUInk72qF4eObWpP7cxhAaGj4 cnLH8R6inZ8uJr1Iryf94u2emiB953IM/MucptwWX2i/gSwTMgAuRjCtFkj4Sdx8df 0bTeKlTTvj2ikxyrFQa4ABK6HGas1fbOtptAITrkkI6ZH9AyL2glfBx5qlKzoH6+TR iFQ92JEAvHMS2MdDWraupl/n7oMGWxSoPEXdAa/JuVmx3HJtGKXotMhkyg1QTvjclq ClADiaWq5IxSQ== 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: [RFC PATCH v3 1/2] dt-bindings: mfd/syscon: Add resets property Date: Sun, 11 Dec 2022 10:56:59 +0800 Message-Id: <20221211025700.1180843-2-jk@codeconstruct.com.au> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221211025700.1180843-1-jk@codeconstruct.com.au> References: <20221211025700.1180843-1-jk@codeconstruct.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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: -- 2.35.1