From patchwork Mon Jun 24 03:25:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1121023 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.b="d3laQa6O"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="Mb/ZIQV4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45XF7X1j9gz9s7h for ; Mon, 24 Jun 2019 13:26:16 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id AF55DC21EC2; Mon, 24 Jun 2019 03:25:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9EEBBC21F18; Mon, 24 Jun 2019 03:25:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C8554C21EF2; Mon, 24 Jun 2019 03:25:27 +0000 (UTC) Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by lists.denx.de (Postfix) with ESMTPS id 7E9B9C21F21 for ; Mon, 24 Jun 2019 03:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1561346726; x=1592882726; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kWx9FxputH15zX1EMPoEKXxyn239V0R+v+hZjvTheAA=; b=d3laQa6OYiL4WU+Wrzis9H+mZXChIjeIL9TUkVZ7X+sT6AS5Nvtm7mn/ JCoXizJ++cAwXA0Rg1B/Kx+yOgpir/4aUOVApDt9T+3/BZYtr/DnooHD8 PEXMuggJuyIH683lFo3g1jzD+zIsJlBGqCv5bjH04kUI2Oshm9yvpDWCM Yit4EThg8vXXneB8+InrhqEDKi3KHSZP/c485Iz67EWENkdIp/uZNo8av Ozo+1iRL6QY0Vf0k5xb4VU7AGlAAAARUS+FSvtVZVIH9tcbUlej4GgcWS G6HZUJavYMDxrUTdfRyQShU6M8b+C8HM55X4yeulgvPmFNMF0nZE8D34j g==; X-IronPort-AV: E=Sophos;i="5.63,410,1557158400"; d="scan'208";a="111333090" Received: from mail-dm3nam03lp2052.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([104.47.41.52]) by ob1.hgst.iphmx.com with ESMTP; 24 Jun 2019 11:25:24 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kWx9FxputH15zX1EMPoEKXxyn239V0R+v+hZjvTheAA=; b=Mb/ZIQV4tgkHCl7OKC730U11Od9W0rlMX/ruWScchGqSpu3n/8K/NcsXQC9HNSYIPFyoh0iEGJ+8qYewepn8f+41pNbZpD0/eLMxthBAhrfpzVV8cBS6PDS8plPC+0snCm9w+v5/rGWmpGp/hsvivaCs1E2AzMrTK09M9hbkq+o= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5551.namprd04.prod.outlook.com (20.178.248.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Mon, 24 Jun 2019 03:25:22 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::84da:b4e7:4612:48b]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::84da:b4e7:4612:48b%7]) with mapi id 15.20.2008.014; Mon, 24 Jun 2019 03:25:22 +0000 From: Anup Patel To: Rick Chen , Bin Meng , Lukas Auer , Simon Glass Thread-Topic: [PATCH v6 3/8] clk: sifive: Sync-up DT bindings header with upstream Linux Thread-Index: AQHVKjx0bQ9UupNbIUGm0txPXBcVHw== Date: Mon, 24 Jun 2019 03:25:22 +0000 Message-ID: <20190624032431.20854-4-anup.patel@wdc.com> References: <20190624032431.20854-1-anup.patel@wdc.com> In-Reply-To: <20190624032431.20854-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR0101CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:20::19) To MN2PR04MB6061.namprd04.prod.outlook.com (2603:10b6:208:d8::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anup.Patel@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [129.253.179.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0ad61a60-b093-4afd-8e2c-08d6f853972f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:MN2PR04MB5551; x-ms-traffictypediagnostic: MN2PR04MB5551: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 007814487B x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(396003)(366004)(346002)(376002)(39860400002)(189003)(199004)(256004)(11346002)(316002)(478600001)(72206003)(1076003)(8676002)(54906003)(5660300002)(110136005)(14454004)(50226002)(52116002)(99286004)(7736002)(6436002)(81156014)(81166006)(53936002)(66946007)(66556008)(2906002)(8936002)(66476007)(305945005)(86362001)(73956011)(6512007)(64756008)(66446008)(71190400001)(14444005)(446003)(2616005)(3846002)(25786009)(4326008)(36756003)(71200400001)(476003)(44832011)(68736007)(6486002)(7416002)(102836004)(6506007)(386003)(26005)(186003)(76176011)(66066001)(6116002)(486006)(2004002); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR04MB5551; H:MN2PR04MB6061.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: qUc1fSRVdlb11y36VEf2VrgfMdpgxuEIJ/sGjOwPKhRCaKVAEE2V9WCf5a1gp2N1eUkZa8jGjPI59jd0kALvmqflmwsdier2/2WSS8gs84hE7i5Z/2QB06Ux60xxDc4Z6KxwCX9zehdrKpeQNjOyCW8/GHomD1pnFC7IA6Y7q49eBMgVk9ndCzPvjvkSm7Ryb+9A/MnG+SCwxjzq6DFIvihZs8SWk46S/D66o+KTHWZliy7Wo7hVBDzmXRwAVhlesTy3dainXtzJEA+eKP5KlnTlZucS8RcNYEAaWauufunwE6FDiyWrMVK49o9i//C5hbyZLUMrOscvAc+4DjU0we/nbjTq90z37VpA3XGKIcc0o93TG7wsWtU6j4rpH9f9gSr7s5ahgHXTyQ3EqhcAaIaHsG1iWENxxMc38dZcZfI= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ad61a60-b093-4afd-8e2c-08d6f853972f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 03:25:22.4522 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Anup.Patel@wdc.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5551 Cc: U-Boot Mailing List , Palmer Dabbelt , Joe Hershberger , Alistair Francis Subject: [U-Boot] [PATCH v6 3/8] clk: sifive: Sync-up DT bindings header with upstream Linux X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" The location and license header of DT bindings header for SiFive clock driver has changed in upstream Linux hence this patch. Signed-off-by: Anup Patel --- drivers/clk/sifive/fu540-prci.c | 2 +- include/dt-bindings/clk/sifive-fu540-prci.h | 29 ------------------- include/dt-bindings/clock/sifive-fu540-prci.h | 18 ++++++++++++ 3 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 include/dt-bindings/clk/sifive-fu540-prci.h create mode 100644 include/dt-bindings/clock/sifive-fu540-prci.h diff --git a/drivers/clk/sifive/fu540-prci.c b/drivers/clk/sifive/fu540-prci.c index cdbf35e871..ceb318e062 100644 --- a/drivers/clk/sifive/fu540-prci.c +++ b/drivers/clk/sifive/fu540-prci.c @@ -38,7 +38,7 @@ #include #include -#include +#include /* * EXPECTED_CLK_PARENT_COUNT: how many parent clocks this driver expects: diff --git a/include/dt-bindings/clk/sifive-fu540-prci.h b/include/dt-bindings/clk/sifive-fu540-prci.h deleted file mode 100644 index 531523ea62..0000000000 --- a/include/dt-bindings/clk/sifive-fu540-prci.h +++ /dev/null @@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2019 Western Digital Corporation or its affiliates. - * - * Copyright (C) 2018 SiFive, Inc. - * Wesley Terpstra - * Paul Walmsley - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that 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. - */ - -#ifndef __LINUX_CLK_SIFIVE_FU540_PRCI_H -#define __LINUX_CLK_SIFIVE_FU540_PRCI_H - -/* Clock indexes for use by Device Tree data */ - -#define PRCI_CLK_COREPLL 0 -#define PRCI_CLK_DDRPLL 1 -#define PRCI_CLK_GEMGXLPLL 2 -#define PRCI_CLK_TLCLK 3 - -#endif diff --git a/include/dt-bindings/clock/sifive-fu540-prci.h b/include/dt-bindings/clock/sifive-fu540-prci.h new file mode 100644 index 0000000000..6a0b70a37d --- /dev/null +++ b/include/dt-bindings/clock/sifive-fu540-prci.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018-2019 SiFive, Inc. + * Wesley Terpstra + * Paul Walmsley + */ + +#ifndef __DT_BINDINGS_CLOCK_SIFIVE_FU540_PRCI_H +#define __DT_BINDINGS_CLOCK_SIFIVE_FU540_PRCI_H + +/* Clock indexes for use by Device Tree data and the PRCI driver */ + +#define PRCI_CLK_COREPLL 0 +#define PRCI_CLK_DDRPLL 1 +#define PRCI_CLK_GEMGXLPLL 2 +#define PRCI_CLK_TLCLK 3 + +#endif