From patchwork Thu Nov 22 21:40:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10694895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 564B65A4 for ; Thu, 22 Nov 2018 21:40:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46CC62CBED for ; Thu, 22 Nov 2018 21:40:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B1BD2CC45; Thu, 22 Nov 2018 21:40:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9F992CBED for ; Thu, 22 Nov 2018 21:40:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407523AbeKWIVn (ORCPT ); Fri, 23 Nov 2018 03:21:43 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37056 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392318AbeKWIVm (ORCPT ); Fri, 23 Nov 2018 03:21:42 -0500 Received: by mail-wm1-f66.google.com with SMTP id p2-v6so10283936wmc.2; Thu, 22 Nov 2018 13:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c35wEySsf8pHFZUenvpaQ26wiyDQ3+mASoSpr1z00aE=; b=unhWHO96JHXhR6zCO/TRUi9gnUx205dtNDO6NlEiNLn6dzfSOO9jq48q+r2zdhNiLG DFc4AcTx1F3Nz15i+SaBi24K1L55yM61DRKVsofQYLCYT0jUkBDi+0V4zTPdqdKiNgBI nt3st8GaRbgOsMhY5wCMXHQpBtfJiQiSQyQlpf+Zvg3aEfyzNYhEQqvuEtbrRqwh3hS/ KbZICVWgkxVMY5RBM1SS/16Sf97tCJBwLUYKsQnZCjo8BvQ7+umSqc95mkqR5F2l8e8D TYkCeEkvKZf841GmXdnSDbzZfYReUiZZ/rsCIADc4putukj7mXasfYcpxx4FQeNTvRLx bo8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c35wEySsf8pHFZUenvpaQ26wiyDQ3+mASoSpr1z00aE=; b=jYAmvitCDcY3O+DuqRlj0PvVTbB6jX21TZHK7vDl5QgS5KoSeg6/CIimmrLUJFLaCx dgMCI6KHeiZ25Sls4ZUmcNWUr/aII+sUuczxogfmgkDKjRFGybEbX4MoaB3eWTW4r8qb B+Pdy6nZ3pBCB4MhqliKjuqAWvUEvrHXvVKxUs2B0mcSdN6lIG5DGH2fTjqINoVEoaAn 5rqQhI3Te5M6l5mAtr3nHlUYoB8Tkqxbe4uDRWVvwKRHwFEBikAKoOFMwCc6L/UDsxUy menDiYRSQ1VlwZlxDrl9e/KCreosN9deqbE0lGX5IGtCCyKBM1iCFquSLYSxCFcT2UP0 KeoA== X-Gm-Message-State: AGRZ1gKZwZcFgNQPd4ZYFrPy4Xi2a71KCN4FclBzmr+FjGQc2KVcXXLQ VILepKyjX8Axd5XEYwBR29E= X-Google-Smtp-Source: AFSGD/XdGcWblshyY+GHZ6J5PRI+qWtybkR9dWixf6Z90dRcmpWAmZjn4/a9x4jdf5YiAtc9G37yug== X-Received: by 2002:a1c:ccb:: with SMTP id 194-v6mr11794328wmm.102.1542922826150; Thu, 22 Nov 2018 13:40:26 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD732F5007DE18DA1F72FF8D9.dip0.t-ipconnect.de. [2003:dc:d732:f500:7de1:8da1:f72f:f8d9]) by smtp.googlemail.com with ESMTPSA id x14sm29755554wrm.65.2018.11.22.13.40.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 13:40:25 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, narmstrong@baylibre.com, jbrunet@baylibre.com Cc: mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl Subject: [PATCH v2 1/4] dt-bindings: clock: meson8b: export the CPU post dividers Date: Thu, 22 Nov 2018 22:40:14 +0100 Message-Id: <20181122214017.25643-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181122214017.25643-1-martin.blumenstingl@googlemail.com> References: <20181122214017.25643-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are four CPU clock post dividers: - ABP - PERIPH (used as input for the ARM global timer and ARM TWD timer) - AXI - L2 DRAM Export these so we can use them in .dts files. Signed-off-by: Martin Blumenstingl Acked-by: Jerome Brunet --- include/dt-bindings/clock/meson8b-clkc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/meson8b-clkc.h b/include/dt-bindings/clock/meson8b-clkc.h index a60f47b49231..5fe2923382d0 100644 --- a/include/dt-bindings/clock/meson8b-clkc.h +++ b/include/dt-bindings/clock/meson8b-clkc.h @@ -103,5 +103,9 @@ #define CLKID_MPLL1 94 #define CLKID_MPLL2 95 #define CLKID_NAND_CLK 112 +#define CLKID_ABP 124 +#define CLKID_PERIPH 126 +#define CLKID_AXI 128 +#define CLKID_L2_DRAM 130 #endif /* __MESON8B_CLKC_H */