From patchwork Sun Jan 3 10:11:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 356138 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14223374jai; Sun, 3 Jan 2021 04:28:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKHPRXl3dcobE9yz+VsNHS7eiiSfYOWj9/U4AEyBeRU1GAeXMaDDBTIVLT2jKl+Z8oEx1k X-Received: by 2002:a17:906:e250:: with SMTP id gq16mr61466652ejb.382.1609676930495; Sun, 03 Jan 2021 04:28:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609676930; cv=pass; d=google.com; s=arc-20160816; b=Qeb3mO/8j3hN1D8mUG+CzgvLrs579wZ+utn8/nJPCTiX6zhsC33pGbr9sUl4++N4M5 QzWDMbo51X4c5Oizl9sbCdxy1K5O3pCeaRNNLYocHJxtqameMdkzkNZhDeZHsD/FqThO aYNOpdz2ZtyOznFfySqJanKGYHFfr20PVtfmMzMJa1hd61uc8Gly3vuxWQSLptpZJzqK bwBJQtE457VbX5icwfVJXJNnw8fC4qILWH7IGAlm5S2OwGU60Psaq6jpZ13r2Jsw6gm/ mL03qqXHGMY1NHwBBB+9+9hh3eVNqgMI6dmcbzEuAG/EfCuXU0QsLoX7uh8kT+z4A+Bv qRBg== 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=McL2zu1GRCHdxM4BoMnnKUeDblzaV2Rj+NoI6O1i3ToYPcd+j6X3zRphe+olTOV0ff 8ZFlFdzSHjPt5rPp6aP7aADSEbkews9o36bme+G9JeohooiotHvA0UhEvpG4UkpOKVdB Fu7a6GrpdPYQOj8l0KGzrlw1DWVKDQgRnkLkZFGv4vOb+IKYUrVtvd1DDymPUvRe04Af T0IICbIbsDv9bayN+BCI85IkpWyz9nmwvG4mILHvDcQBHyRarmPNdxgMtJ2S0DiQCxCE GllrhGa7wjK//8J62GhV3Lyjq32XGM/Dq6llT0b7k7V3tftnwvKt6H5wxVExL7uq29Jt 3aVQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=a8z4wdyb; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id eb8si8888007edb.354.2021.01.03.04.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jan 2021 04:28:50 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=a8z4wdyb; 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 85.214.62.61 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 8A98382659; Sun, 3 Jan 2021 13:28:08 +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="a8z4wdyb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ECC418241C; Sun, 3 Jan 2021 10:43:12 +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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0601.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::601]) (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 82E4180829 for ; Sun, 3 Jan 2021 10:43:10 +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=Jj/Pq8bVJLXh8SWuvZe5RALDK6LibFAc4DpFZVV/PCta9auxIbQxVcK0v4BFqBekTOJaz5j493eMRlCiEE/Us75kKk59Z1brFeEsYNmLK52GxrJQqYTAtemmgXsV46RLPxiW0oJbLMJTbtyt4+66w+pItLgOUpFjO/vvdgrlV8yC9g8cRGnh2znpIR0T/mSRo+tn7ZGfnNKJPVbouxx+wBgaJuz2ak6VaorujZin/PiIRTLJT58tLGtBWwyg8aksH+25S05vn07MjuNoOXEsgKkGqNGAmnUFKKafeDrjkNeCqihjmvBUCoZIxpDTowG2Cz2WzDXLW84jnWRheOgGYA== 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=G/37fPgyn8BM1dDH46Gtm/cXVYmne53lPfchCcm+jBE8Fdn+m46UZC+YaJV8N1Q1mF1cHSTNW0rVCzo74h/dYJHLdnLYZEbO9baU3NZmXLxI2VV8Akt6nQhfBxal6bBmuT/TnPj1jGC1VYMmm/EqdoM0jvjUGJpLR61DJjrPOrds1dgVmxRaCCu2hEUM5Fq8BJsRoKJs9LvNvyJbN4zjWzFjIRPOTjDZFGgytz5wnQHA3heVhh0S9XyAH+WGtPUs3EyPiqHWjcTTJeLI8ewz0sJv+YIaNjjI7NsUM6BHV0vMurZbfKOkIP/m1i6B6XQL0VzzZSw08eBI7Tf/GbsGaw== 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=a8z4wdybOzBdWxQVrXocYDLIdFGOZnkoHHaxXXlZsiQZaX8eAcTEOezapAO0/bK0ig0jP2eSKo4kfYrc4mLmoot1AaHZOpcmL+qcsfRWxmyQsQvAkmq2oTerERzD9XhSze0pozGJQDCZxKwoqmI7/5q6WkV8hzPFpFj5OMBRUzw= 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 DB7PR04MB4636.eurprd04.prod.outlook.com (2603:10a6:5:2e::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Sun, 3 Jan 2021 09:43:08 +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.3721.024; Sun, 3 Jan 2021 09:43:08 +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 V2 07/12] imx8m: clock: add type of set_clk_eqos Date: Sun, 3 Jan 2021 18:11:39 +0800 Message-Id: <20210103101144.4375-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210103101144.4375-1-peng.fan@oss.nxp.com> References: <20210103101144.4375-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::21) 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 SG2P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.0 via Frontend Transport; Sun, 3 Jan 2021 09:43:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 15dc26d2-2860-4bf2-9ca7-08d8afcbfa66 X-MS-TrafficTypeDiagnostic: DB7PR04MB4636: 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: Lyo6V67HHqEg7PuT7l2Nj6+d2jDUOglzRsTwqcVB6zzK1nHoXIl1aMsKL+fbGR+GCY/2vzaltUBXpmcACMa2CRNlhEgPBBRd4Xxk0iZ9hwBy9eW16QQ7bsUDzguXkG3bXbA/DnXiV042KXlufL0pfQXjRijRdv/WsjEE2amwTjZhgKcKjGKe5xS3nj1WAA3hSFKL1cACIgVthtz/fRAGVo2IDiQ0cRpyWbdkv0iFwK6OqXbxXhTFnstX+JLWDB2S8p1tIIBoQrZnhySFtYoA5JnPQqVPl4xgiWdhlexbdNWaW9vfUUA/tkQACVCYCvh77Gbe4rxE3YqEe5dz9iA9OqPVl4x9B9lNf45soYu+R3RnW4iWnsDDfEQuYwLYUckW8fK/7tZwnB6VKIaC+uxFF+sTrQmyfVu1CNzec7Os0YjsZ0xYmOaZWu1wvd9txwnu 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)(366004)(346002)(39850400004)(376002)(136003)(396003)(186003)(26005)(4326008)(66476007)(16526019)(66556008)(6486002)(6512007)(6506007)(4744005)(5660300002)(1076003)(2906002)(6666004)(8936002)(8676002)(478600001)(66946007)(316002)(52116002)(2616005)(86362001)(83380400001)(956004)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: +vh9Pt5Jo9nS/NJ0mAc76KluYA3PdIB4grcOcu5Hm4kYKoXZaSz97u2R+W9D4JfRzD3qqxwEu1tdz/EReRVghMio8yjH/UaB3wDE/+XhiqkxzhciVkqEkTwf0uqZGZh4LviWgZWPSTyGrCOnuj7ka7Gb4XH93QABxDscNwSO1nfrYOcunDKys9yDyvp7hyJMGbXu9czaX5yfDRPQrxDEMqSRlx3e0KQweQGUvB15StAhI7/HhRAKNwGYE/sn2ZXjzLCqfoDLvkknTEbZ4yvLl+138aj4Ftv+6PilRlU8yt5GnLKb0bW5VKetORu2Gf2OQeWURMbxCtPPB0AERWIOsods2uMHT6BHJibvyOnhAPHS/zHlCvp2jer07j3S9ntD3kEHrrE6cAinl3wh8UYbu0anurNJBWmgtjwcRobj1NsVJW18IIqmnbsFovDWwcfcbCaHrB6pQYpchFqDwfF4xG+rnStf5XawV4AKApLkVlD7JhPOPa5e3DxR3i+77NLXxbAYOQKUflrR+Z31e0NKnpV4XFtAP33nx0cGM1inOwceoTZEfwizNHxKqFM3mO9VGm70IOQylj4QYKHOS/YbtAsFNVMQdvTFwjrOmtYyNALVF2JBYcpeOIIEYn8Pm97hjN+SVARtUNu3JRl4Ut/DwTbtAcHuG+dC3StyKpfCXxuO0PSa4kohvnKVJZBrCbDfU77KdqESeKa+yun/dSUlTvHq3GjNsyFCuBigtPz22wmjn1wCZF4TA1UMCdbYnHIKi7m+m8Ho+zz0rw2sE6cRj+QXZGaJSjjzO/z6kaecfM4OQUJiKjW2Q7/z04hh0uy5LoYAeSq3Q0fhzbKwoPyt7rtK/JGdKAv/4ycp6egbb+11F1yno5aFT0NO44aUUQqughllsGmt3XR2Wp4E8c04iFtfuQnm9CKyeaSaNBZc7ee9/vaQc1KhnEMTDtykN4nxMLXlvDgO8LbLJ3tjB6MECDFmb5R1j3boz2iN9l2hrLJlL5YlCyWMIKMJowbnrq3S X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2021 09:43:08.6126 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 15dc26d2-2860-4bf2-9ca7-08d8afcbfa66 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uNpfejE2sKHbEIUGclJOrDGxkL4inXTSXZqFQTrT5tJLSQuJPRjOAHR3RiCoLqWKHGGxYDV4MaeXuwjTuojmCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4636 X-Mailman-Approved-At: Sun, 03 Jan 2021 13:27:56 +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);