Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp109764rdb; Thu, 24 Aug 2023 00:02:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEo/+cEPZuJtt5qiBT5bon1E40/JqYZUexOD66SCDsmMDCHFciXAzsm+jwVlPZt8r5OrYY X-Received: by 2002:a17:906:1baa:b0:994:522f:3f4a with SMTP id r10-20020a1709061baa00b00994522f3f4amr9942728ejg.29.1692860526636; Thu, 24 Aug 2023 00:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692860526; cv=none; d=google.com; s=arc-20160816; b=vNr/y1XokAvMMXpqlgEuPKNCarB6LoSQUWaiX897FagOE3FhBaAT1Eeb15LoRzoQwA e+DRJlzjgHq1ij+a5ZJo/se2vpajfpPHgqKPpBd5apMfBf9k5Dj30RWEVMM90YqUI4SW aJ0x8Zxz3OBiU08uyhyqQT0/o5T2yUcunaBH6R1/Z5VubUxJQoXqXoUPHEYyvqtBGLQl w5uNatHJMvu3T351V/MjijNH0Z/Dv15+hgUaYP2jfLabtfNycHMbSQJZ2aa3W568+BfR +AQ/pZlyj9JqqG4gntG+6Ad8AzBsVdpfu4pj2nj4lT3/kGCKgu/LNnBKhVcwnCgkc+x1 dk/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HVMKf35I7gURR5Yb7Gvy/I3Y4JSpToUg9oIKn4Ny+5w=; fh=WzRG3WH3uvRbKqWQdKb+SWZNQhoyocMFA6Hw0LDjFNQ=; b=X+zPKWL0jl04xIOog3ANn1Dx8dwERmnKW9NIOG9kB77v94nXLemE7S7HnHPZpheU83 GTWR6WXmOcHV1g27EzNPnm3oJFEp/S4vrDS/ZaoVqLDfNX0y2sjATuG0BdELl5PZ4CZ5 NvtWo7ym2sox1q2D+bK+WF6HpfuUbSNcKfiEAI+HUK4admgtTrntXfsI+5tR4QBL7n8R yBt5PcvrMUCIFFZ7EWw+M8XLilKurwe6VKhk1v7pDwczNoFYBT7CstARpoJgqs0IlN1K KraGGmjL5+dLWrvYj50QLolCj4YE211nyZSHP43zEZTkZIOM1TcCIrPFPk+CCRT8y86X gm2Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s22-20020a170906501600b0099bca0c5445si9464231ejj.363.2023.08.24.00.01.39; Thu, 24 Aug 2023 00:02:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239937AbjHXGAL (ORCPT + 99 others); Thu, 24 Aug 2023 02:00:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239912AbjHXF74 (ORCPT ); Thu, 24 Aug 2023 01:59:56 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593D410DD; Wed, 23 Aug 2023 22:59:53 -0700 (PDT) Received: from droid01-cd.amlogic.com (10.98.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Thu, 24 Aug 2023 13:59:46 +0800 From: Xianwei Zhao To: , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Neil Armstrong" , Kevin Hilman , Xianwei Zhao Subject: [PATCH V2 0/6] Power: T7: add power domain driver Date: Thu, 24 Aug 2023 13:59:24 +0800 Message-ID: <20230824055930.2576849-1-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.98.11.200] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 First patch is that remove C3 some power domain ALWAYS_ON property. Second patch is that add driver to support power parent node. Third patch is that turn on power if initial power domain with "AWAY_ON" property state is off. Other patchs adds power controller driver support for Amlogic T7 SoC. Changes Since v1: -Fix license from "GPL-2.0-only OR .*" to "GPL-2.0-only OR MIT". -Modify T7_NIC flag "ALWAYS_ON" xianwei.zhao (6): soc: amlogic: modify some power domains property soc: amlogic: add driver to support power parent node soc: amlogic: init power domain state dt-bindings: power: add Amlogic T7 power domains soc: amlogic: Add support for T7 power domains controller arm64: dts: add support for T7 power domain controller .../power/amlogic,meson-sec-pwrc.yaml | 3 +- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 6 + drivers/genpd/amlogic/meson-secure-pwrc.c | 129 ++++++++++++++++-- include/dt-bindings/power/amlogic,t7-pwrc.h | 63 +++++++++ 4 files changed, 186 insertions(+), 15 deletions(-) create mode 100644 include/dt-bindings/power/amlogic,t7-pwrc.h base-commit: 413f5c02929bb33042bbc4ee233166550a5fca70 -- 2.37.1