From patchwork Thu Oct 5 15:56:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13410238 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 09DDDE92716 for ; Thu, 5 Oct 2023 15:58:29 +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:References:In-Reply-To: Message-ID:Date: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=wI/XaL0BhpV+r66vFNOK+LrjJZLAgBp6wUVkO0pMlcw=; b=BcPKFQWymL1F93 31x+GIBiRZxT8WCOqp2GXSPVp1BYab+/Ooqagz2v44GB7FJUJSJBa+rcvmB21HrI/fsEicgEhK0nB sjXHVYEKWeG7zuru655AORPsotuG+6fkEhhxPo/CSM3ti/RmeHNEgvKNMEIS7u7xbvKdk/Fnkxc5v 2Y0W9+Lxwx/qbAoTyVdH1Pt1UWFPf3WqRbQIfYE8htw52RtxXBacuKLdaWFhQVFEVE4Eh83zJVM60 zOqSBdQQPt9Atj2pMD1f6rYP1UsP8avCcXuiC3ohjgsJRv+1mm4zbV23q+1i36djq52lN3fxokMre MHnAo8u4FaL5OLbcg1Bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjf-003xbK-0y; Thu, 05 Oct 2023 15:57:59 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjJ-003xJb-1g for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 15:57:41 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-307d58b3efbso1065884f8f.0 for ; Thu, 05 Oct 2023 08:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696521454; x=1697126254; darn=lists.infradead.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=QsPPxazWNR9GZX2GO53uCm+7icHkcSZjslvI+J0YBFw=; b=JfMcNZuJd4gfS3tibLeevdbayzmuF+m3rhw/KQG5RV1GWNfu2NCTgf4jEOweUNepyx NL0q3/Tahjl5NUFTVoAu/CqO2XM2pN1Si7fPZtaAj3dZlkgHc5HinP2aBK6rkCHFK83q eNKu1v033C11e2nPLKclxHip4xP8NkUc2kF/VNID4UJwgglRh0WtHuUEJjT+Ujnp+bDr uy4MlWjWG4mDZRppktL2DqneVDgc1csu6RQtZFnunYh/WVnNXho/8Rq8zw/Bn6jySFuS ebo0d+DbXj/KqWvwyzASAsDDLyi4ZYVeCN2CdsXZ6QFlcKEBttS+PNclvs1P1tAyuC+q hY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696521454; x=1697126254; 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=QsPPxazWNR9GZX2GO53uCm+7icHkcSZjslvI+J0YBFw=; b=vNIyYj4bPtIIyo+APpNCpuabt4OJQzmIUbuKS4F1VCYqolzDDOAjS29cwO6+8gl51z Zix+lbGNH+wSKLdhZ1tnTxNYpJYrZeHMYHVSZIzlB2CmEQDJUbK1WVWj1kF2/ZnVdR5d xSIX7Wm6hO5aoP8W5Z2xSPTSKpLDiXclgJG1hBCNSsjW36s8nISfUROAEWRHWgPDJAOW 378SK7u+sVpYlyw1GDA7FO+CS6J3irHh8eQTkWau1/UaIIHodS+4ibobwsOTa9ohWIm/ HVOpvvLx2QhaCNqVqLTwNi7IoQM8xG5xkDcStWbw18h51P7IkWviOM+1uzSKnX99WZ/v iqEw== X-Gm-Message-State: AOJu0YyENtIIakWrA4GONvqD8d/ck/XyxrdzqCCMKFV6R1CU09AlWTZL +jHispcCt/KlHKiX7SceLIIlQw== X-Google-Smtp-Source: AGHT+IHUyJpuQbW68qjMruXib/ii+3Nwgybhtbaupq7BnOuixwUEbyhlm+DL6/M5TMqX57BaO4ziFQ== X-Received: by 2002:adf:e406:0:b0:31a:e6c2:7705 with SMTP id g6-20020adfe406000000b0031ae6c27705mr4915179wrm.50.1696521454330; Thu, 05 Oct 2023 08:57:34 -0700 (PDT) Received: from gpeter-l.lan (host-92-12-225-146.as13285.net. [92.12.225.146]) by smtp.gmail.com with ESMTPSA id t9-20020a5d4609000000b0031f8a59dbeasm2084336wrq.62.2023.10.05.08.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:57:33 -0700 (PDT) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, conor+dt@kernel.org, sboyd@kernel.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, linus.walleij@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, olof@lixom.net, cw00.choi@samsung.com Cc: peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH 10/21] dt-bindings: clock: gs101: Add cmu_apm clock indices Date: Thu, 5 Oct 2023 16:56:07 +0100 Message-ID: <20231005155618.700312-11-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.582.g8ccd20d70d-goog In-Reply-To: <20231005155618.700312-1-peter.griffin@linaro.org> References: <20231005155618.700312-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231005_085737_626732_55C51A02 X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org CMU_APM generates clocks for the Active Power Management controller. Add clock indices for those muxs, dividers and gates. Signed-off-by: Peter Griffin --- include/dt-bindings/clock/gs101.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/include/dt-bindings/clock/gs101.h b/include/dt-bindings/clock/gs101.h index d1e216a33aeb..d9b8299fcc0b 100644 --- a/include/dt-bindings/clock/gs101.h +++ b/include/dt-bindings/clock/gs101.h @@ -201,4 +201,21 @@ #define CLK_GOUT_BO_BUS 184 #define CLK_GOUT_CMU_BOOST 185 +/* CMU_APM */ + +#define CLK_MOUT_APM_FUNC 1 +#define CLK_MOUT_APM_FUNCSRC 2 +#define CLK_DOUT_APM_BOOST 3 +#define CLK_DOUT_APM_USI0_UART 4 +#define CLK_DOUT_APM_USI0_USI 5 +#define CLK_DOUT_APM_USI1_UART 6 +#define CLK_GOUT_APM_FUNC 7 +#define CLK_GOUT_APM_UID_APBIF_GPIO_ALIVE_IPCLKPORT_PCLK 8 +#define CLK_GOUT_APM_UID_APBIF_GPIO_FAR_ALIVE_IPCLKPORT_PCLK 9 +#define CLK_GOUT_APM_UID_APBIF_PMU_ALIVE_IPCLKPORT_PCLK 10 +#define CLK_GOUT_APM_UID_SYSREG_APM_IPCLKPORT_PCLK 11 +#define CLK_APM_PLL_DIV2_APM 12 +#define CLK_APM_PLL_DIV4_APM 13 +#define CLK_APM_PLL_DIV16_APM 14 + #endif /* _DT_BINDINGS_CLOCK_GOOGLE_GS101_H */