From patchwork Thu Mar 3 23:52:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 1600706 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=lf+X7LZo; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K8nrN4Czlz9sGJ for ; Fri, 4 Mar 2022 10:53:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2FABA83CDF; Fri, 4 Mar 2022 00:53:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lf+X7LZo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E6FB283CF7; Fri, 4 Mar 2022 00:52:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1B5CC83CA4 for ; Fri, 4 Mar 2022 00:52:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jbx6244@gmail.com Received: by mail-ej1-x62b.google.com with SMTP id hw13so13949699ejc.9 for ; Thu, 03 Mar 2022 15:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f3TwRiWdDWPFnzxlamw4Y4MVRbHoXz4rzE0zlIISvmQ=; b=lf+X7LZooIn43gS5j/P5qjoFENi6GfL2HbAqPULzg2svBv7vHBscwpPy1ty83/yguE JADY5AChg/f1jETnONIneAM0vQRqcNnjbC5JrOMXyZFwwDJah270Ns7Ro5XCDUe7pF/0 uhyn2kPdUSCnizFdj0q386g4Saa+t78yUBHWsoleJcZfpA8nKMmhlDs5mqHFB0Ak39jt NNtl2YpDQpak4LnLBIDaJzuZe1zbwbvKV9bL+p7wPxph5aAG9ZzXa4GrERIvwVbh8u4r 6Z+OIBHdbNtTiqBb/3ZeMZh3NvSGHdi3oJsDm3oiA2WBZ6Iw52naOvC61wA3hbj8orL2 7M0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f3TwRiWdDWPFnzxlamw4Y4MVRbHoXz4rzE0zlIISvmQ=; b=iJSJAUPcSpCck4jQjSxXtRyFYX7otjxzszPxKeG6B/NaE0/H3EPYS5nL4viuJzRsrQ jC4ilxSS0E4nkdDSvaVkLmbFsh84bzLUNOqZFtA4VdfLVI92vUIiKcW764SaLS7KfVj7 Z0izIH88mMgmRVKhu7Qg6Bs09Y1udbcBreniEbZSvmohBn50SbFUILrQIDvQU1KjM7qZ /wmHiIXWLstg62yrRPadZqZU5tRps4po5kq3ZCx7FJstraiVuWk16+89SKahFUi60fi2 6OdaGEx2uz0ArtuyR2dSjg3hSnCxJRuPHtb5U6hh+hmZ7n3TZ0GgnVP+5FQ9Yek4+7yv O2HA== X-Gm-Message-State: AOAM532YBvNVbkwYxF9z0mBm3jdtFbW+Uds8CcBiZU+o+L0Z8FiwsSlr lTsG3uXlZ8okPZTok54+HEo= X-Google-Smtp-Source: ABdhPJwGC4rp8xa7T4DqCqNtXVVSVh6h0bP+MINkxbMy3WRyiNag0t43o8Uq9sVfIZnzvzIjqOtp7w== X-Received: by 2002:a17:907:6e03:b0:6d9:9a96:ca1f with SMTP id sd3-20020a1709076e0300b006d99a96ca1fmr8528543ejc.735.1646351571702; Thu, 03 Mar 2022 15:52:51 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id k23-20020a1709062a5700b006ccd8fdc300sm1150358eje.180.2022.03.03.15.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 15:52:51 -0800 (PST) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de, w.egorov@phytec.de, hl@rock-chips.com, jagan@amarulasolutions.com, heiko@sntech.de Subject: [PATCH v3 07/12] rockchip: rk3288-cru: sync the clock dt-binding header from Linux Date: Fri, 4 Mar 2022 00:52:34 +0100 Message-Id: <20220303235239.28630-7-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220303235239.28630-1-jbx6244@gmail.com> References: <20220303235239.28630-1-jbx6244@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean In order to update the DT for rk3288 sync the clock dt-binding header. This is the state as of v5.17 in Linux. Keep SCLK_MAC_PLL in use for rk3288 clock driver. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- include/dt-bindings/clock/rk3288-cru.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index e368d767..453f6671 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -1,9 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2014 MundoReader S.L. * Author: Heiko Stuebner */ +#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H +#define _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H + /* core clocks */ #define PLL_APLL 1 #define PLL_DPLL 2 @@ -74,6 +77,9 @@ #define SCLK_USBPHY480M_SRC 122 #define SCLK_PVTM_CORE 123 #define SCLK_PVTM_GPU 124 +#define SCLK_CRYPTO 125 +#define SCLK_MIPIDSI_24M 126 +#define SCLK_VIP_OUT 127 #define SCLK_MAC_PLL 150 #define SCLK_MAC 151 @@ -153,6 +159,9 @@ #define PCLK_DDRUPCTL1 366 #define PCLK_PUBL1 367 #define PCLK_WDT 368 +#define PCLK_EFUSE256 369 +#define PCLK_EFUSE1024 370 +#define PCLK_ISP_IN 371 /* hclk gates */ #define HCLK_GPS 448 @@ -368,3 +377,5 @@ #define SRST_TSP_CLKIN0 189 #define SRST_TSP_CLKIN1 190 #define SRST_TSP_27M 191 + +#endif