Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp192773rdb; Sat, 17 Feb 2024 04:52:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVEebWD98AH2s4jKKsNJVdy3KzrZ3OQgvjx8AJzJKpPhudw5fPMGWZBWb1qFCWRz+FocO+zNBOZLMt7yqHzRA3redJytSyEQDdqTU0xqg== X-Google-Smtp-Source: AGHT+IGTzr+ivmXKx1i6hEnbmbDJL5wLyUfSrOrfUd7fqbVB5vePVXmsAkU+46IrLigOKg1g376z X-Received: by 2002:a05:622a:8:b0:42c:74c5:63a4 with SMTP id x8-20020a05622a000800b0042c74c563a4mr8337831qtw.64.1708174360389; Sat, 17 Feb 2024 04:52:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708174360; cv=pass; d=google.com; s=arc-20160816; b=LGOwfEL0w6a79wP+EsIsgOrM8eYmjzTnyTJxObOAKUjYsyfYs6UjwWhsnSogLni14l P5MVhq7wpsr8kzNJDXiyfMWIHdkMSarta/mI5+i66Vy5FhSUCWYpK3Qqg5T/DL10p2BI ISmplD4jWYb3TbivXYFfUDVaMMEih6dFYPNoVrZGpeC6tVjjNPABQ3Y8QuIX+0gffbia f4oIVPamGGa3I0rRtxIl2z7owsqwBggQ1S9Wi0D9U23zL1UQmyOzXMnny/01JKiFFGtb Hl5zzil8q8lXpRuO9BwkIAES7XKHVI2j5b5ds3ce6gUCcRCNVQHARWNXE2J7JhZyEbEt gsuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=Yi382ulXDoBUpTXXFS6yAyIi94FJWiy5sjf+4S/iq+8=; fh=61jQp11ptjJt97TUxWe8+hyuLMCiql6kVojnsyhWm9A=; b=cSYI8JAcFL0RUyzv6ALwdjThUAT9gD45L33KyNHGxSdhznO2bPQhtN9ezT0eXBjyAf 4j0qyg/Fyf6aP0MYFkOGdkZw8+GJsAGVXyfPNkH1aOUazK1iid35CR975dChOdXGbbSm Pd0gtTNHuvs++brcRzzC8KljB2vl3May6YuB6OHqw4bj84aeqFB5Ivd5hedatFg0rEPG Kq9Gi8U2ARYbAvglUF0r5vA4EH/A379Lrqi+RqxOt2Tc84Y96SoHsDIlnJbB0GYzH/W6 6MvN4xBpJixUctz5DoI9G/2N32nGKThF7O+muH3YrlFHOqFVPbEGApFIRrzfmdX3CyKM iWhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YxdbM24u; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y16-20020a05622a005000b0042dfd040b70si354430qtw.110.2024.02.17.04.52.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 04:52:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YxdbM24u; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 1C85B1C219E5 for ; Sat, 17 Feb 2024 12:52:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E24BA7AE7D; Sat, 17 Feb 2024 12:52:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YxdbM24u" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED14E6A025; Sat, 17 Feb 2024 12:52:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708174337; cv=none; b=fF55UPsOVTEZdlDSB2kUPPQFsS+filkrPXsR5abT/lRT9h9Tzf40dOy0jEypn6oMWpeqEPkXHX+3QgMnUcQmfNkZzMIlsEcCSUAuEFFkhOezzRMiYjB5aL+AEVkGh+jpyirWR0+tHZc6N0DHrzKwwAlifrS0R/nv/41tdY4P6LE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708174337; c=relaxed/simple; bh=Ee3XDJNpfdTjv5LyZOoehAGlyXESSiYI284+s3xfG5o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SYWi5KxDRSePPkE42bJL4rA64oU5RhGGU894nL1of2pBbA5o/B6d4GpYsO/4BK6uZwRaUpCYKrx/rltoGT8dAh0Njl3jkh9HHkMI2NhKmLElFu5o8EXBx15We+1ZvrtP2AH0HqH5BwFy6K5fmKtckRYqkHRQPUWZDrxGuwlxnjc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YxdbM24u; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 94FB2C433C7; Sat, 17 Feb 2024 12:52:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708174336; bh=Ee3XDJNpfdTjv5LyZOoehAGlyXESSiYI284+s3xfG5o=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=YxdbM24uAzVsleuKMhT7QdHR6XFlGj8dICGqhRBRabSBx26SRIID3xfJ1BbBOca8E RabV4x4w+4aJIccqpGoWNJD/9YYdlWqVKvPKVvO8M1nzWSknJ3P9jUOBEmICxjC5wb evCjRuBrzgG6vYGLW/mu63xhN9RStCBlyFTeCoOEPSmkzYShg9cj6jtwzBF3it0/4O UkKU11xqVMagrGqfDgFjt/FyJqiIZBceynQAAUqqm7qndbSjCk16+/Eldr7USb253a B2ahLtx3vzizvuEhxO8CFFzk8Xwexxy06fwC9BuogOTu0v5TJc//sErnYu2t2Z1Pjs IRK5K8bDdPs7w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 760AEC48BF5; Sat, 17 Feb 2024 12:52:16 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Sat, 17 Feb 2024 20:52:06 +0800 Subject: [PATCH RFC v2 1/5] dt-bindings: clock: histb-clock: Add missing common clock and Hi3798MV200 specific clock definition Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240217-clk-mv200-v2-1-b782e4eb66f7@outlook.com> References: <20240217-clk-mv200-v2-0-b782e4eb66f7@outlook.com> In-Reply-To: <20240217-clk-mv200-v2-0-b782e4eb66f7@outlook.com> To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Yang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708174332; l=1498; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=tAwhkwf2RTqZatW50V1J+QSR6rpA9D5O9tBXY261zlg=; b=Wd4NvzYkBjaJB8dBpsrrkE8Gp7ildNtAqBwU4yBYpdyeqle9YokQaZBaZsx2cDuJ8kNaJQ231 adt6aXJIFTKB6GQJn8m4LtiU6fz/9iFOtuSNY1AXpwKDZvI8/AJEzYp X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: From: Yang Xiwen According to the datasheet, some clocks are missing, add their definitions first. Some aliases for hi3798mv200 are also introduced. Signed-off-by: Yang Xiwen --- include/dt-bindings/clock/histb-clock.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/include/dt-bindings/clock/histb-clock.h b/include/dt-bindings/clock/histb-clock.h index e64e5770ada6..68a53053586a 100644 --- a/include/dt-bindings/clock/histb-clock.h +++ b/include/dt-bindings/clock/histb-clock.h @@ -58,6 +58,27 @@ #define HISTB_USB3_UTMI_CLK1 48 #define HISTB_USB3_PIPE_CLK1 49 #define HISTB_USB3_SUSPEND_CLK1 50 +#define HISTB_SDIO1_BIU_CLK 51 +#define HISTB_SDIO1_CIU_CLK 52 +#define HISTB_SDIO1_DRV_CLK 53 +#define HISTB_SDIO1_SAMPLE_CLK 54 +#define HISTB_ETH0_PHY_CLK 55 +#define HISTB_ETH1_PHY_CLK 56 +#define HISTB_WDG0_CLK 57 +#define HISTB_USB2_UTMI0_CLK HISTB_USB2_UTMI_CLK +#define HISTB_USB2_UTMI1_CLK 58 +#define HISTB_USB3_REF_CLK 59 +#define HISTB_USB3_GM_CLK 60 +#define HISTB_USB3_GS_CLK 61 + +/* Hi3798MV200 specific clocks */ + +// reuse clocks of histb +#define HI3798MV200_GMAC_CLK HISTB_ETH0_MAC_CLK +#define HI3798MV200_GMACIF_CLK HISTB_ETH0_MACIF_CLK +#define HI3798MV200_FEMAC_CLK HISTB_ETH1_MAC_CLK +#define HI3798MV200_FEMACIF_CLK HISTB_ETH1_MACIF_CLK +#define HI3798MV200_FEPHY_CLK HISTB_ETH1_PHY_CLK /* clocks provided by mcu CRG */ #define HISTB_MCE_CLK 1 -- 2.43.0