From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FE22C3DA49 for ; Sun, 14 Jul 2024 13:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Wwd7SINeI/1DxU+7e+Q9QSHZPJTXasD4d85bd48Sn3o=; b=lY/opg4vL8ika8vJ12mbzloAF/ MPO5qY4u/7gMmY/vI1qbXUnYM7jAnWTpzH6kUsLm7KBHNe3bVCYLKbU/n3UEIbpBT97vaAjYYWVxc /ikPr4TZkLK6yPlQSf5eX8Kxt0LKTuHM52PUUhdYkPqQa5MZDEfRwvdxaxf1U7c6+a7+EomG+RTdk cTeriueuBsdn3YdNsDAg6Ih4SL2+F4XTqOMnvVilduO13+soKHFNZYDBkKHeFhLswSr6UPvUyp53W DKIyXe36UcLKLlbGEITiRskkIckPtfXfGPWTPLMsCX1DAj0XQDSAsNNVzGD2bhcmPbVxSTLjrIEgG 7dF6fRYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSzQw-00000004X3c-0fcx; Sun, 14 Jul 2024 13:38:34 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSzQd-00000004X0D-1ZV4 for linux-arm-kernel@lists.infradead.org; Sun, 14 Jul 2024 13:38:16 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4266f344091so25294305e9.0 for ; Sun, 14 Jul 2024 06:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1720964293; x=1721569093; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wwd7SINeI/1DxU+7e+Q9QSHZPJTXasD4d85bd48Sn3o=; b=oVxJI82z0MiIhMQRhvitzTDXthxc1vyRniPTvhkMNvAv3xw5QJbUlot76isswfSDuc JZd/RkKFPrLWYRV7dwO1CswX2XjAwOnK/dZvZsLpZd3kbQ1PmNm2kp0hrFPEAiVW4pIG Q9V16zas08Ex2eCUzV8xz6s+i8Each0KG2IBYRnwKHBTsnURVWsTNNh8EWO/TRbthIdm iHRIm9a98GrV7a2Mxi5BziliL2kXDe04xRQE4VS9scp87+oXALlexafst2JAUIfk90OV AKQojwLocmxiezh6yamZ6I+h7PKCd7WO/Z0D7+gpM5jr34Avi+dYh151ZlnqoB3Wov4N qr4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720964293; x=1721569093; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wwd7SINeI/1DxU+7e+Q9QSHZPJTXasD4d85bd48Sn3o=; b=u3cvf31okFgpfddGCsK7KYeDjtF5JtWBy5T4XunOhVRjlZXE9puBUv8y8Fr/ROHLgj sHvA3KfBTijtPnTLoPrGcrmz+VfnlK3FDsKsLsYYOGyLL3livtLNLVmI+A4v/4PFoDhu qsmBqDtk69jMYVElRtVylPsNVNyPTOyCp54BV1F7T5B783HpFD7tyC0s6GbNobNawHkX 8Y+bLy2IeIVBo24UYvT1zT/MPGUYkALykvMRAOyck9rCVoBVQfAlfuRjO33LkkzIRc3b XHMcKIKTYeyshfoSc6Q/XdJfwYhW0DrOpunOeEIJdSSKd5VxLxBdgAz/VimsKq2QfKLw vIsg== X-Forwarded-Encrypted: i=1; AJvYcCVShuOM1HBmIkk7E39N0mZEgTkjj8gNiFFSnR1CUjiM0u0O4zhjVQirxVWENI0CXpM8qumPvaYlf+b0MBSHzig2spqCDfuVcMehEz5Two0NO7tSgUY= X-Gm-Message-State: AOJu0Yy8ztpbNfJ/XN+DmGB1CEQL/NX1AkVgmbWZwgOPnUwAYDehTiC7 brujmPa2OdCAFB05pP6UrQSX4tgyYRS8NtxYRX/JTe+3Ptfwxp7xiQOjyD9RLEY= X-Google-Smtp-Source: AGHT+IFwcwVEMTH7jDV4nRgsurNgTJqPOSeV5vd4ZVdWbfgJJBoThCb2ydKOegYzE35V9vdUJDJLTw== X-Received: by 2002:a05:6000:1fae:b0:367:f281:260d with SMTP id ffacd0b85a97d-367f2812aecmr9337596f8f.1.1720964293229; Sun, 14 Jul 2024 06:38:13 -0700 (PDT) Received: from [192.168.50.4] ([82.78.167.171]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3680dafbea9sm3871306f8f.82.2024.07.14.06.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Jul 2024 06:38:12 -0700 (PDT) Message-ID: Date: Sun, 14 Jul 2024 16:38:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 05/27] ARM: at91: pm: add sam9x7 SoC init config Content-Language: en-US To: Varshini Rajendran , linux@armlinux.org.uk, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240703102011.193343-1-varshini.rajendran@microchip.com> <20240703102702.195564-1-varshini.rajendran@microchip.com> From: claudiu beznea In-Reply-To: <20240703102702.195564-1-varshini.rajendran@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240714_063815_612740_DF447585 X-CRM114-Status: GOOD ( 16.62 ) 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 On 03.07.2024 13:27, Varshini Rajendran wrote: > Add SoC init config for sam9x7 family. > > Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea > --- > Changes in v5: > - Removed unnecessary header file. > - Added a space in the return type for clarity. > --- > arch/arm/mach-at91/Makefile | 1 + > arch/arm/mach-at91/sam9x7.c | 33 +++++++++++++++++++++++++++++++++ > 2 files changed, 34 insertions(+) > create mode 100644 arch/arm/mach-at91/sam9x7.c > > diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile > index 794bd12ab0a8..7d8a7bc44e65 100644 > --- a/arch/arm/mach-at91/Makefile > +++ b/arch/arm/mach-at91/Makefile > @@ -7,6 +7,7 @@ > obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o > obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o > obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o > +obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o > obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o > obj-$(CONFIG_SOC_SAMA7) += sama7.o > obj-$(CONFIG_SOC_SAMV7) += samv7.o > diff --git a/arch/arm/mach-at91/sam9x7.c b/arch/arm/mach-at91/sam9x7.c > new file mode 100644 > index 000000000000..e1ff30b5b09b > --- /dev/null > +++ b/arch/arm/mach-at91/sam9x7.c > @@ -0,0 +1,33 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Setup code for SAM9X7. > + * > + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries > + * > + * Author: Varshini Rajendran > + */ > + > +#include > +#include > + > +#include > + > +#include "generic.h" > + > +static void __init sam9x7_init(void) > +{ > + of_platform_default_populate(NULL, NULL, NULL); > + > + sam9x7_pm_init(); > +} > + > +static const char * const sam9x7_dt_board_compat[] __initconst = { > + "microchip,sam9x7", > + NULL > +}; > + > +DT_MACHINE_START(sam9x7_dt, "Microchip SAM9X7") > + /* Maintainer: Microchip */ > + .init_machine = sam9x7_init, > + .dt_compat = sam9x7_dt_board_compat, > +MACHINE_END