Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2312937rwa; Mon, 22 Aug 2022 05:57:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6o+kWAuwbNi3jyr+UAIaHrAD/1VEXPZeM++opbRIZueQw+mJbADS+qgg3GvVxwiemkssTR X-Received: by 2002:a05:6a00:1c69:b0:536:ccaf:c551 with SMTP id s41-20020a056a001c6900b00536ccafc551mr2167791pfw.59.1661173025709; Mon, 22 Aug 2022 05:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661173025; cv=none; d=google.com; s=arc-20160816; b=jrhrq4oH/u38vYgjRnJLoDGOiGBrbxg+bN7BVX5BOienvq6IGykbBv3sBKEDjZAIu3 zZ5jKB9P6pnZM9o3A1LNjMPcZApUlARI7g7Ewzja/Ejp8+oezdwu15dPg5xVz+RzD98k 5WqdySrFdwG0zBcE2Ot2mnZ5uWon/CFzSm+IcoQ9gnxiuL++ck9nPti/fWjVbyXp6FTA PfZR7PmDAstJVc0/H+ykYIiCEDe028rf0sGQbcgsMtE7RESKKtN3MmPHANyyPWwgpWdB Mzfn3a7VnSLFXYOncBdcu46GseRzjLGEsUIbsmK3yFc3ZU5zAr8dTjJ29dC8E+xOdvJl BvTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7cbjI0WaZhQTvZlNz7q5LmNIlRjDT3q4dyHallkLrTo=; b=rKxmK+fxXLwKadRJkH/ieEUiaEk3eCLCazdMZBl/iauDb+8gNgZIfL2IFTAP/2q4k0 +Q3wuXPYabkonMVRO0idYGafJMt20+j404bTe78na8iN6dSNxvxx/B7zeGs8WQDdxi4e tr/wBhiQmbTJInZe62rmcY/+Gsu5aw1dm3W4d3WW0oWFyOpNyp/4hKfLsVvBQKADdkNn sg8H4UNooZgUb8tSoJ5IOKzP9XvoPt0lpfUH+e73Zc5IQwgfyTougNzy8nZCILiDLDpm qXjgs4+vfTRPMml0srjMfWlJ59FU+e5eCv326N1/6C9HSvoHWAIflkt2ZguI6YRvDXrp dw6w== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a63c003000000b00429e0935171si10686616pgg.82.2022.08.22.05.56.53; Mon, 22 Aug 2022 05:57:05 -0700 (PDT) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235168AbiHVMrb (ORCPT + 99 others); Mon, 22 Aug 2022 08:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235123AbiHVMra (ORCPT ); Mon, 22 Aug 2022 08:47:30 -0400 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9BC33AB03; Mon, 22 Aug 2022 05:47:29 -0700 (PDT) Received: by mail-ot1-f47.google.com with SMTP id z22-20020a056830129600b0063711f456ceso7602909otp.7; Mon, 22 Aug 2022 05:47:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=7cbjI0WaZhQTvZlNz7q5LmNIlRjDT3q4dyHallkLrTo=; b=CVhIP2M47w0eAhmUTcrlpYx2JKuSBdky0u8RWxwjXTgF7jPPfvZqtWxadk6wlfo3LQ uiSl1hKd7tvRyMPsiNXc79cwLyYFtr5UADc3xacySrFPokO0qZLY4hi+Y0wTEODHl6Kw CMLnSEiZjGRNmyVYkqurblMx7e7XJhUrAcP4lEbAraLfr65jcXlboaRT4PpnxauqWsMy DxggInkjgCtEFeoKR6fxIdSitAnEUXpqCURE0o6eaVSinYAgZNLCm2NEqAN1llQmUAuM A5T0jhSzNkT5+jmYMic8ndRqDRyXHDzME8qpcQ8EOdveo/lAdYxcMB/Qz5OPORNZCNJn yUGQ== X-Gm-Message-State: ACgBeo0CBloaoQ8xySKTrdKo26ct4QylppTBG1kI/H9LD7XR8bBc5T68 ica1ixaSSDlCfybb8oOLOp6Jr5fEMg== X-Received: by 2002:a05:6830:310d:b0:637:1b6c:6647 with SMTP id b13-20020a056830310d00b006371b6c6647mr7668149ots.170.1661172448975; Mon, 22 Aug 2022 05:47:28 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id k4-20020a056870570400b0010f07647598sm2978471oap.7.2022.08.22.05.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 05:47:28 -0700 (PDT) Received: (nullmailer pid 3653297 invoked by uid 1000); Mon, 22 Aug 2022 12:47:28 -0000 Date: Mon, 22 Aug 2022 07:47:28 -0500 From: Rob Herring To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Krzysztof Kozlowski , Michael Ellerman , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH 1/3] dt-bindings: reset: syscon-reboot: Add priority property Message-ID: <20220822124728.GA3641041-robh@kernel.org> References: <20220820102925.29476-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220820102925.29476-1-pali@kernel.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Sat, Aug 20, 2022 at 12:29:23PM +0200, Pali Roh?r wrote: > This new optional priority property allows to specify custom priority level > of reset device. Default level was always 192. Why do we need/want this? What problem does it solve? > Signed-off-by: Pali Roh?r > --- > .../devicetree/bindings/power/reset/syscon-reboot.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > index da2509724812..d905133aab27 100644 > --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml > @@ -42,6 +42,10 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32 > description: The reset value written to the reboot register (32 bit access). > > + priority: A bit too generic for the name. > + $ref: /schemas/types.yaml#/definitions/sint32 > + description: Priority level of this syscon reset device. Default 192. default: 192 Though I'm not really sure about the whole concept of this in DT. Where does 192 come from? Presumably if we have more than 1 reset device, then 'priority' is needed in multiple places. So you need a common schema defining the property (as property types should be defined exactly once) which this schema can reference. Rob