From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D2D3C433EF for ; Wed, 9 Feb 2022 20:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ROjq8vfiRpKILrdqdXByzYlGMrL9qsuYQrUEuULCuCY=; b=AowpTujsNHFmiA AbpWlYVmCNZwIdv5fnnfOxlr13YLj4N/8vcFoUjnoBL1nT3kDsIEkgTAYT9QxnFTQNFyQTygwevaU aHGnEddM9+ypWBQ8JRUPoIRA/q37yxSwr7YQuSlIaEgnFms5fFlyWBxfkKV3DU97TqOTB7ediKDF3 5nlDfAtK9db4wosgX7ChZueVY8rnFLOeflSoMeYR6WLI5WzIOmYX820BlQYz+m5sE9kuFdA3PWFdl L2JZmAfQK5BxGR34EDm+3biGAt7pU7lMgwOrPpWxlL1GRscfACbhByBSaFcadYIpLPAMNj1kkgCVE UxZfZjD050wRJLXZLNcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHtcF-001ZCd-4m; Wed, 09 Feb 2022 20:31:03 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHtcA-001ZB0-9A for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 20:31:00 +0000 Received: by mail-pf1-x434.google.com with SMTP id i6so4469351pfc.9 for ; Wed, 09 Feb 2022 12:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=H8UvkuaPa9oG6MBcN88+EFcgU6RwUy+XLZ3L+fuvwWs=; b=jLSqHONTNlyEU0X36UjWm1OP1joipm2nCVWebcdjjAetYBRag2vvSJpPamuNKix4yP rwNNjw1RlAYXs2IL0B2gDrPemV4PSFexAl7LW4k/P83PpiO5dN+gxwb4Sgv+8t56Fa5i 8JaSKqWn+o/nkY2XIM+I2sBbvBFeL1MGcxdBNvYaOCU8YMQqtKpPPXc2VZmdawXxmy0S LJ2iCFCbGYdY+JVuIDZGIZ4SWKk7VLbnBFMyEooeL2WFWVKf30pucY+hBWoZcYcfTvor 296JPhFbIryEeulXN9SjrmIFNcQXBZf5goMqiW0G/5tE7Fu0gUSt4OOfY/492CjnIkzh IyQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=H8UvkuaPa9oG6MBcN88+EFcgU6RwUy+XLZ3L+fuvwWs=; b=ASnhHQYyJETT+b13lMKJoW2wxGUaPxMzZ8BJm//K6GsMH25MLVHYTMbrp9Q8XCQw/B tErp8/Gc5xI5VV8oH0jcFUFI8JpNZpcV/A3G+gcbavp8Rz5UuuB31zqbf4PVwsXR32s7 Q1wZtetMzGkD6r2U2Fzbb500tFtmBKeddvxNDIYX3NpAS+XEgw+1E61lCAqJFyQZT9xv tGxIXyirs6nSxStaunurk+2B1BKOC6Zmn+OXOmEOt1Hu2Uupe9ITLP62DtCVaXlAJbSj IfsnQI3S2C+hiWjUe9Izc10qYavNvEo/Bb7ps7riAYag0J/Dq5j++AlJ94ZDpMILEs8k ZZOg== X-Gm-Message-State: AOAM531dVszMSB04eZU/HSMOSZz/I8H/FOeT99aXzqveLcsbOG2PkwI9 HklJEZ49eVn4KLJCKyAvSpAxgg== X-Google-Smtp-Source: ABdhPJy424vIOl7jQpbzE1qFJbQKb1wuakkXY166U9x9NY98U7JPd35QgGjJclqbpBouDlTQZCmKtQ== X-Received: by 2002:a63:844a:: with SMTP id k71mr3226964pgd.559.1644438656578; Wed, 09 Feb 2022 12:30:56 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id d10sm20577340pfl.16.2022.02.09.12.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 12:30:55 -0800 (PST) From: Kevin Hilman To: "shunzhou.jiang@amlogic.com" , linux-arm-kernel , linux-amlogic , linux-kernel Cc: Neil Armstrong , jbrunet , Martin Blumenstingl , "jianxin.pan" Subject: Re: Re: [PATCH 2/2] soc: s4: Add support for power domains controller In-Reply-To: <202202091001287547451@amlogic.com> References: <20220126061018.705338-1-shunzhou.jiang@amlogic.com> <20220126061018.705338-3-shunzhou.jiang@amlogic.com> <7hzgnal5yu.fsf@baylibre.com> <202202091001287547451@amlogic.com> Date: Wed, 09 Feb 2022 12:30:55 -0800 Message-ID: <7hee4bok8w.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_123058_405193_6C6BAC36 X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org "shunzhou.jiang@amlogic.com" writes: > Hi Kevin: > Thanks your reply. > Please refer to below comment, >> S4_VPU_HDMI: for vpu domain, this domain provide power to many moudles(osd, vpp, hdr, dv, di), if close, will cause system crash >> S4_USB_COMB domain: for usb, if not always on, all usb status will clear to 0, that's not right status for usb Yes, I understand, this is teh same as for other SoCs (e.g. A1.) The solution is not to set the domain to always on. The solution is for the drivers for the devices in these domains use runtime PM so that when the drivers are active, the power domain does not get shut off. >> S4_ETH: for ethernet online wakeup, and if power down, status also not right OK, this one makes sense for "always on" since it used by firmware for wakeup. Kevin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel