Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1682811rdb; Thu, 25 Jan 2024 03:08:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFz1vrOeb6PFDebKhOumQxGyMMf+EWttOmYMgF5qiQ3XoyylNsGKMq4+ZfBmR7qJm46o0n5 X-Received: by 2002:a50:d69c:0:b0:55a:4e93:e06 with SMTP id r28-20020a50d69c000000b0055a4e930e06mr518823edi.47.1706180902916; Thu, 25 Jan 2024 03:08:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706180902; cv=pass; d=google.com; s=arc-20160816; b=y1pBdTwSN4lJm/aA0PfX/Rbn9PqFSEP5SGtlndP75L9l1hW5p0ManqBNOwZUWfTN/7 837zYgis8pQBXPU2rrS83gnb5ft8ZS1IUXeXo656u4AgnqioQsqFJmzy0F5tDf+cgbNS b34FaZ+a+8JUxRj0wpTlME4JRxtPjqMrAR6XgcBJgcxpjNw//6We9KqcUbmtbvrrPWgM 6b5zFOJUPnKb1CUHW/6cfuiYW8ilEhqjuuh5/rNJi6XJixDpkXuLxgxQH7IwBZq+ca67 1o+9hucDP8EjmKwaUHX5zmFO3yoKA31ZqMODshG6cqKVfYZmpVVCWuniG1iTaBCw6tbd 52kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=1SnYSeTb0hYzYHHRSf92AKyNcLjElkUvUSwPVeKb6gI=; fh=YKGEWHyLlSsdF1BrR/q1HmMkXs3gQNvbGSwijqrZr4c=; b=nL+ZesoJ/QuE9vjUquDuQSXonWG1bKtbhWdFovanoO2R2Y5+kZ07X98Sut8wOEh9wd lSwmLvnxfi/8U+F2VfChqHKiTT+m26ejXsFtBG4dyvm7VX7qyWsp8Tk/KEuub73JxC5X uBvr4uk6CkbgYdI9aW/9lr/Z1nkC0fLdII+lrcrKIAWG5sp1ELgrBiiK1EGJ60bmRt2h 9TQHkg/6KVDjyWHlHb9qIjqiip2fyRfi88CR2q7NtPkpYnLDoH4690BAOKLEG8C3nQal CsozoDZCNyApoZiJMr16T1LqFUcU0hCbyBikUZV1HD4/vpV35+oTtxEagzgBh5EWrZ5k F+ow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z+MnFA/V"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r20-20020a50d694000000b0055c15317030si5007326edi.584.2024.01.25.03.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 03:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z+MnFA/V"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38463-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 814E51F21D37 for ; Thu, 25 Jan 2024 11:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8B6E524B3; Thu, 25 Jan 2024 10:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z+MnFA/V" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BD193589C for ; Thu, 25 Jan 2024 10:54:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706180092; cv=none; b=V2y35GDYc/aSW+KntzOCd+sFtNfNnJ75/NvVcbpGXVJs0yaVanTU41RcAJed4Z+gwG6uNPycyMcF25UjHqdoq4imw+ssTWiVEbUeBKm7mQ3ztY+quxRiaX6zAUacN0lANIQ6tPA9vJPcMX8qyvDYbGJEsDHyYIgcT7F0os91J3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706180092; c=relaxed/simple; bh=t8AxuzA/9zpfwWK5fZHKjrWuE8goSmnp0i6uLz1/Klc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pUMT6U5lvoOu290qs4M2WCZkHxqwXiK6epaG8/Qt+pLJcNSpxmDa/hhgf5KW/mlBN3ZdwXGGLAVSPu24cwxa/c4z4I3xJq7kYDI2jgu5PzV7JfsqbPRYA+nnxpdZobRytbOIy7T6MZ0gQAwexbm+1Q6uD391TEF8DPbvV5x1N6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Z+MnFA/V; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a26fa294e56so667847366b.0 for ; Thu, 25 Jan 2024 02:54:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706180089; x=1706784889; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1SnYSeTb0hYzYHHRSf92AKyNcLjElkUvUSwPVeKb6gI=; b=Z+MnFA/VfOCBBWbUgxcPrVwZJXLoM+7LxWUi8SU3akYKRjbPiq2LWqr7cESdTnRsmm QGGXhb1gm0U6fw1vyiiF3gI0CEokF/Ht8zC383JEUvSXGWvUAAHkn6pnltblgnmBOxzg gHqqzUDcqTwu1YNdhjmA9GjY7gMVrz05jTPj604xxebsefV2B+qDt0m2Ju0dIuuDH+K0 OoEh2qDLwVW/UjaExYhWBrFYXAb5GiNQd4T3LPcvzxzrL2SxyQOK2c/DmtPRdU8F2JZg 4HszFISmNokXNUgs+rto+Rhr0qqJ0Zg47nDJ2K53c9noLopgPMPFR1BGuI3K2veUGIde iDDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706180089; x=1706784889; h=content-transfer-encoding:in-reply-to:autocrypt: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=1SnYSeTb0hYzYHHRSf92AKyNcLjElkUvUSwPVeKb6gI=; b=O/NDJ2xQlRcAMy3D0tE5E7IIIe3jiHeNv5xtWaSXlUgiDKLE7//Gop/gmrRheuOzKT J+vxNgWG18+pMQJR+UcQU1IY8mVBLs+V4nXvN9irwFW+LU5YuNV2vQ3Rvan2xPM628L8 56ehOCWLnATQmgIppRzL7b6A7oWp0FC6bET1B81Gk+LN6ZDfHKRZWWoCa1HTutxu04ZZ LKt8YJiEJrl3iy97IA481ja2/R0Z+T7cOLnlnf3v6Qi6BflMwQl7hjKbUpSv8MFI5vIF wkMyDexx6dt22zE5JSmFgi0bI5dXWXJjW9ce+PTECW7rw479nM7BfEp/s1K3AA8r4+US IwmA== X-Gm-Message-State: AOJu0YxuWIQLzcIzxLVpxD74JK5lUFn7guKmwRJb4YsDZkVfwaO7gaYx NsN6HGjPNZtic9MKMEQVOptcSlxyT3wOjZcB4vs0+SUvS6UFZD98gdDiOsSZBgM= X-Received: by 2002:a17:906:a891:b0:a2a:3101:c9c7 with SMTP id ha17-20020a170906a89100b00a2a3101c9c7mr428051ejb.123.1706180089168; Thu, 25 Jan 2024 02:54:49 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id o18-20020a1709061d5200b00a26f1f36708sm887106ejh.78.2024.01.25.02.54.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 02:54:48 -0800 (PST) Message-ID: <83da19cc-a140-406a-bdac-e6d2bdcc9794@linaro.org> Date: Thu, 25 Jan 2024 11:54:46 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/8] dt-bindings: power: reset: add generic PSCRR binding trackers Content-Language: en-US To: Oleksij Rempel , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, =?UTF-8?Q?S=C3=B8ren_Andersen?= References: <20240124122204.730370-1-o.rempel@pengutronix.de> <20240124122204.730370-3-o.rempel@pengutronix.de> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+D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Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240124122204.730370-3-o.rempel@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/01/2024 13:21, Oleksij Rempel wrote: > Add binding for Power State Change Reason Recording (PSCRR) subsystem > > Signed-off-by: Oleksij Rempel > --- > .../bindings/power/reset/pscrr.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/pscrr.yaml > > diff --git a/Documentation/devicetree/bindings/power/reset/pscrr.yaml b/Documentation/devicetree/bindings/power/reset/pscrr.yaml > new file mode 100644 > index 000000000000..c8738b4930fe > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/pscrr.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/power/reset/pscrr.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Power State Change Reason (PSCR) Missing final R? > + > +maintainers: > + - Oleksij Rempel > + > +description: Binding for devices responsible to store reasons for power state Line break after description: > + changes such as reboot and power-off. Reasons like unknown, under voltage, > + and over temperature are captured for diagnostic or automatic recovery > + purposes. > + > +properties: > + pscr-under-voltage: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: | > + Value to indicate an under-voltage condition of a system critical > + regulator as the reason for the power state change. I don't understand how it is supposed to work... unless you wrote binding for drivers. For drivers it would make sense, but that's another problem: binding is not for drivers. You also did not present here DTS with any actual device doing this. You just added a driver... Best regards, Krzysztof