Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1244391rwi; Thu, 27 Oct 2022 13:12:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4AZUDIUzikl03ZJMVcSYu1JLx0s3Xgo/P9u90hWJzKeIQSQ50oqlnNER5z5d3fwGbNlV3s X-Received: by 2002:a05:6a00:cd4:b0:56c:b47:a743 with SMTP id b20-20020a056a000cd400b0056c0b47a743mr17733745pfv.25.1666901521324; Thu, 27 Oct 2022 13:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666901521; cv=none; d=google.com; s=arc-20160816; b=dXNcRbSE6og1FlyEYFhzSihqfcdDzIEyQ8BlDPiM6YaicD6HLbSaF16jSamVSmTHhm qQZ4nYZ8hbP9kRneB2pZFtEo5BHKvgw/E1NXrQi2xZyKaryQhlJm2BmTo6J3gM98b/U/ 8pZrUltGrdRSy75lFQl78zMguPpnj7QlkGpEUiu1Waw5kgVnbZd53hcJrmZjDPtjfr3F pTNxJuLNz1rkMQycIxl7lRALoSuRDAsqqnXLGXDUGNvmixp89aQMczEU3G2Mwwv1tp9u vlk3Gg2iGv8j/UsDEUSNOCG8JGjBBFXt5RmsKRswxByyCLSL2UEIBfFxbAlzgaWxAWmV bpXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=wICd/6PuTpid08ZKJYuwFfQs4b4ZSUfrEfLUDuMq7r4=; b=ASylIRGuyfUOyYIxMni+w1N61LnyC5sQS0fVek93J2+5phCtDXN/JCDhtp92Ad3dip TSpL7gsbPwtPh1KzGffuV0riZi7IqWQms2S2B5KMEiuSn+foJ/PFWNhOlGDnHmvTvdnC CIPPaGJvIMY5yJCvTyTgjwyMPmp/zq+rN/+chAMZZEEb92ZrWIjsu81XY300T3QRLizo ZzgJjgJAZV05On9/njhkE//mHRB2H8ilaP8ew6FVpsWjhlYkX0pxitLjhQTepqVWBYDg sMKxbies2U0aX8o5Np0mS+qXIRICeW3Fp1OW9UHSRdIS1tR85UZDSMMnilaz+o/5jAzY 08gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=c9Hpq5DN; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk9-20020a17090b4a0900b002002d7f2504si10406128pjb.1.2022.10.27.13.11.49; Thu, 27 Oct 2022 13:12:01 -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; dkim=fail header.i=@gmail.com header.s=20210112 header.b=c9Hpq5DN; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236568AbiJ0TUm (ORCPT + 99 others); Thu, 27 Oct 2022 15:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236527AbiJ0TUh (ORCPT ); Thu, 27 Oct 2022 15:20:37 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6452E5F7E8; Thu, 27 Oct 2022 12:20:36 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id b2so7504764eja.6; Thu, 27 Oct 2022 12:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wICd/6PuTpid08ZKJYuwFfQs4b4ZSUfrEfLUDuMq7r4=; b=c9Hpq5DN/DOwWiYXNjpgOAuJYKWCRuxzwS0BoRFvxbN8WY1BfVYHo4+k/o9DqgeClR w2FQp0nUjPlkWNnuXir78CF5AwG2h289wcBXQxcX55GfR3iEozi+tH8iBy96ywBBbdoo /JKz73N7ZjEhZZDVAqgH9VtBWuud4UjtIdOiwfKdCeNaS/o9l68q1wdPrJacA2NXBZPH q8v8UaR6qrAna8OckPwSvJY1TrQPqA3mY++jwPz9wI91Cm64fk/C1C6h8gPhH7arAmGg owcHddVsQUpRZa9p8SZ45x+FGQjAiEPWjwkRHdEq1WHVw0MmBEUxT86ZDbfPWnj54+wl JseQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wICd/6PuTpid08ZKJYuwFfQs4b4ZSUfrEfLUDuMq7r4=; b=xQpwjQeUmkFWoFgrA/J0GakwnugL1su4muUNXPFT9wgABksnwXdDMPRomhVsSazs9e e8HP8jjHHgJBIiCvZTlkjq1h56ZG/aRvgtlQ1IMlsU+T80RoVuHvPsl0ka4jWMHnuRPh j29GGOM6+Usyi3L2adGpSgT2jH8iXUYVBgftMhBondLXXpL5yKMlhxa4cgenjFLdV6A+ EcL2AJfQyZQH4PsQRVwIN6g5X9aKCouSw1CmPot+oN8dS0q5jsdJRAL7LMfDYAy/BA44 9gcPMz+Mj/JFZbuKEpR8eaIWi4Lqs+J36PBSxUoEpH++tNqtbkLRgU5MIZWnJQd3Frt/ Xr5g== X-Gm-Message-State: ACrzQf2P/hvvFvR4UMVsuNE3IrHZGHORssKuRMKQlyIxxpADQXIY5X5M YF04Nil0jP4kPtzU+wsczBU= X-Received: by 2002:a17:907:b16:b0:7ad:855b:c08c with SMTP id h22-20020a1709070b1600b007ad855bc08cmr6979494ejl.667.1666898435003; Thu, 27 Oct 2022 12:20:35 -0700 (PDT) Received: from hp-power-15.localdomain (mm-238-32-212-37.vitebsk.dynamic.pppoe.byfly.by. [37.212.32.238]) by smtp.gmail.com with ESMTPSA id w18-20020a1709067c9200b007acc5a42e77sm1187006ejo.88.2022.10.27.12.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 12:20:34 -0700 (PDT) From: Siarhei Volkau Cc: Siarhei Volkau , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Paul Cercueil , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v6 2/3] dt-bindings: clock: Add Ingenic JZ4755 CGU header Date: Thu, 27 Oct 2022 22:20:22 +0300 Message-Id: <20221027192024.484320-3-lis8215@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221027192024.484320-1-lis8215@gmail.com> References: <20221027192024.484320-1-lis8215@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will be used from the devicetree bindings to specify the clocks that should be obtained from the jz4755-cgu driver. Acked-by: Krzysztof Kozlowski Signed-off-by: Siarhei Volkau --- .../dt-bindings/clock/ingenic,jz4755-cgu.h | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 include/dt-bindings/clock/ingenic,jz4755-cgu.h diff --git a/include/dt-bindings/clock/ingenic,jz4755-cgu.h b/include/dt-bindings/clock/ingenic,jz4755-cgu.h new file mode 100644 index 000000000..10098494e --- /dev/null +++ b/include/dt-bindings/clock/ingenic,jz4755-cgu.h @@ -0,0 +1,49 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * This header provides clock numbers for the ingenic,jz4755-cgu DT binding. + */ + +#ifndef __DT_BINDINGS_CLOCK_JZ4755_CGU_H__ +#define __DT_BINDINGS_CLOCK_JZ4755_CGU_H__ + +#define JZ4755_CLK_EXT 0 +#define JZ4755_CLK_OSC32K 1 +#define JZ4755_CLK_PLL 2 +#define JZ4755_CLK_PLL_HALF 3 +#define JZ4755_CLK_EXT_HALF 4 +#define JZ4755_CLK_CCLK 5 +#define JZ4755_CLK_H0CLK 6 +#define JZ4755_CLK_PCLK 7 +#define JZ4755_CLK_MCLK 8 +#define JZ4755_CLK_H1CLK 9 +#define JZ4755_CLK_UDC 10 +#define JZ4755_CLK_LCD 11 +#define JZ4755_CLK_UART0 12 +#define JZ4755_CLK_UART1 13 +#define JZ4755_CLK_UART2 14 +#define JZ4755_CLK_DMA 15 +#define JZ4755_CLK_MMC 16 +#define JZ4755_CLK_MMC0 17 +#define JZ4755_CLK_MMC1 18 +#define JZ4755_CLK_EXT512 19 +#define JZ4755_CLK_RTC 20 +#define JZ4755_CLK_UDC_PHY 21 +#define JZ4755_CLK_I2S 22 +#define JZ4755_CLK_SPI 23 +#define JZ4755_CLK_AIC 24 +#define JZ4755_CLK_ADC 25 +#define JZ4755_CLK_TCU 26 +#define JZ4755_CLK_BCH 27 +#define JZ4755_CLK_I2C 28 +#define JZ4755_CLK_TVE 29 +#define JZ4755_CLK_CIM 30 +#define JZ4755_CLK_AUX_CPU 31 +#define JZ4755_CLK_AHB1 32 +#define JZ4755_CLK_IDCT 33 +#define JZ4755_CLK_DB 34 +#define JZ4755_CLK_ME 35 +#define JZ4755_CLK_MC 36 +#define JZ4755_CLK_TSSI 37 +#define JZ4755_CLK_IPU 38 + +#endif /* __DT_BINDINGS_CLOCK_JZ4755_CGU_H__ */ -- 2.36.1