Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1337237rwl; Fri, 31 Mar 2023 09:40:59 -0700 (PDT) X-Google-Smtp-Source: AKy350ZwL/FQxiKphXZSwpbMVjc37VauOSJpTW/ISLwD1KqPoOP+5Bl1VOa2I4kV7TvRRoe+qtJe X-Received: by 2002:a17:906:297:b0:92f:27c2:13c0 with SMTP id 23-20020a170906029700b0092f27c213c0mr4705409ejf.6.1680280858809; Fri, 31 Mar 2023 09:40:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680280858; cv=none; d=google.com; s=arc-20160816; b=M3vGDOP0F060Pu1jKaWct/9fHFimxDp4o2Kb8Rz1C93tbm2l3xMdELEBGEazI+QXIW Qen5YyW9pmZkFg+p2vOvWKXI7aUto1NJ0hzVNeBE+Tw04YyU8UigVIxxAsBtOyGdOaRc qpYUA1RiiU3uOl6I0gQkABAfLCDf8wIWw6jszyWjBRfzWitCpD0z2YlG/IBBCy2U+4Xz WCvxxHACb3kWopHHJGesomcDl1l0pp5r1ir6Jr6xeEDaYKU0AzUDtLohW3756g/VwkIo /7awuLWX6nDkx5mhpoAzyxj3QC1UxVRGBcaA5YT4JsxGaskbMfy/Z32eE4jTkRpcxerQ fOUA== 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:dkim-signature; bh=V8LAzDFZyJY8k1ERMA3UJa2zR0+UKiXLw+ciTY/af+o=; b=ucmh9XYHf8yDQBx8oqUOGT1zA/pUYw7zFJ2SHz/ag/6mXeYOivr6a4jD6KAmyf1ZvA DSouLSI4l6wA0HNmAqzxqwDfTwJ8bOyHfno+tjTkBMHU50WwAi7emyqB+CVYtv71qHE+ xrcwRne1mkouzcCFspw6HFV13/c4xqNr/XMQbSR8V08KkNV8qOwARD5s+ApAF4+obQtE zXAxveFKZbsKPBISZCjri3lpfW2x8rsLZDZ9HlqqM+XQbAq+F64TBjRv9Uhb2Vw/3J62 eAHhpqBU34poRb/fOs/bivY9O/pWPi1LFYgukIJkL2bcfwOsWX/L0g/BalekbkReC3F/ lIeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IPNZJ7Wp; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx12-20020a170906ca4c00b0093dd2150283si693505ejb.715.2023.03.31.09.40.32; Fri, 31 Mar 2023 09:40:58 -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=@collabora.com header.s=mail header.b=IPNZJ7Wp; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbjCaQfD (ORCPT + 99 others); Fri, 31 Mar 2023 12:35:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231718AbjCaQe0 (ORCPT ); Fri, 31 Mar 2023 12:34:26 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0DA23FC1; Fri, 31 Mar 2023 09:31:10 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-213-136.ewe-ip-backbone.de [91.248.213.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0F1A3660319C; Fri, 31 Mar 2023 17:31:08 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680280268; bh=rHbX/qlp+rL7Mg3bJEUnLaEAxzLsCgYjKEhKA8ZUJz4=; h=From:To:Cc:Subject:Date:From; b=IPNZJ7WpofmAGTMqLY4lbwCWpt6LL5tJuC6mjLQw0LWMbcMUFuOBPM0TZe+LwR7K9 L4GRTAzTt3R09aRVmpXy3ENqsFz/qPtYRJtSoO105tq8dF9IJbAZA340GEzTuCgsEM 41NDVfFYFsj4KSB4+fGEEnNbD9Tkc+ImspVtLwUFkCras2MMTQSCBcqJZnISgTd8ZT t2o1d9T3Az+vkGNgvO5qqI3/HBARDjf87Hy2OHewpND7brHXbsmv1ysrc2E6VhivcG 3Li0XNUMU62VHWJz7IuvLJmviaTuqbhRzjRnw+1lAJxjtuT5vXa/hkfljDDPytXiPO mMyPw+sWPrvgQ== Received: by jupiter.universe (Postfix, from userid 1000) id 56A574807E1; Fri, 31 Mar 2023 18:31:06 +0200 (CEST) From: Sebastian Reichel To: Heiko Stuebner , linux-rockchip@lists.infradead.org Cc: Peter Geis , Elaine Zhang , Finley Xiao , Jagan Teki , Michael Turquette , Stephen Boyd , Boris Brezillon , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv1 0/2] Improve RK3588 clocks and power domains support Date: Fri, 31 Mar 2023 18:30:56 +0200 Message-Id: <20230331163058.5688-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi, After this patchset the power-domain support for RK3588 is basically on par with the downstream implementation. More importantly the clock controller change unblocks support for any IP blocks using linked clocks. The clock controller change must be applied before the power-domain change to avoid accessing unclocked registers. -- Sebastian Boris Brezillon (1): soc: rockchip: power-domain: add rk3588 mem module support Sebastian Reichel (1): clk: rockchip: rk3588: make gate linked clocks ignore unused drivers/clk/rockchip/clk-rk3588.c | 42 +++++--- drivers/soc/rockchip/pm_domains.c | 160 +++++++++++++++++++++++------- 2 files changed, 151 insertions(+), 51 deletions(-) -- 2.39.2