Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp197259lqp; Wed, 22 May 2024 01:29:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVN6hOHhvC/EPBN8NdB2w5p0iC8KHBj93jLedNVJICysWslZ+R2NYe2DMlQanENb3CfyYFzhUApFx5B9TcEaatWm9VpjTuwuCeRjSUWKA== X-Google-Smtp-Source: AGHT+IGV0C1IVH5m2Jm5MjnsWZBA8o2XM8iGDVoIosUebXVMGFj3Wj7WczQdjx+GVNCMXIYWdW75 X-Received: by 2002:a50:f692:0:b0:574:ecec:187c with SMTP id 4fb4d7f45d1cf-57832c959demr730291a12.36.1716366588134; Wed, 22 May 2024 01:29:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716366588; cv=pass; d=google.com; s=arc-20160816; b=ER7atBKI/xJamC3+MKgACgqsAaZI0yfpAkDcDnPmhsUlgsve8Mn4JRybHwKkvES+ZC H73TbzMwgxnj4f4Zb074l9VFeFoyRLbBunkPSEcdSNK5aeJDVtK1AH1m/5DPDvVLAy1g y1YfJE3QWbn2UWv29WcOKm62YL9r6xTqBoMuJ4nlcSFeLMv3LM2kEJNVPbBJd0jcCU0j ANrJhQL9UbqKHPbvjg2J2EKh8ZyoKDNrVYuXlTLsXBm1y5zTNYi9Z2qqwCYjCnRadYBg XTy7oXXTfbLTDNvzaYwijasdv5f1flnuVAuDqBCAWoOoRES1f0DENqqCK7jUnVDDhy2K yvcg== 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; bh=3tW41t8Qa8SdNZCUdasEP55UkUXUoXPnmgtCXeT55Ew=; fh=l3FxO76I9QBgwtL9U6fNFmQoD3zh1KYdmJNvlW4Nnaw=; b=InXOJ7hn5Wrec2gOp9GtCyQqhmAu1WRdJUilDyth1fW5PHhKmU+90FIHC2D9CuUSdL CBX80xE17W9py1VQ0B3Z3pIvqzByFg/jp2sSbdSxp0wFzf2CZ675QmH5lpggdDXQmP7Y AK0x71tt4uqw9BKQ7VUrkKSzSSWj4QtG6boVrx/Dj5Hm4N0yBUP7hINiTgzWSaPslrh3 KyNLklPRHFArWIUpF53X5vWKwqm/oF6yiIGhRicIastsDmCD/0XNE+1OkFgZJtflDygp oeQ3yPzL1EI6EuJfllDyYK4P1OymSl1bxX63bhj2j931a6Cu8Im5ruau3rJvnWrhahxB c1Eg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-185927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57358eb0ea9si14651657a12.75.2024.05.22.01.29.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 01:29:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-185927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.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 am.mirrors.kernel.org (Postfix) with ESMTPS id B322A1F222D2 for ; Wed, 22 May 2024 08:28:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7903281AB7; Wed, 22 May 2024 08:27:45 +0000 (UTC) Received: from mail-sh.amlogic.com (unknown [58.32.228.46]) (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 86EF581727; Wed, 22 May 2024 08:27:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=58.32.228.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366465; cv=none; b=YmlbPOFheYQlplvrUTNNLGx+tOXCu4FZGcrkxSutdn3Q4ODLwGj/31dwDD7ZhwMcATL5VoLKruM/c93YIZPGT7PVnyZITMv49Nwd9snr6SJo0z47Ynul3xiWRz9wvAo0EhBh8seh8kq1jHEuoSDv6xuvDepQQOPnfgDbHnNzoS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366465; c=relaxed/simple; bh=5BVnGHdYy8cEptPfnv17u1GRWICYR24sUcPYjqVduO4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Lf8WOOcawc8iwhaFZTxDU3YgU0BbGTDW7J0Pd6SjXuiS7q8k5qVpYM3JPzbLkB7dfkQA3z58pSfklO22NVZqaqsbTyu0F9HZT+Q8MBMVbc0OenCZ+ahIVs7U7uaBGSP/Cc/vog5O7Agu5z4NYq/9hX3AGFmelpaO1q2hVcGUGPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; arc=none smtp.client-ip=58.32.228.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com Received: from droid01-cd.amlogic.com (10.98.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.6; Wed, 22 May 2024 16:27:34 +0800 From: Xianwei Zhao To: , , , , CC: Neil Armstrong , Jerome Brunet , Michael Turquette , "Stephen Boyd" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Xianwei Zhao , Chuan Liu Subject: [PATCH v9 2/5] dt-bindings: clock: add Amlogic C3 SCMI clock controller support Date: Wed, 22 May 2024 16:27:24 +0800 Message-ID: <20240522082727.3029656-3-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240522082727.3029656-1-xianwei.zhao@amlogic.com> References: <20240522082727.3029656-1-xianwei.zhao@amlogic.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 Content-Type: text/plain Add the SCMI clock controller dt-bindings for Amlogic C3 SoC family Acked-by: Rob Herring (Arm) Co-developed-by: Chuan Liu Signed-off-by: Chuan Liu Signed-off-by: Xianwei Zhao --- .../dt-bindings/clock/amlogic,c3-scmi-clkc.h | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/dt-bindings/clock/amlogic,c3-scmi-clkc.h diff --git a/include/dt-bindings/clock/amlogic,c3-scmi-clkc.h b/include/dt-bindings/clock/amlogic,c3-scmi-clkc.h new file mode 100644 index 000000000000..663c9b349275 --- /dev/null +++ b/include/dt-bindings/clock/amlogic,c3-scmi-clkc.h @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ +/* + * Copyright (c) 2023 Amlogic, Inc. All rights reserved. + * Author: Chuan Liu + */ + +#ifndef __AMLOGIC_C3_SCMI_CLKC_H +#define __AMLOGIC_C3_SCMI_CLKC_H + +#define CLKID_DDR_PLL_OSC 0 +#define CLKID_DDR_PHY 1 +#define CLKID_TOP_PLL_OSC 2 +#define CLKID_USB_PLL_OSC 3 +#define CLKID_MIPIISP_VOUT 4 +#define CLKID_MCLK_PLL_OSC 5 +#define CLKID_USB_CTRL 6 +#define CLKID_ETH_PLL_OSC 7 +#define CLKID_OSC 8 +#define CLKID_SYS_CLK 9 +#define CLKID_AXI_CLK 10 +#define CLKID_CPU_CLK 11 +#define CLKID_FIXED_PLL_OSC 12 +#define CLKID_GP1_PLL_OSC 13 +#define CLKID_SYS_PLL_DIV16 14 +#define CLKID_CPU_CLK_DIV16 15 + +#endif /* __AMLOGIC_C3_SCMI_CLKC_H */ -- 2.39.2