From patchwork Wed Jun 11 19:47:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 895576 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 502CA29B213; Wed, 11 Jun 2025 19:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671318; cv=none; b=U7un6vIdYgw6G7yFijd6M+f5j5/YXyPVbLyVU7Z2vyrBfsu7t7e3xybdo+1sipsEL1L3IexdN3oEkxys/ImFh7QVw8B2vva31HmEvbLQpYvAbf6bkwgEA8O5zvSslVX96Uoi2OxMu8Cm3Fqwu+a1LLCB6cbRU4duncwT+zHRoL8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671318; c=relaxed/simple; bh=0IogV/WYEoJgdGYIarAuHouch0dnxthSZymoHBE3dXo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Dfr5cv1rmbQMmBQOs2IEd6YPiiP+E+ZGt99uAR1uml1L9BeEUgZyyOOWFUU3ENKonjyIfwDV+ON1mJJUPiH/JN1pOib4egofuNgvayd/1LvjEGqfSFdh4hXlHiGucFKCCVRuhWYaoW5CaGMGHdtq7Y5LRnkZj5BgKLyW3nAYIl4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=t2u+pK0C; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="t2u+pK0C" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1749671317; x=1781207317; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0IogV/WYEoJgdGYIarAuHouch0dnxthSZymoHBE3dXo=; b=t2u+pK0CwDcybMGCHeCVPA/NLlCRq4NYx1yLEa8zua7OujMZXJpEHQpK VlhXs98WQj9LnpN9TgFJp+4ijVa6lSriqH+zZiuCHiu8qa4Usg/0kQzD2 k2COdkUjKKwBO6hnFkp8rIa/hhg/dGtgIt1ZmYtpvqAQ9vIeIf0pwAn8z axVjaoxqK9/veLFAdMfNlEAV9xgzh50krNEvFkKj0sR85Z3qMpxDpzyYX wQhTbZFp1ZUvcCOkB+frR72pXFPjQxFyX+nSd8TZTbRsaGUmVy2Fi9MWb dZ+Hk2Td9HZ+n9rwnxgyxbND8gPZ5vQQH97MgRwKFi4UFVBZCFZ2fWQxt Q==; X-CSE-ConnectionGUID: VqjTqfGTSymHXSpb+r0c0A== X-CSE-MsgGUID: AHBRzxCASWuSQB5jtvbCVg== X-IronPort-AV: E=Sophos;i="6.16,228,1744095600"; d="scan'208";a="42226222" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Jun 2025 12:48:26 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.44; Wed, 11 Jun 2025 12:48:16 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Wed, 11 Jun 2025 12:48:16 -0700 From: To: , , , , , , , , CC: , , , , "Ryan Wanner" Subject: [PATCH v2 01/10] dt-bindings: crypto: add sama7d65 in Atmel AES Date: Wed, 11 Jun 2025 12:47:25 -0700 Message-ID: <7aa1862f790ea19bf7bb55e07ec4b9295c5f7a44.1749666053.git.Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Ryan Wanner Add DT bindings for SAMA7D65 SoC in atmel AES. The SAMA7D65 similar to the SAM9x75 SoC supports HMAC, dual buffer, and GCM. And similar all 3 it supports CBC, CFB, CTR, ECB, and XTS. Signed-off-by: Ryan Wanner --- .../devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml index 7dc0748444fd..19010f90198a 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml @@ -15,7 +15,9 @@ properties: oneOf: - const: atmel,at91sam9g46-aes - items: - - const: microchip,sam9x7-aes + - enum: + - microchip,sam9x7-aes + - microchip,sama7d65-aes - const: atmel,at91sam9g46-aes reg: From patchwork Wed Jun 11 19:47:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 895575 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3D2F2BD015; Wed, 11 Jun 2025 19:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671328; cv=none; b=n7NHC2rxWbQ9DAZJW6mVoiMQhgwV6I/Zy955Yf4+pGJvMCGmsSFO9tAzNC6CtweCEgbCmHGWM4HHMYMSBTVSm4HyitRQ3yk07ZvjhtfSA0sbJM+zqeJopRf6/xr+FU4WQofLxNzjj+5E42MgNC9IE6Cr6hbBVvNQxBbAf759IfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671328; c=relaxed/simple; bh=QqgIym6p0/qWG6bPfyPWCvi9fxJfP7GcleXqFk/F74k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pbHUXgpOJkwZTJRk9pWGTJr8XTLQ3G/WDUZZXrX5GcrReSR2zD/oP3xAmWEoW5U+Qm2rYYi2IIE0BR0ASbicklgNN1N1aJqV3eejoW3cwxtaPo1hmys3VR1T7amk7DdsHCTjLnNt9LIAm2gHgCNDPsGI0fHHP9rU/H9k0XYnwA8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=f+TOU63+; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="f+TOU63+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1749671327; x=1781207327; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QqgIym6p0/qWG6bPfyPWCvi9fxJfP7GcleXqFk/F74k=; b=f+TOU63+WD6enj74efvGIVRLTZeB50P5KKi8WFof9/dpKj6BbwJ4E94w 5b9jgi53bXzeOBPMbownBvvXUsnOu1hUbym/sil2aP9Q7iSeSqWLkhMQI 0TigZ2aOP7w4qzQiEmPUCvLILwUJw4BRboV+nIhP/JELRjDR57rKA2Exf TiVcqOf2o66yZxuz312VfGVrhROjqBmRRrVI92RaDmVi4+LlhdZMntQn6 YWrpKpR7I0PxYSJkrtecsAxgkOBtrAUrTYCP13AiIyfYCiWfObKpzjdkk aDwbEddFTbIe2JqtgP0DcxB4FtMLporADzAFeuBgW1Lkj1iR0/Vfcywg7 Q==; X-CSE-ConnectionGUID: Mlj04rVUS3aXDCaAEgxBzw== X-CSE-MsgGUID: tdR9S1agR1iDCe8VcV5Rsg== X-IronPort-AV: E=Sophos;i="6.16,228,1744095600"; d="scan'208";a="210175081" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Jun 2025 12:48:45 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 11 Jun 2025 12:48:16 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Wed, 11 Jun 2025 12:48:16 -0700 From: To: , , , , , , , , CC: , , , , "Ryan Wanner" Subject: [PATCH v2 03/10] dt-bindings: crypto: add sama7d65 in Atmel TDES Date: Wed, 11 Jun 2025 12:47:27 -0700 Message-ID: <1fa63c0ff667c61c924f1571d9c2f03cd1fcf7b2.1749666053.git.Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Ryan Wanner Add DT bindings for SAMA7D65 SoC Atmel TDES. The SAMA7D65 SoC has the same capability as the SAM9x75 SoC. Signed-off-by: Ryan Wanner --- .../devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml index 6a441f79efea..6f16008c4251 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml @@ -15,7 +15,9 @@ properties: oneOf: - const: atmel,at91sam9g46-tdes - items: - - const: microchip,sam9x7-tdes + - enum: + - microchip,sam9x7-tdes + - microchip,sama7d65-tdes - const: atmel,at91sam9g46-tdes reg: From patchwork Wed Jun 11 19:47:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 895574 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2DBA288CA2; Wed, 11 Jun 2025 19:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671330; cv=none; b=SwDkE2Nt32twR+yeTXxfAKPBKdLIrBsksouLVMhnzSI4IuYzx5hh+8t+RAnHCiBIf+vt6ngwHkqFdVfScaePWYVoWbsM6zx9Pg82O5KEgHeYO9IUGHmlRdtVMu82xroZnrJdNlaIjVApwjGZ4mBL/AaEi+DSVIr+okydhoxaKrY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671330; c=relaxed/simple; bh=Z6V7mSq7GXzEixyZ5bJFvSwoZa1KZkqKDSMRxyrkX9g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RcJN/GzR+TEBsl5DAzxXVjkpWz1W1lvQnKavhXEMYC5cLSmI7irWEKTbkXwBLzLw5lqjwyJnY7d/ncQywRJSBq2yTJnR73p9lZM+voJGAVJVnBKDCvTkruHVyex+JYAMzXBBAo2DdJLyWZA6ugv9OHZmCIgsUAWl9Jy/JVmwgqY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=Y/dTTSw1; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Y/dTTSw1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1749671328; x=1781207328; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Z6V7mSq7GXzEixyZ5bJFvSwoZa1KZkqKDSMRxyrkX9g=; b=Y/dTTSw1YPeiKmqouLZqQN6hWHYfeXvmYI8PGZgXb12Y80OxdzO4eBIa RMPC+WVEYPyVOPs0ESUTJ/ulCoGkJNVqdrkVL2okeU2nZDwiLbYCwTfGO 43Bn2ctP6Ex2uHAATxfiB+AUw0OiNeIVi71edRjij3Qnf9Dv7rob784nZ qnW/845kKOOaupH8D36caGj/ELyXjOr2WEUULnYneu6giFJmClQVMqouY GxZK1Ek/a26SC3ijLVY3I5E4O+IHSuRrtYwQ/f/VIaY7yob08382IQEzn Q6Sqjs/9pKWtBFpXzykKKdZLtODBy9gT0HAYQsbw33JsSIUxq7HU/Z+ZM w==; X-CSE-ConnectionGUID: Mlj04rVUS3aXDCaAEgxBzw== X-CSE-MsgGUID: dVq9KnpeREi65SXQ+s1x9A== X-IronPort-AV: E=Sophos;i="6.16,228,1744095600"; d="scan'208";a="210175091" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Jun 2025 12:48:47 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 11 Jun 2025 12:48:17 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Wed, 11 Jun 2025 12:48:16 -0700 From: To: , , , , , , , , CC: , , , , "Ryan Wanner" Subject: [PATCH v2 05/10] crypto: atmel - add support for AES and SHA IPs available on sama7d65 SoC Date: Wed, 11 Jun 2025 12:47:29 -0700 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Ryan Wanner This patch adds support for hardware version of AES and SHA IPs available on SAMA7D65 SoC. Signed-off-by: Ryan Wanner --- drivers/crypto/atmel-aes.c | 1 + drivers/crypto/atmel-sha.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 14bf86957d31..4a3db3dca272 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -2296,6 +2296,7 @@ static void atmel_aes_get_cap(struct atmel_aes_dev *dd) /* keep only major version number */ switch (dd->hw_version & 0xff0) { + case 0x800: case 0x700: case 0x600: case 0x500: diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 67a170608566..f7021925349e 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -2532,6 +2532,7 @@ static void atmel_sha_get_cap(struct atmel_sha_dev *dd) /* keep only major version number */ switch (dd->hw_version & 0xff0) { + case 0x800: case 0x700: case 0x600: case 0x510: From patchwork Wed Jun 11 19:47:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 895573 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 761E32BF3CC; Wed, 11 Jun 2025 19:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671332; cv=none; b=ups1RZZjNV5Ny62HssTUQ2i1txr3CzOydmdYEDkvwQdTCfNbI2PuEzQhqkf0CNm/F/Y4pZMZL8FR0vonnu8Bvu3/rCd674AYkc+lkxMtZiKMVs87DEje3cORF6e79e61AmRrSydIu05n5sOwOn1dRKc911JcnTQ68sfLE1AzFHI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671332; c=relaxed/simple; bh=xLRwY8aONHUaKqsXAclFpBaTSGFNejQ7PpKVRUoZnnw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Z+EdDwV0PNmSJ38lTYBTdj/kDfnMwjB1ZpbGDBO4IkoSA/XhQJvd9RPleUb6BwKA3cnPaLYjUl5KKdNcmk+FN/RIxDDlyDB0Mv6Nh1lEW63iTi6bz0bW5SRwNYHbnB9y6PmEQl00UMYKFx5TiUIlKpYjIBeo68lJH/+fpjfg80I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=pfDuf8XG; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="pfDuf8XG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1749671330; x=1781207330; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xLRwY8aONHUaKqsXAclFpBaTSGFNejQ7PpKVRUoZnnw=; b=pfDuf8XGN/WykWNNGsqRhw8+8Y+n2C0UV3jfm6W3MN1KJp1+Kb+8sTBV Qepbxu0j2d4t7VUSUzhv6+SlJbnfPjovCA1WPzhB3eN5ts5rU+VhrE5+F 5GmcKK0sfCmEOGOP1SMdirK7+oSJh/prL0kX/F7sBEXPnxC/uVxKiB/o1 fJGmWprNEtvoUGruiWkQwgfST1FERxFnvuWN9M4Tb0Vio2qyVMhOHkarZ KouiyVJRhbRJlk8v1yljSY9ytxq2Jceg00eiQCF5fWs5j97q+ppQ2a2Yy /Tsw5omeQjqjA87KNywMi1jhGQR8zrYJRRejUVSrhXO235wdxrPt0r7Sa g==; X-CSE-ConnectionGUID: Mlj04rVUS3aXDCaAEgxBzw== X-CSE-MsgGUID: UKxifKXEQ6CSQxuy3QPY1A== X-IronPort-AV: E=Sophos;i="6.16,228,1744095600"; d="scan'208";a="210175095" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Jun 2025 12:48:49 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 11 Jun 2025 12:48:17 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Wed, 11 Jun 2025 12:48:17 -0700 From: To: , , , , , , , , CC: , , , , "Ryan Wanner" Subject: [PATCH v2 07/10] ARM: dts: microchip: sama7d65: Add PWM support Date: Wed, 11 Jun 2025 12:47:31 -0700 Message-ID: <195c69a19be1ff14736db402e0f1ee64438b4b20.1749666053.git.Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Ryan Wanner Add support for PWMs to the SAMA7D65 SoC. Signed-off-by: Ryan Wanner Reviewed-by: Claudiu Beznea --- arch/arm/boot/dts/microchip/sama7d65.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi index 90cbea576d91..796909fa2368 100644 --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi @@ -293,6 +293,15 @@ pit64b1: timer@e1804000 { clock-names = "pclk", "gclk"; }; + pwm: pwm@e1818000 { + compatible = "microchip,sama7d65-pwm", "atmel,sama5d2-pwm"; + reg = <0xe1818000 0x500>; + interrupts = ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 72>; + #pwm-cells = <3>; + status = "disabled"; + }; + flx0: flexcom@e1820000 { compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom"; reg = <0xe1820000 0x200>; From patchwork Wed Jun 11 19:47:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Wanner X-Patchwork-Id: 895572 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88C292C178E; Wed, 11 Jun 2025 19:48:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671333; cv=none; b=QBj3K6Lkv/Jbs0AatdjNJhgnlQ7MY2rabYFtozzbDNPrrcaKMw2HRPH+lHtnzXT/MwwuJIuWiZWmkc6tJy9wU5OEYNgizPKnUufUE9oKMJz4KrXqKM1xxA+mLfWK8NE4oTsNHxyovMpAQtMQWk7MNGWFGfEsLbJQnaG2aTDqv1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749671333; c=relaxed/simple; bh=w/dMst1udcetA1y6IV0fshp6d32+nQG/D7UUjKQHprU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gCnmOBjydNsiyh7ihwqTt4NjHCheieTqehHzXD19wRuhbdRLcsKHmN6lUgzvydxtCGzIyVa8TnczPmGavtZ8bljLlhv9ybbeBa/bRjepfidBm5XDn+e/WJ8162G3JWxvSi0T6OPQwoaN+kOwXZGvVHUFRpWhAe3hyP6ZJ/sJNMs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=vY9A5y1k; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="vY9A5y1k" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1749671331; x=1781207331; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=w/dMst1udcetA1y6IV0fshp6d32+nQG/D7UUjKQHprU=; b=vY9A5y1kUNXLw7+GcX8PW5/RhMnVgZu8OHuZql1OuIM6LcnjBtZ/m4jS 8FszAXJ87sWoHv+HvGVod0AsYpoIAeCarJUtK92p7Rtrdi7xkQUQh463g pv52xMTJdINl7Dl6sfnozELWSUEDRukZnwgDyr07UWllFrE7emwJ2kqpx qve35cdu/TqhXimKaNUcNk5Wn9Q7yaa1wLb3TgroaVK08O0LFh71kHrII 7GJJcsXZymuHhGcPRGG1r1HGrfE+0odGiUovFp43VJIYH7nXduMx8BZFP rgqWXNl4wSBiUCKpiZrv1vIbVNP2wSzwyQfQGNs3eBjv+4iyXE7MGf/qr A==; X-CSE-ConnectionGUID: Mlj04rVUS3aXDCaAEgxBzw== X-CSE-MsgGUID: rxi0SeHCTBWnsQEPh1vbpg== X-IronPort-AV: E=Sophos;i="6.16,228,1744095600"; d="scan'208";a="210175098" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Jun 2025 12:48:50 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 11 Jun 2025 12:48:17 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Wed, 11 Jun 2025 12:48:17 -0700 From: To: , , , , , , , , CC: , , , , "Ryan Wanner" Subject: [PATCH v2 09/10] ARM: dts: microchip: sama7d65: Clean up extra space Date: Wed, 11 Jun 2025 12:47:33 -0700 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Ryan Wanner Remove the extra space that causes formatting issues. Signed-off-by: Ryan Wanner --- arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts index 53a657cf4efb..759b963d987c 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts @@ -38,7 +38,6 @@ reg_5v: regulator-5v { regulator-max-microvolt = <5000000>; regulator-always-on; }; - }; &dma0 {