From patchwork Mon Dec 28 12:17:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 352633 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9746295jai; Mon, 28 Dec 2020 05:28:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQzvbaPTBGTGUA52eFyyUf2X/f5YK3MqXsoCtbuLRfK/PExwGIqj9Nj9j6Xc6Fy7GBHfr5 X-Received: by 2002:a17:906:af75:: with SMTP id os21mr42195606ejb.330.1609162104408; Mon, 28 Dec 2020 05:28:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609162104; cv=pass; d=google.com; s=arc-20160816; b=sy/TgKtDXX5kXJiF3oBOuQE9Jp5RIObda5sWaMO0ipRZ0uYVOaS2AJfN9a9Xz9KBdd XjNp5kraoYaEtmXczX4+1KgoO3Y1hHyFyhoiTw06KL0zONoQ5QW/sJr3kXTIw5rKZOAE kjwJMkArLpibqPoYb/NrkvmLlJmHgK8Q46FixYyReq0ASS/v1cGyqJinUyHbp8KZhsov yNG/vGLVhk66Tzi4LvTRcB8o2jnkwK77jq4/zP/fB4ZpOxiLCBUxpO6zrLfClb1UBIPV WmpKfiPDj9uq/99V8aT6eSEFZXhM0i/d+KSW94ZsmugCRSK4XGmLxE5sFkm/hpGCQlRp 4SXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=eepz34zdKx6Fg+EFZob3P+he7s32SDmGdkYPb+Q1baA=; b=od0sTNz+QqsI1IPIZMWMSkPb6Vo6Z6/cNpuAUHqIGVWthoY2e0yrmSollWC2//0JfE ygu3A0+aSmo8yFHX6ZemZnoxFXr9V+aPWaYQ1fkp8Uo3irTXheOx56XLGO93A00wGoMO lTPNsA0tPxwahC6thy38NlCTtdn5d8JLtINwck7PQAR7l1MN59l6GC3nCPBcP4E9OyD2 bCmyC2VvVARH4ngRtZlEXxajUp0kC+8oTRQPpgtu2YUC30GWYFiBviYXMSFqJxwippRO deQWlifEFZPWs3vf9uIjeKLKs3E2j6h8iGrrVGkcFtwqAi7EHGh7LHMWH+9qdpPriGnb qngg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=CuPNJ3Z7; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a21si20611829eda.110.2020.12.28.05.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 05:28:24 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=CuPNJ3Z7; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A2C7882603; Mon, 28 Dec 2020 14:26:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="CuPNJ3Z7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CFB288232D; Mon, 28 Dec 2020 12:48:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20606.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::606]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1026E8232D for ; Mon, 28 Dec 2020 12:48:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JeGVgpPdqWTD5fgN6omkGTJLEqCEfXwFeOXI5Gi+EPtyKq70n67AXXc6HZeB3oRaWIYlWdjp1AeY12alrjj5kSuPpSuUzRZGmz4B6AJPfo/Syo5ySD4GYiyUELTd9VZ0Ixqa8MNDoLtVrFhoWTxKj4UeOvgOvRtdV4wkB/2b9Hyv+npYUcrwDaWDkjKxkOqwrV0Bxo0gUQQRQCXrXa4AZfmAJfGlQzYLyEPGi7bdcpiX3Jg/3gUVDpQMUyP8PrpQJu7y3BYzK8S4gOIBPszQKuj/ji7MYz/WlypuxLbNpAZsx55HPRCrTkt/b4rR0efInC3ddfMj3ta3fsRjjTHsFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eepz34zdKx6Fg+EFZob3P+he7s32SDmGdkYPb+Q1baA=; b=HpD1X790EyEafWZvSH2CJC8N1DlC3iUKYkYBlcUjb1E4/Hp+SrSSJFYDbwOHFqiX1bcOi7bVtcr8J2gPBNV0NQLkz7lVf52pbDfEhWl5KNq9dabByxSO2eHruoaIEQ6xgVWrSg6JEa9/q2lT1B46++SIGMtrpa2hTX94Sc0lNdVJ48S0q1rwAgv1i6ixkAQSWbKYGSMfMh1+tzr+tDdxQHNGfuXopGHXA98CDOH4/h04II/nX8ORmzi/CQ7hRUhRXc4B+vy2EquFN6N1jihOlonb3eQUKk8rzhpalU+TP6NsQ+CHr8Ems1O9NzUNlMR+m4JXEo5sMPUEhmyZGNUmnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eepz34zdKx6Fg+EFZob3P+he7s32SDmGdkYPb+Q1baA=; b=CuPNJ3Z7CTp9aRQkBSwWpogGfdICMkmuA8FGwv9RWhlnU/TvFJbWVK8NXqfv/BijM45+fyxHGy/4LhI4a6QuTbWZ3KyYkIW1VmzgZo8PObltSwZaRAtMYKstHaNMqhk7TSIzUwZWwcsQeX0crt26c/uJIjjDvFiwqg5ukq08g5I= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB4233.eurprd04.prod.outlook.com (2603:10a6:5:25::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.29; Mon, 28 Dec 2020 11:48:46 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 11:48:46 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 08/13] imx8m: clock: add type of set_clk_eqos Date: Mon, 28 Dec 2020 20:17:05 +0800 Message-Id: <20201228121710.17235-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201228121710.17235-1-peng.fan@oss.nxp.com> References: <20201228121710.17235-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Mon, 28 Dec 2020 11:48:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6e18fe82-7a33-4e74-17ac-08d8ab2688fe X-MS-TrafficTypeDiagnostic: DB7PR04MB4233: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zq42fwl/OcvV3+tKZiNui+YU572WQcVnyPihe1xVUsivfEqRg8ffBf9zj3yw/r64rcVy7xuDe3AoAC41SFEnRMkYiIwq+PNx6HvB8qccFH5KC6W4WPk9rrHhgnJ3YFrgq1CSZ5ihvfOaYAGSsrm/jn8aU7k1l0tEjXMPIPX8lUWw0w7frbfCoHItNm0/uzPxc0adFYbp6o5Av8+Url8r6QVn0z9UOa9RepPUaGYMMS63eGbL5x2DLppK4zY2VLwTSzbP8p8dga3KJU5ATtDDx6vzITqRDziqGKo4gaNtYahkCv7WkVRJKXGhL1AadZLivclCyuDUE6cENMZsbdhoLtXJj8wDYCD8cIpzYhUaQncvZbJQVd3fCFz+IbZMJ4BDGlbZoAId98uNJ0WSyr4nphJFLziJKKFyzkYfCkefnUwdPuEt9/OKfY9jMo8ebqFH X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(136003)(366004)(39860400002)(376002)(83380400001)(6486002)(8676002)(186003)(16526019)(316002)(4744005)(2906002)(2616005)(956004)(26005)(66476007)(6666004)(478600001)(8936002)(5660300002)(66946007)(52116002)(1076003)(6506007)(66556008)(4326008)(86362001)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Xn/WpI1mvgxeUpnRinDcs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.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2020 11:48:46.8115 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 6e18fe82-7a33-4e74-17ac-08d8ab2688fe X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Y+hI5WsZqxABzbzSjrAyP2R+Ef8hggQ7C3oEctgO7OrQ/AEyUtCDtGE9ox5MIyC0C8k6e7vX6xTTNCn9xMWQLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4233 X-Mailman-Approved-At: Mon, 28 Dec 2020 14:26:27 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Add type of set_clk_eqos to make it could be used by other files. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/clock.h | 1 + 1 file changed, 1 insertion(+) -- 2.28.0 diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h index 87cc4d3b2b..c545eb82b6 100644 --- a/arch/arm/include/asm/arch-imx8m/clock.h +++ b/arch/arm/include/asm/arch-imx8m/clock.h @@ -274,3 +274,4 @@ int set_clk_qspi(void); void enable_ocotp_clk(unsigned char enable); int enable_i2c_clk(unsigned char enable, unsigned int i2c_num); int set_clk_enet(enum enet_freq type); +int set_clk_eqos(enum enet_freq type);