From patchwork Tue Jun 18 09:18: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: 1117753 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="rSWYBamp"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="gHjXxCgh"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45SjFD51XVz9s7h for ; Tue, 18 Jun 2019 19:18:56 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 34070C21F4E; Tue, 18 Jun 2019 09:18:41 +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 3A399C21FCA; Tue, 18 Jun 2019 09:18:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3D515C21F84; Tue, 18 Jun 2019 09:18:30 +0000 (UTC) Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) by lists.denx.de (Postfix) with ESMTPS id 4D17AC21FAD for ; Tue, 18 Jun 2019 09:18:26 +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=1560849506; x=1592385506; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=kWx9FxputH15zX1EMPoEKXxyn239V0R+v+hZjvTheAA=; b=rSWYBamplIGU+rNttS4TAP1NsttybB1wDzru8aHWOD95IeFudf4iBL4m 8mi4eY2Ha0Y7hUFH4HXWPVkE3GsyPs56d3kHjCphLlK0v/sHmx9d/zm76 /qZOqtxZVDDJ0aQvflfO70rGIWX0U8UJZ6AorUC3aqr69AjTxzT5wk5PS 4RaVi7btfhciIucihCnqU/VbXzVvlp8x33Ru5PafDg36pvF/cXIlm5gUL ncoYcAg3WUO4dvna+G/0W2roc6Hqd4/e7dy5+thUNsRXtohA4T4SeYcjw 3H81ZHQVvv0jrDnRtD1bEc3hzgpEoyXWM34+tub7ikvCzY4gEds9jASIh Q==; X-IronPort-AV: E=Sophos;i="5.63,388,1557158400"; d="scan'208";a="217196737" Received: from mail-sn1nam04lp2056.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([104.47.44.56]) by ob1.hgst.iphmx.com with ESMTP; 18 Jun 2019 17:18:23 +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=gHjXxCghD4sfIPPyDdmkjB+gqWp/ZldomK+IvesWg57H38fICsSddqcH33InApjU0unp0r+pqhECcbOIrsKtO5n2CDn66nwruEV7Lk3HwnC/zqEtNFtUDnepZYMa/hM9W9Dm3i+xr5+mX3I5hHltEsTyj8MfokSY9LX7JSSB0dA= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5485.namprd04.prod.outlook.com (20.178.248.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.15; Tue, 18 Jun 2019 09:18:23 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::98ab:5e60:9c5c:4e0e]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::98ab:5e60:9c5c:4e0e%7]) with mapi id 15.20.1965.017; Tue, 18 Jun 2019 09:18:23 +0000 From: Anup Patel To: Rick Chen , Bin Meng , Lukas Auer , Simon Glass Thread-Topic: [PATCH 3/4] clk: sifive: Sync-up DT bindings header with upstream Linux Thread-Index: AQHVJbbGrpOE5w2y/0eK9jhVCs23Rg== Date: Tue, 18 Jun 2019 09:18:22 +0000 Message-ID: <20190618091743.3078-4-anup.patel@wdc.com> References: <20190618091743.3078-1-anup.patel@wdc.com> In-Reply-To: <20190618091743.3078-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR01CA0137.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:35::31) 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: 3a06606d-10f5-402a-3e15-08d6f3cde936 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:MN2PR04MB5485; x-ms-traffictypediagnostic: MN2PR04MB5485: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 007271867D x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(376002)(346002)(39860400002)(136003)(199004)(189003)(7736002)(4326008)(8936002)(1076003)(2906002)(14454004)(72206003)(68736007)(478600001)(66066001)(476003)(50226002)(44832011)(486006)(2616005)(316002)(11346002)(54906003)(110136005)(446003)(71190400001)(71200400001)(6116002)(3846002)(76176011)(52116002)(186003)(99286004)(26005)(6436002)(36756003)(102836004)(6486002)(53936002)(6512007)(81166006)(6506007)(386003)(8676002)(81156014)(14444005)(256004)(25786009)(305945005)(66446008)(64756008)(66556008)(66476007)(66946007)(86362001)(5660300002)(73956011)(2004002); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR04MB5485; H:MN2PR04MB6061.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: hyX8UCCtnhfVZP/syVFrO/OTA6spU/FVTu2YBcnwhuYDv7BWCRuqN9xVNKJOgiUEHo/3Nt4KtK+lfV9nRB9cOiswRAQdIcBOW5tFKyEgT6SSubLEymlfk6PFWRf8W2sGGIWj9CED5I+8zbUz9ptvAxTR/IA1cwxJ7vJ3/GQaU0Vd2+C5K+PBgaIreOKuyDYP2k/McsMGTipCzaAu/c/zuUxU0iZ5HnKKqNDbBV16Q18eLT0RWytCNA+QzKZnhb43qz84PCsdU9cdxqupU5xUpWQTkVpP5A0+nk1hQ6epmI8ffFPtWHrejk90j/RW5I8OZubzyMJfx5L9Yw0iF3X8nluKekEtzy+I9JGZuXRJofwPMpPTdxKEVT3c3kCUtKVOx6v38c3Ih0FacK/p3Tuvf2q87njJu/992ZWcpSLhT34= MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a06606d-10f5-402a-3e15-08d6f3cde936 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2019 09:18:22.9483 (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: MN2PR04MB5485 Cc: U-Boot Mailing List , Palmer Dabbelt Subject: [U-Boot] [PATCH 3/4] 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