Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1791455rdb; Thu, 17 Aug 2023 02:04:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTEReAh/opw7O7wJc7l+PmHzbzUl3korLdBvyl8e2EkIsGK4o/9hUKnSm2STHOb82s92Jt X-Received: by 2002:a05:6808:1489:b0:3a7:b011:8960 with SMTP id e9-20020a056808148900b003a7b0118960mr5678312oiw.40.1692263055903; Thu, 17 Aug 2023 02:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692263055; cv=none; d=google.com; s=arc-20160816; b=oWmnqfN8go871dCS63moAy6XQnKDQYm4/z45RWSHe93q2c9d7C2O5M7lizUfpWgVlT fj734rf8Jq3iitp22N8Oh4so5eYm/YON4wn1CdiXirs3hVI430bj1TjpTItZ+zeke9hd S6zssNeibRCOG1JUeE1/K8t3Xiey9Jin2L1AHgZcnhgTYbnDNup1IpMCGC05SXGRmA9n K5RExbZC0zyRJuf2AsGxe75e610rr+XGWjl5Tsbnbr8xOYbUOGSt1AjhP71ejhioLitm Jh1fib2prk9mIcxYQjoL/rPB0p1Dc7i4bnM1AtwbAGl6C2kysmm/1aCzVnQFnMizmI/y WCww== 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=rFuTlZOVoRQL+2z9sd5cVNdOQg+8odVt3TFedpt6KzY=; fh=WzRG3WH3uvRbKqWQdKb+SWZNQhoyocMFA6Hw0LDjFNQ=; b=MglcLCZ6M9hAPW3397d5oQPo4NbRK3U/ZCGRYFiTuPoYp9bcvcoBuWLVfDuw8qybk2 7Kzwl4G5GkrsT6s94ilpZJGdILS1u7bXi5NhoFRTMb70DmP3x4DEzw41Ot1F8LXvXoLK fzBq2GP3mTkF/cVtoC7SLRh2dgul3h8SvJRMyyiXBL5zlxygFcOLp8dmAOhNb2/XTdTL XuCtBe/66Q8YtWjQ9hqZj2u+Swgf/vN3zoKkzdTTv/vncMAHRIKks/z6sbmFbe6d9ZmJ nvkK5Ovo0T7Y3XjjQW7nWQCTF72Wz1ZLIff2Ok/82FgUjWBProg4GztNo3FLID+X/xnk Ugbw== 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 r20-20020a6560d4000000b0056418c08652si12860300pgv.811.2023.08.17.02.04.01; Thu, 17 Aug 2023 02:04:15 -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 S1348410AbjHQHMA (ORCPT + 99 others); Thu, 17 Aug 2023 03:12:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348404AbjHQHL4 (ORCPT ); Thu, 17 Aug 2023 03:11:56 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4A44272B; Thu, 17 Aug 2023 00:11:54 -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, 17 Aug 2023 15:11:51 +0800 From: Xianwei Zhao To: , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Neil Armstrong" , Kevin Hilman , Xianwei Zhao Subject: [PATCH 0/6] Power: T7: add power domain driver Date: Thu, 17 Aug 2023 15:11:42 +0800 Message-ID: <20230817071148.510575-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. 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 | 128 ++++++++++++++++-- include/dt-bindings/power/amlogic,t7-pwrc.h | 63 +++++++++ 4 files changed, 185 insertions(+), 15 deletions(-) create mode 100644 include/dt-bindings/power/amlogic,t7-pwrc.h base-commit: 413f5c02929bb33042bbc4ee233166550a5fca70 -- 2.37.1