Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp842167rwd; Thu, 25 May 2023 04:57:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53BiHkli7xylmDm4yivm2ceIJtJxZP0knD/oK0MjykwpofPrvdm2QzcNCbyX7//ouTun/y X-Received: by 2002:a17:902:c944:b0:1ae:6947:e63b with SMTP id i4-20020a170902c94400b001ae6947e63bmr1498823pla.16.1685015868240; Thu, 25 May 2023 04:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685015868; cv=none; d=google.com; s=arc-20160816; b=As3cEQGrU9PtxtSHlHDPHXSpL0V7ezs2wnJ6i6HN7ub9hRqIhzfVr+eonkw1LkKE5r XAjf2QaQh+1MWLzLPx628AJnNkgvDq5yIgSdINRvxo7+gQzA5g7jdw1jGfETOLEs4zBB 9ef/6qfFXQQw4vtDk6j0eB54gZeUImb3DNn9YmfSwg1RJMv8GGf3aHbV7xEBLosp1Cnx EjG4BgM7d7zT/Qi6wGNKJx2qSiSqsGTttuG+L8oD8TQJ7DRdltkmNBv7BcfGuReaN3oc ms7lJeqaFEgDtyc3nqHK6txb9XWYhT+m2ha8v9/zmDaKQcSC8ipfIvqzI0Dstg33e+IG VZkw== 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:dkim-signature; bh=slbWCTNhYPOQuVL+P27MlAY0pTZ5eIZFS5uLkkaWg3U=; b=iXAAutU8Yyk/mSZ0mv525oDe6YSMN8FBWlC9Ua4RSzcIgjFui+x+C341YZJGof9N/9 DjbHNBuECNTao8Db5FxU6OZQoLh6QMlI+ji3+AmGMRYgDdQV7eGE+NyN/BLx9bmBgfwv 8crZIK/e6OtMyRQRhmsQin7HaPo2zFvOupOrGruqmhFNDtc3FvPgekW/+IfWLRB5fDSn 6Pcbsum/lriwiARlgI5GNP5ITS133Ku2162L68anzXiKFBsKuabkQAi5MMzDMw9ER1X1 UON8u30r9KYqeHdn22FiQqA7hbVQw/zQmAocbP8fkBav+9++MeeWwTu/U4qWA5zOrUz+ DGDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JEa+KBPn; 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 20-20020a631854000000b0051423af249fsi974376pgy.304.2023.05.25.04.57.34; Thu, 25 May 2023 04:57:48 -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=@kernel.org header.s=k20201202 header.b=JEa+KBPn; 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 S240345AbjEYLqI (ORCPT + 99 others); Thu, 25 May 2023 07:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234266AbjEYLqH (ORCPT ); Thu, 25 May 2023 07:46:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6A6F9C; Thu, 25 May 2023 04:46:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 730E3644FE; Thu, 25 May 2023 11:46:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92611C433D2; Thu, 25 May 2023 11:46:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685015165; bh=C/zNYk5n/8dZq/cXW0DPYu4rjNZYvW1wj1SqiGzpz1k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JEa+KBPnNUBwDlYP6HWO8RCRdvzgbFxXs2PQtB44tAXcSctFGSklWBcKmyCADAHyK cTrDF4DA3d4vsIvxt1yO3bPou/xCtASvF1ckuw8jkLZw4D77BmiYgViKUoB73ctMAD aF6CRWvg1IiAdtMY6oTpZxC9MMNAhywZadBKj6zTD9oxjOpXlC5/mSvh6TmSltxauy FZlKyk2NvJ6EDTFW2/U/H9UApUGdJcdEx8CTc6Bq5QKZeKN71CXZKxUN14d/SueSCl MknZ/7+3DwyIkcdGTj/eWBVAkYNKYsEgBosMNZUWgKW7ZSD7dVWSSkV5WuvbOBPull CpnIrqHGH4LBg== Date: Thu, 25 May 2023 12:46:01 +0100 From: Lee Jones To: Sean Nyekjaer Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] mfd: stpmic1: add pmic poweroff via sys-off handler Message-ID: <20230525114601.GJ423913@google.com> References: <20230516132225.3012541-1-sean@geanix.com> <20230516132225.3012541-2-sean@geanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230516132225.3012541-2-sean@geanix.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, 16 May 2023, Sean Nyekjaer wrote: > Use devm_register_sys_off_handler() that allows to register multiple > power-off handlers. > > This can be enabled by adding "st,pmic-poweroff" to device-tree. > > Signed-off-by: Sean Nyekjaer > --- > Changes since v1: > - Removed superfluous function > > drivers/mfd/stpmic1.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Reviewed-by: Lee Jones -- Lee Jones [李琼斯]