Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3194787rwb; Thu, 29 Sep 2022 23:16:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Q/jOquOmOmVadCf9KX9x5GEwh1kBdQ2tc2/jH5uaTK5OeVYrZwYkQ/XMd1CNcPYpHQWoC X-Received: by 2002:a17:90a:f8f:b0:20a:302f:92b8 with SMTP id 15-20020a17090a0f8f00b0020a302f92b8mr675938pjz.80.1664518564090; Thu, 29 Sep 2022 23:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664518564; cv=none; d=google.com; s=arc-20160816; b=DcWNoES9mV+lYA7nBk85GeWcXukA7puynmcb+kW9eAe3ShSz/1BTtawPRR46bAIfW7 EKnbY2DnsKavzr6fn7567lHfI+hgDiCHfOdjMH9RBYrOUCe5NPNx6yPpXEIGkXV0Hgwi LucB1WsG8MLPDVvTbixLtGeHl1rUiugspi3OXNRRop7IQHmVqzmH51ErLi+4p2OHdTJE U+YfBDZNVSCRolBpkBRQXhZf4t8eREu+p3EL6XLUf44P5uHEyHe7PUL16xNF0twKzsko wlhaSHnDDFvA6LRX9dIS8AyjVLMhlsjnni1+suKmhvREmVJPB1MeGHtmlY7QsapcRQR+ iYUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:references:in-reply-to:message-id :date:subject:cc:to:from; bh=HX3/ZpTxP4CNIofFXAnKFDdvt4arGuAEAL7C6PF01Os=; b=cE158TeLWJlGF7FFjru9jcu+9osMw3lVS3ta1sYIQjqqNwmCVDkFOSN5tYLfU91Hsw iYzF/l+Pwfjqpg5Q2wrCA8+n5+DtYR9dkrucrNAxzuIuXxaaYUyiMoOKbGvGPOYBcha5 mPn3xI1C1vDNZmX7ljzJ6zf8zyW4ksRuESl3VnHuVHIyZ+ae1OVEvBBtBtej34OdzNBc NYnJahCNcaWFtt6gqx9xYqRIPaJMGRCO3mnSnyjgRFOJuRXPnJJ2bCguG+f2+71RhG12 YeO2JLj/UwyQUYTy58kv/FvOK84gQs3Hcc8iM/kQIVIzWZyDeGYb5rW4wC1PadMzkkF9 QHcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170902d88400b001729cfb3cb5si1777670plz.610.2022.09.29.23.15.52; Thu, 29 Sep 2022 23:16:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbiI3FuF (ORCPT + 99 others); Fri, 30 Sep 2022 01:50:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiI3FuD (ORCPT ); Fri, 30 Sep 2022 01:50:03 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE0644564; Thu, 29 Sep 2022 22:49:57 -0700 (PDT) X-QQ-mid: bizesmtp77t1664516986tn7ksjcj Received: from ubuntu.localdomain ( [113.72.146.201]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 30 Sep 2022 13:49:44 +0800 (CST) X-QQ-SSF: 01000000000000305000000A0000000 X-QQ-FEAT: dcYQFNbI8vE+qoAKv14uwKmwB+isk8Bi6JVRmSKueWlrbNKei9wcurdjin6Tn ISnvD+5g9odJ/SFlZ9pw09fv28J0oBeNBSVRCfuaKL1mV6mRbii1yGlUcb9B/7RfhsML+mj 7GctJjx3b7sZO7Iy8vqrjtmqKubrulGoleILQdZR5rou94ZixVsRHw9LTe3YJe2LwYh2Mqt YAiLWksFg7y9X48cPV5uzTElKD5tFUAgUz/PmsfQOl/5yLCw7kYet8Lo5YHAcohxqFfwIOq W88ZezD9JDAiM65D7SCBuggVgAtOie96KFN8Vu9Z0Vom7GIwEIt9hh6bIEj4DZmYRWIPvrK r71o2PirKRT+HLVU+1YqZX0o5PGejkix77qyZeEQi2IZ/ZKlSoSWPhD/zh92J7HSgtABMHB 22Xyd2iVRJs1zKEXfTSoRA== X-QQ-GoodBg: 0 From: Hal Feng To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , Linus Walleij , Emil Renner Berthing , Hal Feng , linux-kernel@vger.kernel.org Subject: [PATCH v1 19/30] dt-bindings: clock: Add StarFive JH7110 always-on definitions Date: Fri, 30 Sep 2022 13:49:43 +0800 Message-Id: <20220930054943.4744-1-hal.feng@linux.starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Emil Renner Berthing Add all clock outputs for the StarFive JH7110 always-on clock generator. Signed-off-by: Emil Renner Berthing Signed-off-by: Hal Feng --- .../dt-bindings/clock/starfive-jh7110-aon.h | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/dt-bindings/clock/starfive-jh7110-aon.h diff --git a/include/dt-bindings/clock/starfive-jh7110-aon.h b/include/dt-bindings/clock/starfive-jh7110-aon.h new file mode 100644 index 000000000000..5f1f7f2f1533 --- /dev/null +++ b/include/dt-bindings/clock/starfive-jh7110-aon.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ +/* + * Copyright 2022 Emil Renner Berthing + */ + +#ifndef __DT_BINDINGS_CLOCK_STARFIVE_JH7110_AON_H__ +#define __DT_BINDINGS_CLOCK_STARFIVE_JH7110_AON_H__ + +#define JH7110_AONCLK_OSC_DIV4 0 +#define JH7110_AONCLK_APB_FUNC 1 +#define JH7110_AONCLK_GMAC0_AHB 2 +#define JH7110_AONCLK_GMAC0_AXI 3 +#define JH7110_AONCLK_GMAC0_RMII_RTX 4 +#define JH7110_AONCLK_GMAC0_TX 5 +#define JH7110_AONCLK_GMAC0_TX_INV 6 +#define JH7110_AONCLK_GMAC0_RX 7 +#define JH7110_AONCLK_GMAC0_RX_INV 8 +#define JH7110_AONCLK_OTPC_APB 9 +#define JH7110_AONCLK_RTC_APB 10 +#define JH7110_AONCLK_RTC_INTERNAL 11 +#define JH7110_AONCLK_RTC_32K 12 +#define JH7110_AONCLK_RTC_CAL 13 + +#define JH7110_AONCLK_END 14 + +#endif /* __DT_BINDINGS_CLOCK_STARFIVE_JH7110_H__ */ -- 2.17.1