Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1059598rwd; Thu, 8 Jun 2023 11:25:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6t2vFxC+BOrPhpEQVpp3S7CdutFf1I4w6tLAn+JNUATNUkikM2qUaRDHQ3gUrPW6vRDIMq X-Received: by 2002:a05:6359:63a5:b0:127:f42b:16a3 with SMTP id sg37-20020a05635963a500b00127f42b16a3mr8124343rwb.11.1686248730785; Thu, 08 Jun 2023 11:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686248730; cv=none; d=google.com; s=arc-20160816; b=ifMKD3kPkVxs83K/HLpIgTj8u5W+29HXJPpZxu+0go59mi46lhYql2b8zpniKiu8R9 1/YPsVE/JqEyD5MygG5/EMZBsenbExpSy6KrZkHPbIpshAzXS4+cFClgwXBWVFZWCAd7 TSOrtThfwLVZnl7vrjkcnIqtQy2G+EtrIUv32SceWpuOcIi4qzMOoykwcgqqjihGVOGZ pK7tDJY1fn+LQqaWR9785T34MYFHafa+HwNhFWOVGQ30aZXSdzpzcFsndRBjSBUIKohu kaBkW+ar016ypuHh6vedd+bza6SYjyVOapzoCTbfeMOyx1iI9Ps/OgeTBUprwHhYvQMd s8zg== 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=LLqmY+gEPbHEU48Z+dOdbsGxVgnIYVZKdic4ZldIKi4=; b=ZTt1l0I4ku9dbcaBkKOUSA3WXFYk/yt9oTYBT/zJR1ESFNHs7PIwq8UKFsLvVzliuW hLaRfflo7r5VqnXmLmZ9W80DcsWGxcyh4O9REUAJvBidaBHklUBMEjbbV+JltLQoarPp vTfyRB0uZyaamVb9akgZ6Sj3Om82Sz0C6WLyHgtWzik1DKtizq0FgOsVqcAhC3044FQZ h1/OxgGIZSaOpK6rI3X6khoXaWd9BH3AP9CFN6UDPOVISWEJSqUvFWiFLESkJxhplwyg HEZNPkmeY0N9uXsqvebPG0MJ6ek53fUZSchVeIeu17ilHTj+Kec9vQyWfkIv8imQkwfR ytHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TtSMYwLI; 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 v2-20020a63ac02000000b0051f17a517adsi1327755pge.492.2023.06.08.11.25.18; Thu, 08 Jun 2023 11:25:30 -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=TtSMYwLI; 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 S235717AbjFHRv2 (ORCPT + 99 others); Thu, 8 Jun 2023 13:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231722AbjFHRv1 (ORCPT ); Thu, 8 Jun 2023 13:51:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECEE02D42 for ; Thu, 8 Jun 2023 10:51:26 -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 898AA60B56 for ; Thu, 8 Jun 2023 17:51:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDD27C433EF; Thu, 8 Jun 2023 17:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686246686; bh=nLJPupqcLGY2QcJeGQy4/qiw5WaljuqP39nJCPo8QQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TtSMYwLIIplRPFD43Q0n+OTq5cU1Q6uJBACdo2LiwWfPRi/tWHTMS0BZL3546Hbvp GlTumisv5Maws1aOitjZqivXnhl339/NLno2Foku/z9xrji7xyj3nhQLcHsl+CBVOM qzYMfu3rC7RbI6PZvC73rVLRFGECtW2FWTrBiC9ONIGKp2g0/Ik0niA4mtjFGsCHfa W4OrApkPoPMMKX9GnyQVqxrP5x8T0bH3S6I1EBJ7vBDBeJnSzB6M/4eql7uWcglBZG Pj7ta6UYDSPBtq/bDFm9Uf+K75DXyXlfvm4TOYpOUul+cvWSzhoRQOBFOB+jUtDnkb xlRiolvMsRH5Q== Date: Thu, 8 Jun 2023 18:51:21 +0100 From: Lee Jones To: Sean Nyekjaer Cc: krzysztof.kozlowski@linaro.org, conor@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] mfd: stpmic1: add pmic poweroff via sys-off handler Message-ID: <20230608175121.GN3572061@google.com> References: <20230602062426.3947116-1-sean@geanix.com> <20230602062426.3947116-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: <20230602062426.3947116-2-sean@geanix.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, 02 Jun 2023, Sean Nyekjaer wrote: > Use devm_register_sys_off_handler() that allows to register multiple > power-off handlers. > This will allow boards using the stpmic1 to power-off. > > Signed-off-by: Sean Nyekjaer > --- > Changes since v1: > - Removed superfluous function > > Changes since v2: > - Removed the devicetree option to turn the power-off functionality on and off. > > drivers/mfd/stpmic1.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Applied, thanks -- Lee Jones [李琼斯]