Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1354411lqp; Mon, 15 Apr 2024 04:12:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXViMyOhkoN6nbq15OaJt/S7M7YcgjSqL12W4HzkXXMLWs/Qh1MXaK/wzInW4107a71/kFXm5ml9HijrnJPB639lBwdpdLOrdg0pbGvQ== X-Google-Smtp-Source: AGHT+IFzjutzAXfaBhaCrygkuMsGxgROtGfGGRKluyghGrkosVnJfQNfdQi6QS8Oq3/MesVqOrMg X-Received: by 2002:a17:907:2ce6:b0:a52:a25:2077 with SMTP id hz6-20020a1709072ce600b00a520a252077mr11677660ejc.14.1713179565769; Mon, 15 Apr 2024 04:12:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713179565; cv=pass; d=google.com; s=arc-20160816; b=HPgWlURVzSDWI1xfALniZ52rBALqyTyVWpjJCMI7o+XdaUn5Tor//0VaO/Gm47oH7m mBc2nrxFDbgwlkoi+/ThxhIxgjcqXPWp3S1wBjJn/tsPu+ptqAAvEUByLT5dnwwa1kmu fm6WSxy5Aea1Uux7v7shVOCcO2SRBWfCI1PBYpGobt2f5rJ1XhhX/B1SWU3jubFjMcTf y9uZ4BJElnFzYPTwnMkjo0JlpOCMYNkm27sYBzsYEs6U5A+SZIdi+RODJMW0qas+fLAP DD33Z2EYlDhZkcNktQDj4Nb1AE7nDcPIeJLlra/IPGarmeZO9wok1gYPbzHAIqGVv9Ry kF4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VLMxMaCd6wIMLEs4HZGVo//UZXt/7G2ZttI5AO01Szc=; fh=a7fLwmZUPdsbrktFPM5X9lvcn+W6KQAo1yQIPpF+sdc=; b=FDbQaYtMNJVR3H2q75NpRuCThI4EfNaJm29VkUaVS+7tQGHcTG50ipuih+b8vfqlyv NXtEZ2QSkK6Q8Z9TMrEkMN4/bXwjIS3DU04+uy8CoU3lTv670FVf+ZWpUeGUE+M/LkE5 R5YlDdtEOUzwZxVbqdyebfL7bZJOkTgMvK8rMa+8aRwp2LAYQJPDIL1E/GGKn/aSFfX7 4zr3j3Ngb+pFolhaZC0am+gFCkrFdQE9wvhGG8ixaQLpsdtzC1y+DM6bH9+PqDFOWfhl D3Qa3KGK6viwSGgWBITac/YM+ziFdfthP6TaYY4Yl2ChVvxkQLggi+weZazbaxQe+rrl PwZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=hAsJDUnQ; arc=pass (i=1 spf=pass spfdomain=engicam.com dkim=pass dkdomain=aruba.it dmarc=pass fromdomain=engicam.com); spf=pass (google.com: domain of linux-kernel+bounces-144964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=engicam.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i8-20020a17090671c800b00a51b84d4040si4579527ejk.85.2024.04.15.04.12.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 04:12:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144964-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=@aruba.it header.s=a1 header.b=hAsJDUnQ; arc=pass (i=1 spf=pass spfdomain=engicam.com dkim=pass dkdomain=aruba.it dmarc=pass fromdomain=engicam.com); spf=pass (google.com: domain of linux-kernel+bounces-144964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=engicam.com 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 4E0C41F26006 for ; Mon, 15 Apr 2024 11:03:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79A6B5D732; Mon, 15 Apr 2024 11:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b="hAsJDUnQ" Received: from smtpcmd0871.aruba.it (smtpcmd0871.aruba.it [62.149.156.71]) (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 B4AEF5D47F for ; Mon, 15 Apr 2024 11:02:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.149.156.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178974; cv=none; b=a6cMo6aAZ33k7MI1zJcL7ylVTFezIfAKImR+e+RkOn+4Jg/wtU+d7nqTHDwyQwFs7/fvLE86aogRHxlQAQ3gpRlMI0k8mN1zAfbqNcyScAO4W77lYd6D2ogdEQzB+iWb7kDCxc6OeOpl5QZzVXQkeJpJV3io0EC553m8Y9DwJ9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178974; c=relaxed/simple; bh=pxUIl7fu+ddmGZYHbXTMFc3Pa2Vv9xfOj4VnNTu17VU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TVd6WOKtH+xZEW2xVhzG4UlHfVV2lzi57uQcaoUMPwruCdmKrbIsz12Yy4Ws6FKr5xoqISgjYXYVKWO8iH+g0U9mF3PDGTZt034ewa+I1TSUS/5r6OJDnZR/gX5aLrFHE0sJmL0lZYimypAb6PnMJzqHsODmySvJ/2Y4ejrIYEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=engicam.com; spf=pass smtp.mailfrom=engicam.com; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b=hAsJDUnQ; arc=none smtp.client-ip=62.149.156.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=engicam.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=engicam.com Received: from engicam ([77.32.35.178]) by Aruba Outgoing Smtp with ESMTPSA id wK3orSBuzBZCLwK3provIw; Mon, 15 Apr 2024 12:59:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1713178782; bh=pxUIl7fu+ddmGZYHbXTMFc3Pa2Vv9xfOj4VnNTu17VU=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=hAsJDUnQX4GPRNWeCM29c8VdbaE7MnJ5cE+46abmO04tlLAc2g1kS6FSIp7+5Az/g nuXpUk/lMyVafehKgOKIIUHOs9WYAPrM8QWzxxtwqd2q8Ilj4KwUvJTf6J4pqpEC/w 6xoaUY5ELg83NUsJyp8qk+PsV9zTbwaujIiYVHBX8J/VMoYbUGerqjgab36yrEQrWm ZvA93Kqf7QIaS0t+/ucbR3gYnV1iE/qL+0ar5ssbWrt9Bi5Yf/czf++jTYoC62sUbc 4wE4j58y2UXyKE3pvoBwQSVF8cifaZ0XiKYPm8kCrCeWPLERhCr55Z96vJrs9WaGfA cadkNO40shrhg== Date: Mon, 15 Apr 2024 12:59:39 +0200 From: Fabio Aiuto To: Krzysztof Kozlowski Cc: Mark Brown , Liam Girdwood , Rob Herring , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matteo Lisi , Mirko Ardinghi Subject: Re: [PATCH v3 1/2] regulator: dt-bindings: pca9450: add PMIC_RST_B warm reset property Message-ID: References: <20240411165801.143160-1-fabio.aiuto@engicam.com> <20240411165801.143160-2-fabio.aiuto@engicam.com> <46fe43d0-28be-4acb-b0d4-dacd84fef8e5@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46fe43d0-28be-4acb-b0d4-dacd84fef8e5@kernel.org> X-CMAE-Envelope: MS4xfP/z+KuORGknNK6/gX9XtdpZ/tuKdch6lu03DLWqLvfsJNkRhpIeMxIcf2LaVjc/EJcG8uLHP4axebXN2r8breJCmVpl0DcFlHz154BJ57dqSpngd3Yi 76lVgUXM4DOIXz7CAwgfFLvLbvlrme7mQxpanMhn3Kq0Twc7Jf7IcF5r47R1EAv/3Jk2BpY5g4JQh7N1vKqitqcNHJ6LQGxAzOPmvouQfFs+OyAkgrj4e/IK StJPHvjQdAlJdLmun9nr4gra9lEs6o/YGseFzdz7D7XaUjmMPdxxv8g0PUaDctANewz3yrRpjjqUjFoZFMtkHthBpZ3TLoGtAivC3ntZ8wIHI4MBIYcHC2L4 K/cyB3siPna2mIOn+xHf7vjQH9r81wjGnxGQsMG6P2X/K9TbLNYln6UEiiIBgDSTYt2mVo8JoTqWQQ63Vtrv5vwJIs9mpQ== Dear Krzysztof, Il Sat, Apr 13, 2024 at 11:40:18PM +0200, Krzysztof Kozlowski ha scritto: > On 13/04/2024 19:10, Fabio Aiuto wrote: > > Dear Krzysztof, > > > > Il Sat, Apr 13, 2024 at 12:58:35PM +0200, Krzysztof Kozlowski ha scritto: > >> On 12/04/2024 09:21, Fabio Aiuto wrote: > >>> Dear Krzysztof, > >>> > >>> Il Thu, Apr 11, 2024 at 09:52:12PM +0200, Krzysztof Kozlowski ha scritto: > >>>> On 11/04/2024 18:58, Fabio Aiuto wrote: > I don't understand what is the use case. You wrote runtime does not > solve your use case. What is the use case? We experimented problems on some boards with SD card, if a cold reset is done when the card is powered back on it completely freezes, the way devices behave when unpowered for such short intervals is design specific, not an OS policy. kr, fabio > > > >> > >> Sorry, you did not bring any further argument why this is board > >> specific. And please don't explain how probing works, but address the > >> problem here: why type of reset is specific to board design. To me it is > >> OS policy. > >> > > > > Why reset type is specific to board design? I'm sorry but I don't know > > what you mean, as said my intention was to enlarge the number of configurable > > bits in pca9450 register space hoping this would be useful for someone. > > > > All I can say is that is specific to board design for the same reason the > > wdog_b- reset type was specific to board design. > > Specific to board design means different boards have somehow different > configuration/schematics/layout/hardware meaning they need this property > to configure device differently. > > I already said it implicitly, but let's reiterate: Devicetree is for > hardware properties, not OS policies. > > I also said, so repeating the same argument, the choice how you want to > reboot the system based on button press, sounds like debugging choice > thus runtime suits better. > > Unless you want to say there are two signals and you want to configure > them differently? But that's your job to explain it, not mine. please see above, kr, fabio > > Best regards, > Krzysztof >