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: 11224 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242555wru; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7aNBtdDtOySS6p5c94mfcBid+wcZMHwFhMsNI5DNb7OMyDkT2oc17WNOBsQ+q843KRzJBS X-Received: by 2002:aa7:c744:0:b0:461:a144:e94d with SMTP id c4-20020aa7c744000000b00461a144e94dmr17788844eds.236.1666788010473; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788010; cv=none; d=google.com; s=arc-20160816; b=szI5Awdwi88g6rfxLVUvDYdcQWuYxCHZ7xE4oyQL1c9q6p0a6ytTMx3wEZQ0LawdV4 4umIZ4rIqdB9o524N837fwAluQtpva2ntBiWRVnCrvX/THLtVeIKkusG5aOhxkk2ktpU B3Xfq5UH2oWPEWBqiGwjU3HcXRVUGE9nj1mBhHm6w3qXlIqQwqD5V9FjE1i8+LgCW+B0 PH1NBaQfEcvmECZdguTwr/mIoSQbs4fPvSwm4ygNvp5Rihs+inxRZDSNsOEN6ppTJqp4 7WYbDL7qqvLuqqYpV4nAyFsKjLjNtMj8sRaqeCBaCRgaFWxVxw9eHdhPklSPxDR3bTdF xVrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TC4a1PZdJhH6n+eOL7oWf9GIgHCc3/tYTNFcxGRJlgo=; b=Q/Dwd67oWAwUj9pHSFZankvQC3FXYVd8AMk9RnYmjdTEBkGSNdQe+HlX4M8wxGR/UL jQ0yq1abtJD1j9+B+rHmTVPw2lL/uhcLpmKJ3QY8mx2s3D79wHYb7UEo2rBrdsKihZSb l5iLbeTLDxPABvqfU/vKAb1zKtG6tFUwbYa+zeq3pgT7FXsOejD2ummnXdhkrYX1qonZ cZxeUrqPKwg0orzLy1OisXp+lL5kMuIz0TgGPVy1Va5SxZqadH4dP3w8G/1EjkJ21EUt 6WTklDt1WgwpEhG2DV6RZrYPfHecZYD341FyrS0iNLrDdJqD4prze2XUqoLDTOTVjOW2 S9zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Ar3elSDm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm4-20020a170907948400b0077156c9124esi5939270ejc.1001.2022.10.26.05.39.42; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Ar3elSDm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233707AbiJZMjM (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233663AbiJZMjH (ORCPT ); Wed, 26 Oct 2022 08:39:07 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48D04EA35E; Wed, 26 Oct 2022 05:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787946; x=1698323946; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Et6DbHOQfQvVXSeGo8MZr/RFIzGdENddbRTKj1v4eH8=; b=Ar3elSDmPFxk39ylX2jaPFQP68VSG49j1ko+bBSL/dBBwpdBxQD6i5yU 99wvOlh1wBqWd993FlFWu/v8tEGlXHq0KZk328846OYBO7AWcHX2WpK1T tZQS2HmZeIY93AwdNsL+oPQDE6DqWZG4JaLsP8CXAAfP3WFVyYpmzSqj8 b/6cnB72YotUIxzPzoxjdLRJ7v+s+ViBq8JNfQztk53m0rAMZCLS72Lxy yDHH7tnT/jgpOf1hAwb6wEjWftfMh+3Wk0+DLNOFUyE3m7rAeLGPEmj2D /7l6oJSe6vkxWaHVYNfdEeYiP+x7mZqREv04H2GxP98sF1TTLVGsbLX4w Q==; 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753904805902191?= X-GMAIL-MSGID: =?utf-8?q?1747753904805902191?= 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: 11227 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242657wru; Wed, 26 Oct 2022 05:40:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JyYCmiRCzzL7OYVogJIJroL3DR8RuAsYSwtg2YwEwGDQi1mbVIOxES/sBdF1BRL8VG3kO X-Received: by 2002:a63:3fce:0:b0:45a:2bab:6002 with SMTP id m197-20020a633fce000000b0045a2bab6002mr37934084pga.454.1666788022210; Wed, 26 Oct 2022 05:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788022; cv=none; d=google.com; s=arc-20160816; b=vuRtLZTEBlpVIILhjrhSiRZNgNoJ9MG8EkmotCknWZObQnxMFxdPkand8oIFpXZePQ met74R1iUcEc2AcLE4OxoZy+p96V9U2XkOrn+dwfekOyoLY1sV68dzjl9h3LNdip4Y3g 8VSXMU4krMRD6Mv84HLc3nIvNSudH0+XdslAB5mD7CX4uVW7DYZgTny6/V8kV8pSswLF JG3tV7PsOnok6brOsoOauqXPagMPC9v9vQ27FenuUgJdnklDElw+9bva+5mZ7Bm16yxz sTw09O2qbyzhDaSafWa1IOwf80nIQI3Te3O1Zd6mB5na+bGL0f1ywujBI6UEndHFlChd qexg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AO9AVHox+vkufiQFHCTYZldm8ywaIn+7umX1a94kORM=; b=kkTS6Ty3c5JmddLrlxAh2kez3xE0dYqxFZ6Vby7k1qK/Z3TAIuk8bvo6iPpcVpMaC1 hKzXjEIGkfPFeZ6TtpREClx1M4jhrdeenj+R4M1YrIFB8jbTpAfeKPIdm45WeNjY8TdX oNS4DDhS4tG/SARfBuonivuf9e15kFeMtuBHSEQX+U7u6opAzCU1Qhl1J67iKCJf1kUE 6sMrMe/dc2E0Qd45AniGHUFiHpbv6nKYJrMNSQpZNBDFRo5lxozdHIBNAigrRM2ypCDz TLaPwgaNMgeKs+xhnPU4MbRDNgRWRR1008gxObYgvKd0SZapkZ9wGOsG3tYzjMn42oXg HzQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tq7eg0ma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020a170902ccd100b001755f43df36si6732152ple.479.2022.10.26.05.40.06; Wed, 26 Oct 2022 05:40:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tq7eg0ma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233683AbiJZMjP (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233755AbiJZMjJ (ORCPT ); Wed, 26 Oct 2022 08:39:09 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C5AEEA9F7; Wed, 26 Oct 2022 05:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787948; x=1698323948; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bisr1L61KhLBriG5s6EIXVlEsBRRUoDJM4tZkzJXrUM=; b=tq7eg0maHmhOI/KcbyBBka3Pyoi5NpCHwBl1tNAWc9RzafbGkN6sf58u pGrVJ+C9+lb1nEGkWbHoxR25UbIN7G41F1f7r0gNRaH4xYiwFMCG+e6sN XVXeRmrbOrKRNm/LRh9qz/gAsmeZR9cOxU8HYONz+4kIMU/mSV3sGXOpS sWe0l9z55x8b0y2gBro97elOHbgF5KYXrhlt2KrUbyPRKvQ9vcP1IR/mL fkHiK/iCyc4lU3rsaZmPm+PqfVb/HBrXsoY4DnQJMBwgGhxOUhuELtsBc gQyfKM261XvIthylfxkl38CqUAMEpU0MI6FRQdRJ5JZxrZk6BRW1gQF9g A==; 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753916803228028?= X-GMAIL-MSGID: =?utf-8?q?1747753916803228028?= 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: 11225 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242558wru; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XM8VsVuoefAdhKUET79rkvdwfiyVYD6HPasT7UWainLqtvTw/fiIaOIPHsGDsRv/7cGQc X-Received: by 2002:a17:90a:8988:b0:212:e1b9:e8fd with SMTP id v8-20020a17090a898800b00212e1b9e8fdmr4013813pjn.148.1666788010336; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788010; cv=none; d=google.com; s=arc-20160816; b=SdD9CjE6ahHtx6VZiZLvk8rEH5JYaZsEHHUUB0AcCbD+mwEUDCEwdHLb0gqN6+VZVN GV0wSnFc+aPoz8BD3Ys/BMSG1U+wPRIZII4lIxBwQOwR4w/u0YZBjPsqtJsjDUupIff5 ZtnGegV5NHkPeoYuNbVpzfvyepiDh4lb6y2yurkCZdZtB3gBu/6xg9FUnQiptxRNuoJr eNN8Fy25ZGcJG0HNorWYSMu/Y5YtZbyTGr7tseTxkSnHpQQdvsj3kQ1qw757bJum5w4V Bmmyp5wB3auBoAw2xBZE/W7v2fk92K7PBiaMyQLvF0Z1SKP13SEeaw7BVLkE6eeBbmqZ Yb0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qWWgYSfNv/uNnHZg63DgVEGG2+2AbMIo4sHvV60IZo0=; b=AQulnbUUX6HSHFyIIMC/dcyggJD/ZqyDkH6cOJ8OZT9L2snRajaH014K1gG03kWvdL sRqL3Na8zTjY61tbC7ExHwDPYuKdajbz9CRbUOSm5u4AGC8NjgGV/oF3HMGuiaoSeqd2 Fg4P1u50B6D9OApVa+6T55t73IaTQzW/YAvArbfd7m6nY2dFiwGvZQAXvXPAQyoNro8J XPB14RJdzg4Kdp8HGOK5jlSlkzhFFFaKvfcBfZEUWcntHzAYC6bpPV+W80Y9MhowdqHX tBnSNcLrfmNvEkhy/CKvdBGdKckxFurbyWz4RizuoFCp+QUhVj0DAj80QyD36f2TSFcz 0dhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Ev9L7ibQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a170903111100b00186a1851318si7725320plh.43.2022.10.26.05.39.56; Wed, 26 Oct 2022 05:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Ev9L7ibQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233814AbiJZMj2 (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233724AbiJZMjP (ORCPT ); Wed, 26 Oct 2022 08:39:15 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C99C6EACAB; Wed, 26 Oct 2022 05:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787954; x=1698323954; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7Q2KAd71fow7wlc7aycbUt81QTVPZDQM+BUBUDvA8iY=; b=Ev9L7ibQVwTlHcKKcUzFyJcVWfovxwNXWYsRGsDVMSpx2wa6XNXP282S OzSATtu5rK4hfEl5nWpJkGniwh6Dj5B/OBFN4ZpB1DSvvydlqXazj0EAI Q87CluQhdeBIXCIEMeJfC10AGBHzMITe+zVq2wFLzvnXYeJnXakXMd2i0 eFiECaMsJYd2HrCX7osiog+PF/FwdxXL8ka/xMztfey6lkrz8hcMjeJ92 Q41CCZ569QQBsOjpP1nk4SzmHmTX1jWaIWe+Ivd4yntTn3lP3yiKkTlrB X3up9TVBlw1Og5CuEVTmhm3EwubP2LXoscBXnIw0kiOUjTJWagSV7XVRh A==; 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753904869261227?= X-GMAIL-MSGID: =?utf-8?q?1747753904869261227?= 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: 11226 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242620wru; Wed, 26 Oct 2022 05:40:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM489aaTE54fiOCQnrxJHlTmGG+061ycGwAkQlgmdd7Vti3kKHyAyw89GeD+X7b9jIrCmw8i X-Received: by 2002:a17:902:e54b:b0:182:6c84:7fc9 with SMTP id n11-20020a170902e54b00b001826c847fc9mr44375254plf.91.1666788018056; Wed, 26 Oct 2022 05:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788018; cv=none; d=google.com; s=arc-20160816; b=0ChOiNCntL4OX1YoQrGIgetFeYLmrianCbsRX7fgMtLQ5/cDqYIjhKTWhtKtvlgE4j Ux0Ip0zcxVDBGJPcgp4yvUBy2RP+laHmoITu9KVMKN9g/s2dxywayelotpzthqA1ldui jqowT6ev6m8azx2Ki2RBE7Rm/XddSQLaV61CJFKX2wR8JGapNBWq/1CidGBydazhE95m vqhTPLSWRhNTfbvsKiuc/pUqt8/lWgnsjxLKmi4tythJBxXl30YMLQJvC9FZaSAg6eLN LkBFv2V2q2z3+COiCgqtcuO415tntxIZd+u0vgtLZrK/IIAGIkmy/iTrr24coS/UXdH1 2rZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IMw5cIdOs1Ni2dWWMeR6vcsWa7KZzToRSaUVluBVa6o=; b=EM/16QSxS78EKQgLYemY0+wLulAX5YnKJzHJ3I+P+4Hxq14+/2aN+svJ4YQD1HCb8l AgsACMRoDQ0SV4SUzN7l8inGvbvpXoeRkFtZrOqwv2Q/91aytRtaK9yvd67/JJ5KxDeP U+VKu0G6sm8VNpWFFvIBFztmOoC/gT2y4vlhtPGJONHP3//XTGDoQETJaXYaBwhxOWCL xW4KfiD3zRDCc68ykNUrbHtwo2xLW3FG2KnjRAs/Ou6V3i3vSwM52GoKKAEmdY7vyDA9 311YRvUP2mi0MvE5ZXW1GfB3wS7cLDF7glmb2wVQNbU/qM7TDaSnPstfwV/C9g+Hm/aO jQGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=AdrApJtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j190-20020a6380c7000000b0046ec3ee4fafsi6547430pgd.211.2022.10.26.05.40.04; Wed, 26 Oct 2022 05:40:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=AdrApJtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233856AbiJZMjg (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233790AbiJZMjZ (ORCPT ); Wed, 26 Oct 2022 08:39:25 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A36CE5EE3; Wed, 26 Oct 2022 05:39:18 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753912671331226?= X-GMAIL-MSGID: =?utf-8?q?1747753912671331226?= 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: 11228 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242674wru; Wed, 26 Oct 2022 05:40:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6lfW2e6B4M2XIc1UO0fXR73/s14Cyfe1QAMhEdXziyS3YWNYffgzdNxo+1zjCoRgAYO340 X-Received: by 2002:a17:90b:3b8d:b0:20d:5829:8d97 with SMTP id pc13-20020a17090b3b8d00b0020d58298d97mr3950913pjb.105.1666788026747; Wed, 26 Oct 2022 05:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788026; cv=none; d=google.com; s=arc-20160816; b=SiAx5rTkOO+Z0YsYraeNUUahf0PSrTGpyTbhCjfGmXpqRODrHkXUuLckqiGR1FOHms xRXbBBF9XF5zTZyHzF5xBdxiD2OqsFG48OPN2JQ0AT//6eOO9d213bGQLp7vk4S9CY9+ ncysSHAzeR5CvC8qPQ1I2vFFu8sibD/O9VtcMlglEEHkYYhfmTrIAlEmxsCKHQ5Rxiyh Jf6DL/c2RpBIwWX2CoEePf68S8/e3p+qLxBT4lBSunzAxDVOt7JCy64gfeoxA7XWok50 +f+qBYIFOfq1r8dKODhlvv3kbszIvTb9HWrA3aVLXI9T3+gDZwFfAEkwV0Vk2ONe2sDV 3cBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1vXyUmiqwhuFKphgCSTNMXbN5XA0q0gDULLNR6kwSP4=; b=yqd745Don7vA8ORycd0xXoYvsNI8wLsKGlfUpVKT6Oc4mGa8KD/uYo+UH4B9OrhN68 jjvNquAlIJTU5WUh7h+Tbn8wMdozixv5xOwWYMMWbk6rsAs8dxG/oMATIWBfckT81Pva cJK8jLUG2BVTW4a6OZhKncB05TmsyvfUBegoObpxZRHRoclPty4rMkopUmaq/ozcpnDH iC8sAudXzAvz4WFnLm08uwe5PI8FD/BWPmB+UKNI/pOOMU/bqvlS50UCzZ/DqbJKWb9+ fxfvC7me2m1Zjzngfzt9NQK8IOVNLNOtQ8h1iYgayYf2I9qdPt9kkXEpAEoqVvJ4jP/3 nu0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Mt9UR7W6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020aa7920e000000b00557eeba9fa4si6003598pfo.91.2022.10.26.05.40.12; Wed, 26 Oct 2022 05:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Mt9UR7W6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233899AbiJZMjr (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233758AbiJZMj2 (ORCPT ); Wed, 26 Oct 2022 08:39:28 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38C05EB768; Wed, 26 Oct 2022 05:39:21 -0700 (PDT) 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=frQgPdhR6+K9jjNm5bd+NjScO8XoXbn1bdTrKlRyHtk=; b=Mt9UR7W6cEJVORCZSYHr6rsOLz10FjOvLln6qnZ5JNnjyKmgKonRGokS CSP6NjTa21sP5mrtj4NDmtdR0g8XhHAuQu6XUj4IeHmFCRcjlW24zowA9 w9rhiDdIDQSfkmG2ZyNuQVjzUYK3sN1z93++NqDIVHAtctyaZZvky5w+P Tz8VbVN2/Sml4IibkaTJOGnvaLOdOgNqOsDlQnS/oo39aDkCwrDfhaFrp GCKdwAlJPBWcbY73N30VZ6WquF22OlDnFDKL91lMQmqmA8kC/OaaVUxAE 6nkopT1rww8TVpWc9AEFrNlhUsh8T74g1WDCf0/rHfEC6XGDnQACr7bAY 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753921559253558?= X-GMAIL-MSGID: =?utf-8?q?1747753921559253558?= 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: 11230 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242794wru; Wed, 26 Oct 2022 05:40:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5PnPvz3SJ8nj36nQyMZDCu30+QSNFOiI/z/ESPa+JJcTmXopg+E7qGlLikI7xkAZhPwNnK X-Received: by 2002:a63:106:0:b0:460:64ce:51c4 with SMTP id 6-20020a630106000000b0046064ce51c4mr37217805pgb.17.1666788044391; Wed, 26 Oct 2022 05:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788044; cv=none; d=google.com; s=arc-20160816; b=zGTNbVxdzgK6gKKCC2e8lAphIlYThwGEE2yzQDDw/TYauuys5va3uKCQMvmtCBwkrz WpIS8HcIRA+E0XCYmK1AxslZ1jpKs/stE2b7UsgukQkSvNKMlL794CXRgbbMtao8pj2y 8/Y2X+VpgwZ8Jd1ujKwcH9iwfJFqcxXDOhIMqF4u63tA4yNc31/wUAWn+9v2ITES8G/7 4aSZA+StM9LD0SPN8iWb00hsuXo3S3KWRNuHzio18z7WS64BkMcY8NbIYbA/QbHxmZ// XaTc38V49R2mBxAKkDNtvPEi/P9FjbkezOFWY7VpAeAW7nmzsjMF38wS3dQ2o9jkNm7Z 2WbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eXkMqEUfsxYicX/DTi9Vq7wh1X6lr4GSU9nx1sQsTiE=; b=pt4XrRTmjnFkEoXkQyK64UsOJ/YqTvWoSZuj3SZCpJ+9Sw3Q6unRLMpkJs3OVQiFMM eJcK2S1RSCJO/pNZqDDRo7Or46fNdP4UwJCVt9uBc/e0uzedyl/fmujUs4OzVchCsumR fCQ+GdXQUCK/CtzGQmQZVcWeWE5d2GTXFYMqXjRxdf/tKV7zjP8cSNZChITyivgcF8rL yDrAXzPfIODdzz58olpj501LGMe1JaZJG8uuAk4VTUlz4n1BlOyw7LFS1ota1uBa00SS qcwYf18IJDeiLKc0653RqNWRv3Ez6x/YwMua8GxYrOKa5fGKwvOfHkRzf+gQGMmKHQIu L4dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LuXoipBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l191-20020a6391c8000000b004541962a9basi6251656pge.701.2022.10.26.05.40.30; Wed, 26 Oct 2022 05:40:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LuXoipBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233586AbiJZMju (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233816AbiJZMj3 (ORCPT ); Wed, 26 Oct 2022 08:39:29 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B093EC1EA; Wed, 26 Oct 2022 05:39:21 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753940678925091?= X-GMAIL-MSGID: =?utf-8?q?1747753940678925091?= 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: 11229 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242759wru; Wed, 26 Oct 2022 05:40:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4jn0Dq5JkCARTM0V1wT7IWeC/2TvLdP6GSJSuO47NuiWpztaSNMhR0NiMI4MCQpHo0UXwC X-Received: by 2002:a17:902:6aca:b0:186:8431:d7e4 with SMTP id i10-20020a1709026aca00b001868431d7e4mr25801614plt.89.1666788040470; Wed, 26 Oct 2022 05:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788040; cv=none; d=google.com; s=arc-20160816; b=zJ62I7uwCP6yr2ha8TPVNq/EJkNpDgNKmaGu6pNlFuzgKl5vD89qTqcVmtkaCtic6O UybKGEob4jJux1DoS9WWCotDqfbKz6cmrFGT39MlKxDLpumi23tdBqzeh1jM9LMKCdpC 9Nec2D0wbi4MYkqjxF2vZMfMNfoqem8CMUdT4ksFISdGeMtWzmEbIE2xaTdniZZGt80h CYZU/ziKeAChuEGJrW+CNKufpvrE41Mwr827BXGFAEHJ9UUoI/Vh/FlhyUBdWD2VNq7c ccrQJGbrz9znbO8s+yIPZDl2VAgbdyM94N/Z/2nQ+Ycsf1KDUDnf/ajKRhi+sD0KjQoq Ivlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/wNH2tg8GUEKoXFMhCsdfzv+dYVnhXAy897mODEYkio=; b=A5gaDxVOXPU6+e7ivNJpTJ6iPpoQqP7Evx3k5zso7tgKlCpg1kmXezFMWV7AS98B+l BSKBHCULFScwEzchlstS7LuV3S81BUlarlRflYfl8eBWLc5Kuh9FGRMBcgNKjSBsFUhE BQKqHo5BQN7IFOY5ymb4SJ0dATTNat44QiVITS3Xkh6oao/cXekCm+379t0B2NedU/98 Koa4O6d7w7VXqvrmODgvZcFbzAdncyc0BdAYt7nnS55ds96TTmH02WtqPbpLHc1jAJrj cpdg9nmd/vpIC1+xb7OsYZNRbJHhoOdiiv2EGsm7YnRh2P4o/fQS0d4IawN6+97vK3uk 3aQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ZQBYrjZO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a170902f70d00b00176e226934dsi6186949plo.367.2022.10.26.05.40.25; Wed, 26 Oct 2022 05:40:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ZQBYrjZO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233908AbiJZMjz (ORCPT + 99 others); Wed, 26 Oct 2022 08:39:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233823AbiJZMj3 (ORCPT ); Wed, 26 Oct 2022 08:39:29 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C36BEC1F5; Wed, 26 Oct 2022 05:39:22 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753936451095427?= X-GMAIL-MSGID: =?utf-8?q?1747753936451095427?= 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: 11231 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242859wru; Wed, 26 Oct 2022 05:40:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6kYIxxrKu2UlZ2gZF5NOn+JaFVxGT+MaVGwxhgSHF7L1xz3dM2x7hD0EM3ENRJayiBEr6y X-Received: by 2002:a05:6a00:1912:b0:56c:123e:3e60 with SMTP id y18-20020a056a00191200b0056c123e3e60mr10090118pfi.65.1666788052734; Wed, 26 Oct 2022 05:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788052; cv=none; d=google.com; s=arc-20160816; b=hjFznNUrfe/T1gh9YGLLWna0AoBW73d0S4PSVQJgH716MFafzhNY4yTHw2tjrNdMMl IXG0hBKNQBSUGE9FKPh+Urje03wfc6MBvNgBKlaN7hIW1U7IEsSxAtBqEHJ2UjIs0PBs Y5PE4bGNCvAGt2JTrUdTriwrDvCKGDOrmAQjThf/v/KCiiZaR11gKgAM+P9Gyi2auP9W J56vm52os2IZLETxNygqw7+6YPNT0gntiZ4gQGsgeCZ9JDSvyitd3nWq5+0xzTzMzt4A OFRTk4uZ/eSuyxgRyRpTv/DoONAjKAXtYczT+2lrU8UX2FSmKVm2QkwDqOa2ltc4sK2k 4bLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=e28lcM52FMbXDQSiPNMkDxK3+3JgBSh/FuP6A6yiof0=; b=IGSFXWLahxOcyWtZToNFzj64q5vpVZ5jsB9O+JJrIe67CTtOFD3xUuaykZOeyQx1x3 06o+AXjVCkK8mHBCLlxlFs/kTUayfHNYGTVFXImTSovkVAbuWaZsLiNFNdYxNJtdyQF0 40R005bHo7DEFZDtTTD02lFSkjaVCulzGKfywBfjZ90/2Ui51MJRIObSHFa7cUTit2ug tZ83TYDlZ8WarEnXB/fR+EaIRh5DbFiiWGOfZqWrGB34JbaOCWJtb6jJgze9HsZ95+aG kkgzS+aQllUyJsewQQjOF/KfdtSazfjIildcoN7VPXBThGcHD+E6kVG+4KrESKA4Pjy/ d0Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=E+FLgjMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a170902c38a00b001732b4e99c4si5960266plg.377.2022.10.26.05.40.39; Wed, 26 Oct 2022 05:40:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=E+FLgjMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233868AbiJZMkG (ORCPT + 99 others); Wed, 26 Oct 2022 08:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233850AbiJZMjd (ORCPT ); Wed, 26 Oct 2022 08:39:33 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2CE12BE9; Wed, 26 Oct 2022 05:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666787968; x=1698323968; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=amMk5hq+5edFC8mFzca+CcfJbzl5tHYaaRU5uF4tA4w=; b=E+FLgjMptaOhrczZo7hzaayA8PNUj52yQlbeRL27P90xCakUAxt+n6Ir gE4A4y8sI0WanOp/FMqsYDyjQqGHWKcT+rxW/C6RnjKxgHS1+sd6SeNAa JNkBZYR/clJ2svEde4o42Xbs+YC/fiydD1kX9rkUly13rYJceIU4KyRCO 9SlUIynp6eemim5NLPOr9bMVFriSkU9RRfZDeSAB06DkxrhElBEQZZXQ2 jjFny4AXPvUIZfY33NVCAy3rRJYVXYQw2+ZcsRuhb9epH08TN7c+25JkT 53YnNeMrdEOGNM66VeBvJo2Srfow193Fat/oTtqu+iaAdPIIAtjPq/uI8 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753949057622339?= X-GMAIL-MSGID: =?utf-8?q?1747753949057622339?= 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: 11232 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242895wru; Wed, 26 Oct 2022 05:40:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5udtSXgWgt9MERrbGKDhwFjTVYl1Ahos6MJywKTOiw3XGF2J/BFYja5zS/UF2WG2YOFL09 X-Received: by 2002:a17:902:dac5:b0:186:a687:e082 with SMTP id q5-20020a170902dac500b00186a687e082mr16368086plx.84.1666788057946; Wed, 26 Oct 2022 05:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788057; cv=none; d=google.com; s=arc-20160816; b=TLdg9PMLT5tV1wFLY0Ps2aSYzNSKQcXH5oaPLg0bzCXVBMFri4q8MxgVFhh4LPg4EQ zrIpeICbDc7YWHq02wD4QXekHZkFXC4DIVM9sBhedID9AG+Di70AeO+TrVH3jnkaFaI5 BgW5i2xemTQq+uNB5Bl5i2MG+cabbI8elaT/EztUTDHel6I3Bhb8ZBouCjwTrZaszaFJ xDsm50TXwgtB9we9AmUo2jF90t5NJFt+28mpLfqBToH7nkW6s8VsC1idS6QqrUlXgPru 3rPt3VcEFFOXb72AbOcSJRLDmq6xE2g5okbe/ppptfMoRQ8cpz3SNdLcX4PsfLFKg+nk S2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ULi+e6cssleqD4jO6MA6QtJdQSLokvJ4EMhvXU5p0C8=; b=Z9BxDlne9sJiOT0L+V/oIxqFoj8yifcZUCm2KGz2zCZHpOSpP2HLFZvbcT74Hu4Hts +w1IDItAwQR2qKy9fAbf441RpcRjAuVdMP8RxvS6hsPaQCbEq66G7J2IksAjGBUaX1YG QvDVZuiNC2pCfkettz7FuhtgiNz+1btDmbkN1MCbDqjhvumFnZCu5DY07RaYwYM7YddQ u5wF4Vx8ehD+zTl3O0OAKfqDJDzBEJi/bQfO2FdQQ9l16qxrUAyYilLx/uYlBPzjOx97 TJ3EMVCg/HYc5eitIZpIgTszDn9ST3dATf+wk0UcBcbYf9Is2YoV3PRk1GQ/a1C+rVeB PAvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=UEK+cQsX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2-20020a170902c24200b00186aee00facsi5940022plg.518.2022.10.26.05.40.44; Wed, 26 Oct 2022 05:40:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=UEK+cQsX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233916AbiJZMkC (ORCPT + 99 others); Wed, 26 Oct 2022 08:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233781AbiJZMjd (ORCPT ); Wed, 26 Oct 2022 08:39:33 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2296125C6; Wed, 26 Oct 2022 05:39:27 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753954584822362?= X-GMAIL-MSGID: =?utf-8?q?1747753954584822362?= 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: 11233 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp242948wru; Wed, 26 Oct 2022 05:41:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zAOiUw9fN6PPCc0znaSXcpYc7chR6t9gp7J6NlgK8PJhFgvyC0xf6i0DVDKSQnyOkmBRg X-Received: by 2002:a17:902:ce88:b0:186:b345:97c0 with SMTP id f8-20020a170902ce8800b00186b34597c0mr13051519plg.13.1666788067912; Wed, 26 Oct 2022 05:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788067; cv=none; d=google.com; s=arc-20160816; b=CRJ9x+ZOnXB3pqOPMbRappUNvjSq+3FczrWO85RRWGv8K2mTNUEuWb15+Pflaugz5n ULi47PH5LizYb7Yrr2rTjy5zZ9lkLFvzgJM5nvKSQcHHskAho1DVkf15MS3UZjr+wLaL 776hIgMcsnFzCWQM5qaZ1boL6Sh5+H7EKOJ822Gf7Xm8KqY95nQ4FY6GY9khQ0XO3OdB JAAPCvVghQV/p6sDdvy02+XjAJjiArwyF3ggSB8NbYQAR+u+NYTNqYqMtGxoOCJQHzj+ +I8zFWm1Xmt1ZBY0iGEJR2K19x9vIeh5SV+Ekt2Kw+Mi9zU+KDoExR80TKiiB9VW1FQR WzHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AozfqivMO2G+lYFo1Jbr6FOZEZgySicF3gQ7uB4jct8=; b=AAMwKxkkuVC+5hpbJqSTkarN09/LJW/ihEXqpTbKhiNwi3Tu9HK/Qj+E4xhqWzP0iQ 2ZxKMz18Yb29uRHLbXfoRQfqfRotdZHjIBlYxzSSdaJKxCWNjxhjUCVK92rMLTvtObqE Zqn0/QsDs+dAGViufOLQZG5vnd7JokatqDQxdi2ONuC4U543FmuZdMCKQVtFqzqFUq6f ukfv2P6LcT38JgcND/BeJygqMIV3BOzmAI9ENbmBmoZNK0dXRoZjgA9kwqH+lxnh7+BF HECSKo5XySBr7rFQokkrUggmDso5fNwHFn1TxKqN39oPEgTuikoiOJK90dYwWOog+5Wp YEZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="uYiY41/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a170903300500b0017f6a4fd6fbsi5496601pla.123.2022.10.26.05.40.52; Wed, 26 Oct 2022 05:41:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="uYiY41/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233929AbiJZMkM (ORCPT + 99 others); Wed, 26 Oct 2022 08:40:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233742AbiJZMjn (ORCPT ); Wed, 26 Oct 2022 08:39:43 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A1F11159; Wed, 26 Oct 2022 05:39:33 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753965221409984?= X-GMAIL-MSGID: =?utf-8?q?1747753965221409984?= 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: 11234 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp243043wru; Wed, 26 Oct 2022 05:41:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5P+yZONNMe4YrDzHpsB5H2sLLBJ1YEnQ3UqnB3EoLegHTc/cMroAY1UGvLrNJAbMRhW8+b X-Received: by 2002:a05:6a00:a04:b0:534:d8a6:40ce with SMTP id p4-20020a056a000a0400b00534d8a640cemr44859008pfh.15.1666788082176; Wed, 26 Oct 2022 05:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666788082; cv=none; d=google.com; s=arc-20160816; b=alT4A7EDjhUodnoeebW7EXPsXp3pxGFkEjU0MFR8L+sf/M6bQ3M6CP3I5ckPqtBhGL jZ/esAW1Lpd7KNzDnE6G1EGbFQg+7OPUotLdUocbrQPA+fx13/WTq2vyGEsKD4ToRVzS w6xiYrJMboh3s1MG25rBd9ziwVYk6Oy7e9ApAu7B20+FgfwIeVSM7qSLouncDQfNwOZe 5PYkEuAlt9CyZ33xmQbOpZCK3yKuTwu7j/3PJIPh8obfHtefKRCWI138SslqMBsO2D0G 7Oa8vsnjEgOgnIZRNjitEt0h7PRUiXE98xVDrKJF9giBZa651ZUnBn9FE0aUp+JpUg34 tH+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CwiIHCPW61IOyGuaWH5HB+zOQQvbsLKac9rPfpRtlWU=; b=PgLAQZ7chB9RRPDWxW259u5Om6hS/205WofvyTkSnGyaSEVDH8lmpD5HnvPIyebZY2 SJL90c3GYB0yhCHvWP+Va0+CYZKLgGPxQPeppG6H6tW1XcaUTdIqtkpnRpXkExTZ1KjP 3rOFWEUsGcxjsScX5TzbOpxyZODycYhcZ2fXjhfB6XQaWX0HWWVAM16Sdnl8XP7pOz4h WvcA7EileVTadfzulunfnf720Rc1kAPdr91kUVoEJcS7M8w20wRgUH0ET8m8MPd4zQyx KtJs6tp0A37dbgHbVvS12ULcYAe2uZbxt7M6QuxIegN56X3Io9xNoX/aTOiigztFn6cB qIEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=uYt8CDPA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a63d713000000b0045fcb8a8ae7si7515194pgg.231.2022.10.26.05.41.07; Wed, 26 Oct 2022 05:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=uYt8CDPA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233943AbiJZMk0 (ORCPT + 99 others); Wed, 26 Oct 2022 08:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233902AbiJZMjr (ORCPT ); Wed, 26 Oct 2022 08:39:47 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1037252A3; Wed, 26 Oct 2022 05:39:43 -0700 (PDT) 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-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747753979638286559?= X-GMAIL-MSGID: =?utf-8?q?1747753979638286559?= 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"; }; };