Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2109267lqt; Mon, 22 Apr 2024 01:25:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1LlgexkGQ4chADOHQXGmA7/bGhiSSnJIBAIuf9NJiBC/Maftqn8lgHZFLkCOhqxHTllipPYaZxAdJrCsoRB+NunnFAGpxExW9boJ/ng== X-Google-Smtp-Source: AGHT+IETzZBwmVTw8TrdSYiNFOwWOOntGZO48wtocuWrYctRTsvQLFV+kQF7r5W/mNySTaU6oZ8X X-Received: by 2002:a05:6a20:918d:b0:1a3:dc33:2e47 with SMTP id v13-20020a056a20918d00b001a3dc332e47mr9346535pzd.4.1713774301955; Mon, 22 Apr 2024 01:25:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713774301; cv=pass; d=google.com; s=arc-20160816; b=j/LA0rNmBzPTee2eUz6nwNGL9es2eWgPUdFO1qFycxxlJ8/sCKzLTWz5s8sOwpQeTU COOYbroAQBwqxI3Q7uxua19iJ+Ivd7ZmcpWPS5Yq1WeiLP+BFWld6cWtO5ycYZ/fUV2/ SUuRKtqPJ0AfBRDzR7XOiK9hJu17bVdrnQYOxbVqgiqXbzSU+bnZKbtKM4tUFbZgG/zO 7NXNZWdHhsAVfGC/WpZsdinl5KXo62JT6zehaevYxfj6NIZTjC6/aqLOmLTONXzeAek3 5IZi7mcWfAyTXXFcmmlrv9JRTVzhhFfp6EsibAifSijKWpqm+cBDDGZ2yvF+R4W3Em+7 aLrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=2XJ58E+fjBOWNFLrKvr4cP0Fr/X3MgFFmN0y3/x29pw=; fh=V5TmdI8Dm2kXucLqY7Gp04w+0pnjqiTSQFM2KJcW7+Y=; b=wnrDUKLO9FVqG0OemiwlD6Zl+d2dmT/DDmhtlsWTC8SFXRD3ewOdSzdzqIkmImuOpd Pt2FpVYNKQ9ZjosSGbUBjp9o3QM/txQHpckQgHqT3v//MmAz/iwXXunNTjR1i0V2M0PP kwQrjG10JGBh7g5ZCbIynXkzC36fgmqD2kYjJ2BY5mc+JSzUI8NlKyetzdcvDiy8oBcJ 6viIrLB8X5EWlG7glFlgBg4YWE2gGeh4USjIfQ68IUiUr6oNG59cAKwSXvMUaZqRDDKf wMwaWE3wm9iMX9gGtrqd8Dj8LFFWkUNAR+uGbJxbWkti5jAfzWh5qqSiPIkXPvSon59D DwCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-152970-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152970-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k6-20020a634b46000000b005dc47dd5dd2si7254626pgl.791.2024.04.22.01.25.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 01:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152970-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-152970-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152970-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 945F7282B5D for ; Mon, 22 Apr 2024 08:25:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1A4650282; Mon, 22 Apr 2024 08:24:56 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA7D4482CA for ; Mon, 22 Apr 2024 08:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713774296; cv=none; b=q6M0/sb0vzXd3d8PohvcJcQGOU8Wx2Pxs2+H8D854rI1vZLsXO1xvQAEcvmBxYY1TDWzpJxxM5tDj5fhHnkUsMqJ2xSCYWNSKxanNIiVBIFP3dUGTiD+XYpUynxTm6CqTt9Q+AlPah0rx7bJkml+WhC2jx1iC/6pkoC7wdfPeNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713774296; c=relaxed/simple; bh=ipo8Tkh/OO1bi5/uYHqgJEwHcimyAW/pZY1OW6jfzvY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fa7BqiR4rPmX3KdVjplXlliuNtvmZcvlQquVH+unL4ekb5S2Uuzr8hoF1Z1JcmX3jj4rRaJKgJkKRQN/l9KV2ZvpQ8x6j3HnLxWEeP40Lu89LR5vnHHzTM8vYEhpW+NihFsSXfw+yG0aMtDyc6y6zYtBlSa2d9Gzgyyt0tJX0Bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ryoyk-0006hP-10; Mon, 22 Apr 2024 10:24:46 +0200 Message-ID: Date: Mon, 22 Apr 2024 10:24:45 +0200 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 2/2] dt-bindings: regulator: pca9450: add restart handler priority To: Krzysztof Kozlowski , lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, yibin.gong@nxp.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Pengutronix Kernel Team References: <20240419083104.3329252-1-h.assmann@pengutronix.de> <20240419083104.3329252-3-h.assmann@pengutronix.de> <5c1c8632-3d8f-41b1-8027-54129d8cd62c@kernel.org> From: Holger Assmann Content-Language: en-US, de-DE, de-LI In-Reply-To: <5c1c8632-3d8f-41b1-8027-54129d8cd62c@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: h.assmann@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hello Krzysztof, also thanks for the feedback on this one. Am 19.04.24 um 15:39 schrieb Krzysztof Kozlowski: > > Please use subject prefixes matching the subsystem. You can get them for > example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory > your patch is touching. Short note: I did that prior submitting, but I did it directly for the yaml-file and not for the directory - Those do not look the same regarding their prefix scheme. I will change it for my v2 and use a subject like for the directory. > >> --- >> .../devicetree/bindings/regulator/nxp,pca9450-regulator.yaml | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml >> index 3d469b8e97748..7cc2d6636cf52 100644 >> --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml >> +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml >> @@ -35,6 +35,9 @@ properties: >> interrupts: >> maxItems: 1 >> >> + priority: >> + $ref: /schemas/power/reset/restart-handler.yaml# > > You defined object, which is not explained in commit msg. This code does > not look correct or it does not implement what you said. > > Please look at existing code - do you see anything like this? No, there > is no such code and this should raise question. I am a bit lost on that one to be honest. The only other instances where a "priority" for restart handling is described are "gpio-poweroff.yaml" and "syscon-reboot.yaml". These files are dedicated documentation for the reset bindings, so I tried to transfer the respective entry over for my commit. Do you suggest I should replace + priority: + $ref: /schemas/power/reset/restart-handler.yaml# with +allOf: + - $ref: /schemas/power/reset/restart-handler.yaml# in order to properly include the context for the restart handling? Running dt_binding_check does not indicate an issue with any of those two. > > You probably want to annotate that device is a restart handler? You mean by adding to the "description" part of the file? Kind regards, Holger -- Pengutronix e.K. | Holger Assmann | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |