From patchwork Wed Oct 5 15:07:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9363087 X-Patchwork-Delegate: mturquette@baylibre.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DE7C0600C8 for ; Wed, 5 Oct 2016 15:08:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D09EF28753 for ; Wed, 5 Oct 2016 15:08:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C537E28AEE; Wed, 5 Oct 2016 15:08:19 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 3C4CA28753 for ; Wed, 5 Oct 2016 15:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754696AbcJEPID (ORCPT ); Wed, 5 Oct 2016 11:08:03 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:34575 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754545AbcJEPIA (ORCPT ); Wed, 5 Oct 2016 11:08:00 -0400 Received: by mail-wm0-f41.google.com with SMTP id 197so44436615wmk.1 for ; Wed, 05 Oct 2016 08:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vM/QX0o8AgcGbcEtrdZ1E5V2TMP3y5Ahm3K6Nah9JDA=; b=KiCqaRvS0tPNDrCq0pmUOik+NqbXK3MFcrhsKn+VXaXsDJh70gaKCUTbs4EXhd0pxe +f1Z1VIn42NDIq1ZopWXQ0lpsZLBs93lS3YE7ohklL6XM/E4d22YYyppUKT8UzsI8GhA q0aKMwcKpuCREA7I/OS4fEpworH8S0f4H9YkmBbDEmiBqyIxvE8nin0MAnGq5GQWB4ps kxaMC86U+STQrR5HvolNPUR7TMlydnGZChe/t8v11UTQuuUOcuLdQvhIfVEYqB+Obmk5 3te6T5xucEhdoVIDm6lCmitqtCO650yZvas4W0f77SBrK9GNb8ag3XO8jN30q9m3l0e9 lQAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vM/QX0o8AgcGbcEtrdZ1E5V2TMP3y5Ahm3K6Nah9JDA=; b=kS5FnAkLNzVRrha3eI5LnKTwdYTEA5ZqIoIfrgPrbB5NxVBtWJIeTSe/4dFqZcmsoc 5HZIrs3nOBSVg4QHO/JyWkQwvzLGZviMQMNImeiAVk/EK9YG5P+9+dTIAsJ/LGiQH8di iQbfubBni+JrgY+Ze9OLh1Q38k47j8VlFw5aqZpULuGPy8VPBXYNECL0b75PksmwDFhN YMAAMenp98079WZlaMBA45hxx5jHRsa7SUbi0MlofXywJ+Uy8s+glueEMwORqXsjucUO z4RRIS0xjqPv64VkOOAmBPfl19KJhFosG7n/UpTLJWfzChFu/4JW6zAEWTgqjAhprZ50 rHqg== X-Gm-Message-State: AA6/9Rntw04KL+HbvpCJxp8p0dv39UtLLjuUjrg4t+38gHJ0Rk2VQA9Qn9zdT6Kg292Aa6zc X-Received: by 10.28.50.3 with SMTP id y3mr8967306wmy.23.1475680078697; Wed, 05 Oct 2016 08:07:58 -0700 (PDT) Received: from build.net (build.baylibre.com. [37.187.146.144]) by smtp.gmail.com with ESMTPSA id z9sm2596492wjf.14.2016.10.05.08.07.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Oct 2016 08:07:57 -0700 (PDT) From: Neil Armstrong To: sboyd@codeaurora.org Cc: Neil Armstrong , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-oxnas@lists.tuxfamily.org, devicetree@vger.kernel.org Subject: [PATCH 2/6] clk: oxnas: Add dt-bindings include file for OX820 Date: Wed, 5 Oct 2016 17:07:48 +0200 Message-Id: <20161005150752.22618-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161005150752.22618-1-narmstrong@baylibre.com> References: <20161005150752.22618-1-narmstrong@baylibre.com> 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 In order to support the Oxford Semiconductor Gate clocks, add a dedicated dt-binding include file for gate indexes. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/oxsemi,ox820.h | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 include/dt-bindings/clock/oxsemi,ox820.h diff --git a/include/dt-bindings/clock/oxsemi,ox820.h b/include/dt-bindings/clock/oxsemi,ox820.h new file mode 100644 index 0000000..f661ecc --- /dev/null +++ b/include/dt-bindings/clock/oxsemi,ox820.h @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2016 Neil Armstrong + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef DT_CLOCK_OXSEMI_OX820_H +#define DT_CLOCK_OXSEMI_OX820_H + +/* PLLs */ +#define CLK_820_PLLA 0 +#define CLK_820_PLLB 1 + +/* Gate Clocks */ +#define CLK_820_LEON 2 +#define CLK_820_DMA_SGDMA 3 +#define CLK_820_CIPHER 4 +#define CLK_820_SD 5 +#define CLK_820_SATA 6 +#define CLK_820_AUDIO 7 +#define CLK_820_USBMPH 8 +#define CLK_820_ETHA 9 +#define CLK_820_PCIEA 10 +#define CLK_820_NAND 11 +#define CLK_820_PCIEB 12 +#define CLK_820_ETHB 13 +#define CLK_820_REF600 14 +#define CLK_820_USBDEV 15 + +#endif /* DT_CLOCK_OXSEMI_OX820_H */