Message ID | 20230625202547.174647-5-dmitry.baryshkov@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-pm-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 076F6C04FE0 for <linux-pm@archiver.kernel.org>; Sun, 25 Jun 2023 20:26:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbjFYU0A (ORCPT <rfc822;linux-pm@archiver.kernel.org>); Sun, 25 Jun 2023 16:26:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbjFYUZ5 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Sun, 25 Jun 2023 16:25:57 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CC31B9 for <linux-pm@vger.kernel.org>; Sun, 25 Jun 2023 13:25:54 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fb73ba3b5dso491835e87.1 for <linux-pm@vger.kernel.org>; Sun, 25 Jun 2023 13:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687724753; x=1690316753; 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=NqcO67HcDBaOtZPpHw7j2J02maw29IRokEZZ2i6M3WM=; b=jECoHofvElNklY9zWwoLXdqaVpWXuAaUyMQcNRcFk/cjGdHlO6ZuuMDlXCQ16j6BOE IZ80RjRxED/wZgTGAopKKsSeBvMb3xN3mjBMeCbJf8gtMY8ddIMBD5yJRisXEoHY4VU0 uzukATEmidiDFo2OuRorMJZgjQjT43/LmuRc7b7iilLumSQcVtZkmpfY7PJTal3f5BDD GCeLYierD6ObqAL+8a7m9lYwYXApgpVhDL7Jp8YkFG9Qnop68zUOgGKKVYzkqYVteHcB sMGYDDBRoAoWcAR4mUEkfDHWQcPJLy5gyOD6AI3Whm3R41MUoTfG0PQxohRPe9aH0U7m /arQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687724753; x=1690316753; 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=NqcO67HcDBaOtZPpHw7j2J02maw29IRokEZZ2i6M3WM=; b=IAd2m0j6zzEzqu9fgusTKx3XF2yW/nDW/EfgNCztvT7N788Fz1g+jG5OEcGAMBVurP I8wq0kQLNRa5Di5QEtKEVyJyPQ5qkECyvjHcGsn27pANLHqh31jT753jnhvX+pDPX4l9 6ySRz9iB/wJPSQmPZkAD6d3r172Dx2kP+jRbpiTM+PZ0wvY4af0OOyTfV84dU6LAiv24 Y2n0DTS/r1snC7u4wSO1zZ3pF4naHbIAVjsMgVfuwOFjuca+nhUaQ9ju5kAwk1KVJCIX rMNxbADDxYCYL2JI2A+rzIaXG2nZdcVKyjnEJFikyUmIlt2FtJaKwFQwvVbE16CeRmzv DAsA== X-Gm-Message-State: AC+VfDy61BpJzcRGyzxY5rPcOVmUmUQiSAtkG8/+E80mgdoj/7bIghgQ CJXX0YhE7FB1bEMjjdTtxqKjQQ== X-Google-Smtp-Source: ACHHUZ7zWlgr66w2nCQT9TQvInjXs8SGr7Aj9thLfzQMTmBlDs9+6jPCqqoszimji/TTyPgcF+jypw== X-Received: by 2002:a19:5f08:0:b0:4f6:3677:553 with SMTP id t8-20020a195f08000000b004f636770553mr14194221lfb.38.1687724752807; Sun, 25 Jun 2023 13:25:52 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id m21-20020a195215000000b004f8427f8716sm787537lfb.262.2023.06.25.13.25.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jun 2023 13:25:51 -0700 (PDT) From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Ilia Lin <ilia.lin@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>, Stephen Boyd <sboyd@kernel.org>, Michael Turquette <mturquette@baylibre.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Georgi Djakov <djakov@kernel.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Christian Marangi <ansuelsmth@gmail.com>, Stephan Gerhold <stephan@gerhold.net> Subject: [PATCH v2 04/26] dt-bindings: clock: qcom,krait-cc: Krait core clock controller Date: Sun, 25 Jun 2023 23:25:25 +0300 Message-Id: <20230625202547.174647-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230625202547.174647-1-dmitry.baryshkov@linaro.org> References: <20230625202547.174647-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
ARM: qcom: apq8064: support CPU frequency scaling
|
expand
|
diff --git a/include/dt-bindings/clock/qcom,krait-cc.h b/include/dt-bindings/clock/qcom,krait-cc.h new file mode 100644 index 000000000000..ff69a0a968d8 --- /dev/null +++ b/include/dt-bindings/clock/qcom,krait-cc.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (C) 2023 Linaro Ltd. All rights reserved. + */ + +#ifndef __DT_BINDINGS_CLOCK_QCOM_KRAIT_CC_H +#define __DT_BINDINGS_CLOCK_QCOM_KRAIT_CC_H + +#define KRAIT_CPU_0 0 +#define KRAIT_CPU_1 1 +#define KRAIT_CPU_2 2 +#define KRAIT_CPU_3 3 +#define KRAIT_L2 4 + +#define KRAIT_NUM_CLOCKS 5 + +#endif
Define bindings for the Qualcomm Krait CPU and L2 clock controller. This device is used on old Qualcomm SoCs (APQ8064, MSM8960) and supports up to 4 core clocks and a separate L2 clock. Furthermore, L2 clock is represented as the interconnect to facilitate L2 frequency scaling together with scaling the CPU frequencies. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- include/dt-bindings/clock/qcom,krait-cc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/dt-bindings/clock/qcom,krait-cc.h