Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7817262rwp; Wed, 19 Jul 2023 00:12:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlG2l3SXJBgFRP0WcDts0jlgddUjneq+BHBJm85nCSE8IHgdwaivJwtXoNUQWEUj8uWOdy2w X-Received: by 2002:a05:6358:90a:b0:131:b4c:b876 with SMTP id r10-20020a056358090a00b001310b4cb876mr16933647rwi.1.1689750767318; Wed, 19 Jul 2023 00:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689750767; cv=none; d=google.com; s=arc-20160816; b=m9T5Nw45CuGdNuVmDbrP8ygMfOaOZXJXMxh4ITvJ0YlNk01SuCb7+ii48p8KZ8ETMy RTaaARxLIvGgsTLcUW+Txy8ELxdx0k8lYqcGq6Y0Gip+h0nqMi6aaN5IfivwTZeoG8Pf AnzwYIDDXFcQwRVIuXQVXYGa9Iqfa7rJP2BA/epnCbLrI+LuQNfdNjqI8fPKS2XKLdzS dhIK0TjRBM6NlLeIfhYDMGk+IvWalLOf3yKlXEqevg1d/htiioIZWQ9lXYJB6/tnBnQa nRoVm25Ri5elKx2CxluaQvT3vLQqLAHaJ9mzHe017cqFt4kWDngUIszLhdp5VUmQzAhq yIMg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZaxznxqtQaApWqJDb6+s+DV+Xvj7vgvKyogx343GOoI=; fh=HB87oxAdE0hiCw3tLuoW27O+6rnBW3Vbgk8xGc+DTIY=; b=kJoHFGgHmZtn8jYD2M0xSJNNHMkYE2mUg1OAtVQbEFGUvKzGCfwK88GYuSQFm7zZkS OgjygVh264EbBa+eP11LCqv3RA8GHPkc1Xy6HjtvWONihbYUGTaK41TLHeDuxtcWkIGr zUDsyXcy98l02tSf724J1jnXMwhVnIdSIXEbK2rJWvLutaf11ucYZ2x9wmREkZRKb7F6 lmKzpJJdDd3fpQ4n7+bxGPFF1zrG3BhZQ8+3y47CDOcjtOrLNHDCjGOcSs4Kr501SqZa oqxbhYEAAP6jJZ/acddGXHh3tH6+PjoJrU7bdy7QfDb7lPFSjHr2kFGVGAbReI07d0t+ xRFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VDHtuu2W; 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 x4-20020a63db44000000b00563377d5cd7si2755345pgi.192.2023.07.19.00.12.34; Wed, 19 Jul 2023 00:12:47 -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=VDHtuu2W; 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 S231305AbjGSHAj (ORCPT + 99 others); Wed, 19 Jul 2023 03:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjGSHAh (ORCPT ); Wed, 19 Jul 2023 03:00:37 -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 321F4E60 for ; Wed, 19 Jul 2023 00:00:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B6B2861275 for ; Wed, 19 Jul 2023 07:00:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7D0FC433C7; Wed, 19 Jul 2023 07:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689750035; bh=aroVN9ylhT+jGcY56bKaxxXfO8XoQj1uPdqUTCGAqtY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VDHtuu2WKS2ADWsGTrCfkLBUA9vfUIoZ341lLPeFi7sGMOxPV588R4A82BMoyXDVq n4BvyBO3fxP4/zlNgY5JJkwY+fHqUxzC9OLX71/c1Se+7zyrwxbtuj4gP8DPcWUtOg a75xbe1+0aOiJoLgI0CMwtwQm+Z+iu5A627GCcZ3Z5PxZO6DdQA68Gq6UEvB9uJWo4 wyn7rEd6UWNWMPdmOZ0QbrWxNjneheXn4AqCl7EZSkOX803zFzvfNHd9s4neEXftF2 U0VHoHFenxeqzL09DsJcCIzHmjgNc2OQSwoYHDxmYo3Ibj/XgHojXDiLWEO/yuyN93 BBSas6JqlBlVQ== Date: Wed, 19 Jul 2023 15:00:22 +0800 From: Shawn Guo To: "Peng Fan (OSS)" , Ulf Hansson Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Frank.Li@nxp.com, aisheng.dong@nxp.com, marcel.ziswiler@toradex.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 0/7] firmware: imx: scu-pd: misc update Message-ID: <20230719070022.GH151430@dragon> References: <20230714090936.937344-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714090936.937344-1-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 +Ulf On Fri, Jul 14, 2023 at 05:09:29PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > This patchset is to upstream NXP downstream scu-pd driver patches. > patch 1,2 is to support more PDs > patch 3 is to not power off console when no console suspend > patch 4 is to suppress bind > patch 5 is to make genpd align with HW state > patch 6 is to support LP mode in runtime suspend, OFF mode in system suspend. > patch 7 is to change init level to avoid uneccessary defer probe > > Dong Aisheng (2): > firmware: imx: scu-pd: do not power off console if no_console_suspend > firmware: imx: scu-pd: change init level to subsys_initcall > > Peng Fan (5): > firmware: imx: scu-pd: enlarge PD range > firmware: imx: scu-pd: add more PDs > firmware: imx: scu-pd: Suppress bind attrs > firmware: imx: scu-pd: initialize is_off according to HW state > firmware: imx: scu-pd: add multi states support > > drivers/firmware/imx/scu-pd.c | 193 ++++++++++++++++++++++++++++++++-- > 1 file changed, 182 insertions(+), 11 deletions(-) We have genpd subsystem [1] coming. Should we consider to move this scu-pd driver there too? Shawn [1] https://lore.kernel.org/linux-arm-kernel/20230714092301.28690-1-ulf.hansson@linaro.org/T/