Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1830492lqa; Mon, 29 Apr 2024 23:45:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5WCGbvHghA47CkijoMb7A1RWTE5lpBH6Ak7kASzNrjci1L2Ye4c9Y2FIVMAwglEAODcVXPlyYX99il/d1lJmmYqhz0u6Mwb5akSYgpg== X-Google-Smtp-Source: AGHT+IFyn7V7BmzwHC4hy/9yPp4Ypdcp4TIcsd2X0WdIZWyVk6cPTVwxfbj3N3IJ6xhAAms5gfiH X-Received: by 2002:a05:6214:b12:b0:6a0:adff:b757 with SMTP id u18-20020a0562140b1200b006a0adffb757mr2322134qvj.25.1714459531693; Mon, 29 Apr 2024 23:45:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714459531; cv=pass; d=google.com; s=arc-20160816; b=aSbu1RDM/2bBedWxPxECF0MWA4WgS3VR/V7h7sorQzE8lr2TgBmd5sCS+S3/zJQZ5Y ZEmF2iyvmSR9PmXJMcFHrQ6tTQiCq99WbkzrwRoig4c4tc1SZcWThXewigo9OHepgzXJ 5Co4tf4hDA+sCS3NIZKfjnME2ojFWuBKPRY1mWDTfRqsH7WzE7nrfPz6uUWPwLMhBPxa dit7w5WLFsYneLCM8/BznPen+vMGfIcXAgxhYprx8j1DWHTJzApbcMU86AiNQSq+E5BQ +cxL1O0xSX/wrYKnYQskLUPflM7t/K3uuScF8zjPUKdWDhWyG+OfbX2n7WVVj317yOoH uXJQ== 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=B74mAwgJDDABLoUscIs7jFg2ntX2VFse9Are3SjI897Bka8KaLiLfKjlAxNPVVymZ3 cN1J8qROlz44TDoKgs3zTc/yA5Kn3taDo4MA57xYsXcS7gcpWu8gy8wk/dgkG8Bd6tNE ooeHDgo/naVudN+hgF+f7WRFNgKMz3d4lBDnXa4qgq8l1bUdvc9eD4cqfC+qOIpo9Jzy idtHcZGUfG29q8teQ1yD5qkLHsP/8w1M28E4q8BULwy4IG+8zH0bEOamGXFiaOILImMP TcP9vZlmv48HucSETumO5PIwET1ZDTkrWNvplFgXJIfFZgvw0bI8fz5g6YhNjTO6I/hS yheg==; 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-163429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jt14-20020a05621427ee00b006a0b3df11aesi8731996qvb.475.2024.04.29.23.45.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 23:45:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-163429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163429-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6A5F31C2142B for ; Tue, 30 Apr 2024 06:45:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91BED249E4; Tue, 30 Apr 2024 06:44:57 +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 903D93A29A; Tue, 30 Apr 2024 06:44:55 +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=1714459497; cv=none; b=tnUje1xf2YTPpdWu7U1OWtM426+kn0FRAgQFi92a/xmYULucea4JsJsXDSlE0YiBxfy79wwAuw0m2DbfX9fIi9S/YZZIu2AZMdMxig9EG4NyLeNxOJv7uUgGmbFkE5y6Sh/SlvUxlcPC86IUb3aXEqcnYre2EyCuYG9STLzd+Po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714459497; c=relaxed/simple; bh=5BVnGHdYy8cEptPfnv17u1GRWICYR24sUcPYjqVduO4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AdKt5PwqxmC/oZbhWFXkiW7qcAcvhlq8tLtdX3nrrtVb2ojI/0YLJrBZJVPM3wzgjOgUhpO5OTkGsItmespMAJVO/4tGandoQlehPA0pyB+LvsH/l0L6I4P1PLVSKR0T2nDdW6MxnecgzqM1mCifjheRYx9WZzJb+CpAnky1Uww= 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; Tue, 30 Apr 2024 14:44:52 +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 v8 2/5] dt-bindings: clock: add Amlogic C3 SCMI clock controller support Date: Tue, 30 Apr 2024 14:44:35 +0800 Message-ID: <20240430064438.2094701-3-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240430064438.2094701-1-xianwei.zhao@amlogic.com> References: <20240430064438.2094701-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