From patchwork Thu Oct 5 15:56:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13410237 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 21CC8E92717 for ; Thu, 5 Oct 2023 15:58:27 +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=3sNjEP8mEZQYhXqoEK/syDSOlgPwqC34W9U93ebYGEw=; b=xXbW6KzidlSt2q 8t1KKf03/660l4kistPzgM8QoJwtnCLklaCKPyPmf+h1TWFCftaA8tqU7y26517nryY9KnMMjm/CQ hLsZwsHbnIBpj7FnZ0JkNwGntHBN3BLf047G5EYkNUyNa9z/SBPodAUVKT7rUNsKhNSnRt3f7vLIE kKnOuPQQNe2V59PTAp4wSZNlqTBQbbQJ8tRgFOJHPUQSbCjbqmsXtOqr2eqwWDjBrPxuUsLzSXn0s neuo6O4EzUDY3kmTyFSgujnx85SCLnPjq3qVGZV2uofrKreQOOGrUBIx5L/cSQ7DxVjEj0G6XnkYt Gip/RoFtVCOiUnjpqkUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjj-003xfM-33; Thu, 05 Oct 2023 15:58:04 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qoQjL-003xKX-1N for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2023 15:57:43 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-32799639a2aso1153497f8f.3 for ; Thu, 05 Oct 2023 08:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696521455; x=1697126255; 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=sCRvx18FXBZUIE55KgKCOULc2WUqPQQy1aHNXgrW/y8=; b=XEpQajsOF8Fwb6NK+RzqIMk/ZdOAd1csqHLJPigFSu4tFWis5FyQdhU8CEgpnQFAsn PHq60NLh3MWotuOxoqQRmU52/iolL7cX9R5aZnJ1kn7rf0OQVKps+KciR0YrZrwOSezI TN9Y/EYc2oo35biWC+lsuZfIDFYS7Wg2O4pfo3FkF5IHO6PUMnbgKiRcjw0EJU6EsEgp Q+MMlW0fVrw1V4PV7mS+hvDZcNj57VBEWFwJ8Xgsl8BmW+qdbmqwWZw0t6/+LenGsGm/ fseeV0cVd8n2HW9WEZ5doXz+NqbBzQMofQsooU8d9JFNvk3pFjfgTiss3bqrm1xFmZFb +XiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696521455; x=1697126255; 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=sCRvx18FXBZUIE55KgKCOULc2WUqPQQy1aHNXgrW/y8=; b=e6uePm1Y+degcWUoIU46/4iriDzLWlnTwms84/trdYqi/9NJmZg86OLzSd7/GWT6w1 Yk2cNk4/3QRzYAQnhE3ihAcQkOUmjumBbFaGdLlyGkwOE8WVtyFglwNmEPJHYOznZwMv pkf0z6mQzOD/Yw98si5PsDuTlk2DzzdncRgKOsqtXZOZ576aND+UsgK1N7BYylT2UvQR QQJMYpNP1Mj42T9bB4kwrsYewT49qP4QCkQx/l0I3UjJ+9NGpWCYPkJVVfjYY5QwGqrA ZWhrcDo/vDQU17g/qqmfwO+zx7sE64pFm7Uu7kAOWZAeJXcDiznEz6lSirZXfkQwnWsI 5yHg== X-Gm-Message-State: AOJu0YxgaJQphzMT7/wy47wRF5tC5oo4+EMoYRaOOQ1a3AtRqEU10Ez9 sOC289fQU0/5/32nOij2NEIbVw== X-Google-Smtp-Source: AGHT+IGXl1CoGjZQDrIr/dGSwn1zWY2LS9ksQvXQhCz9d02zBxSqzFembYLOfI32ScvmkDqICjuDCQ== X-Received: by 2002:adf:ec48:0:b0:31f:f99c:600a with SMTP id w8-20020adfec48000000b0031ff99c600amr5234563wrn.46.1696521455682; Thu, 05 Oct 2023 08:57:35 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:57:35 -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 11/21] dt-bindings: clock: gs101: Add cmu_misc clock indices Date: Thu, 5 Oct 2023 16:56:08 +0100 Message-ID: <20231005155618.700312-12-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_085739_558940_7B4A4353 X-CRM114-Status: UNSURE ( 9.66 ) 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_MISC generates clocks for IPs such as Watchdog. Add clock indices for the PLLs, Muxes, dividers and gates in this clock management unit. Signed-off-by: Peter Griffin --- include/dt-bindings/clock/gs101.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/dt-bindings/clock/gs101.h b/include/dt-bindings/clock/gs101.h index d9b8299fcc0b..7765ba68f734 100644 --- a/include/dt-bindings/clock/gs101.h +++ b/include/dt-bindings/clock/gs101.h @@ -218,4 +218,15 @@ #define CLK_APM_PLL_DIV4_APM 13 #define CLK_APM_PLL_DIV16_APM 14 +/* CMU_MISC */ + +#define CLK_MOUT_MISC_BUS_USER 1 +#define CLK_MOUT_MISC_SSS_USER 2 +#define CLK_DOUT_MISC_BUSP 3 +#define CLK_DOUT_MISC_GIC 4 +#define CLK_GOUT_MISC_PCLK 5 +#define CLK_GOUT_MISC_SYSREG_PCLK 6 +#define CLK_GOUT_MISC_WDT_CLUSTER0 7 +#define CLK_GOUT_MISC_WDT_CLUSTER1 8 + #endif /* _DT_BINDINGS_CLOCK_GOOGLE_GS101_H */