From patchwork Fri Nov 29 13:51:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 11267113 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 698B2112B for ; Fri, 29 Nov 2019 13:52:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 42A5B217BC for ; Fri, 29 Nov 2019 13:52:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kFQlw4dT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42A5B217BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HzS+I7fm9JK0r+yAW//E5ZsXRJ/Y/KgaDDHyZB1zaTw=; b=kFQlw4dTYnSavp a/Aho4g6/TR9k5HpamOkM98LSVmQYGImolJHW9amEbHnOKla8hduLgVVTTxAQQCB6c/CsTJsnzkkU 12VaEyYn2YBOhOLV/BmuVmjchMatLtHwpOttv6VZMFYxB7WbJXJOs5Mv+LNM/E2ElJtzxu59Hk/kW U5au1X7e2geORbor4fEyCSIASLn15HMu0jGnCltI/QFjG5u3maZlpHbw5PZeoFqsb5ZvooKGm/yfx J44J0fjTBcxUmtkrAugrmakMB6HzaIwWXAoQVtL3FBbZ/gQ5VL2UXeZR+mPfRmdpSPESzAZcB5F/0 Na763Zun/j6NePllAh3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iaggj-0005SX-T9; Fri, 29 Nov 2019 13:52:01 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iaggg-0005Ro-Mj for linux-arm-kernel@lists.infradead.org; Fri, 29 Nov 2019 13:52:01 +0000 Received-SPF: Pass (esa5.microchip.iphmx.com: domain of Claudiu.Beznea@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="Claudiu.Beznea@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com -exists:%{i}.spf.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa5.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa5.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=Claudiu.Beznea@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: h5SHTUUGrFynw3OqVDljNloPVDJf/ril5qn86YWzvZhV88T2PkE3APvVIe3R3c8x5aSbdTnqrU mgjnM1YxoiD4WNtamkfpsRja3cx4qIe/4dimTNcD1gGX5QDi8VoWWAExUdbR23GM5rZPA8Xb2d f78itzV5tPXN8cjFiYPEE1b9kTgzLMGjcUZqjln4NVaEdYcB1yC7CupdrUKUCZtyvjPN6FmEaC zVHqk4tt7U+kWJDsG7CVfiXUaF5mWJ1L2iBcY1jT1jKDZJrNNpUJ2jam+VkJJugINPjsflkr1W 7Os= X-IronPort-AV: E=Sophos;i="5.69,257,1571727600"; d="scan'208";a="57287972" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 29 Nov 2019 06:51:53 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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.1713.5; Fri, 29 Nov 2019 06:51:53 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.85.251) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 29 Nov 2019 06:51:50 -0700 From: Claudiu Beznea To: , , , , Subject: [PATCH v3 0/9] SoC and defconfig support for SAM9X60 Date: Fri, 29 Nov 2019 15:51:36 +0200 Message-ID: <1575035505-6310-1-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191129_055158_747566_3D035B26 X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.150.166 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Claudiu Beznea , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, This series enables proper support for SAM9X60 in Kconfig and defconfig. Thank you, Claudiu Beznea Changes in v3: - move patch "ARM: at91: Kconfig: add config flag for SAM9X60 SoC" before the patches that uses CONFIG_SOC_SAM9X60 - sqash defconfig patches (except the savedefconfig one) Changes in v2: - cahnged cover letter title; previously it was: "add defconfig support for SAM9X60" - have new entry in arch/arm/mach-at91/Kconfig for SOC_SAM9X60 independent of SOC_AT91SAM9 to be able to select only necessary config flags for SAM9X60 (patches 02/17, 03/17) - select POWER_RESET_AT91_RESET and POWER_RESET_AT91_SAMA5D2_SHDWC as for SAMA5D2 (patches 04/17, 05/17) - select DEBUG_AT91_RM9200_DBGU (patch 06/17) - shaped a bit the patches titles and commit desciptions for defconfig patches (patches 09-17/17) Claudiu Beznea (9): ARM: at91: Kconfig: add sam9x60 pll config flag ARM: at91: Kconfig: add config flag for SAM9X60 SoC ARM: at91: pm: move SAM9X60's PM under its own SoC config flag drivers: soc: atmel: move sam9x60 under its own config flag power: reset: Kconfig: select POWER_RESET_AT91_RESET for sam9x60 drivers: soc: atmel: select POWER_RESET_AT91_SAMA5D2_SHDWC for sam9x60 ARM: debug-ll: select DEBUG_AT91_RM9200_DBGU for sam9x60 ARM: at91/defconfig: use savedefconfig ARM: at91/defconfig: enable config flags for sam9x60 SoC arch/arm/Kconfig.debug | 6 ++--- arch/arm/configs/at91_dt_defconfig | 55 ++++++++++++++++++-------------------- arch/arm/mach-at91/Kconfig | 24 +++++++++++++++-- arch/arm/mach-at91/Makefile | 1 + arch/arm/mach-at91/at91sam9.c | 18 ------------- arch/arm/mach-at91/pm.c | 2 +- arch/arm/mach-at91/sam9x60.c | 34 +++++++++++++++++++++++ drivers/power/reset/Kconfig | 4 +-- drivers/soc/atmel/soc.c | 5 ++-- 9 files changed, 92 insertions(+), 57 deletions(-) create mode 100644 arch/arm/mach-at91/sam9x60.c