Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp446116lqr; Wed, 5 Jun 2024 10:22:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUN0O70WfVfzClyid96g5qfIiHCWIE49EVa/SdtSUHUcC2WPVZNxGCF+8kp3aLVxx2NhW9Rs0XRC7x+6mQGkjyKcq/2s8iHqn9eCkPjZA== X-Google-Smtp-Source: AGHT+IE+49SVOXmV+CwksgQ/qmiBEfE0fLEZ+3H2ftCKaqwdOMg40gGb6IpDjyPPhgwzB9/aXt/j X-Received: by 2002:a05:622a:4d1:b0:43a:ed56:4c86 with SMTP id d75a77b69052e-4402b6dc39dmr31339251cf.56.1717608151564; Wed, 05 Jun 2024 10:22:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717608151; cv=pass; d=google.com; s=arc-20160816; b=nJzi1ecMd8fgP+E3BwHBDxKYdwwsWccNmQPz6jg4JmT8NqVxHvoeLkubcr+z0I3Bbz GCASYtFkarQs2VJ3QQVlMvIMaECrz35jyiFRivO1qa26+jv6pWAm5Vpuy+s1PDFzqP6m RdiD4lLxrhZQXlwiFbZfcgDXZ1aPMVIGeeJv9b6JP96HID6q8VOl4hReYODuy0EWnupt MbxpovYxOGgGnjWp69fm6ltFyS22bJmP3oTXLfQviU8Gf//4MPfer9LfAH88/6emTfjf 9/eXwC4abGm+Ipbwz24nJ0nloDNDyIQVsKiw0f1ZCGFDQR39GwMPOZqtHuB2PNK/OFTA CLHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=pVMnvdRLLOzxKbJxJDKn1/rJgxuovT9+MlU6y9jorGs=; fh=in0wiFnX8OjRllyTtQiBZSbOW1Rmuu1VjZFNuiYhPSo=; b=hyjnbXMx++PX/rGOQjdxuZcYi9yNfSWECPnHCI4AMVmeJc+VNAmt4Vig6bAfvPOwiQ 1cHbcuvRMmCt/Ua3h1M8dsm9uy61Z/dI5LHhqxFZJHc5dahxQItDivHDYm7TyoYcErF2 kYwUB/3XF40KyRW0gBusCYpURa8Kfs7Q9oTjScOcCtVYkCegUlbT3GuIiAh3kz48OfLz Mhmioc/JRgfcwG2lUHKSa6N0gI4INklKV+6xF5bM0VfATxgWcIwVP1Xrk408G6TA1ULO 1BJyD/2aRAFwhCznXGVARo52iOjWwOcXmCC7yq6IIYObvmz9Cw/qUMxUQrwejZwjLnCU klVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="iBi/Bd3X"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202972-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44030a8cb22si14343281cf.305.2024.06.05.10.22.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202972-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="iBi/Bd3X"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202972-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3D0561C24838 for ; Wed, 5 Jun 2024 17:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F33113AA2F; Wed, 5 Jun 2024 17:22:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iBi/Bd3X" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F94B135A4E; Wed, 5 Jun 2024 17:21:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717608120; cv=none; b=q/pUyTCj/2xTNWn5OJ3A9Mds73fIlO9joV9LhPuNaQMddBpthZiOmp9sJxkaD3nNAcL5U3clOS82ovEdQO/i3ty4TC47e9dfz98z5CPpnYHLET0dCL0DAsY+aSpiaYGgxxNp4FK9G7VZyCIqvWkFbH7EPT7W4E5zq8exGcdKKvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717608120; c=relaxed/simple; bh=sKCWCjQzJ/5JDuC5yzwop0fiSfCOQHeNvImg7V06GKc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nGcCLn4BK7BlyDZv1eqC99d5+Y9w67OZF5uvNX4jni/gJjK/IhlcVmZ+ZZVXU+zxSxTkL/As4QRMArVunD4M50ilI8RhEknwAYniL6Rij2IMxVd8HaLInXFYEzSToUlvuzASFA0D1ZrCZzC5Ruiao5zoPTBS5GUCYvZGl1ylGWk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iBi/Bd3X; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57864327f6eso19855a12.1; Wed, 05 Jun 2024 10:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717608118; x=1718212918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pVMnvdRLLOzxKbJxJDKn1/rJgxuovT9+MlU6y9jorGs=; b=iBi/Bd3XEzgtRWSCZyTn9c95ftftNr3h7YKmwqsqPugIueMdfpjsXrNbpDhM7DF0O6 7sb3kvDiMFk2BslpEBIyua5eNz6G5u3QjEF3slL+CaPPeUa2uq4rZ6iUodec4AoAzjHE y5U7doci/agE5KjRFD5QOgdwGXK/tUNspzRbskg3fZccg1Ifj81RtdRugOycnQP1Zs6p 7LJGpl/etYryN+gvYaaYf3Bs7iAlYGetkCzwGg0K2GwC5NV0LpwkfKfeQ+7/Gf5aIUMl J6YukIIfnHMyzFf4/RJB6Bt+JGCYeyudP9fcgt4Oj52qtT3MzKvuwXrmAmEypHs4fhmP X77g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717608118; x=1718212918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pVMnvdRLLOzxKbJxJDKn1/rJgxuovT9+MlU6y9jorGs=; b=DokK7Zvcev53Hl5C6nE5G9osnT3gnTQoYaYyyNagEH4w7rGNszLZDJntKVO6LNgXqv jroVkNtnmKL9OsfH5TS8MTOqSdKcv1GOu8hx+yegxsCDnuezobTjzmXCLxRDFMNCJTFI 8uduTdI6W11X5GjYGwxAdniXfCTaDm2KjlGWrqR2t5XWYarJTJOvyy8y/xAQR1BJ2hq6 eYimTibsT7qg3NiYPzqY1NqMM2YN6bsi9KDGM0FTU1zFVNahprLRLryoYwJa0Gerte5y Xpnu7TFwI8GNytPPBviDQBfaUYRv5k6iXQcA+jwPB4FaadbPc7vzt+ttpS8NkuSjzGiH FHuw== X-Forwarded-Encrypted: i=1; AJvYcCUeCofADER/qx+IWIX/TjUSY4hB7c2Y66CayHZTEpSNaEJHfNbnyX2aIpKDXMey7ZDv1a+i5pf3J0da+rGXxJmxFiwmW2FdKYHPO1wpBAr8++rpdEJUOK4H7u0yQOzCWXW45jrnBzxfa5N0jgMPn4m96r6jg8buLJpDgydLGsdVL928Gg== X-Gm-Message-State: AOJu0YzQecFvBO+iadbC74/9kr9gVkSzE7sEDs1nuR6j5L35iWRHLrES IzIflIMjcBzjhnL5dEUnpI31UQTtFbZ0/stNLl0ABEWpB5WhwcA= X-Received: by 2002:a50:d74d:0:b0:572:b83e:e062 with SMTP id 4fb4d7f45d1cf-57aa53cd286mr276083a12.3.1717608117415; Wed, 05 Jun 2024 10:21:57 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:34f:df25:1c86:f2e7]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31c6d594sm9666663a12.69.2024.06.05.10.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:21:57 -0700 (PDT) From: Alex Bee To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH 2/3] clk: rockchip: Add HCLK_SFC for RK3128 Date: Wed, 5 Jun 2024 19:21:53 +0200 Message-ID: <20240605172154.193047-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240605172154.193047-1-knaerzche@gmail.com> References: <20240605172154.193047-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The SFC IP exists only in RK3128 version of the SoC, thus the clock gets added to rk3128_clk_branches. Signed-off-by: Alex Bee --- drivers/clk/rockchip/clk-rk3128.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3128.c b/drivers/clk/rockchip/clk-rk3128.c index d076b7971f33..bc348fd0da92 100644 --- a/drivers/clk/rockchip/clk-rk3128.c +++ b/drivers/clk/rockchip/clk-rk3128.c @@ -553,6 +553,7 @@ static struct rockchip_clk_branch rk3128_clk_branches[] __initdata = { RK2928_CLKSEL_CON(11), 14, 2, MFLAGS, 8, 5, DFLAGS, RK2928_CLKGATE_CON(3), 15, GFLAGS), + GATE(HCLK_SFC, "hclk_sfc", "hclk_peri", 0, RK2928_CLKGATE_CON(7), 1, GFLAGS), GATE(HCLK_GPS, "hclk_gps", "aclk_peri", 0, RK2928_CLKGATE_CON(3), 14, GFLAGS), GATE(PCLK_HDMI, "pclk_hdmi", "pclk_cpu", 0, RK2928_CLKGATE_CON(3), 8, GFLAGS), }; -- 2.45.2