From patchwork Mon Jun 24 04:02:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1121048 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="Rk9IBZCF"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="BBij7qiO"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45XG056Bd0z9s4Y for ; Mon, 24 Jun 2019 14:04:53 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 7F7B9C21F34; Mon, 24 Jun 2019 04:04:10 +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 98678C21F1C; Mon, 24 Jun 2019 04:03:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E3E40C21F1D; Mon, 24 Jun 2019 04:03:03 +0000 (UTC) Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) by lists.denx.de (Postfix) with ESMTPS id E4156C21F35 for ; Mon, 24 Jun 2019 04:02:56 +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=1561348977; x=1592884977; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kWx9FxputH15zX1EMPoEKXxyn239V0R+v+hZjvTheAA=; b=Rk9IBZCFv4jWfdw1y/hv1cGAiZPiBfWfvRNSn8QCA6N56HytL+Y+APc/ rtafTPbmnxLOI0tDpL6m98j2zHNLRXmTJi9qevn2wBvo8N6AKNfBDZvwG MF7UwHO9VjrEK0fdr5xtLdfVLsCR5gRfJdNA+t0Iw7DYLktFF8kDCOU/i GdPRR4l1gpo/4IPIh1riR85PJgiLzyJIz+8rX5MfXoRyD3ZNUfi6ejUeE md0MpX7LkQi/pkx6hXEq1ir1q0qc1FRbI9w30BXyipEA0S/b+sOHRW21N yYs36EQ66d+cLd/zXcKEUCRirrFg4vBhOXo8W77E0nbKhNwCSkj3CTcM7 A==; X-IronPort-AV: E=Sophos;i="5.63,411,1557158400"; d="scan'208";a="217715281" Received: from mail-co1nam03lp2050.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([104.47.40.50]) by ob1.hgst.iphmx.com with ESMTP; 24 Jun 2019 12:02:55 +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=BBij7qiOFV7NmqdyTmrWGq0gN/sjQGrhvonXULgRkmkJATs4CrfDoo9tHac7vd+1+vh28dg6FsB+znRGD2HRsT6H16ZZa35V31j7Vv5h3N96otSpiZUWiCPhL2K4t2VdEG0vS6teZqE8OkNcENadHQwGNcRmH7DABfyk2bRVXb0= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5725.namprd04.prod.outlook.com (20.179.22.141) 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 04:02:54 +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 04:02:54 +0000 From: Anup Patel To: Rick Chen , Bin Meng , Lukas Auer , Simon Glass Thread-Topic: [PATCH v7 3/9] clk: sifive: Sync-up DT bindings header with upstream Linux Thread-Index: AQHVKkGzoBV//SF0uUCilS57nYRekw== Date: Mon, 24 Jun 2019 04:02:54 +0000 Message-ID: <20190624040212.3726-4-anup.patel@wdc.com> References: <20190624040212.3726-1-anup.patel@wdc.com> In-Reply-To: <20190624040212.3726-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MAXPR01CA0101.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:5d::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: 58f57f4b-8996-41c7-8d0c-08d6f858d579 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:MN2PR04MB5725; x-ms-traffictypediagnostic: MN2PR04MB5725: 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)(366004)(396003)(376002)(346002)(39860400002)(189003)(199004)(36756003)(14454004)(72206003)(14444005)(256004)(316002)(7416002)(3846002)(6116002)(86362001)(110136005)(6486002)(6436002)(99286004)(2906002)(478600001)(8676002)(81156014)(50226002)(8936002)(81166006)(25786009)(305945005)(186003)(4326008)(71190400001)(71200400001)(54906003)(66066001)(446003)(66446008)(7736002)(66476007)(66556008)(64756008)(44832011)(2616005)(476003)(11346002)(5660300002)(66946007)(73956011)(486006)(1076003)(53936002)(68736007)(6512007)(52116002)(386003)(6506007)(102836004)(26005)(76176011)(2004002); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR04MB5725; 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: A5Kp/FNL2RzklonxzmzmsydheUTsP467QHjeS1uNIcpRD82CVaBSmXJ4Fsjg/zivJPuFNqZMMLc3JWYVflmFxRXNtmvLbaeALFzliZv2WMJMTlfNvRuidmeLPEInxtKeW6q/CXv+HDrzWkpIZ4dHRXoGxX9VtT5o6bxFa7CVEsrJ2US78gFq9aV/Yvm8pOCQIBiJ3YXe3ljcEhdKVTod3Iig3fyT1/QMoTbotPmRlRTNv2XL3DQlEi7VinWH/dydtURwxLGq2RfNXcAdAzY7Do5sJ0dNkZ+FJII31JDJMEJH1ousiF5mdcZsXpAgPbzY8uEd2FZZ414pA/DalliAqVaYFakd9O3ubnPQNuABNukVEn16ZCUPg66U5C9G0ylkMQiUi/tzTmuO/o80Oh/7IzfRS/YPhk9Mt5IxnZXRf0k= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f57f4b-8996-41c7-8d0c-08d6f858d579 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2019 04:02:54.4146 (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: MN2PR04MB5725 Cc: U-Boot Mailing List , Palmer Dabbelt , Joe Hershberger , Alistair Francis Subject: [U-Boot] [PATCH v7 3/9] 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 Reviewed-by: Bin Meng --- 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