From patchwork Wed Oct 26 12:41:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020528 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 36199FA373E for ; Wed, 26 Oct 2022 12:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=2IYSNP8ZdkrewFDZJ8CYSQqSTxy4LQksc8XHZjrMqpg=; b=fEsd6JzfMnWv6z TIG2itvSHHKLGcqfg1Ra59qMU8IPfFoKb/1TkFMwuEehW3ELs2KNKcqD5mo01BrNoPbnufjHC33Zk u1fa1yjftIBcU13MlYqpjtf11YvWDeyZywbuuOpi3Vm6ZYI+kCbF26tGJimBVd2Qlci+ELzVVgJv1 SVObZ8dOT0RrmvuguW05k8rkJnrokv2VQ1v1PpEORheB/7YIGIHM7eMriUchKKU8O2RtwFphJZn9r eEljZHr3o35UFf7lEXvs33P5cc0IrvN6etLhHQ59Uj9zvXWCVP8yzyE8r3CkAteqrhTKIKD2YJAGG laUqz/kfRks+Yndr0E7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgv-009CNe-6q; Wed, 26 Oct 2022 12:39:29 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgc-009CEb-FC for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787951; x=1698323951; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Et6DbHOQfQvVXSeGo8MZr/RFIzGdENddbRTKj1v4eH8=; b=jFnoLK3acHzefFUeyMoGqICBitPXHGDRwwb1oH/mVJQrH3Nnd7qWmxcD ph5wStAuQmewr0Y1Aw03LjRPC9CHUeCj2HcaQRJ4/xPgQlmZ8q1cyiXMm SABnj5HvzMfbgDYgj4Z5tTBamY2YSzcHbfGn0Y7WwXbNHCbw9xPQH5X2c Oc0MP5axxbRhyfl+kKXpIupFFet/NRo8oOJ2iUh4MoekOQNlt37NPail/ QT9GVfsRLxdZ1JxAcVyKglJU57Bb8+3eyGEJ4/Qu6I2oDLdDv6DNiVanj ouEg8EdiYZQYvG3VMF/SHF9c/dy6e6f/dKT6hax4hAvm9WuitYRaYE9x/ w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="186355796" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:06 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:05 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:03 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 01/11] ARM: at91: pm: avoid soft resetting AC DLL Date: Wed, 26 Oct 2022 15:41:04 +0300 Message-ID: <20221026124114.985876-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053910_593283_A9C4354A X-CRM114-Status: GOOD ( 11.24 ) 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 Do not soft reset AC DLL as controller is buggy and this operation my introduce glitches in the controller leading to undefined behavior. Fixes: f0bbf17958e8 ("ARM: at91: pm: add self-refresh support for sama7g5") Depends-on: a02875c4cbd6 ("ARM: at91: pm: fix self-refresh for sama7g5") Signed-off-by: Claudiu Beznea --- arch/arm/mach-at91/pm_suspend.S | 7 ++++++- include/soc/at91/sama7-ddr.h | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S index ffed4d949042..e4904faf1753 100644 --- a/arch/arm/mach-at91/pm_suspend.S +++ b/arch/arm/mach-at91/pm_suspend.S @@ -169,10 +169,15 @@ sr_ena_2: cmp tmp1, #UDDRC_STAT_SELFREF_TYPE_SW bne sr_ena_2 - /* Put DDR PHY's DLL in bypass mode for non-backup modes. */ + /* Disable DX DLLs for non-backup modes. */ cmp r7, #AT91_PM_BACKUP beq sr_ena_3 + /* Do not soft reset the AC DLL. */ + ldr tmp1, [r3, DDR3PHY_ACDLLCR] + bic tmp1, tmp1, DDR3PHY_ACDLLCR_DLLSRST + str tmp1, [r3, DDR3PHY_ACDLLCR] + /* Disable DX DLLs. */ ldr tmp1, [r3, #DDR3PHY_DX0DLLCR] orr tmp1, tmp1, #DDR3PHY_DXDLLCR_DLLDIS diff --git a/include/soc/at91/sama7-ddr.h b/include/soc/at91/sama7-ddr.h index 6ce3bd22f6c6..5ad7ac2e3a7c 100644 --- a/include/soc/at91/sama7-ddr.h +++ b/include/soc/at91/sama7-ddr.h @@ -26,7 +26,10 @@ #define DDR3PHY_PGSR (0x0C) /* DDR3PHY PHY General Status Register */ #define DDR3PHY_PGSR_IDONE (1 << 0) /* Initialization Done */ -#define DDR3PHY_ACIOCR (0x24) /* DDR3PHY AC I/O Configuration Register */ +#define DDR3PHY_ACDLLCR (0x14) /* DDR3PHY AC DLL Control Register */ +#define DDR3PHY_ACDLLCR_DLLSRST (1 << 30) /* DLL Soft Reset */ + +#define DDR3PHY_ACIOCR (0x24) /* DDR3PHY AC I/O Configuration Register */ #define DDR3PHY_ACIOCR_CSPDD_CS0 (1 << 18) /* CS#[0] Power Down Driver */ #define DDR3PHY_ACIOCR_CKPDD_CK0 (1 << 8) /* CK[0] Power Down Driver */ #define DDR3PHY_ACIORC_ACPDD (1 << 3) /* AC Power Down Driver */ From patchwork Wed Oct 26 12:41:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020526 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 A3C0CC38A2D for ; Wed, 26 Oct 2022 12:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=Qgn72f+UclQ3tg9ISmxY42ja259Rj2lJl0a2F355rXk=; b=Paw0sROBVAIHwb 50STwngtfdS4QLKvhCQktFSwbbKEloTeOW9Qg+rJyToQ8kOcCQN8xHZqEq3pkfnQV6Ns6tMFNFR07 mCOnJHwxdwuzxg3oLqmRoeRYqh2L1sZ+JRaJEhbyVzXv3gqRNcyy3W/aDHMXB12pTYf2AHBKA/Ejp 0S9YlndZkUNEpu9j6P9NVm8p44U6SRpATD4jul1Agej6oPmxTWb23MEaTxj1hflrT3mg5pd5ELqAs zZhw14EpAUWODVYSgP5RlB+EGYFXjwqBP9riM/KZc3K+v/r+CJ5S3wsBwIHX+xZhmOrXmvOHW67RL DUwDKDXMEZ350tK/dDhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgk-009CIK-BB; Wed, 26 Oct 2022 12:39:18 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgc-009CEr-AF for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787950; x=1698323950; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bisr1L61KhLBriG5s6EIXVlEsBRRUoDJM4tZkzJXrUM=; b=D9eQEvNaYK5ODXudQHsuFWbxcdBc+4Qf6fRVVENpBpmnBXV1G8XSHwFz yfB4lbPrpuxM1t6Sz6oLPGiZvSUi823yxhnyJxkLGolUqPY0F46EItgum jDats/OGOvCA6BLHk+EiXViJwjE/lI9FaZdkwo15YLwbornAuA3TfGuVL alqMQv6TcKxqaMI9FDs8zJWtZjN57++tzbGVNvp/tZPZUpY5F0jufVsD9 uzprPt2INPMkkGqu/UYiMvZsDA/r1ndDOMdJxZLxrjm3W80yShRS5gjqD iDkmkZOngG68f/0n1P91lyYjBmmh68/fq8NG69qSE/00QC4ZmyBjuI9dz w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="186447241" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:08 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:08 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:05 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 02/11] ARM: dts: at91: sama7g5: add otpc node Date: Wed, 26 Oct 2022 15:41:05 +0300 Message-ID: <20221026124114.985876-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053910_391727_CFB78873 X-CRM114-Status: UNSURE ( 8.78 ) 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 OTPC node along with temperature calibration cell. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index 7bd8ae8e8d38..ccba1ba5336d 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -15,6 +15,7 @@ #include #include #include +#include / { model = "Microchip SAMA7G5 family SoC"; @@ -888,6 +889,17 @@ ddr3phy: ddr3phy@e3804000 { reg = <0xe3804000 0x1000>; }; + otpc: otpc@e8c00000 { + compatible = "microchip,sama7g5-otpc", "syscon"; + reg = <0xe8c00000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + temperature_calib: calib@1 { + reg = ; + }; + }; + gic: interrupt-controller@e8c11000 { compatible = "arm,cortex-a7-gic"; #interrupt-cells = <3>; From patchwork Wed Oct 26 12:41:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020527 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 787FEC38A2D for ; Wed, 26 Oct 2022 12:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=HDkBZPy5qvBL+y84u+2KqLeEVhsbvb5zQ5FWqYCj57Q=; b=P6ymkI8hLWJNdr 66Cnze829ONuaCNFSQ3CWG8kPdfPOZDdZ9B6JsuDX7dUjCDJF/YjXTu3KJ9sMWWiO2emhFJe97xDc PA7dI74J7kbGQ/P83/1Au/Ahk5bvnffMK4rm3mQ5SA94afaXZBY2OKvTJBcF36BhcBthY6aGWmDfH gOi27fWs/ixqLoU9IfjObmnPIfzaW7TIF6XZxVqm1cJiMTscyzvVktLYvkfGZb/0GtrUvlk3Bg5lb kZQ44KUohd0wL2ScJlVJUz+JzTPYy6SNeJ4pcVdqGKnho8TVBjRQKNdTogJBNM9n4GumoCeDJq0jH /vUGCK/EGOvQtuPb2enA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfh6-009CSl-4x; Wed, 26 Oct 2022 12:39:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgi-009CHm-I2 for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787957; x=1698323957; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7Q2KAd71fow7wlc7aycbUt81QTVPZDQM+BUBUDvA8iY=; b=e+pggKeg2AHp8WtTu+g8p8yblKXaig0LT948JhATvUT2VVaGDLYGsV4p ola7KAdEBkK7mIcBpWtHEs7X0IhHd90/qxZ9JAckIXjBmj7GWL0gbrB7p tQvzjrd4aBgmUOvdH4EdcylKJyUr/HlE0oBw+R9UNgZZYPwYqKxz8IUk3 HCB6zIIWgjvXGgBfmdWnxQ96q3x6k7oDvAcucsp2GHuFVQdJlzGiKxhU8 JKxB8HqOzXURKkicBHwBFNFPrqSUR+vtqX/rRtUrHha293JbCF4Sy+RZg IS97lywmXVO1MIbPY4SccFEmwcIVqEwNmoJZgqrml5hEeLfn4EjfljzmC Q==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="180590354" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:13 -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.2507.12; Wed, 26 Oct 2022 05:39:10 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:08 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 03/11] ARM: dts: at91: sama7g5: add io-channel-cells to adc node Date: Wed, 26 Oct 2022 15:41:06 +0300 Message-ID: <20221026124114.985876-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053916_680368_1B38FAC1 X-CRM114-Status: UNSURE ( 7.90 ) 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 io-channel-cell to ADC node. It is necessary for DT users of ADC. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index ccba1ba5336d..1599b911c97e 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -421,6 +421,7 @@ adc: adc@e1000000 { atmel,min-sample-rate-hz = <200000>; atmel,max-sample-rate-hz = <20000000>; atmel,startup-time-ms = <4>; + #io-channel-cells = <1>; status = "disabled"; }; From patchwork Wed Oct 26 12:41:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020529 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 290EBC38A2D for ; Wed, 26 Oct 2022 12:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=BU+CXQdSo/CpwWcFq3KyItgecfjP7mGeTYhpsH1LQ3s=; b=3gNFeitNlLsKo7 YYa+DBFz34wVpwug1nxbYVVUfIbzeNIVxolWAMc36NoDqum5Z9CNLL+DQsvVWyq+ghzpCt8VKDkHK D1wf/o7cpEa9pNXtEnUcDeUvyPjJWeTukw90P4CAOyCK5O+om/Ry8lvNOtvtNNS3aQstirQsjURDj oRgBw+Df3n9YmdCmFQ//KSaE2ysWAFk4LFv3bFnZfL+LDcSSmFx6wBBfo7rC3PTjofp2sf2wsHyK+ KM48LoEnb+Oh6XTo34YDTyvz3caf1Q+l4XqDra227nfWEy/9IwqRJcF9CkpurNylk/3GNueMIOp8c tlbUKckJwj0PnCAyfBLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfhQ-009Cad-5O; Wed, 26 Oct 2022 12:40:00 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgk-009CHm-Ct for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787959; x=1698323959; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aQz7la/811JQ5AX+W0XG1vPfdLjFalQNmwhXm7s0KHc=; b=AdrApJtMe000ufSPfW9KLicIb2KfzgUqEZ/5+S/WRKFNDSesAL/z1IjV k2YKY8XWSKFCHF623FZKCn6qyNDsvmOFwu1tskBbFyovy98zGUC33KUPH bDGK+X7qLT+sCs+C+UevFZsNjV36cWPhoF8fskJ1s65ikn51Pjftxyfkd zwzLW4pB08eCwUtJSBMIVHwSpjH+LNofgeqLgsJCCc5pXPTxk+ICQJlz7 cWfGBs1mNWwZyfcdXljMVCLYioV1QKN1984bmlBMJXWUAe1ly4A+amIZJ qKSoKoIVE8KQ1/WfxAwNRe8V8TkNqts6zA6G1UIKWJFUdMJ2oIWqsqQ28 g==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="180590402" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:18 -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.2507.12; Wed, 26 Oct 2022 05:39:13 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:10 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 04/11] ARM: dts: at91: sama7g5: add cells for temperature calibration Date: Wed, 26 Oct 2022 15:41:07 +0300 Message-ID: <20221026124114.985876-5-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053918_532099_347937D3 X-CRM114-Status: UNSURE ( 8.50 ) 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 NVMEM cell to ADC for temperature calibration data. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index 1599b911c97e..1094c0afc0c5 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -422,6 +422,8 @@ adc: adc@e1000000 { atmel,max-sample-rate-hz = <20000000>; atmel,startup-time-ms = <4>; #io-channel-cells = <1>; + nvmem-cells = <&temperature_calib>; + nvmem-cell-names = "temperature_calib"; status = "disabled"; }; From patchwork Wed Oct 26 12:41:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020533 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 EFEC0C38A2D for ; Wed, 26 Oct 2022 12:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=F4HA4CiWDXFpwi/KKuwGdAtg8UveiFFwlFSfAR/A9MY=; b=jStUNwK+tSi9vV hb+7Vq2hm7AdXj4smbOyNYJExhS6L/JhLxatwP1QXUZfblpNqPKsBva0sZKNw+MnmASsh5h+q7XxV LgKlqOXVuqGnDJeUiLZNNt90IEcnFWkAtlSuaV+0YRJplnkuePhn5NpRkzEdTHO/U9uK+FxC85CWy b2by1+yAltKNvlzxJKx5LnOPM1uHaXnc3lclBfsH784lY6QU3KVCwOk9n/1idWuL1OnSXgAxm8e5Y HmviKXz0Ds3AQXPv2fo5ORfi26xKuyuUvF4rUsDLKe1miM2AyHpIB6MTwHiLi7emPrJy4JQex1sIF MH1Zztk+fI3nwdRDFvXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfiJ-009D6B-KL; Wed, 26 Oct 2022 12:40:55 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgp-009CKh-5Y for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787963; x=1698323963; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=frQgPdhR6+K9jjNm5bd+NjScO8XoXbn1bdTrKlRyHtk=; b=j3hmgZWJTobrMf5ZlA38z6JTHZnH1jCYbWxWwn96pJ8T0PMb5VCvdHFK /KvrQ+x4Nhp1YJ0n9Cq4kJKRTq1SgH/ikP36JEZI8Ka+ih2w82ZEpU2+4 HZV+I6vFEesOc3x4xkbO9n0CWBrQRqRhZz+emIGd3TJODXQfto5AsAwop w6hBOoGrOForXDKz1YXJBHtcsaedNmZgJAT/65J/9DtsAm+GnCEwDcF9N 6Ja/PWxr3zQrtd5X9DVaeupC65RlfzZrOsugUYbdFL05+oo57b4hp2sOA 8j7rEpXw6AzmYQPTsFfi/mdHjl8jwSpJRbeM1cJDXb1CrC2nRNhWxnNLY A==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="183984528" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:20 -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.2507.12; Wed, 26 Oct 2022 05:39:15 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:13 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 05/11] ARM: dts: at91: sama7g5: add temperature sensor Date: Wed, 26 Oct 2022 15:41:08 +0300 Message-ID: <20221026124114.985876-6-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053923_318977_A3693C3D X-CRM114-Status: UNSURE ( 8.93 ) 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 temperature sensor node. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index 1094c0afc0c5..52829be04427 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -9,6 +9,7 @@ * */ +#include #include #include #include @@ -109,6 +110,13 @@ ns_sram: sram@100000 { ranges; }; + thermal_sensor: thermal-sensor { + compatible = "generic-adc-thermal"; + #thermal-sensor-cells = <0>; + io-channels = <&adc AT91_SAMA7G5_ADC_TEMP_CHANNEL>; + io-channel-names = "sensor-channel"; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; From patchwork Wed Oct 26 12:41:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020530 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 24A83C38A2D for ; Wed, 26 Oct 2022 12:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=+PwD0cNnGwHIrbCxbXbfBBKfGHrCuN945FhORrdHggk=; b=0DrVeijzrYWftg jpRgaQeY4fgiDV14hpTzs7TvtNJoA+xAs9OdITN0u9kng9jU5daq9910c7sr54hnqGStQJMRMY8X/ z/JHksB/pHRfGFuZ++t2rsYUCocUXI9VZi3clXfjsZck1DwSfb1VE4KpwTqwdvIfwQLda6lLvkPcG s/hoX9k7/OF/5xqla2UxPyK+mLQBBEPSP/tlAgpC4c8GOBdA0X+hLtHdrV2Qsz61P6+TvDZHGfe5m 7BSpG/Wh/sUFjE7ECS5IwCAepDehCY/q/oi68U5UMAo+RMBGr6iDiWpn48VEvbpdiG4NlGZivjybS 0AXN6UU6NGWRUZULg/Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfhl-009Cnd-Rd; Wed, 26 Oct 2022 12:40:22 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgn-009CHm-CY for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787962; x=1698323962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2wFwP5DO/Q0M+PToFWR6iInwUsotX6p9IkR/irjoawA=; b=LuXoipBD/7Qrz7TLGl76RgbE+INWKTlemQOVdsHkqCDZebM/bNfY5FTA M7J3kjRetHlKz3vfkwNvePNxA+CuFc1+u0pJpXLytwbORU/SkZ1WioqMC 0uSK7ueIpt64ItKeT8vYpFmJa/Ey8juQvIyBLQOH/lMSrXLtQW/GsjxVB USHlOAG6brpp2ZAi3MiCVWKESt0/2i8O+qBFWi0Td96vDWC2jWlUk2gly 02s5sSgz6d8hbdjRWpMmdvcyItmTsbq40GG4YyxWDuH7qFTJytNCaalu4 Y5leLVFn7HqZeMNKbLeoOc5gCjOU3IKK4HFme1fK6UdeMNwqPiC+yBmFQ Q==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="180590465" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:21 -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.2507.12; Wed, 26 Oct 2022 05:39:18 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:16 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 06/11] ARM: dts: at91: sama7g5: add thermal zones node Date: Wed, 26 Oct 2022 15:41:09 +0300 Message-ID: <20221026124114.985876-7-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053921_515872_24A3F891 X-CRM114-Status: GOOD ( 10.48 ) 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 thermal zones node with its associated trips and cooling-maps. It uses CPUFreq as cooling device for temperatures in the interval [90, 100) degrees Celsius and describe the temperature of 100 degrees Celsius as critical temperature. System will be is shutting down when reaching critical temperature. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index 52829be04427..fb517f9aff30 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -17,6 +17,7 @@ #include #include #include +#include / { model = "Microchip SAMA7G5 family SoC"; @@ -36,6 +37,7 @@ cpu0: cpu@0 { clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>; clock-names = "cpu"; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; /* min followed by max */ }; }; @@ -74,6 +76,46 @@ opp-1000000002 { }; }; + thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&thermal_sensor>; + + trips { + cpu_normal: cpu-alert0 { + temperature = <90000>; + hysteresis = <0>; + type = "passive"; + }; + + cpu_hot: cpu-alert1 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + cpu_critical: cpu-critical { + temperature = <100000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&cpu_normal>; + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map1 { + trip = <&cpu_hot>; + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; + clocks { slow_xtal: slow_xtal { compatible = "fixed-clock"; From patchwork Wed Oct 26 12:41:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020531 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 676F1C38A2D for ; Wed, 26 Oct 2022 12:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=QeGONMqkhxUJPgGIhNvjxuDyPrFD/ULK5eUsTjQGsV4=; b=Cr43wi47vldlYS jROHTJvJraol+OgGdtP60A+Ie8JdZMR2kuSykvZjIQC3pO9F06HnRujdA+52ZHFWcitw2IqZ5Lonf rG0OZVj8FUpuBqrbYqCRbtBPeXcccLoy6y0GfsxhAFr6iGgv+/dsFO7f0wsWaYOfquUOo5bKHEuVv gkMqyov1yXmfR5HcXJI8mqxtucxSqzklgA4tpbnWoOcV/BVoGB+UTEBzqYhpQIhrXc41Tr89MbFhs fFJEHJr56VQJWRQglYoYGX3yZpaz4/4MJRVE+YVetUt4o+KVZDZBFRPjG6VbP1d+/M/t/HMashqOX ZSaE8KnvkafuyJCjrtMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfi2-009CwO-Rc; Wed, 26 Oct 2022 12:40:39 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgo-009CKI-3J for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787961; x=1698323961; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iVoxQBlwpKU5kYBJRx5jbkUjy572KppbIP2UDBEugq8=; b=ZQBYrjZOvLmEaG72k/w4C2Mg3g1GXjFmWxiSWXPCfP969wDBSu/FZaMf 7IsEmY8eDHbFkaA9wy8IIzwvUYFXsV/rir2Fr2h3zjzRDLsZwx5QqZhCD cDmOl4G0yYI6L37ox7BykMzcWjAr4Ia0LivOia++H4SB5XOzQlz3Np+ON AGWiIA1TQYoHtcaGZ2BY8ZN8Bk9KG2PkV12kCwipAZJgJiq+NRdvB1WzC oNtr5kqwgFEYr6JsWNVq9XJGed2csSvi65trH63Jiqa14LoFW7wBRmq5v xvCqLtWQzbfMmVTi5z1dg93sVwmNbG0jy6yzeAqi5Nx31yVdLQtj+cNE7 w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="197101717" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:21 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:21 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:18 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 07/11] ARM: configs: at91: sama7: use make savedefconfig Date: Wed, 26 Oct 2022 15:41:10 +0300 Message-ID: <20221026124114.985876-8-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053922_193072_8263AD4C X-CRM114-Status: UNSURE ( 8.83 ) 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 Use make savedefconfig on sama7_defconfig. Signed-off-by: Claudiu Beznea --- arch/arm/configs/sama7_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index 8f28c9d443f0..dcd2705b7c97 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -211,13 +211,13 @@ CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y CONFIG_LSM="N" CONFIG_CRYPTO_AUTHENC=y -CONFIG_CRYPTO_GCM=y +CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_CFB=y CONFIG_CRYPTO_OFB=y CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_GCM=y CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_SKCIPHER=m CONFIG_CRYPTO_DEV_ATMEL_AES=y From patchwork Wed Oct 26 12:41:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020535 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 42146C38A2D for ; Wed, 26 Oct 2022 12:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=UauxeWjn6Gr8BUkWHs0rQ3eAOzuM1+TzEbzJiioryb0=; b=Q0AyOencsZ/8/B 5EZF/9n6yi56Tz+YR+lSpyZJ04zMrBh17+SCvhlmfxofQQs2K85I5XmEdXjHAMjR5690adExiOe8+ QXnXSpcYg4huIJ/6dNb7dxjJUv/4VoeLIb3V6CFDeLaejzfLTbGKI2FXDutNlUOUC0i6yf6vQXKKa jiw8ot+O9cF/ow5yOc5LzBioG3cNNEc/n2ROfXraAmQdoJstjGx1KJJqR3PErbLAxXVAGyebR47a8 RyJjAQRxqTxaUs9Hum/Shu4cIo6kjySU7eEDLpqlSTmY+K9vn081tEhh+y51n1Z2l1wfI67uvTJcL xDl6DGODJ+mKQ0HoDVNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfj7-009DX5-Mm; Wed, 26 Oct 2022 12:41:46 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgu-009CN6-0m for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787967; x=1698323967; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=amMk5hq+5edFC8mFzca+CcfJbzl5tHYaaRU5uF4tA4w=; b=WCV/aVCb0ht7TTx5cB7naSFLfs+87gyiyNmDvxUmVRAM/H90eCnvOiq3 lNLu6bXqtGkBc0Ue2UdJYmfylUG7Xz6J7WAsArKsoAg5/8IlbDzWspbWb Fwfl3UHsWXG+F2ImU+1C4OP9aZvGwzuadRmjqOTyeTI8ogEra52fdwQ/l T8Y25BXxOxSfT6+oycNsri8GnI+Xe6inp4Wht/+xUAMbiJB/5cBYK+nPm YPj8T8SPC+1izo0u4c5UI0oGZ+d2xnTwq9l1mfj+n80BXbrUsfw5AShR5 6VOreozuWmrFFqLnHwCNFKGXB3/o3FUnEZzc98+ESOi87psyy1nJeLcmG A==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="197101773" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:27 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:23 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:21 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 08/11] ARM: configs: at91: sama7: add config for microchip otpc Date: Wed, 26 Oct 2022 15:41:11 +0300 Message-ID: <20221026124114.985876-9-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053928_091140_96CF315A X-CRM114-Status: UNSURE ( 7.80 ) 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 config flag for Microchip OTPC. Signed-off-by: Claudiu Beznea --- arch/arm/configs/sama7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index dcd2705b7c97..d5b748e2e772 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -196,6 +196,7 @@ CONFIG_PWM=y CONFIG_PWM_ATMEL=y CONFIG_MCHP_EIC=y CONFIG_RESET_CONTROLLER=y +CONFIG_NVMEM_MICROCHIP_OTPC=y CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y CONFIG_FANOTIFY=y From patchwork Wed Oct 26 12:41:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020534 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 56A85C38A2D for ; Wed, 26 Oct 2022 12:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=c0TreiVDa5MQLUl6dsoBJB9uBNgIHtnBRiZl1YZh3VM=; b=rCJo0ePKWXFn3I MqZ32KfxYSMqcn5iageAVTKnvd8omWzvxF4Tn5e5pQrartKsPjDGHITkwKwq1u62hDuPNOBkd5guo ihtL978uM6y35/iqy7jzzOnAtsIw8hilqy6aO/B02wVPhNzX66xpviG8APn7Q0mZyBr88KIcjswOu Y5t5HDAgMfZt2VpTdSSCiiHqYGTMed7BFSmG2jL3ADWsCg4V4K0sbkOq6HuMVnlkeLDUjBGBix/n3 0kueqih5/SjnTZweNHL2UyP6+3hM7YCm3oUHjz2ngsU0o7fGbvAj87hMzuhzlocol10MbhR88ROQn EfpV/QHBCO3AgnshjnrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfic-009DG4-Tn; Wed, 26 Oct 2022 12:41:15 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgt-009CKI-5N for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787967; x=1698323967; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+2/GBXC4XF/5HlvdcWRuX3hCZqwDOJ+Wb6xvf5NS+68=; b=UEK+cQsXKnjAqVhbEyb0Elf+vWlMxj++nVITwHqu/9l3Ak/ChG2aa5uM 0ExIbZ+KN0ogXum5S9RZoFHkycjc9ve8hxrW9qyUo3X7fpjQk2I9bHxQm Lh3texvDQEOQBpgIjKMg4YkWytmQ24dPmOPSfhv6zwrYbnd4cIz1WsL+w BxK9+usozVucWCKrKpxgUtMKTUYN0SZO1S02q8KHNydm5J3kATyERxtdb sQE730z3UgFLaa2X7LgJ+tArUo/TsuwMkxqTz+UOltlLpfF7mesNyI5ht F5eq3hCrKsgcELSeiKOxcq0xsjbcHC1RzjRSt9hm83in+zmMOEdrq6Bmd w==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="197101762" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:26 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:26 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:24 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 09/11] ARM: configs: at91: sama7: add config for thermal management Date: Wed, 26 Oct 2022 15:41:12 +0300 Message-ID: <20221026124114.985876-10-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053927_229513_A36265B0 X-CRM114-Status: UNSURE ( 8.35 ) 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 config flags for thermal management. Signed-off-by: Claudiu Beznea --- arch/arm/configs/sama7_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index d5b748e2e772..9b98e190f405 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -128,6 +128,10 @@ CONFIG_POWER_RESET=y CONFIG_POWER_RESET_AT91_RESET=y CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC=y # CONFIG_HWMON is not set +CONFIG_THERMAL=y +CONFIG_THERMAL_STATISTICS=y +CONFIG_CPU_THERMAL=y +CONFIG_GENERIC_ADC_THERMAL=y CONFIG_WATCHDOG=y CONFIG_SAMA5D4_WATCHDOG=y CONFIG_MFD_ATMEL_FLEXCOM=y From patchwork Wed Oct 26 12:41:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020536 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 E6A7EC433FE for ; Wed, 26 Oct 2022 12:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=zwYVH8d+MqQx36WiTT62sg05XhiITTY0MdRUq5tagTI=; b=MNip9MfKodkqpl eZx6yA8d0WhAA0IrkJ7rAbvQJdXZeYQ7cgp63FGyWEHDgisr+4SSYbOGD1iRDZ8pdJdTWi+hImsnM cB0bLVGB5KI2/ULtRs1Jzr5dG2NhPTvNInUP/Y5aAeD+99QTNkjWxTEfXWLguJHG/yX4kmXmzwRQ2 sjBAPx0y/SXeQzeDPQtAGmbyYLQpGhTJSJr2XRR6O/Og21ynYiUz9p3XPDtjt4vcAG9xNYRTriAUe +7jPyB9wWJx418HJx4tKVA8OoNkLOLQNDegme9o9porunvk0+Gk0N1OVaJXkYNQrQYoZhoZjqVxQr NI6YktQWsI3ijNniW0Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfjc-009DnP-0d; Wed, 26 Oct 2022 12:42:16 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfgz-009CPp-IF for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787973; x=1698323973; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YTxR5L72SEnv2cxjrRtXgCncX0XRJPeZZZMeZp8Drpk=; b=uYiY41/3R75wbE+k+RyKtDqy6lQG9NFxPxfYHsWoDVGH2knQ292K/MRt 8yafAdqBOQpF/NnjoHNj+deTPf6u7bM8IVI2iGYbDo7S76nqx0dAnRg5r RH035AWmf2gpssBi0NgcLHjR0zwnPVRFdGwRCAabX31Qlw7HuQMG2xsL/ JgtNBdKR/lnEnohP5i1UlSKC4Mn/NUHaXyDnPo1u1DAtEoWVrFm4OMjgu XGdU07870EcdQkwW27D9h8oxH19vbb3rhkFjM2Zze0AQCSY3JAVyLkSU5 29Byj0F3C71h4/7mEe87yw9TjCXflZW8sLbya2PKjY2w10coL1oKLqO2A A==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="120430715" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:32 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:29 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:26 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 10/11] ARM: dts: at91: sama7g5: use generic name for securam Date: Wed, 26 Oct 2022 15:41:13 +0300 Message-ID: <20221026124114.985876-11-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053933_708253_A8350A61 X-CRM114-Status: GOOD ( 10.15 ) 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 Use generic sram name for securam. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama7g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index fb517f9aff30..1f7093b3755b 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -204,7 +204,7 @@ nand_controller: nand-controller { }; }; - securam: securam@e0000000 { + securam: sram@e0000000 { compatible = "microchip,sama7g5-securam", "atmel,sama5d2-securam", "mmio-sram"; reg = <0xe0000000 0x4000>; clocks = <&pmc PMC_TYPE_PERIPHERAL 18>; From patchwork Wed Oct 26 12:41:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13020537 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 ACF51C433FE for ; Wed, 26 Oct 2022 12:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=akwK1wZZ3MyHYp3RR8yKX7JIKRleEJSriceCXxwQ3cc=; b=1rV0/oC8mEOc1I xM2p7lWpzsO+Mouv67WU/uXTNmvy1h5MIvhfrdnO3houLAhZ1DcJ3G+q11ghY+4SvT0S2zMxvLF30 199XA72ALj/EdMfYT52GxpTe5iCxLB73Your1/zt9Rrj97SdTUwnIauDhtiMdychlOVyVPM8cmYd4 OKxD1oh0okDGaY68vu1/GR/RrhsmK9RE63HBvB50VKbG9ve7pebDYvwBaV5RVqV6xWMeQg5mNOfMS mLuJJI7ZlPjzr8qLNb3shcRwPQrFL/oORbnNznrBtxetiZc4Dtgww/QVkLDnm7vU66JU467OBRxau FGJRaAfMPUQWQPrd7Dzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfk4-009E20-S8; Wed, 26 Oct 2022 12:42:45 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onfh9-009CUS-Ha for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2022 12:39:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787984; x=1698323984; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bfVM3nGLETUDj1ZTk6wf3LU5jsbE9pu9ws8/QdyqYNg=; b=uYt8CDPADwrXAqAvCxbYSbd8OOekGTTO5uTG+8UT15mB8oL0BQqyM4sm IO1AG7N7m6pNAKeCJ89Zs4ktipvmqh8jkLPKHRYJJZ8TekBmILlx584L7 3V52AR9dXmnEh5cAC4+jVit8VWVCC9u6DiikBPXCDjguOUDicSP0bg9Ty 8T3ZudbFpgBnf+cZYAAst+x1DNKjsD8g+UbknLEQWYCxtTM7oUh4NTb4f A4+el83RlywmEpQ9t5O/enRA93nuWLuSCUmIpPUs8ejXiKc9QYKnICc0S Mcx2CIyrckuuCclcdH7od1DXs2SjWl1k6WgV59RBhr94onzonUUvY/vcx g==; X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="186355974" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 26 Oct 2022 05:39:32 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Wed, 26 Oct 2022 05:39:31 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Wed, 26 Oct 2022 05:39:29 -0700 From: Claudiu Beznea To: , , , , , CC: , , , Claudiu Beznea Subject: [PATCH 11/11] ARM: dts: at91: sam9x60ek: remove status = "okay" for regulators Date: Wed, 26 Oct 2022 15:41:14 +0300 Message-ID: <20221026124114.985876-12-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221026124114.985876-1-claudiu.beznea@microchip.com> References: <20221026124114.985876-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-20221026_053943_644352_4194862A X-CRM114-Status: UNSURE ( 8.60 ) 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 Remove status = "okay" for sam9x60ek regulator as okay is the default status. Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/at91-sam9x60ek.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts index 4ba52ba11dc6..d929c1ba5789 100644 --- a/arch/arm/boot/dts/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/at91-sam9x60ek.dts @@ -76,7 +76,6 @@ vdd_1v8: fixed-regulator-vdd_1v8 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; - status = "okay"; }; vdd_1v15: fixed-regulator-vdd_1v15 { @@ -85,7 +84,6 @@ vdd_1v15: fixed-regulator-vdd_1v15 { regulator-min-microvolt = <1150000>; regulator-max-microvolt = <1150000>; regulator-always-on; - status = "okay"; }; vdd1_3v3: fixed-regulator-vdd1_3v3 { @@ -94,7 +92,6 @@ vdd1_3v3: fixed-regulator-vdd1_3v3 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; - status = "okay"; }; vdd2_3v3: regulator-fixed-vdd2_3v3 { @@ -103,7 +100,6 @@ vdd2_3v3: regulator-fixed-vdd2_3v3 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; - status = "okay"; }; };