From patchwork Thu Apr 15 10:50:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12205155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48217C433ED for ; Thu, 15 Apr 2021 11:03:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CF1EB611AB for ; Thu, 15 Apr 2021 11:03:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF1EB611AB Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5Jad/vcac/Ae8k4AeGGJLsuDIiTvtRQir7tHGeiUTWM=; b=P297rCRk/dv/8+K/p55UHuRNK MCaUL8FMdH9HfiJ/npp2WhIUStIoR8VWDx5ppmwYSQUttHgzgv4NI6cx8SotnlQniMYi4QcwOIt1F rTMnb3GmzGR3MPE8Ty2Qz0snKIRrpJWebt2MvIaj85KaJMO3W7ra7cjQALm7gamrAuZFLPj9HYJb5 Tm7EQ+JJQ9sTZ8PjQieNUQb/FMDp0VsF73BSAvp1atzXReUw/W4xIC8RLA6TDWiNYaBJiRq92CBz6 XmkUftJvIUiikSbIz4c0RGDZao7GCnj9HmRd0mB2cbkdfdp99Yucs6bP+1eh/oT3XqTitSzV9o3II t9G8vy5KQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWzkG-00Fqtw-UI; Thu, 15 Apr 2021 11:01:13 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzbh-00Fnz2-3g for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 10:52:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=bjCsBe3loE2RQwJMS+SaZEu+VwnUN5DQYMm85PYQGZ8=; b=g6PUrwWv34wTOTa5Ms+7Fcnu/d nB6f6uE93SrCgxEnAq4LE2A5c2SLzDhEyBAFgevt70vx/LFI3bOCI+niNfAnrpvjoX963RNze8ZQ7 On75jArqtLE/r2o2I2vnkOie+laRpCiT4aE4P5C9Q/nVaBsbLws4DmZVxeAz+QpxQdMQwiQT5cieA 3KcRr5BTO+/S7/pHGfXEiNipJW+uVKDa8eBykwMD/hcJLINMqaFiA6evgGR34emQFHlEplwCeGmDF TS437a3RGqnP2w63qz2755GnuqRXhDEHqiAukC1HfkCx4SxCchj0e10pQKa4cTM8NnDwsf7WyfIJC A/IxKzPw==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzbe-008V7I-LS for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 10:52:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1618483939; x=1650019939; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8kI0413I2spxGJDHxPyI3JVC2W8j7DJTYYAyAAjaxbY=; b=AKFbPesfWDeolyoN/jqhVTLVCMuK3h/zf2UwICmBiptQ9KyE0eBDGiT9 AAMvW11ONrXnDi7HJvlY8EjHjNvw8/pPJ7haibGtyuMp/aliRqEdDJz/p 0M/HZfs4Xe0gZTMLLb64dECqCOHy0v4H/yu1hqGfdg9YLuK19gUkWAPk0 UOX511q3v0dtxJlygHuzHVTKPslT2VQMZLWLRD7KkhuizU3ebqf9R7zxR h8N9klSINNpRZ/8+GwCdnnBXVYAOItd4+ZmXPh3eMG6oRWAqGsi8LFzHC M1mcWnvjOT4l9ITPmNCHH6LlRRy6KyVhCvuKQD3mVgSJZZ3Ut3pD5Tuow Q==; IronPort-SDR: a44e7uxWAIXuCijQXcr4wk+RNpc1CRF/wK3pKMYSVM+kP6m7vEf9rIqme7eAAfoMCQzCLCvLgo HQXbYH1lpAo0JfDT8rBl9Ot4ZbGse8LmabVLYn2vPRIsBPXrbdj1EnLHUV3HUQNqsNUntThqBy 0U7WZ3jLES5h/GeQ/8ZfYLwtXBFBmq2s6vxAQ69DTa5wrjssNscUYTrRThy3PAjYmR8KRu32zn 6XnXqao1mYvmCSi9Ra5RKA2JhL8ONgY+PV3GY7HKRrW+fXkAv/2twqUPPgHaUCR8xLgV2m7HRV DlM= X-IronPort-AV: E=Sophos;i="5.82,223,1613458800"; d="scan'208";a="116551855" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Apr 2021 03:52:19 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 15 Apr 2021 03:52:18 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Thu, 15 Apr 2021 03:52:15 -0700 From: Claudiu Beznea To: , , , , CC: , , , Claudiu Beznea Subject: [PATCH v3 21/24] ARM: at91: pm: add sama7g5's pmc Date: Thu, 15 Apr 2021 13:50:07 +0300 Message-ID: <20210415105010.569620-22-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210415105010.569620-1-claudiu.beznea@microchip.com> References: <20210415105010.569620-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_035218_730998_8349F034 X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SAMA7G5's PMC to compatible list. Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index fcb20272d65d..f4e66a7c7d18 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -897,6 +897,11 @@ static const struct pmc_info pmc_infos[] __initconst = { .mckr = 0x28, .version = AT91_PMC_V2, }, + { + .mckr = 0x28, + .version = AT91_PMC_V2, + }, + }; static const struct of_device_id atmel_pmc_ids[] __initconst = { @@ -912,6 +917,7 @@ static const struct of_device_id atmel_pmc_ids[] __initconst = { { .compatible = "atmel,sama5d4-pmc", .data = &pmc_infos[1] }, { .compatible = "atmel,sama5d2-pmc", .data = &pmc_infos[1] }, { .compatible = "microchip,sam9x60-pmc", .data = &pmc_infos[4] }, + { .compatible = "microchip,sama7g5-pmc", .data = &pmc_infos[5] }, { /* sentinel */ }, };