Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp205659lqd; Tue, 23 Apr 2024 22:26:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNTf6HeFH7/aKMruooSvHqrxIXiLwJkSQI+BmJsPeKpLrIBlmo9kb+w7aYWbwqi0tzBolI2N5m/XzMwDJVF9eib+XuT/oVhOU5rbFe/w== X-Google-Smtp-Source: AGHT+IHVS/Ra2lAYFn+6/wUMiFBYlmiAyIH2XLfd/REQLzRl50BgKECso4GCFjWzuF38qjO3yAnW X-Received: by 2002:a05:6358:7299:b0:18a:6d15:e758 with SMTP id w25-20020a056358729900b0018a6d15e758mr1578946rwf.3.1713936406701; Tue, 23 Apr 2024 22:26:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713936406; cv=pass; d=google.com; s=arc-20160816; b=umeH3d+9OzZ92gb+zFnGbJBfuR1i/8Ksjx+PS+Mw3q1Mhvf47NaQ4d4hNQlm6FaLJ5 1oETTsJUje7QFhnrPS+VkHW3ISfzuVgkJNZho1GDW0jOZS3bieV5cIsEn+COTU3+89bM nQVw1ik2n2+d+Ot5mBqRdj1KvII9qFZmM8ud0/EBXqw2m1QVXFZl40P27W2oOmVY2I7f B/gm5geRil1i4kUmog4zFtvQDIGB1mg58rgEEnLzKAdl4+l9rFRrkTJZm332HIw64wpF RIJ5GL2inVeheaVlQ0mnEJHg13MCWdSfoDTCZMzUIZTAi1lN+0w8da00umHaMRL6aJgf ShwQ== 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=e0DhrrJMYKTvGupz0HNyoiOJXXbS/Ptsyr3t1azaY+8=; fh=l3FxO76I9QBgwtL9U6fNFmQoD3zh1KYdmJNvlW4Nnaw=; b=BZDsy5TMpFhOnjw/XskvssTkGxmxvj9FF/mac6Lbjonr6NcstyxJZIajjvfacC3BO3 B74y9fDtUkaMDM4nV7iO7W7gBemkKLmXppXui1lxXPLLj4ljTeIsFoCTQtBbQm7HrcB1 NFgm7yY9oCiiZZ3th/khqQ/69IZz8B9oxceTUzVIR7gV4idf9gVoi1kNfc/HiYXbPse9 BkPGvPwdwY+CVPYzPpqGsiItzsbz5MCcv1mHr6dpEDxVNPMA8SLQhwgxvpWjYh45Ld/i vdLc2DmpyLXiIv7mg9mjb2UmUk2iYYw3YbjajaBtuRLbd8yCFvNToIML3rL8U8hwuciF QQPw==; 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-156299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g20-20020a632014000000b005dc488101casi10677141pgg.341.2024.04.23.22.26.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 22:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::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-156299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156299-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5643BB2115C for ; Wed, 24 Apr 2024 05:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6C3C156892; Wed, 24 Apr 2024 05:25:29 +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 AB93115667D; Wed, 24 Apr 2024 05:25:27 +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=1713936329; cv=none; b=nWaQX4mmyNUdrGvT/XbO9kKBrEGim7abehxPJGPTsXa7pNxrtBgNTx3Gkf6phzpI403TzV/tRt+IU2LyakAbbFXm8KpIabD/+bPupASWfcZwUYCH+kn89URaKpAWkFZE9O5l3EJ1nlIhvsvXhhYTJj0DxrLN8eb3ejRZEKDEHek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713936329; c=relaxed/simple; bh=05nmHjt4r97hG8IWDOtrSLrwZeYBw5n/UUbKN//D6YA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WJvcvz3acHjZnmR+FE9nYvsXQxasiTvfR+ELcjxjtOGIXaHlJyt1fXAqZEH9tg2ggUxmwg3XSwhncvB6wW/0ER6dkeyZkopYwIqXz0C7Crv4rkIh46X9HGtgaxE49lstc5XE+gMXqd0PTOFY7Kp/82lyhkPkPOvvAHzRd0yMv70= 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, 24 Apr 2024 13:10:18 +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 v7 2/5] dt-bindings: clock: add Amlogic C3 SCMI clock controller support Date: Wed, 24 Apr 2024 13:09:25 +0800 Message-ID: <20240424050928.1997820-3-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240424050928.1997820-1-xianwei.zhao@amlogic.com> References: <20240424050928.1997820-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 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