Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36561660rwd; Tue, 11 Jul 2023 02:40:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlFLVJrJPwchTmp7ag5T9oshqgPQyg3KixTPgep20BjpiEjj6DQQW6hWFX36ZzAp5QKq9p7i X-Received: by 2002:a17:903:32c6:b0:1b8:860c:2a7 with SMTP id i6-20020a17090332c600b001b8860c02a7mr18852755plr.28.1689068421117; Tue, 11 Jul 2023 02:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689068421; cv=none; d=google.com; s=arc-20160816; b=cvRiFm6yaTyQlfhx844iJCX0BXxOYhSram2mNbptgK1IbBt3ULXfqjM3GrF+dutHfX /E2vbtuS3W/owGuBVLJpvTqsyKBtanIVT0qHsg0pasd162QvDSQ2Vx2Nu5eTqteJjNcj u8O/v6TNWtQh+tPUO2ZWfNkxr8mSYsa2KAvprMuvrjHpJynxWZXl/zYuU6CDmgS1HA/A WXEx/an4bNPUiwwqpePhAUc6W6tYx6LWJMl4TsalVXmB1vuxw9Iq7qJrGeotm58mLRq5 BZCoSAwWeXZM+x9faWnGEZaYThcUS4r8fUA0OuuLQxzoBXj1DhG0RNXHDIq1e9TF4NT8 5bPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1MkNJHgAPws0bFEItNw2cu5t/katEcSSsqCNfTNtIEE=; fh=Sr+9hoUSl8Ls/kKd7njFk2Cid3AuliF/Ma3wwMwFyaM=; b=kMn6m7WquEGCtXgc1yKKkicOAitPpwnLJ9LL0sAhEB0MOvAO2dFYGmNTgoiiEIH+0D flOp0/YquajqsmdeugcYjkwPzevASTscQZ/Zw1280M4c9GST6STuuO+JLeEkCnWsuIIW RVGsozJNyYw8j3X0Mb0w/P94mc2vQ3yreGv1Jl5m3zkM0PvyHreUO2D8ACSR73e/p6qV eCVnnPJUP5K22q9Tcfw08vSrK9s6WPt/YbG41DQ0Pk26XJSiGdyPdPACLskadaALlwxG OQQOOukBp9oXfrh53fOJYzwKn41FW1hiO65rzK2m4iAR82kqYcCbsrIfijFIOXuK77A3 prJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rPk689Ip; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a170902c94600b001b8a70d4129si1310566pla.467.2023.07.11.02.40.09; Tue, 11 Jul 2023 02:40:21 -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; dkim=pass header.i=@linaro.org header.s=google header.b=rPk689Ip; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232261AbjGKJ1N (ORCPT + 99 others); Tue, 11 Jul 2023 05:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbjGKJ0q (ORCPT ); Tue, 11 Jul 2023 05:26:46 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E1602129 for ; Tue, 11 Jul 2023 02:23:44 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b703a0453fso85353531fa.3 for ; Tue, 11 Jul 2023 02:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689067423; x=1691659423; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1MkNJHgAPws0bFEItNw2cu5t/katEcSSsqCNfTNtIEE=; b=rPk689IpJEdRwo5vg0MKZiajwgZvIvybtvGwpxdIZ1GMD2GASawYoWQS6anf+n0Tqk srzTaR13yOzCtQbcTxp2uaQPaWIs7X2qfCxdmr+Kh5smHOOyzk7xPVf5q1X/M4E8lrvx EDi0foQ7jTixvvogj5K2e4Wm/Wa0Fjx2FcM+pmOtTVXS5QW4bSFB6UfPMgj7LY2U4Csg lMKoZD12MP28KkxzixXJjqrNC5CNJXjJO1lYxqMgbjs8Rm7azm0xTo15f3sGvYdM4qvG G8nAtTM33X5qmqDtwxCHMiKDIgd5bEy7JkhgIrp4y+m0a3vaqDPaPX0kgAOmhKHxYzgf x9Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689067423; x=1691659423; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1MkNJHgAPws0bFEItNw2cu5t/katEcSSsqCNfTNtIEE=; b=P+KehOiF8zwzT/3IKRBjEPoUBbxEjI4I3619lWGtIPz0RrbXlmNRc0A8B9BOG0ghNr Dcwav6HJ7U8vGd85wkLYOKTDOmKneQi5O60L/8+jVxK+4vLVVJuTwRdpcK9Q2cujUhbF 74v2zBuD3ELUQ+N431/YhZp5ddzV649VM5p3M2G0wYoSsUbff+VV0YYobSkt/tLjL0mk U/Sj6W1ZSD0GAmUJJQBPBcw/JwgAt12LilokqyT57NgPCNkjVA27vED6QwDq+05QdcuD +KlKuneiXOCI5Q3TKwiKCAlgqjx11PdMXsIhpPtXYQQK302DdVfOMdzXQv0EQZPmx/sF VrHA== X-Gm-Message-State: ABy/qLZWnB8IAnzRIW1QOX07bLRgwYaAMp3bXm1Hnqg/aQdZNlzbxc3m 98sVk/ZerHplASvPUD7RZHzyqA== X-Received: by 2002:a2e:8748:0:b0:2b6:c2e4:a57a with SMTP id q8-20020a2e8748000000b002b6c2e4a57amr14619059ljj.38.1689067422839; Tue, 11 Jul 2023 02:23:42 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id cw13-20020a170906c78d00b0098748422178sm898553ejb.56.2023.07.11.02.23.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jul 2023 02:23:42 -0700 (PDT) Message-ID: <8d52eaa7-0934-97fd-0288-9e8ed2f82bee@linaro.org> Date: Tue, 11 Jul 2023 11:23:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 1/3] dt-bindings: watchdog: ti,rti-wdt: Add support for WDIOF_CARDRESET Content-Language: en-US To: huaqian.li@siemens.com, wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: huaqianlee@gmail.com, nm@ti.com, vigneshr@ti.com, kristo@kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jan.kiszka@siemens.com, baocheng.su@siemens.com References: <20230711091713.1113010-1-huaqian.li@siemens.com> <20230711091713.1113010-2-huaqian.li@siemens.com> From: Krzysztof Kozlowski In-Reply-To: <20230711091713.1113010-2-huaqian.li@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable 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 11/07/2023 11:17, huaqian.li@siemens.com wrote: > From: Li Hua Qian > > TI RTI (Real Time Interrupt) Watchdog doesn't support to record the > watchdog cause. Add a reserved memory to know the last reboot was caused > by the watchdog card. In the reserved memory, some specific info will be > saved to indicate whether the watchdog reset was triggered in last > boot. > > Signed-off-by: Li Hua Qian > --- Missing changelog. > .../devicetree/bindings/watchdog/ti,rti-wdt.yaml | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml > index fc553211e42d..f227db08dc70 100644 > --- a/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/ti,rti-wdt.yaml > @@ -26,7 +26,18 @@ properties: > - ti,j7-rti-wdt > > reg: > - maxItems: 1 > + maxItems: 2 The expected syntax is in such case: items: - description: ... - description: ... You will find plenty of examples for this. > + description: > + - Contains the address and the size of MCU RTI register. > + - Contains the address and the size of reserved memory, which I don't think Conor suggested using reg of the device, but reg of reserved memory. This is not device address space, but just some random memory. memory-region seems proper to me. We were just discussing totally useless new property of size. What's more - you did not test it... so usual template: It does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/ for instructions). Best regards, Krzysztof