Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp401757ybh; Wed, 15 Jul 2020 05:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBA0Vy4/wejIJFzmy7My+sIv8uOar46aiCEV+gWEagPq/tPKyl4cTWl9Ig3WivOWqWF7pZ X-Received: by 2002:a17:906:86d4:: with SMTP id j20mr9527849ejy.68.1594815056485; Wed, 15 Jul 2020 05:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594815056; cv=none; d=google.com; s=arc-20160816; b=TJXGcUk9SRzP7Z4B3TQA6NiWDyzbRlvrYUO0wNJQ6+26TfEYAAcYm2zplCWKYQ8e4b wJxWc65OUM3N/iwksM8qrJxoSPNJmvCJXvoucAhzdlpSpWvJglSfRmjXgtdY5nbsHnoC hIpGGAoN8m+eg8zLmZfycBc5ruhNCY7E9vCzhYQZekFpWaR8WD3S6PpyuRTHannqgX5X 4p7b9jQ70SKnHs2AKz2zpDU04rFPTKz5uqGyCVnXsyLkm6gcTRV+2rCXRrFtUuiR98yL 89cs7i5GvvbgEZUGaLBWFt/v/w9SQ4GQqxIA/OWhZsgoGNqH8LCsXKTgxIl3DQmg4q25 jrog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=gBYEcVJu7ZtRGwiZCR5mKneScgVtUenB7Cuye5gr8K0=; b=DbGbm1/rtHC541Iffa5uLvOUbA+jOHgZKtun+36xe6iIEQgsrxzaW/aSPrwO8sfgBL 7y8Pw0l5MacdXLeJe8S9+HOpZyOvj0Iw6XiYiRfwOdYwScWK3PMwkE08ML/XY3Ym/o5H ou8YRk2xsGIx4pxopTakMMQ7G2s3MOaRAqgP4t31y8Tz+BQgK5TvK2TFAM65X189ccIx 6jeTyjVFdSQltK8jqHenEgWHA25P3y7AuM0aHW3fQMkCBckbmtHpVK2FsoLUZ5XJ0o2e jXFbfd3DOmZWoV38zH1zWRCMCrvPMEgQll/v0VS5h/Tnzlya7FwLFUJlQQBvU6SxQpUi q/0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=FKRycT0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si1024283ejb.713.2020.07.15.05.10.33; Wed, 15 Jul 2020 05:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=FKRycT0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730317AbgGOLZl (ORCPT + 99 others); Wed, 15 Jul 2020 07:25:41 -0400 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:21114 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730259AbgGOLZk (ORCPT ); Wed, 15 Jul 2020 07:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1594812339; x=1626348339; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=qmtse3ezZBDbL3lav7ENe4KS00OrB/uSxDu7u4s5/FQ=; b=FKRycT0qHcP5dPFZMr88DFMQMfdRaq9IE7KuP3TVaLz/j4lWGsivwmIY i3c9pwli6+HcAxwVIEH2Yauple3Yy8OIs3H36IU4EXVZ2JAbjkGKHgQuh dSiCYK1PdxieTX2y9UhpYYic8WB1eDjO0l8ZpAy3ekZT6FM1FBlBzT8tx PeFW3XszphItooEu2Vo67EdYi9cQo0uVhWirqbSIaBaVbWEXz7/CHHu3v 5JDC1TLcm0UhiIk4Oa9MFycrITe3JST/ZlzBKWKnnsrRZtNrG4+pGLnmw VUsNBAXPQmlsUQp+QZ/RnxfnVwA5oHla9VF5dMj8FziLgkECaXLtmjzqF g==; IronPort-SDR: EQwujtVKrhhOhBjpKG1nVKcbLZ2qESYQlnGwFARM9NouhC6OjDJZlV0pRHVceRkyf2m4436ZX5 2q8bRdMraKf0ZFlSFzwDOrKFWsOb749pfPQA68suyvR6ajrlHvVaOJlHOFgZnQkKkazZ1AydzZ 339mcQgjYAXbKi44MLdJWxUHmH+/NqYnkD0NvMR3YiSibY8rC1fJECuqywFK6EL7N+SpHTsN4s HQriu4Ms6uhOku5S1LqU2AAiI4c08lsYWi13vl00MNn1Uezy7ai1JLJeK1ganhRLj4L4CYEn4I iMs= X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="19269536" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jul 2020 04:25:39 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 15 Jul 2020 04:25:38 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Wed, 15 Jul 2020 04:25:03 -0700 From: Claudiu Beznea To: , , , , CC: , , , , "Claudiu Beznea" Subject: [PATCH 16/19] clk: at91: add macro for pll ids mask Date: Wed, 15 Jul 2020 14:24:24 +0300 Message-ID: <1594812267-6697-17-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> References: <1594812267-6697-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add macro for PLL IDs mask. Signed-off-by: Claudiu Beznea --- include/linux/clk/at91_pmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h index 77d6dabc4c3c..dc5e85f124e0 100644 --- a/include/linux/clk/at91_pmc.h +++ b/include/linux/clk/at91_pmc.h @@ -59,6 +59,7 @@ #define AT91_PMC_PLL_UPDT 0x1C /* PMC PLL update register [for SAM9X60] */ #define AT91_PMC_PLL_UPDT_UPDATE (1 << 8) /* Update PLL settings */ #define AT91_PMC_PLL_UPDT_ID (1 << 0) /* PLL ID */ +#define AT91_PMC_PLL_UPDT_ID_MSK (0xf) /* PLL ID mask */ #define AT91_PMC_PLL_UPDT_STUPTIM (0xff << 16) /* Startup time */ #define AT91_CKGR_MOR 0x20 /* Main Oscillator Register [not on SAM9RL] */ -- 2.7.4