From patchwork Mon Dec 11 05:06:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 121313 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2370183qgn; Sun, 10 Dec 2017 21:08:18 -0800 (PST) X-Google-Smtp-Source: AGs4zMYiWyaiebGtn/H85EP9+sUPBqXHZtXOWlmlN92+8hf2mMALjVZ0FFdmO7XC7TIhRyWKrzag X-Received: by 10.99.95.12 with SMTP id t12mr38513201pgb.40.1512968898281; Sun, 10 Dec 2017 21:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512968898; cv=none; d=google.com; s=arc-20160816; b=LxHLGUqCnJwFvzK7JtDWwyhGoQJP1Z7kTmpbKVhKExI12FWaqELQBGvXKTPxxVk50Y ku/biT1LBcavuKFgIYz5/8rKUmYPBXGJlYZXS+XcWeGsm20lW6aNXAC7rQ+4pOJPJuBi oAkOuJbTsEP+CoqLZVPdTekdA3R8GUZPbF63kuEbJWxz5D0zGLH+hbc1dHgj4W1dU/dj TPEFTRQenSkiWhypScHNWxG3gNxNyLL6l0Zqjz3Ocp2GxTu59n0Y741h8btpfpEcMEGc O2wq2kMjXFZPBpC/FZUdKo7sJtKWYgcUXZdaZW7Yx0mpHj1iVSmwwoi0aUoceuPLpA7Q 9PtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=RpAjXhQRnRdqoeDLBt4p2p2eFRwWeMS9LL9ZThV64Jk=; b=mhy2w4J5kYGCYcIpQ0Pj0C49UdUdZYr7H5zEE8n6snzFSwnqns88SebDQ0aLdafv/e IVWPBFNw8W0sO6IsHVi3Uhc9a6KPKw/BlKfGEytOEEHE2rM08CX1sytN+COs7iZxxkIG fqXir3dkcUM8cDU6ENRDQLpT9EMgKTu360oVmFPMnYedSQJJ0XiUlDH/e5OkIlcU5FWc CJ5dUWVSaA1xIIW408biP5xc7adIQyLCUI5L8jRl60Qrc/eY8bEoMFp8kP4h4fiXX30o 7RU2DnvKpJIUf1q93J1IWpyZeekqg0Tg/BnWAUrea9D2mNiGNOMzqhEP4CW0iaFWr8a5 JLSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=rOFMwQRd; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z63si10499398pfl.241.2017.12.10.21.08.18; Sun, 10 Dec 2017 21:08:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=rOFMwQRd; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356AbdLKFIQ (ORCPT + 6 others); Mon, 11 Dec 2017 00:08:16 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:42360 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbdLKFIN (ORCPT ); Mon, 11 Dec 2017 00:08:13 -0500 Received: by mail-pg0-f66.google.com with SMTP id e14so10147911pgr.9; Sun, 10 Dec 2017 21:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=5Z4dDXqFGMM1HUV7kjaq8tCWusIL3ooMjSnmiJ3Y1A0=; b=rOFMwQRdpLh+zU/X7Byi9WXun1wjK9I/d02a/5gpRTKTt8VFuKPKp3lZC4iIP8aNJZ K5ubo/PeWzFrFofsqtWTfTdLef3Y3iwrzCBDWT18v+8/3842D5defZcPuCXddMGva2gW ja/ynVkpJgkvDczpT0GSLz4Mrs667mMsBDIc/fTEg6U39FYahBuHYsPCI+PPOz6zjptE O1xpl9NcZ4WvzGNBaS55rKu+olILCQDhkW7ilOO0fa5aMOHJieHh5ZM4tN0VX/sfbTJV /+ZAxLJgm+iWlC64WUdjElVOoRzVUvjKU8wo4UXLC57ctBJg9bTIGaNGgCcuE7OTjyIe BkSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=5Z4dDXqFGMM1HUV7kjaq8tCWusIL3ooMjSnmiJ3Y1A0=; b=j1IP4d+x+2NeM1cSherfcJbEoDEYTjuvMdGlJ84FODJBtjo70wmWsT/D/RLzMUppJu H/ltVFEUDqOXVqXGbRBMUI5A7WI1yaSIh0e77zeu190Snn9EVcd7uV8tJxsw5kN2SHpI P4F41KMzDnBu0esV4/lebMrj/RWSvu/18zHGK2KDuu0K1oTbQqVcW6GIKHpvuiknjW4q f4W7q547c+LE03/J3w0dIyQAwwRQlL7ji/1SFpDamXVt4Mk8kbY/aeWOh9g40MkSFUp4 taun12iG5op8To1Em5l4xCINdhUpYwEbAoJazggFR6+lBjDskDuwGp3rEzhMYW9n9+ce xz8w== X-Gm-Message-State: AKGB3mITDlFN7ALbnaibQRZsUqB0ThX+t7E5F76gPly57jrf0w3rhVIb DhW7SpV1kQViOQeY+8EHxe4= X-Received: by 10.98.16.90 with SMTP id y87mr6224930pfi.116.1512968892787; Sun, 10 Dec 2017 21:08:12 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id 10sm24582624pfi.72.2017.12.10.21.08.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Dec 2017 21:08:11 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 11 Dec 2017 15:38:03 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Benjamin Herrenschmidt , Jeremy Kerr , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH 01/20] dt-bindings: clock: Add ASPEED constants Date: Mon, 11 Dec 2017 15:36:45 +1030 Message-Id: <20171211050704.20621-2-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171211050704.20621-1-joel@jms.id.au> References: <20171211050704.20621-1-joel@jms.id.au> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org These will be merged as part of the clock driver. This commit is included so the tree will build without the clock series being applied. Signed-off-by: Joel Stanley --- include/dt-bindings/clock/aspeed-clock.h | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 include/dt-bindings/clock/aspeed-clock.h -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/dt-bindings/clock/aspeed-clock.h b/include/dt-bindings/clock/aspeed-clock.h new file mode 100644 index 000000000000..fe46ab69da5c --- /dev/null +++ b/include/dt-bindings/clock/aspeed-clock.h @@ -0,0 +1,54 @@ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ + +#ifndef DT_BINDINGS_ASPEED_CLOCK_H +#define DT_BINDINGS_ASPEED_CLOCK_H + +#define ASPEED_CLK_GATE_ECLK 0 +#define ASPEED_CLK_GATE_GCLK 1 +#define ASPEED_CLK_GATE_MCLK 2 +#define ASPEED_CLK_GATE_VCLK 3 +#define ASPEED_CLK_GATE_BCLK 4 +#define ASPEED_CLK_GATE_DCLK 5 +#define ASPEED_CLK_GATE_REFCLK 6 +#define ASPEED_CLK_GATE_USBPORT2CLK 7 +#define ASPEED_CLK_GATE_LCLK 8 +#define ASPEED_CLK_GATE_USBUHCICLK 9 +#define ASPEED_CLK_GATE_D1CLK 10 +#define ASPEED_CLK_GATE_YCLK 11 +#define ASPEED_CLK_GATE_USBPORT1CLK 12 +#define ASPEED_CLK_GATE_UART1CLK 13 +#define ASPEED_CLK_GATE_UART2CLK 14 +#define ASPEED_CLK_GATE_UART5CLK 15 +#define ASPEED_CLK_GATE_ESPICLK 16 +#define ASPEED_CLK_GATE_MAC1CLK 17 +#define ASPEED_CLK_GATE_MAC2CLK 18 +#define ASPEED_CLK_GATE_RSACLK 19 +#define ASPEED_CLK_GATE_UART3CLK 20 +#define ASPEED_CLK_GATE_UART4CLK 21 +#define ASPEED_CLK_GATE_SDCLKCLK 22 +#define ASPEED_CLK_GATE_LHCCLK 23 +#define ASPEED_CLK_HPLL 24 +#define ASPEED_CLK_AHB 25 +#define ASPEED_CLK_APB 26 +#define ASPEED_CLK_UART 27 +#define ASPEED_CLK_SDIO 28 +#define ASPEED_CLK_ECLK 29 +#define ASPEED_CLK_ECLK_MUX 30 +#define ASPEED_CLK_LHCLK 31 +#define ASPEED_CLK_MAC 32 +#define ASPEED_CLK_BCLK 33 +#define ASPEED_CLK_MPLL 34 + +#define ASPEED_NUM_CLKS 35 + +#define ASPEED_RESET_XDMA 0 +#define ASPEED_RESET_MCTP 1 +#define ASPEED_RESET_ADC 2 +#define ASPEED_RESET_JTAG_MASTER 3 +#define ASPEED_RESET_MIC 4 +#define ASPEED_RESET_PWM 5 +#define ASPEED_RESET_PCIVGA 6 +#define ASPEED_RESET_I2C 7 +#define ASPEED_RESET_AHB 8 + +#endif