From patchwork Fri Feb 23 17:22:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205545 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp729017dyb; Fri, 23 Feb 2024 09:24:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUrKYDgPgBTv5c3mg4mTnJ/LuK/KWqWWLjEOiFT7lq72Ra+tMzdJmhfQUymQuena8XkU6FxeNePau0tOE8ngnD/08yu8w== X-Google-Smtp-Source: AGHT+IHGv6r9Jxv61V6gXCFxzLLuItp5eBRYJWiAvigq2tydefBzRMWVbwsOvH1slpY4n/q71e4l X-Received: by 2002:a17:906:22d0:b0:a3e:7f80:ecac with SMTP id q16-20020a17090622d000b00a3e7f80ecacmr383713eja.12.1708709041546; Fri, 23 Feb 2024 09:24:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709041; cv=pass; d=google.com; s=arc-20160816; b=l0qRjGP76G9gKdk/6m0CiwijyZVMBqO2465gu9WtZw7U1NMUdJ2f2tQhdH0Am7hhkM YUj0x7xB585N5mFbolVQWfQtnZGuvCrT/xA4S+U9owwd2ZjE8rDEscuBoBfz3OQdy1cQ 8C9FX/uuRJ0By4z+oT0XvnaSN6FSQIGRVHVWjiZ7gpcysubLDZhcKgJ6SsmsRvPGbg9V Ma7QJFlOc711km6/2sg6tPWP1st/xufZVNNzMBjyHDmVSqO0F+gLIApafCtP7pfwgfHn rGKiLULqBFnbcoYpe+UEYQ2j0bOMcjy+AmyYaQyAIqwnAXd7J+1HUnJ3nmZ9IM96tLLZ GCSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IpgWxKCSxQpejDk/RVY95Y496gStSL14elhXWvBS/H4=; fh=/8q0pZucbRtE0TbIP7XEIHK1WbwR2zTMHwi9ua3ig2Y=; b=COZ7QZyQeDdppWZ5iF2zPIV2m9vTJghdj7uqenmCHFwUXDlljL1M/NbVFnsdDwyO9N 1pY66iU0yurY8VWEnmGMqD65QozCcHId8yBgq5X0MX7dNaOKENh5NrPCbKdyv5Kkc/VE 5CSKwl74+pPH3hZitLD0+8ovubRqIHpN95DJJZ+z5cGVjW/eDFEBDhebWfQ2sLi1Z97P p6BNV0xQnwpAe7Gd1D7te9ZTwR08mlCqYkahM992qvsPjUqlERry+6pOXKRxH4Yg/fXI TVXaIcgahDC7H4C+hVd98+kOmZ13C/HK8DQXZR/zDsHHM4QMDKmYfLLr6xSmhUQMcq1o Memg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Xh136TwB; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78824-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78824-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gr2-20020a170906e2c200b00a3ea134a126si4517701ejb.815.2024.02.23.09.24.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:24:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78824-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Xh136TwB; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78824-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78824-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D2FC1F248CF for ; Fri, 23 Feb 2024 17:24:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9497913A262; Fri, 23 Feb 2024 17:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Xh136TwB" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 402DD186A; Fri, 23 Feb 2024 17:23:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708997; cv=none; b=f/AfU4g2vvYNUyF9ovOAJiZYUoE/I8IB/p7IguQnpeePRO1q9pl5QaZIHHshntvTyeGxKX78RHo3PJiXMFD0TF8LWz20gmPQPxYBzod7F7pFdvuL3YUYMNdAicNphMN4XuDN5203QxjXSWRrwHVCVS7KQcwHYy9QXDtREdqXSTc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708997; c=relaxed/simple; bh=N3JiGSIuHPDoA9DuIr7Vrwk1kYjucAxaD+67rAGm5Lw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=roOngCr34mAmAeFKfIsBZqVZ/YKk6KAO5ijR+utUS4ej3e7tbdZLfNCwBwzLp3SM9YUJnSXAzJ8m3Snr6lRIGir/mEgIpT1Ck9as19wz23HpjCK/b9bdQRHxTEySrttGQhbbPCF4Heemn+GYLiFtezY21xRjjkzI6sXHclnHQQ0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=Xh136TwB; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708708996; x=1740244996; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=N3JiGSIuHPDoA9DuIr7Vrwk1kYjucAxaD+67rAGm5Lw=; b=Xh136TwBENiFRm4Q27ncYrZNQf6033W3YrgMaJnh8OwdB0QEIayWf59C Xzn9euZjmDe3ywIQZe3cjuMNmvQF8ODz4ZdqXi3wfsBX5O1HrJ4TT4z7n jebrdi932F/QVt0Zgq3tI+6tfSFxKmY8kJDjW6KpB60IAebQf0OhobjNo PVSOJdmnYb5ZO2Apy0OCx2i0oJv52J+tECD/GtaWIohqyrmfQOyVeuF3H A9f1kS4I4Poi2T24Njhtl/9S9YmpgnSqdsnwEeEH1FNV+fqL2jbXU5CHZ IMMgwn1oVNxl6Po3Bl9JXMC9esr4F3lTwWY+QkPMwVfILeJ+lkB2azZET g==; X-CSE-ConnectionGUID: aMpctv24Qgyd0lLqchzPeA== X-CSE-MsgGUID: FQ6J8jJpQr+9AOQUIOPwGw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481201" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:23:14 -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.35; Fri, 23 Feb 2024 10:22:50 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:22:45 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: , Rob Herring Subject: [PATCH v4 01/39] dt-bindings: net: cdns,macb: add sam9x7 ethernet interface Date: Fri, 23 Feb 2024 22:52:28 +0530 Message-ID: <20240223172228.671553-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711291620110101 X-GMAIL-MSGID: 1791711291620110101 Add documentation for sam9x7 ethernet interface. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- Changes in v4: - Changed the fallback compatible as const as per the comment. --- Documentation/devicetree/bindings/net/cdns,macb.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml index bf8894a0257e..2c71e2cf3a2f 100644 --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml @@ -59,6 +59,11 @@ properties: - cdns,gem # Generic - cdns,macb # Generic + - items: + - enum: + - microchip,sam9x7-gem # Microchip SAM9X7 gigabit ethernet interface + - const: microchip,sama7g5-gem # Microchip SAMA7G5 gigabit ethernet interface + reg: minItems: 1 items: From patchwork Fri Feb 23 17:22:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205544 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp728992dyb; Fri, 23 Feb 2024 09:23:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU7sY/tuIEqXfJSLcPCiVtznH9h2JXhSngM10Zt147OfBjG7V4u2b329qZpyDHF2F8XR+yYIMQvDTRpVYKujvRJc6GXZQ== X-Google-Smtp-Source: AGHT+IFE0hiIRq2y2boViZp6Jx3P4gk950tlTN/0y6M31vFS0YpVOxKElPAJm769aQOGpVdGwq95 X-Received: by 2002:a05:6a20:b49d:b0:19e:a19f:f4de with SMTP id eq29-20020a056a20b49d00b0019ea19ff4demr385015pzb.41.1708709038655; Fri, 23 Feb 2024 09:23:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709038; cv=pass; d=google.com; s=arc-20160816; b=DFwuCOMdOr2bBXOfS740HS1JdqhBnFG63WExfnFyfSufffTgRecVactIKpcTZ7123p U3F0MwI/E1gH7ZxRKl2mhhzju9mk+HfoB0zLA8/EEVR1jmrxwJDw5+yb0KAloLeWEKJJ z6GUqAl7HV4O1tGgPUf9X6k0dNOvdqq9tnfiTT0i0al79zVtK0dNp7Cv2I0K2UsJaIqg BIPWWzOcpVhX6EC9hZSkoUN+iNbv5mLjJIEGBMGoz8SImtqoE0dHe82bnRknHd3NA7W2 6STvNHPBA5fxtnej9TfiNCAjHBpGMR1zTs9tOyMVNuyxySzPMya+2fCCc4pjOXYwVjPn 4xyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TScXsFYaD6mVk+2g0X6kU1QyRKZaWgv7GbEodrlWDuo=; fh=O8kGa0rQP5Sv5XARhoNVNATNIiTP3tB/Ip1K2lxburE=; b=MvzgSU5EIYeMyPov83PBPQn486nUNG2qQMBH4eI2/s7cunQ3yi1Vyb4D1du++yaST8 DIEOCccpk5mBqPW2ScblsJt42Zz+EI79G40VRo7hllPivX5HqZW94J+1c5jxJBcpNVAH yzAhFvyVjxdr/T1cJ0ocd2lv9p0XnR+r3QBrY3YzQhdh6+u1ez6SUZ6mbVT9ESqHQiCk 6riJhQRbVU23AEAIQ0jXGWQfvr7Ww1+/B4q7JE0J/r853dAgDO51CZgOqMJleOJnhWvd jic5c0K0ZMsky8OcYd8acZ3hx3B1eAhBSw9gGRY0g1v1tz5uOckWXox5R+5P8J8zXlF4 2PHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCjRTno8; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78823-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78823-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w11-20020a17090ad60b00b002972e2132eesi1487556pju.64.2024.02.23.09.23.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:23:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78823-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCjRTno8; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78823-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78823-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7A719285505 for ; Fri, 23 Feb 2024 17:23:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 686B91353EA; Fri, 23 Feb 2024 17:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="kCjRTno8" 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 4C0B6128822; Fri, 23 Feb 2024 17:23:14 +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=1708708996; cv=none; b=Y/fnYJQBhx6cy4Co270mf5jGxmp3qXw+4XBHwLj0AbEqT3u1Z1gLbKBCVb2MJlp7SeVBzKMlIdOPawKbTC+xqbJDiIs6QT9QuMWy5q75OZ+e/BDPCMg0qsNYaxihSD2pC+4PfupbVqE7epWFl9n1iOCGgGo1+lxnGDIzeQfNvWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708708996; c=relaxed/simple; bh=zhJKSICRTYexG6zbU9ZUtOoY1TWprSXwSg3wxv01iHg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DHTDOclmAEyXXGQOycK1zQu196b252HwnnhrzozeCVhS/1go9tr1Oluf20RBmnXyXr9tf7Eco3rOSYqVCD1550rOu+aAeSDnvXI3JbOtjvIhEqa0NYPpO3ueiiOg5jA7g5F6v9Rs137fbevUS3t18Ia6z+60sVPVmNyxhV7liqg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=kCjRTno8; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708708995; x=1740244995; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zhJKSICRTYexG6zbU9ZUtOoY1TWprSXwSg3wxv01iHg=; b=kCjRTno8J6iRukPElO3mBkVzsMlbOIiSUnnLh95ZBJ2SNL7aRPDdexs9 wQrYSR53BjvjKlQNwjgHhsJvtRMMlL/2ZGHBFGEAhLlf8VtML2z9p7s8E vaJOb67ljKab09wLxnfR8HmTr5LjgStA5y6ctqDadsrv9bZI4b/aPG6z/ uA+OrV/NIYFzPqWvDFbhfPeX55zS+Kvu9bGTT6XF6iyUbX8oGJ4pmi5Cr 3LNy/GVwkYY3bsI8x4fmLFHhijBGvav6t2tDCcf24hNZ4tkmlnJYWyloL LK0C8IAJ2XOPg2UcmMCkMZaIAhcIbNrHbuSEMugKO7Bof1ukoePfPEjCk A==; X-CSE-ConnectionGUID: kPA6bSjXSWenHIaSylMDKA== X-CSE-MsgGUID: +HLrebGIS6efKqwJlXHSAw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="184009330" 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; 23 Feb 2024 10:23:14 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.35; Fri, 23 Feb 2024 10:23:09 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:23:05 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Krzysztof Kozlowski Subject: [PATCH v4 02/39] dt-bindings: atmel-sysreg: add sam9x7 Date: Fri, 23 Feb 2024 22:52:50 +0530 Message-ID: <20240223172250.671606-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711288985359783 X-GMAIL-MSGID: 1791711288985359783 Add RAM controller & SFR DT bindings. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Changes in v4: - Updated Acked-by tag --- Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt b/Documentation/devicetree/bindings/arm/atmel-sysregs.txt index 67a66bf74895..1339298203c6 100644 --- a/Documentation/devicetree/bindings/arm/atmel-sysregs.txt +++ b/Documentation/devicetree/bindings/arm/atmel-sysregs.txt @@ -11,7 +11,8 @@ PIT Timer required properties: shared across all System Controller members. PIT64B Timer required properties: -- compatible: Should be "microchip,sam9x60-pit64b" +- compatible: Should be "microchip,sam9x60-pit64b" or + "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" - reg: Should contain registers location and length - interrupts: Should contain interrupt for PIT64B timer - clocks: Should contain the available clock sources for PIT64B timer. @@ -31,7 +32,8 @@ RAMC SDRAM/DDR Controller required properties: "atmel,at91sam9g45-ddramc", "atmel,sama5d3-ddramc", "microchip,sam9x60-ddramc", - "microchip,sama7g5-uddrc" + "microchip,sama7g5-uddrc", + "microchip,sam9x7-ddramc", "atmel,sama5d3-ddramc". - reg: Should contain registers location and length Examples: @@ -63,6 +65,7 @@ required properties: "atmel,-sfrbu", "syscon" can be "sama5d3", "sama5d4" or "sama5d2". It also can be "microchip,sam9x60-sfr", "syscon". + It also can be "microchip,sam9x7-sfr", "microchip,sam9x60-sfr", "syscon". - reg: Should contain registers location and length sfr@f0038000 { From patchwork Fri Feb 23 17:23:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205546 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp729357dyb; Fri, 23 Feb 2024 09:24:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxlmRzBhHPszpMNCXWS7+mD6Snvf9a6XA+bEYEJYO+/mXCc/tAa0SsEw5noGeyZy8YLuzbzgNi+i4z6RiRmyvoa00OGg== X-Google-Smtp-Source: AGHT+IEvGkxYi3XzUMV91QVRe4jQa8/EBPBsFtqp6adnGlLgrO7fFKEmvLMkV63dYvNGibZXxY+C X-Received: by 2002:a17:906:3193:b0:a3f:5628:e364 with SMTP id 19-20020a170906319300b00a3f5628e364mr315528ejy.24.1708709076253; Fri, 23 Feb 2024 09:24:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709076; cv=pass; d=google.com; s=arc-20160816; b=AF2pSOdTCevqzXWe4iPMMi+Qu6bDBkhdPqCkoSG4Brlt8TqB6NNOeuMP3wohXHw8Nz sfpSCtDTxWu25dWqy6odjtgV3b6nHg0Vwnd4xK6te7DnrC0C0th6v16U+qM4XzysOOIk Lrg0NSJ4ZXMCamO5wtjj896Kgkbv+qPNwOvsz/qD1odDdtkfVCTpbE/pc/NyVYzaxko8 mxSYtaCRXnFGUBg6NXi42NFi4siWADjHDsDRnZgsRE0jnrBVD79Cs5yQkOfO7K0l70Pf dGPdh4nT6rZA1nutESr4L9EDFMviV6cRjM2QxewQNrGSvuuaEkPaCNSg3BXqMUqEWIgO OOqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0jOWgLfuXqFmsvJwKbF6M997cZiI8nzscppzu9B1FPE=; fh=5/l8yJpivcPru7iUxhfE53BMVqQAFZA7xis98tu2Sm8=; b=YV/tlt/j2YtxaH2WLx60148b6f1mQIQ6Q/+oLYHEt2z2D0dvY4OblK3wqGMOPnq19c HAztlLkCu5oB5ya81/JcZX3lZjh5yqb4u4f1Rx3Od43/kP2fA/jMu/m10cIKIiHtLVPN F08vG39IF+Jhot18iZEgHt3I06I8irES4R1nCuQ52/6ZkS8PCBrs8bRZmuqV/nkXHkwT h5fN+l1cw5pA7bU2GxXt6IBg44LAH8r7TeRehnIcGqxuohUgzsRd4AwTKdu5o0qeR7Uz g3jNyL3EvXjX3sQ5mKBCJPBoWJv2B2uAgl7imW6Wk6TWlZIskiYnn6O6thnupjx1UtxQ 9hyA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GerLm7Fi; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78825-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hp13-20020a1709073e0d00b00a3eef1eb746si3709944ejc.739.2024.02.23.09.24.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:24:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GerLm7Fi; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78825-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78825-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D8E411F24778 for ; Fri, 23 Feb 2024 17:24:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1EEA12FB11; Fri, 23 Feb 2024 17:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="GerLm7Fi" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 4FAFC823A1; Fri, 23 Feb 2024 17:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709056; cv=none; b=sg6ql+jfKZhlttpChWo0OUDJ35MqKwUmmFadO+F258IerYOqxcr5PQlu3oS7l/X94cIZc43w8HgcBTARURNZj1xY3KFGZwJGy+XeCi1PYN3S90EmJuUMaRGmE2pMaiEsMtNF1wDthiXMfh0H/Pv35Ap9pFbq0jpoQONLWBAaT84= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709056; c=relaxed/simple; bh=wnWXsy8zY6VRlAbrWYh9V7zguQIGEAQdCsEXb2Ur2W4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YXdoXT4cZPBad+6p0K48HTCHW2ihYFjv5gxNHqk9sSrNUUB55kcpb/vkUSk+4yrh1t7KdMQf1Wc2OyqMu/W7xBTG3leieTLBUXvd0crFvy3bbOfGcVAqx26plSr1OADVOqN+doaZLbQyvx8gDId7amb1PSkvf5AD9E/eLzk7tuI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=GerLm7Fi; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709054; x=1740245054; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wnWXsy8zY6VRlAbrWYh9V7zguQIGEAQdCsEXb2Ur2W4=; b=GerLm7FiaaVVr/1cYD19q8eEe8MJqCjfZLlIzha9Ei7DDnKKEDWr961t 334wXWQipjtb6ZtnQyF5ktHubrlS5g3PW9jj1D2Rp00nPN4mkagFFcYjv XJE7VxyVTkFpI/CPbG0uiyCvMr7ukBZ5m33o7Uy7/o7Kz5gvTomGmPlKR FbdDLE9Ck0Vq6+cjYix6/NjrbJwwK7+vXqTs9po9c2+t0aBSriEqwBcEZ uzq/6VPMHKInYCYz33Ft4aT+hC69yVFj0abuQQ9wSbs1EbESIqD9XISWd qTft6P2v4R44YzV5lBY5mICGoxVFnmDswbmxZiPC01cO0w0n/Bbx4afcc Q==; X-CSE-ConnectionGUID: iohkZhWBQkWaq7QUPmZNTw== X-CSE-MsgGUID: W6oFT/8mTwCJ6jlDgdbggQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276013" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:24:13 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.35; Fri, 23 Feb 2024 10:23:58 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:23:52 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: , Rob Herring Subject: [PATCH v4 03/39] dt-bindings: crypto: add sam9x7 in Atmel AES Date: Fri, 23 Feb 2024 22:53:10 +0530 Message-ID: <20240223172310.671661-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711328092560521 X-GMAIL-MSGID: 1791711328092560521 Add DT bindings for atmel AES. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring Reviewed-by: Tudor Ambarus --- Changes in v4: - Updated Acked-by tag --- .../devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml index 0b7383b3106b..7dc0748444fd 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: - const: atmel,at91sam9g46-aes + oneOf: + - const: atmel,at91sam9g46-aes + - items: + - const: microchip,sam9x7-aes + - const: atmel,at91sam9g46-aes reg: maxItems: 1 From patchwork Fri Feb 23 17:23:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205548 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp730173dyb; Fri, 23 Feb 2024 09:26:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVH+Rgkiyv8LstMm6W+T3pIRY7MYSDtHO3lme2B5Q2kOOzsYgfVKFzdl8fmr7U5/s28YCy1imrkQul8J+qcinzu1oce7g== X-Google-Smtp-Source: AGHT+IH04UA6huI6fMiEwYug6K9gRFL05lrlQwB1EFiEqWn+cEh+oin/j+bXrjDrh4VQte7wJnqZ X-Received: by 2002:a17:906:2bcc:b0:a3e:6f98:c69d with SMTP id n12-20020a1709062bcc00b00a3e6f98c69dmr314493ejg.63.1708709167053; Fri, 23 Feb 2024 09:26:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709167; cv=pass; d=google.com; s=arc-20160816; b=bGWgkXeP49P1y68ncyVP6y2KaV4rD7/TNBuqW249KEfTbsoRj4yu54iceF+2RAJM0A Kr54a3GhXxHOuZH5jvYRZCyyj3s08JV17b8s0D+Vk85EJllo2o4dgaf1Eob4FhhecUCI GJBawuEqxSGAA4xNuhIKkUzCupe6Y2nOEVsr7yAZOkjZHiyDM/5h37xIDnUomn6ddUR9 AUxU7NDxwr/XgTdExEkMk7dKKUsfM/tq2uwnl7b51pIgEXAJtN3/Xqfzd19UpCpQTQWa B0PheWAYUJIIvb7rgX/WnulrOcfOIy8hJYutcA6nWoP7RU7vWadqA1EDXWT+0/tF6v4f 9jsw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VeA25BmnSZTzhm1bC41HP8O0aHDw2ah3+eg4dqGV23g=; fh=5/l8yJpivcPru7iUxhfE53BMVqQAFZA7xis98tu2Sm8=; b=Csbv66yRckd8M8AiuFp0xqKd48thaneSIrMhAPoGKErwBFf+skNmAR9yPBuVYFRMJ2 lBvKyqUNh5009kJMB+dlj154DePm8gPUkQn/N/h6OTX0zdcjv1cP71GFx5CtI7TEuMh2 w9UFz4rDz5O1wVWGk63dDZvxiW/5sIANjNlt5ftqag5ttXqVPv98fd6EXNHMiDLm0BPX 2CofvJCWyacRLz4z0/E6IEVnq/GKDpu6xEoU+3TCMHFAkq0MFCblro+8cJgaq4CEX5Ej kc6NZI7q0NMOSXgATLpRhW2Nb0mpusJ1sFkYiAp616NDl8YZ/pKerW0AJznrTuSQTPfW MmVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tIckocSj; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78826-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ec18-20020a170906b6d200b00a3dfb75758dsi6290486ejb.92.2024.02.23.09.26.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:26:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tIckocSj; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78826-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78826-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 646BC1F2510F for ; Fri, 23 Feb 2024 17:26:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F7FC13A860; Fri, 23 Feb 2024 17:25:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="tIckocSj" 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 E039112EBFD; Fri, 23 Feb 2024 17:25:13 +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=1708709126; cv=none; b=np5lM7Idt2OTkg0DQCECD8H7cu0Zzv9t0Gb5zMNB9Oi250LY2vtVczVlkqLyXsbUVEuChsvusvi8KZ6rhw4Zq6gtRdRNrfIS/bzGjTvThMCcEPNaNh7m3vbvsVrOurNbkK1CRht+cEuqR1KQaN6b1f9NVsdGyyHBmdFNMHqNwuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709126; c=relaxed/simple; bh=5r33dar4uXTcIxiLo2EE3ZhpnzHXGBgTGDLgfEfSrvg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Tp4XpqMTa1A1d1oNU1qbvlMgq8OROqkh+kNK3YQu06rpnwqwURIYAM5iLbZpCIoS7cpkiV3CFd4xP9PXUnaZWg+5QfvVCelNap+81pB3XNJ0wEpmbHkjjbDNoZJUB/2Pm+m4HTyEjVUIpWK2yUWUWi43A2kElfLfvATCFeJdYRo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=tIckocSj; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709114; x=1740245114; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5r33dar4uXTcIxiLo2EE3ZhpnzHXGBgTGDLgfEfSrvg=; b=tIckocSjCuk+2aPLKLj7/0i1K/UQ//m+Yc0JUIxjGz0bUfOyiSsROYUq ThkaN5t2b4DcV/03JLdMfjj44iwyNGKM09/5BUH0GuFSLGKeNMDGV/7Be QxHKXYdEYQ96byGBApbGbNSnKpdJqeWcpocuRsasjctJYCnywFKQAQ6JK 7bk8Dgb1A9R11TfvgrgWtCaZdfzkc7XOSJ+rdxQtxjoMQwtLYlE+Soa1L eRyfGj2ae5qZVWlWDtMtKuuX8U5bMV07MI9f1+PbPh66i4OaEGU4D5sGg G1PTG8vSDTFpAVuKroVfrtvpUglFIVPxIFwop+VCLkKIH28C+BikwISoT Q==; X-CSE-ConnectionGUID: dqFe5GJiTEWg/SG7rQOAsA== X-CSE-MsgGUID: OJqcd/JwSvGUi+SaCzclTA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267159" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:25:12 -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.35; Fri, 23 Feb 2024 10:24:44 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:24:39 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: , Rob Herring Subject: [PATCH v4 04/39] dt-bindings: crypto: add sam9x7 in Atmel SHA Date: Fri, 23 Feb 2024 22:53:58 +0530 Message-ID: <20240223172358.671722-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711423093918431 X-GMAIL-MSGID: 1791711423093918431 Add DT bindings for atmel SHA. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring Reviewed-by: Tudor Ambarus --- Changes in v4: - Updated Acked-by tag --- .../devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml index ee2ffb034325..d378c53314dd 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: - const: atmel,at91sam9g46-sha + oneOf: + - const: atmel,at91sam9g46-sha + - items: + - const: microchip,sam9x7-sha + - const: atmel,at91sam9g46-sha reg: maxItems: 1 From patchwork Fri Feb 23 17:24:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205550 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp730550dyb; Fri, 23 Feb 2024 09:26:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUODGfjO+nDsibyDacOc5DBsgX7sZt74z2BaC6sKslUDjZ92nnVw/BHCNWHIqn1/m2P1xZI2aMEUjpxXgC/UEjXe4eoBw== X-Google-Smtp-Source: AGHT+IFPPWtRY3ER8mUZYTRRvOWGEZcL2Rx/Sr35piu+HSkycIkxvleHozXP06xBg89CYC0otrgJ X-Received: by 2002:a05:6808:1302:b0:3c0:3c06:afd1 with SMTP id y2-20020a056808130200b003c03c06afd1mr486579oiv.48.1708709206575; Fri, 23 Feb 2024 09:26:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709206; cv=pass; d=google.com; s=arc-20160816; b=ctDs5BI+tWwHe7+HmQhauq0O/HNeqwBTp4Rj9oJ+P2VAxmW9uuxBFSG/iIZocUlL/Z jN2YcliHdCBvhkhyq9NoWVlftxiAzlVcCMa7jqlZqF/L+CpKfPzrMDQjswEGClIU4JXs RIJmnwZUlT2L5QvRf/LfHyKFPRDQXo5buQy3WPurm9KU7yLUgBHWDnUziVo7LlcyEp8G LdMZlx/IBSUmmtqTyNrCTorEn2DGz/3uCBkvm2vC74ijxNjk5T93NHz+2S9YHmRcmYbp ELNzai0mD5mlQmZUUb+k4exjZa6+XyAm0kB9hrPQdYuYBGIlU1q/1fSl+Zg2cEC4SHHJ r69Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0yMmZUR5EDQWEyb3Q5GW35cKXyt87KykgmQueTx2FKg=; fh=JzfkF4XDJ2uo/QI5L313JhxBrS+CDi2OjVT7JBck3no=; b=dmWa7hEuTc7WjPdK2WA9GMas67QbxSZDNNSnGSUbKYqCPclVhfFEzX1eYLAzmKOT1L YAawtasq/jXQZ9S0EMwMFr7+TXm/1RRgzDNmpqS9WBsTx8VUESMiQfj+QQtRJeHL7+gS s6mTFhOha/X+gJGk2jgHxNhrQTmdL+96KhmQvFFJ/9VJkhfkaex7BdDJua9GKazE2DGH IwL/zRrsW7PIYjRlT8frkvdkMWMrQg0tWAX9nyuhuIDtZG71izpPKw2q6UELWzMEFRJH zlRUyZJo2AcrictCOkN2h2vpGjdjJHvXsqylgVTjNbzqfw5zWi4Su5tR35R3VusysVD/ toBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=yqoXhedy; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78828-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78828-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s4-20020a05622a018400b0042e3c4a8c54si5759792qtw.548.2024.02.23.09.26.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:26:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78828-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=yqoXhedy; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78828-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78828-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 261A31C24FB9 for ; Fri, 23 Feb 2024 17:26:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDD8713BAC9; Fri, 23 Feb 2024 17:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="yqoXhedy" 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 DC75312D1F9; Fri, 23 Feb 2024 17:25:13 +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=1708709130; cv=none; b=moor8x7zImsqylNh98MA03X7mjbvh3n0jWzqz6kpWCrtxO76Zkx98f38OCj5/vzYNsBaca81lpqZMVXKEyWPIJPI0R1ElzZDK9XSmm81hv+D2tmLEP+7asH9qHunXJKMTnORY0H/+l9hRjwy9GLwvnPmhDHH72iOzZXj+AyDJ1s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709130; c=relaxed/simple; bh=/hz/8AXXj+ZzSkJYQl0qnE60nI3MGQJXY6qlslTKKp0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bT3yd/dBQS0D9xmhyyiAVUKn+YcWxhHiSi8kTPWL7fC42qH/oHwH3RvGeKFRr8cpiL0cQdf3z8JGIJY3R1rgrPz5DzbFA7jCV5pXjmpu/zeS4C06eC415BLybVffiG5GoOpAh0CUYa57Y7JPRRmaTYGz7Xe0udeQBxlrGCwctKQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=yqoXhedy; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709113; x=1740245113; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/hz/8AXXj+ZzSkJYQl0qnE60nI3MGQJXY6qlslTKKp0=; b=yqoXhedyeY9HQD5E3eqc/HXSflSy8Zpg6TyFpCXS01pBo7pTo/mcXHCC bg2VEEFoKfmX4/6l2P6wluV2cSoxe/J+q7GBATkFT4nroP5y3dU/PmQxS J7Y8AvMT4JDFV2mD2LpvqMMUZ9fo/gJsupQcvsHbHrbaN8rqdAQbkDZb/ hvuUaCZkfXJAGhfPdBMBlV8eJYvUbFTYxir2u/4E+O/XYqVE7qnY6Ipn8 nTislpP5fMj9hSD4MXUL0UMH4xOKJtKNwN7TNH11SxEDBmyL2fZlsSn6E uWVBpaRJ8yZAISjMOo4VPLgzBiTuPOEBenOO9nV2FP0zj1/e3Mmc22pSS A==; X-CSE-ConnectionGUID: /5CNF92eR9i+Xpx5LCibjQ== X-CSE-MsgGUID: xtED5/yRT4aDO/oItKs/JA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="184009396" 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; 23 Feb 2024 10:25:12 -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.35; Fri, 23 Feb 2024 10:24:58 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:24:53 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v4 05/39] dt-bindings: crypto: add sam9x7 in Atmel TDES Date: Fri, 23 Feb 2024 22:54:45 +0530 Message-ID: <20240223172445.671783-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711464985651929 X-GMAIL-MSGID: 1791711464985651929 Add DT bindings for atmel TDES. Signed-off-by: Varshini Rajendran Acked-by: Nicolas Ferre Acked-by: Conor Dooley Reviewed-by: Tudor Ambarus --- Changes in v4: - Updated Acked-by tag --- .../devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml index 3d6ed24b1b00..6a441f79efea 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: - const: atmel,at91sam9g46-tdes + oneOf: + - const: atmel,at91sam9g46-tdes + - items: + - const: microchip,sam9x7-tdes + - const: atmel,at91sam9g46-tdes reg: maxItems: 1 From patchwork Fri Feb 23 17:24:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp730579dyb; Fri, 23 Feb 2024 09:26:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUF8cCG+nV8DE03FIeCs5cOZAEeSO9gESfmknuYG0/c+8YtPbRIIX70yd/cXHLiQD0+Qrsu1uZmCG5CAN5FCdPLcVX5Yg== X-Google-Smtp-Source: AGHT+IHsztK/cvuzGwgpvBJSn58mNPb4SDqnx7L1ZSjtjsCmDVwtSYHOwMAU3ssJwkz39rzfwEXn X-Received: by 2002:a05:6214:2b05:b0:68f:36bc:7183 with SMTP id jx5-20020a0562142b0500b0068f36bc7183mr445299qvb.65.1708709208802; Fri, 23 Feb 2024 09:26:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709208; cv=pass; d=google.com; s=arc-20160816; b=cMxq0dE1AmPcTAkPaHPUuzoOX8kML5PmvUEx1IHFoD/+KUDb2lAUhEq4PBLl6Y8Yzn Kzqjspw1Txcarz1BG0lsUcyG3JfFl8P48plkHNqbjKBbXf6C+9I1027UHD9XrkW2ozrK w54B0GVEkPbjIjbyxM6SjCaFBvrTB3wTIiJT/uW+tShvoEwPqCUbZ6UxLYCAsmSHRB7J ueuuSng9FiSGOVZcNUo+RhifORErZ16Gdu3DMVb9VuLYetpJicwbhwM/At8Oa/sR/46j 9s2Cheey/OJYor7hm1cKlOEyI5t9utq7uOz8cevZ7RmK+HHvMfR2SE9I27rKqpfzmwE2 g/aA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=g8Lz7QmpOYMR1wsjGxHdIq8IG/JLLfmTZYo2bA0JUxg=; fh=XgieWU3rSUxcavGS4sRPbrrn9wb5eBL7+aNCxax3rGU=; b=Iy06V3/5cCZ46yUObpqB3dtZhV5v/i24pMfwj5a8OerNj+7WvP+IgT4UYoR/FWvO3Q ceLmtCOk4z54wydsVAfTNuNIwj9nzli2SCrHb2UDsJ39cVCTMllU0t42ALsr8yOBvUUx FXaXxeZaDb9vqzjhQua8RyrDOYExJ/7y8nqdO3O8+0uJvoNnttFWWljtUe4O/uR3PSnK G837KDXV58iwPrcso7iTlqLFLCTNtxpK4SiLWg3skEHtJHUwU+diQSXtiWxJPus2lJW3 yCal9Pj+4cHJ/M+TMkAmTm0jztORxjb5Hi7fkB/+d57x5Lxf901EGIocaI76UW2QMqPd qBUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tAk4AQFW; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78829-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78829-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iu13-20020ad45ccd000000b0068f5a6d3192si13220183qvb.535.2024.02.23.09.26.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78829-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tAk4AQFW; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78829-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78829-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9669B1C24F00 for ; Fri, 23 Feb 2024 17:26:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 056C612D764; Fri, 23 Feb 2024 17:25:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="tAk4AQFW" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 768A61384A3; Fri, 23 Feb 2024 17:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709130; cv=none; b=CDB6XhNJykIwtpGDmMk9IDFz9Gm4wG53F0EuWmPkyTnxUL6aUCJR2HoRbQGrYpSM4egsZMI3TMIT8Wy0RQuAVOg2Ev5/n6oidj7boBjakDr1KoErJPSj/uV7eOjQscqC9JJCniEohisxmTiHkSsC1iiDYD0Z+uQqu5haZM6SHNA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709130; c=relaxed/simple; bh=ndkSQI5Phz/pugFNXsdTMXAeuRKThwlhw4akLYKlS/k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C9oJm4GNmNGBvNcSs0LcKwhfHACDPmh1R2ZQ/n85kDC9OPDOgWHb16+Z/PQlY3pPr9l2zCWXlCKn+7YvKvmZbpvzNuj7QLx8eOiIyT4cNT1V+lb2VsXIg1AfUUrGdjvm3QNTqSbGuRdoV4jw+Rn6ELJb9kWp3pb+kasZmkg3eMQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=tAk4AQFW; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709113; x=1740245113; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ndkSQI5Phz/pugFNXsdTMXAeuRKThwlhw4akLYKlS/k=; b=tAk4AQFWYhupwAF9vIBjLZw2txGkWJ0ejHv2revyVhEf6Oyl9Qzlhbj6 J/3qyIqWMbIENcNSDkrPOlUM/pvdAWfO8YITeadlA0uB1RNqIpeUWGlvF UotoFuhwe8a1Yuw6Ysc8s3GlpJL6giSNcnjjkCuOnLB2rX0cXqs0FvOzG hdo2v4h5RXych6yVxqT0rkgwsGRv5tuzwuR99bzidKJKn74zZJayLruPh ZokjMzsXihH1VtxWfxFLQweIjBa6tt3MXiEBimYHl60bezjWV+poBrWKi c5tmcBsbUbZLJcVmQrQHijnNnQo4J1v6ObE2g1KC10qSXWCqdAauil/fd w==; X-CSE-ConnectionGUID: v7hxkNo6SBe1d+wSFbAzdA== X-CSE-MsgGUID: 5MMVxV7kRIq6fdV2JxxX+g== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734401" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:25:10 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.35; Fri, 23 Feb 2024 10:25:08 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:04 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v4 06/39] dt-bindings: i2c: at91: Add sam9x7 compatible string Date: Fri, 23 Feb 2024 22:54:59 +0530 Message-ID: <20240223172459.671832-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711467360643515 X-GMAIL-MSGID: 1791711467360643515 Add compatible string for sam9x7. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Made sam9x7 compatible as an enum with sama7g5 compatible - Removed the sam9x7 compatible from allOf section as it was not needed like pointed out --- Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml index 6adedd3ec399..b1c13bab2472 100644 --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml @@ -25,7 +25,9 @@ properties: - atmel,sama5d2-i2c - microchip,sam9x60-i2c - items: - - const: microchip,sama7g5-i2c + - enum: + - microchip,sama7g5-i2c + - microchip,sam9x7-i2c - const: microchip,sam9x60-i2c reg: From patchwork Fri Feb 23 17:25:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205562 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp733475dyb; Fri, 23 Feb 2024 09:31:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2Q0NbWZCm3DTt3IJXGRApXnVXfzySvCcLssnxaFVNqnz/JoqEr9DtLvDXbXymUBmzUsYQFRNCnnvTUg3OpCIaPer+dQ== X-Google-Smtp-Source: AGHT+IFlf3652iCaJmGgPLAvyqG26m2bhkreOdOgoY3OTqZ7LCfJDfg8TI7gGgRDBp5rNFWGj2Xe X-Received: by 2002:a05:6870:7f05:b0:21f:a6ba:18f2 with SMTP id xa5-20020a0568707f0500b0021fa6ba18f2mr463736oab.58.1708709492853; Fri, 23 Feb 2024 09:31:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709492; cv=pass; d=google.com; s=arc-20160816; b=f1vIZNtU2E+u7HgcFehXJakVq+Reguw38IusbHbj7I6imMuP/BLN1RMj+ttnnQJpoc Cwies1YRom4p2etamaBVHPLSb20QpW9uYU4A2Fnskc8G8uW9GeLQR92qZtyk4j0wxW++ XO7J4vcxske+tU2wG2SG0esO4WCiH+Wsr4jT6zIpC5K17qMzCbjSfc44aVUC5dhCC/9X 8aoQvquxTtDemPXh8RjKMF7vy+Nl5fSfwtQ9xypt+7i1jqDp5ImOrCBpe7pIZubExCBV u69OH7HAOJkp9FbAOh7Vhxa/kyPtYV8kbRaT6lxp1hZkBNQDEv8AKbOtn4NpcGLMvqoP jlRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ofO6TAD5NozgDIgKS4TUSxNWeA0vMFVUxsFiU1+HOCY=; fh=585vai3SulZh6elpESeVZqo4/Vh6HFJJk7RKQ+9wuGk=; b=BcWQkQLfyON17N5vINYFYnKcnJZe5zrRKXWU5edkdGo6rb+FNWrV17XWFpsisPkPos NKktkT7yc1C9pJNoR8Unvd9lDIHkTMwluW7ufeLYww/gPodZo9Wqqhjy8GF/Xxh8ZrfS PRAxXpnJ9F55g5DYTdFCaWu06SGnnzC83F5je+7n5ydEoAyApoiCUNqsUYKOK0yaPWvY 1ZhAfYELSzLltqMehagbdDeHzpFZnFDWQz3PsaiekFG3Dvhvf3M8KXpoQe+16dlyqxWE aKUyxAgxyZe/5VV7TpYe3uJuUG5qfqTVerd5qVQswGQt3zos/C5rPPHEZERKEojsY8nO xeSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GU46yDfo; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78844-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78844-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i9-20020ab04749000000b007da4f48e463si288475uac.196.2024.02.23.09.31.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:31:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78844-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GU46yDfo; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78844-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78844-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 99AA61C224D9 for ; Fri, 23 Feb 2024 17:31:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60DC914691A; Fri, 23 Feb 2024 17:26:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="GU46yDfo" 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 6DB651339B6; Fri, 23 Feb 2024 17:26:11 +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=1708709172; cv=none; b=tpdiTPh7f1X5YqrWZDEkorhYQ0XqQ6OQvIpZFE5xGutFM6UG1toXPZeovjArAm/AdfcvGH4o19Nhk2B68i6pI5raP5VUHIkVgTEyUFnVck0Agis8/tBncG0bjYlcUJXZOqE5mMh6pin26VqPsvrNPa7cCcoSgwNtGey+JhnEWYY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709172; c=relaxed/simple; bh=kk/UiHsga5gmFS3zENAHY1LBewwoUNLNuFmDepPq+yA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mM0lXo6IDmrGZHkGpy5wOyzLzRqJQW4O51PKG0p/z7weJblVqZaEvcoejA48GUJEKXnOJKP8XP12WZBLrT+WdlO6KIbSV9aFxijhKmlGL/IotfOvvcRzs3hVRwUzIpxgxydVT+O4pD/Rg0zjQ3672BWQNkpdnakV1hqeNTDbZnE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=GU46yDfo; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709171; x=1740245171; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kk/UiHsga5gmFS3zENAHY1LBewwoUNLNuFmDepPq+yA=; b=GU46yDfoPS3ajRwVdtMZwnOHdK3gYg+k3Nm8yehRpHOKqAXjtVKEbC8b Sd+pTP565rAzmV0rB75xaE1GONdis/5xX/DpPOJgQM4KBK51xqwVoBBqF f+IQpmhJ/vlmapk0G7h8j2vvcOg7XardxFJJS7W1cUbJWzg9/6JneQSH0 V+ehvT58eu7Kk3OCozX9HrBApDfgu1Etm6T73yKG4W9EMpPll725yHCW0 WIllOmdeZs2KoJwrgo4DA2Y1sNs+x+Mk/kGemQe4lIw5+Zk6kF5FHtSeo YBZuHdfFAIFW+QLeH3K/1cQBQoQ8qo2uYh7iDQ8Pq6XLd3ix9cRYGoVzp w==; X-CSE-ConnectionGUID: Ely1r2TiR4Wv3Obixr7frw== X-CSE-MsgGUID: VI9R6XZzTteN3DbNWpHX6w== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735838" 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; 23 Feb 2024 10:26:10 -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.35; Fri, 23 Feb 2024 10:25:19 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:15 -0700 From: Varshini Rajendran To: , , , , , , , , CC: , Krzysztof Kozlowski Subject: [PATCH v4 07/39] dt-bindings: atmel-ssc: add microchip,sam9x7-ssc Date: Fri, 23 Feb 2024 22:55:09 +0530 Message-ID: <20240223172509.671880-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711765178662597 X-GMAIL-MSGID: 1791711765178662597 Add microchip,sam9x7-ssc to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Changes in v4: - Updated Acked-by tag --- Documentation/devicetree/bindings/misc/atmel-ssc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/misc/atmel-ssc.txt b/Documentation/devicetree/bindings/misc/atmel-ssc.txt index f9fb412642fe..894875826de9 100644 --- a/Documentation/devicetree/bindings/misc/atmel-ssc.txt +++ b/Documentation/devicetree/bindings/misc/atmel-ssc.txt @@ -2,6 +2,7 @@ Required properties: - compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc" + or "microchip,sam9x7-ssc", "atmel,at91sam9g45-ssc" - atmel,at91rm9200-ssc: support pdc transfer - atmel,at91sam9g45-ssc: support dma transfer - reg: Should contain SSC registers location and length From patchwork Fri Feb 23 17:25:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205559 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp732920dyb; Fri, 23 Feb 2024 09:30:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXTO32NnpP4zk7oQgu9jjoGGOpy0NZ6src+jFcSG5n0bMr3ZlYwIRfrXkI1DYTNSi+55Fl0qqj/9Tn8gEMSCRAeMAkRZw== X-Google-Smtp-Source: AGHT+IESfg93ccf61Cq0T+8SszEpWj4Ohccz+dvjGDX5xnf1AlRg0pGUGTZFWj+Aa3LBKGc3gD4E X-Received: by 2002:a17:90a:714c:b0:29a:2d5b:5df4 with SMTP id g12-20020a17090a714c00b0029a2d5b5df4mr464915pjs.16.1708709447224; Fri, 23 Feb 2024 09:30:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709447; cv=pass; d=google.com; s=arc-20160816; b=q2lE2ietfpm4Yjt4eeQOF4/CI2+ULUNzkM9UF3/PuLeE/qnEKQdblcxLMLfX/TEyyj QonaxcASVNDwFWDDmGhgxqLYcY9pUQ0WOuMvHKSONna7A7pvuWFUfsDG6nygyPN+UYqu 5p8k4WJjcRb4sFr+8VR0lPxlI57QgMfMX5BKtcPU3UOzfCiCELA2jC++AzD/vp7XitPM gAyV9Xv8uFsutLquKWPABiOApdDBPhPQq9XvERzD64LPCVKgfPx2BQbisSoM1RhTrFTr /3u8GHTsJLDFSmd6kHXEug3U2euVKrUJEcEhZJYajS36nPAkILDvkT5a6uM2iLIdUb/o lk6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6qMol0mQDWnFv7b6MzPmvujUcQ03pPUDRXZTuMdlWeA=; fh=x1+q2idoKp0hzWY7MPoqJqZ84qWkC2pnPKIWYP+a99U=; b=f3+qHuyVIVTJ9iLYKuefcaCgQ2c9hfIgX9PVXzIhJSPXneQPI0CNE9012Ur37hLo9o ZK6pPtpCAtNROKWuhT5RAcNge0Y8XLIlIvUcdA9D640R4lzk863zmPHFsuw4naffCc1I Iz22pjq/vxJUk4Raq8uq4Z5FTMMq9sOr1XlATrahJG/oUuASnfRQcJCtJ+AB3A/yb/9d xsspuc+ukhhTcUXvE3APRelX6A3h/R+7f0GtbkUw+jKR2ZN1leLh3cBrogbfofwd9H4C 15nbZnDGsPtGOYP69ZBKhVyk6FMf1pDrlJXvSVx/3dJACHwcn2NSV2f7c6cyxST7Toe1 DNuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wZPnVDIE; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78841-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78841-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id rj2-20020a17090b3e8200b00299fc03790dsi1551541pjb.9.2024.02.23.09.30.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:30:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78841-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wZPnVDIE; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78841-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78841-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E29B2832DF for ; Fri, 23 Feb 2024 17:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E9E31448E1; Fri, 23 Feb 2024 17:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wZPnVDIE" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 327AA143C5F; Fri, 23 Feb 2024 17:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709156; cv=none; b=f3Q2lwriYrwYYWgRWgIIYvgLDQ1Nu3yoPWzm4Qtd8N1YYgq0lPvq5N+62lpolFKlPneHyatVTNbFhosjtOF4ouCaphfmwZBvqNB6GggJLmm9XL/poMNFhI/IHz7LRvS+GSUEqboAKO3VRSJoz4xZuMNFU/tDZny/d5hw5JnYj9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709156; c=relaxed/simple; bh=igHDeF92LiyJV6CYdDteCC2bRTjg8rQRg4+bhnAd1mA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EIjqJlVk8cwYlt68oUwFhd5KZmTnOR0Q0qPZXYnz7MiCR4+oW3dPoJHbra++l3tfOBJpcYQcFfL2Gmgc5VqTX8MVav2m3e/MsS+++SBJq6m9p7RSgO1cEwQBCEFp4epBfrAw8kRrpKnXQRl3KfOBxLAgXQYI1hTPA2+wZolC1xQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=wZPnVDIE; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709156; x=1740245156; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=igHDeF92LiyJV6CYdDteCC2bRTjg8rQRg4+bhnAd1mA=; b=wZPnVDIEbrCMeE4jMHHMfaEMJiTtDfzo7uRbchodJR02JmSkgKFAkHmw +aVPLItMkFEEkfkEKgm8nY+izgRsY5Xg6uZWOalCVNjV9lsidUrQz6yTc 6Zf24ivlOo975UiRmuBKb0ZTxx6+3UD55fKl48XeWGzYpnd2dGl0Mf1Dj 7Z2DFuV9nwj1T9ezI6RxXYxmtgrazz/9/DypgfC0ISVNhNXWV2jbdVC6Y yJkmxuJcbTUd47ABc/YmVpoWkgFLuQJ4ittrwNjL7GI+KLEjFVBYxsXhQ zqrs2WedvzJ/okFDkLt5kk/I34dZ+jBdBre49l0v9q1uqoGGxKD6bkCtq Q==; X-CSE-ConnectionGUID: yqAR4j5MT/u3WWYb46nLgA== X-CSE-MsgGUID: BwHaQGmTRgSiNQnK3eo0Rw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481342" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:25:55 -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.35; Fri, 23 Feb 2024 10:25:30 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:25 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , CC: Subject: [PATCH v4 08/39] dt-bindings: atmel-nand: add microchip,sam9x7-pmecc Date: Fri, 23 Feb 2024 22:55:20 +0530 Message-ID: <20240223172520.671940-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711717324462967 X-GMAIL-MSGID: 1791711717324462967 Add microchip,sam9x7-pmecc to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Documentation/devicetree/bindings/mtd/atmel-nand.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt index 50645828ac20..4598930851d9 100644 --- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt +++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt @@ -56,6 +56,7 @@ Required properties: "atmel,sama5d4-pmecc" "atmel,sama5d2-pmecc" "microchip,sam9x60-pmecc" + "microchip,sam9x7-pmecc", "atmel,at91sam9g45-pmecc" - reg: should contain 2 register ranges. The first one is pointing to the PMECC block, and the second one to the PMECC_ERRLOC block. From patchwork Fri Feb 23 17:25:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205561 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp733168dyb; Fri, 23 Feb 2024 09:31:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwjpoVK6ICvol4uIwOG9yZLY8fl2v8vFhfxPdOyjqrndYPOKyp9Lf3LmrhzaFtdrF7E9KJx/kvaXkcsT8wZ4idbamKOQ== X-Google-Smtp-Source: AGHT+IGO/42sRglgSnkPK24bM/EUQ8o9cm8k6CIfM7qko5CcpewXkFGvqB5hlHUcJozMqX7F8g0o X-Received: by 2002:a05:620a:148f:b0:787:a444:12c7 with SMTP id w15-20020a05620a148f00b00787a44412c7mr558768qkj.54.1708709465470; Fri, 23 Feb 2024 09:31:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709465; cv=pass; d=google.com; s=arc-20160816; b=KF+pXR3bnjOJOxa5jnPp0zibKdSaEIOIaAem8LYjUBwIwE8nxXBcSLbVPBP6vtVY0N wVOHsvRCttFfpSp7NRme8A/+VU+SG+a9rIIeHxpXCvh1J5EgMvrYzLmMGoBL7aQLm4bA ljLsvSGuXZwQ3WC//KgcDASGji2D5OSZtB/maFTv/qhJD/cnJeIGRnyzjbG3pWC1rqpq AMMNO8fT+ium0ih3Ai9nSgMGN5ZekV2wDjcn8wB3KrqCKXEGmOi3wUXdLqJ23YBwNxU+ LVGuKVVdYZOfr8XonOJqouXHEpDHQ22q/TlNNfG7JiODgW9FMtb/VOkL/qrSv/BFM6E6 /ogw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=09Kg+rVq2BfViVpfKXCfBp5C0EluEtQ/T4ZupdqLkIo=; fh=JlVDpGrO6jlKvTT87xCwbX/K2qIfZb4AaMiuAFxKvts=; b=F9YfQnPU7OJBWx6TzKDRNXX2DQGJ/DxsFPQlv8lq8vr5mHGmRsHrA3fdvelB0PDEnl oXAFDzwXOGs6lOQEuC9LZVAptLEZVieYQlnChEHtQK37Z4n7M05K7rgfAjffSBu97/ti 54zrmvdXNsAiqU5lj4wMHRPNwocmNpYpr14A6GKCbDUP9sE9dCzMw5S2iIGXd60Z/tHy sjWa1bEGE02O+gKB3ByociLWgSalomLhK5C+gGkNtRkbhysSSSJRX5l9mwbBDdUtNODg FO6bB7FQozLud3onvwn1XymDtOqN5EKtGlXlfUKbp8MmwxO9vsJhZe3ndvTLYsK16HUJ TNDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zZMJ2HuC; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78843-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pj19-20020a05620a1d9300b007871947002esi16062291qkn.177.2024.02.23.09.31.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:31:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=zZMJ2HuC; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78843-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78843-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 430B01C22E9A for ; Fri, 23 Feb 2024 17:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC452139575; Fri, 23 Feb 2024 17:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="zZMJ2HuC" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 CD9C413A867; Fri, 23 Feb 2024 17:25:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709158; cv=none; b=VbF45MLiVFJG10iifuYdMTyf7nJDVrKnDVgpSIdi+lyb6vCQhoXNIFGOJ46veRiV6vhV8Sblvm2NvDT8rlq17he6dHwH5sI98Nq5YybXugtp2laVRB9C7HeR1/yIrJXCUIP3wX6Y2BGODwRton+KZXRjFYXuo6J+prJ74BblAog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709158; c=relaxed/simple; bh=g91B3meQdr4oVLlRU/qSl9oUcfHnjcbSkMBCurrIdyQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L/8BQ6R5DvZzKQVvil7IIeMPQWf6Mi0dTVwA+eJxCsWSUWLJuffoOHFo9BRJANaKpJ4fUmLah7rgjAeeY89CBihpEYN47VOlMnw+xabeGu5bS5SYaJFyVHaWuBWxWT3W4684/vNljDuoUiF+a07od6vqVYtwxaLZMFIV12zQRuA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=zZMJ2HuC; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709157; x=1740245157; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=g91B3meQdr4oVLlRU/qSl9oUcfHnjcbSkMBCurrIdyQ=; b=zZMJ2HuC1AQQASXst/7oYQn0ccrlHR4RQ8a7BUWq62cFnaCu6wnif2rj u/sUxhE6vlH24M3mYYLu6J1TOFDzR3XCtjYOJjAkoGl/vJKP+/v70Bo5b muWnjJtMcammzMrYNSeYn2AH6QH/zeBWnWi3xtkNzXwEBYpXD90+y1Zct 81E5BnQY16d24g8oh6ZUcoRHMjLOyGJ519PrXWl7nfXYSRQZush3OVS4V 327L/+t0eEWNpH0q6vnqIJeW3fNTYxIKhhWaywbcR7CDtQH2f7m4uAz0G 4DuM6GV1RgfXroZ8iVa3EQKrJDuOlBaG1x8NGNykqOAXAK1DBxaaTsgXp Q==; X-CSE-ConnectionGUID: yqAR4j5MT/u3WWYb46nLgA== X-CSE-MsgGUID: RU5l/ePiSym6AdW8F3g4+w== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481346" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:25:55 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:25:39 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:35 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: , Krzysztof Kozlowski Subject: [PATCH v4 09/39] dt-bindings: pinctrl: at91: add sam9x7 Date: Fri, 23 Feb 2024 22:55:31 +0530 Message-ID: <20240223172531.671993-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711736065731998 X-GMAIL-MSGID: 1791711736065731998 Add device tree binding for SAM9X7 pin controller. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Changes in v4: - Updated Acked-by tag --- .../devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt index e8abbdad7b5d..0aa1a53012d6 100644 --- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt @@ -20,6 +20,7 @@ such as pull-up, multi drive, etc. Required properties for iomux controller: - compatible: "atmel,at91rm9200-pinctrl" or "atmel,at91sam9x5-pinctrl" or "atmel,sama5d3-pinctrl" or "microchip,sam9x60-pinctrl" + or "microchip,sam9x7-pinctrl", "microchip,sam9x60-pinctrl" - atmel,mux-mask: array of mask (periph per bank) to describe if a pin can be configured in this periph mode. All the periph and bank need to be describe. @@ -120,6 +121,7 @@ Some requirements for using atmel,at91rm9200-pinctrl binding: For each bank the required properties are: - compatible: "atmel,at91sam9x5-gpio" or "atmel,at91rm9200-gpio" or "microchip,sam9x60-gpio" + or "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio" - reg: physical base address and length of the controller's registers - interrupts: interrupt outputs from the controller - interrupt-controller: marks the device node as an interrupt controller From patchwork Fri Feb 23 17:25:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205560 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp733075dyb; Fri, 23 Feb 2024 09:30:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWAP94FJsJcf9RYeOFYoDuXfBY+3yMCRI3V3PMqHCT6G0GcI5syqKkwZ2EZM0eCdgkpV9yzVnkEnSIFVPWquXbM5qxDHQ== X-Google-Smtp-Source: AGHT+IFg7IEquqdlx0ff79HT3WRvC/CxaZEWJ9b1B3xnUbo1n5TVRR0OlfW++qeQSEffqUXydjMc X-Received: by 2002:a17:90b:1988:b0:29a:691c:8404 with SMTP id mv8-20020a17090b198800b0029a691c8404mr625949pjb.0.1708709459250; Fri, 23 Feb 2024 09:30:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709459; cv=pass; d=google.com; s=arc-20160816; b=kPwmyq73aHohaK992QpbiTnRa4L6Pd7F7CAtb5I8NuBhxCRYocTrQkI97KB/rSlw0K r3oHmuq2n55whVSwRu54SRvnqB8gJf28AS3MRCrMTUVoh/F5g8t9foUt/HqV7vs06I1k 1e8NdLyhCgFRkuvCEANROghX/b/i04LlCXs9Kxd9Uz6yOFrdJOLPOnfzX1RABWAfcvdi 7/A+ozy1BVVej4qJ/uyd/0BlD+Eu79FeaHgj3kkMzfuqWkcZ/vntk465dAKpUlwclFAY PuSql9gDPgRIRxo9egSoDr4NOSwfmw9vyeIQZx+olfHrCxd1+owK3QnFlaX2yjFmuAr7 WhPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=08mDyS/Li5M6fe+A2NT0cZBR7vkdRHBeKuPTtRgtAgQ=; fh=jxWUpBTOwLSggeSSUfuEHJWYVjc5vCOwCHcpjEPDLsI=; b=daPGR2/XA+uGICkD8qNklGW5QBJ97qQyuTLzwO7BLV80vD7/QLhZYZ8On9B8aZnvmF g6TFhpgkxANBPbIhYrZHJAVlO73BrwUmlAB+Qu3Yqtc/ztxJUzVYb3UQ9jepU0DQFl9B BP9G9vqf88HctxDoTJLlVSKPNLa7G8CsrGOsB7oQIuE7h0NLr9pd0Gdgk/XVdztTeOVT HbpBHXMcxsqFsMPmUm1VRFUKz3wOuPtRlhiDH46i3yG6swes5J+NJC63sYoiWFsxW2Sa d3SgympzIIjwVNcWyqIxdVqY6fLBGnliXVkeAPVFNWGMTx6cqumCx0LvbgCDVrtq3x9l 9dsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ryi3R1uN; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78842-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b15-20020a170902650f00b001db6043dd97si9256944plk.246.2024.02.23.09.30.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:30:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ryi3R1uN; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78842-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1259B283CEE for ; Fri, 23 Feb 2024 17:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 530691448FF; Fri, 23 Feb 2024 17:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ryi3R1uN" 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 8DEDC143C62; Fri, 23 Feb 2024 17:25:55 +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=1708709157; cv=none; b=lahNm4+LgHUItm9SetHRCtLmp0Z990/DNhfc5xrYmOYqaTS4Kkj8M+nmb7ZEvuIB6mLjKlrBahaI6uMQZB7b1XAqZcMqEcwXhhKI5LyGBIpnN4hyTby4hVY4sRgstiuPIUPEZCKbTO37JMMxx2B9vNxDxKk7uNyS4ch0At3HuGM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709157; c=relaxed/simple; bh=1pa+nUeiMz0aVLSe9rutUmmIoy3zszoSlnt9C29TgLk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PO9hmHkZA1ax6xEKaIqdNOxRL9A9rnfFwNVbNLYNzToV8v9JCoFd6ia/cnX1NFafp9RvKjAJxdelXYZMTjJO8GO2Aa/WNRFTdmlohdauDZ/idDy93A+PzC/QD3ez84p/xcicN3fcWXO4pKX4/fpzy+eFTJle+JSVGUQFJZVvn5A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=ryi3R1uN; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709155; x=1740245155; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1pa+nUeiMz0aVLSe9rutUmmIoy3zszoSlnt9C29TgLk=; b=ryi3R1uNhxUfhSqPpHzb6NvvwTX5AwJLdGASi8UXGZBMGe+MJBymDUuU mY0/b+eCYcgjzmiFgchyXJXgzOTBKD791/v3K3tnouzFoLaF1GAXFaZRI BI4aKhBeMFnbu4LsoHdbfaIYKYYN+5yTpVsSmxzaSvnSC3V8xt83B/p7T ZSc60kQYRs3ykG+fOG9jcer/XmCNQx99qmDyosc7+Btd2QXQivzhLaQ9L SZ2CgrePWyQOUD18W73yoaEhGQN0I/i3aKLwSx9xxYdQewhsX2Kh/S5pX iBjpa0z65sYqvovsYwDxRcYWIAjzZW9yj5BKBj++AN80kda5hxKD8DOq7 Q==; X-CSE-ConnectionGUID: O0kOdwhCRya6tisT8ZRfCw== X-CSE-MsgGUID: Bx/RauiIS1ukR8iK3Ocziw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735824" 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; 23 Feb 2024 10:25:54 -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.35; Fri, 23 Feb 2024 10:25:51 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:46 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Krzysztof Kozlowski Subject: [PATCH v4 10/39] dt-bindings: rng: atmel,at91-trng: add sam9x7 TRNG Date: Fri, 23 Feb 2024 22:55:40 +0530 Message-ID: <20240223172540.672044-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711729657534198 X-GMAIL-MSGID: 1791711729657534198 Add compatbile for Microchip sam9x7 TRNG. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski --- Changes in v4: - Updated Reviewed-by tag --- Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml index 3ce45456d867..b38f8252342e 100644 --- a/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml +++ b/Documentation/devicetree/bindings/rng/atmel,at91-trng.yaml @@ -21,6 +21,10 @@ properties: - enum: - microchip,sama7g5-trng - const: atmel,at91sam9g45-trng + - items: + - enum: + - microchip,sam9x7-trng + - const: microchip,sam9x60-trng clocks: maxItems: 1 From patchwork Fri Feb 23 17:25:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734049dyb; Fri, 23 Feb 2024 09:32:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUJCSF4NB+4Yqq3d6H3ld4iVbbVys11jd72NJf6h+PvizqFmSbRkzK1YwXj3dGigJYO5YW5h/OkLFVLWGCEGQrns92LqA== X-Google-Smtp-Source: AGHT+IFu62POoOy6Q1AICgcUxe0Wv3CMzl1PknhPgbxDyeJ1madT5kWPsGVfKlSX0W2zcug2eNlT X-Received: by 2002:a17:902:ec8b:b0:1dc:11f:d946 with SMTP id x11-20020a170902ec8b00b001dc011fd946mr732769plg.8.1708709539718; Fri, 23 Feb 2024 09:32:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709539; cv=pass; d=google.com; s=arc-20160816; b=YgY3R1TmcX8q2PEk5m3TQ0F3dngNIEFy5tL2jfmy3Ior/2w3enmC+cbdyaPgDHX2Bz yo3BmMLg0Fq7sIi34/5OlZyj240sRq4Lz0AcdiB7V+fUfTldEeJUH+ExVtFfLrQoMd0m rA149PlC/J3A1m3v4xFqAmwvF3yDW3n860azq0bSe4c2Ew+bU4knoKC8W/OPt7ha/VvA fa01LcrA3mh+ur9lMP4M1IQ2YXZDnh07cvwnB82PVFKZ//OxHYDIe4uaEW5uBNkuwjuo WWmOfX6i0jVbROjTDUg/ZJhxX018fHW0BT3ERAoWMNati6AmIEPueztaaWqzj5dfogU1 Lw/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yl0C+FUKNsOngV3WD9Rw2s/idBMjv9DkzRVQCmotkH4=; fh=doZABEEKkcQKuaMoqAMW7w9Y58izLWdIK47AIufr/rc=; b=PnTG0U1PnZRfP27gXgpqJJizWcic8FbdzmpgP3y59sC7mwx4ypYUwdKcGAjR6SA+xX RSY3eapjC7hVUINOti8NVAXgBNaM83NxZYS3hWed8gVYwNA1CHU6zOai7qGvjm6uL0Qs mMUEObG4BUdxg4gZqUcIzySmFiLeTja3YZInmOtAfoBqDYLahmOeo9PraPT/gbvSv90X NvtCl8sGWHaoDfQaFEGiGo6liT5fFB/Xdg4RI6/c4pYuqQyHAbXj++7ce8LqrzJ0OOSI p/lh92Lg/KWW6G+FUOK8K41EWKDlXURTNa/XbE7vnfOjdVxpbZOzuFGU7OQdNiiemqGg 8Q8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="c6h1r/6r"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78848-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q14-20020a17090311ce00b001d8edfe3a27si12696317plh.163.2024.02.23.09.32.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:32:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="c6h1r/6r"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78848-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6035F288145 for ; Fri, 23 Feb 2024 17:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F03321474A3; Fri, 23 Feb 2024 17:26:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="c6h1r/6r" 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 EF8AB12AAE0; Fri, 23 Feb 2024 17:26:36 +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=1708709198; cv=none; b=av1GFtAWNuf8xHYU6vL0HvGfVGcWredQtNcY5AKQ0k5Z8RcgZvA8VeWtNmP8YZw1c2YcXgEzP5gvuHbREL7GVrmsAss7QwKWk9AevKF35g2ahx45Uw95WFkIKzSxXTZtZhIGCooWLzZY/Mbh3NZKoz3STvQ/VfrvUPsXjKHkAzY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709198; c=relaxed/simple; bh=7D7QN22dZMevSxIgkvWzAcMkdzVrR6HmrNDS9+rfmco=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eJh3lRxafgGBdznqYcweQBz/Xw0DH7kOAxgWqibLI5aA39dTVgZWLVK7jgIj4PDNiu5bKhqOGawZHjX/vcR1KXLdhjjVcRrDCrpMkiDCmCjqFvNMH4ozz5enQkwxWLmz4bepj82Tjc4qciawz09nDQ3kiQDAH/Wt0E2ZYdrXho0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=c6h1r/6r; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709197; x=1740245197; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7D7QN22dZMevSxIgkvWzAcMkdzVrR6HmrNDS9+rfmco=; b=c6h1r/6rEJ9AcBU7/cOZVnwEIe37o9fZfTSdd5lltN4ADQZ5p6WDtcCa exLVeT+SJZdO4i3mJHsi6qg1WDn4ozXFodRIzHabKT+ehf5w32G3F6LPr /DOgONRSJ/2KW8g7I2EcSnomCfJAjLzlzbsRuMWmMPJuWLvDzkKp7aw6s Vljw19zjifsQQExepI/A6tht5svHlSIdO2b6YBAlrtAzHbvopx4sHdZVT BUh3PZb0x4bTCiUkj+eLwSR2i9N3I/jJvDy3e2OXIrLW6E0cDVXmTi0+G 2m+0rZMv0iGixwAiR9pWDEvhxmy1FV7rFu6WAwJqBsijl3SCYC5N5oTGM g==; X-CSE-ConnectionGUID: +I+FaeeiQtWNdanq9i7vCw== X-CSE-MsgGUID: Usph6H1EQ5SYvZ4cQ2lXHA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267227" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:26:36 -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.35; Fri, 23 Feb 2024 10:25:58 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:25:54 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v4 11/39] dt-bindings: rtt: at91rm9260: add sam9x7 compatible Date: Fri, 23 Feb 2024 22:55:52 +0530 Message-ID: <20240223172552.672094-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711814223071670 X-GMAIL-MSGID: 1791711814223071670 Add compatible for SAM9X7 RTT. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Made sam9x7 compatible as an enum with sam9x60 compatible as suggested --- .../devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml index b80b85c394ac..a7f6c1d1a08a 100644 --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml @@ -19,7 +19,9 @@ properties: - items: - const: atmel,at91sam9260-rtt - items: - - const: microchip,sam9x60-rtt + - enum: + - microchip,sam9x60-rtt + - microchip,sam9x7-rtt - const: atmel,at91sam9260-rtt - items: - const: microchip,sama7g5-rtt From patchwork Fri Feb 23 17:25:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205594 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp741114dyb; Fri, 23 Feb 2024 09:45:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWjD0kd1ABOC+sLVj/h3Aydka0kLvkpao5NSRaodzLJjuyOmQufJP1ylzmluHmXJkUuNmkVWVnF8g/3LalVdjjA4MZeXg== X-Google-Smtp-Source: AGHT+IGY5IijJI0HtBCwLcr1ZQS4hs0Q2NwvwsKYeTv8aFdCLFR2LxJhouZFjL3LQ9HLLX8Rn0Jv X-Received: by 2002:a05:6a20:4910:b0:1a0:df79:656f with SMTP id ft16-20020a056a20491000b001a0df79656fmr489494pzb.31.1708710324260; Fri, 23 Feb 2024 09:45:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710324; cv=pass; d=google.com; s=arc-20160816; b=eX47o2iwpRKHz+Tgcgkcvovk6ig2PIhJMCFDVZ/iZnlx0QjBdJ7RE5VOPhY+x6/UO1 szIKaDavTrcOZNzg1O2xevaxjCYll2vGNzkVbHJIOdYMxftJ6dtVXaRnI4T/agwmHQRY Pg4D8eAZCsEB4WckfX7iMlhv2bsceqPQzT96kEI3F9z2OUwatufipCNI11iaIDggpoF/ QrH4Hhoq5caxx6LAXdQ9QlTBIs6QcFfYyt8lXPV9orEhFf6bHqqm0fwjPcS9HO7zRu2f bD8jqcTApR3H4IYPuAeYcZ/kNX2BlPkG9IKh2Co4NudQ88i5N8P6WYRYUAhX8vSimB8Z bXvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Y7EettC6XKT3UgW/fI5loRFSLXJGmLMcHln52r3qqXU=; fh=DFj6DcCF2OGaDHZ5lcFmONC1PpdpMk4+bQYi20+ZAyQ=; b=MDh7HAIZyhETb+rtFwGLiODhrvUaypXox9CybQZ81ReBwkT5s7XB+BQRjvRPnGPn6r 8bGANrQpeueOC6MxzxPkpjaWdSvqI4UXphuo9qHwNOTnDauQfPjYA2vjgwVg8AE+UqSn yOIbv6jW5AfwFSPWlxLUf2P+t7z6zf74ZE69s+0zKu3BNI0cUwje8c8ozqTEC00yfvXw y26ZN1Dm3CT+17UtC5nnBbrt7+DAZlbfezc8HRePC1IvPgMmJv19bfnNzP3lnOKbH5ky LcKf/EUgg0wv0RW10V3pd3v2fGYVf3l0laSgZckDzVIdqLuZFPjpfqtb0ucQQvmGPCOL zjeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="2C9F9l/s"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78845-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78845-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m5-20020a056a00080500b006e4ec0dfe3bsi688323pfk.43.2024.02.23.09.45.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:45:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78845-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="2C9F9l/s"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78845-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78845-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 85E29B27B36 for ; Fri, 23 Feb 2024 17:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EEEC13A875; Fri, 23 Feb 2024 17:26:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="2C9F9l/s" 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 0FDE712F5B5; Fri, 23 Feb 2024 17:26:13 +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=1708709174; cv=none; b=KE/kqRDwqZMTEv7I69wu2of8BGsSS60Pylc/qd9l1rHw58g2a6J8PobObiZfaeAKIfdKmT3FGVv4weiAnVKQDx1v40Fy1lX1+79SKK3f5906ncrYc69Zs2hSlEtVQLwjyA0wz8YZccKnxOz29e+2w9qrjyt9M5Y/7KXSphhU3i8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709174; c=relaxed/simple; bh=BZJTjqUHwuQlXlsd7x2WfXnXThGZTz45hMZUxsxzH20=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hH5+ZjcTB5YAdxD+XhhsFKR/TD+2BARsuGJM7Bqr4HBjeGedg8qSvM+5GrsrxtUBYnbo4rAMzYb64Cqke7KFJUBa08P092I1iSm+UnMcqDJbU17x2rn5YxQziDnMAUaJVrkO+sZzY+UsDT6k0n9MYEowX5/aU09RsEZc7OPhwjw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=2C9F9l/s; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709172; x=1740245172; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BZJTjqUHwuQlXlsd7x2WfXnXThGZTz45hMZUxsxzH20=; b=2C9F9l/sKx+IpXU2K7JoS5ggXsuZHhLsLYsugjmNCx85baycCgX8XKiQ vUKhIQLVHzceQGG1fbCBa2BgOsSFcFfK0qUL6rfyIA2i+TPP3+OI0Lg9C nemNzF312XF5Uo3Elh5z5cQG5Gd2/joER1Nx95Hjin+AJqsPAlJXzdwVi 21iuW4H9toZihm3QWOTD6Sx8YGzIsr39vdoDy6GDOHpD/fJMDmZPe3rd6 jgREmh05+NjVSdZ+D2kj35xSndZy/IlFWa0dwmtvaOQfMjcPtVNDSP5cY hMX5KcZQGxAMnQcpzALSYmiYVgTTHKk2zKAAHJkWwD+OEPy3LD/1sqO9a w==; X-CSE-ConnectionGUID: Ely1r2TiR4Wv3Obixr7frw== X-CSE-MsgGUID: M4vXw7loRkeKQ5VN/WOdcQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735843" 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; 23 Feb 2024 10:26:10 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:26:08 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:26:02 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , CC: Subject: [PATCH v4 12/39] dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7. Date: Fri, 23 Feb 2024 22:55:59 +0530 Message-ID: <20240223172559.672142-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712637310490087 X-GMAIL-MSGID: 1791712637310490087 Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran --- Changes in v4: - Fixed the wrong addition of compatible - Added further compatibles that are possible correct (as per DT) --- .../devicetree/bindings/serial/atmel,at91-usart.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml index 65cb2e5c5eee..30af537e8e81 100644 --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml @@ -23,11 +23,17 @@ properties: - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart - items: - - const: microchip,sam9x60-usart + - enum: + - microchip,sam9x60-usart + - microchip,sam9x7-usart - const: atmel,at91sam9260-usart - items: - - const: microchip,sam9x60-dbgu - - const: microchip,sam9x60-usart + - enum: + - microchip,sam9x60-dbgu + - microchip,sam9x7-dbgu + - enum: + - microchip,sam9x60-usart + - microchip,sam9x7-usart - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart From patchwork Fri Feb 23 17:26:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205563 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp733795dyb; Fri, 23 Feb 2024 09:31:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXrBpnGrddhfdKpbK6lziJnDhfHM/tjbEbsuWjaDUWVfI7Uq2Cp3FqIGQFSh7J91XEYR74L4WbCVT3IEKO1eu6QI88zBg== X-Google-Smtp-Source: AGHT+IFr3BhT3YXH7o0DM3bCQYzQ0dw48M4HOdXk/+MzlU8huBUPfcP2qCnTm+ngbiPMAJRChGoH X-Received: by 2002:a05:6870:659e:b0:21f:4534:8977 with SMTP id fp30-20020a056870659e00b0021f45348977mr499703oab.31.1708709517858; Fri, 23 Feb 2024 09:31:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709517; cv=pass; d=google.com; s=arc-20160816; b=Fi9VP3HWDrj5Iu7xnxoOlt3EiRTzHYbU/LlHaeVVFgZ9fwTdOR+KWiqYgJaj/XsPpM aQPJQrzjWJ1qtv9QbOsIad+ovN8VUw8NugRwB0DdwKUiS7eDPSTJnZsofoNLN/D2mqNi +JQdcb4Vj8pO6RAyclPyrgzBa2Q9ThIcEPDXFUbiMJ2uKVq9IUauXGn+PQOW0aq/yvJm iz1td8A6NLV31K17PyGcG7LxF5CAFkGHPfaK3YBd0AXfG2NfdUKWaGo7GE2weLDraGNf Drlq5D9U0JBW17a6Dih7HDEa0FfmtLcHl6JcTiAfP2JcTCp85SSIGYFX88aEikkyzf18 RsaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=P24y4qLHgUpTab/3dOQGqi0ga/IfvTbi1eO5jtVAbFk=; fh=KqtzJpVVvSXE38jYX3py4pJQsXRRnoPhCiyfzaK1cRg=; b=CPHlLNK1nZ/AFJDJVtmVQ/H8mk8OaDkg67I0F4zaGfTYv51f8+lQi0PpvRpfxMkbmf G5LYGYskMhpKElD97BteumK0KWktmjfyioDEyfz8b4zf7KDWOc4z4qUIlznRKJVcEsht DqYOE4aSIWC3My8dogitiJIQPoVaImNJSl5xes749tuAHCt0lfUk5BNtXpMPe/Y861jm 9PFa1SVSDWmPO0y1xv6YjpG6tddrtHd0jJ1NYJL/KzTqySMtLsj7kp/gIi+fN13ut7T7 bgwSAuXndA4GBoE667MsiCpdbA6DDCT+qoR3eGecOMeWYa36k+hOYOW8tXbdB4SB9dnm 8gyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IWmPmoYo; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78846-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78846-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id je14-20020a056130680e00b007d9d9e82c3asi1849583uab.199.2024.02.23.09.31.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78846-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IWmPmoYo; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78846-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78846-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9AFBA1C2424F for ; Fri, 23 Feb 2024 17:31:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 674B312D758; Fri, 23 Feb 2024 17:26:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="IWmPmoYo" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 824D812F5B5; Fri, 23 Feb 2024 17:26:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709190; cv=none; b=FDJp+M1h4xnmhPzdxTHVjcdiQKGQUOe/M0q5w+IDSRg1PJI4zLN5VNgUzLqvIkAOZHKfh7slXmZfAwqyRoz4E1Z2UMJyfAQvkpNgWq0nyf0sgm7G4QW6VEqXuPnsDFddfRE726qW+4iRyrQKYMA1aXvdbhd9wuwzRfLwKEaQ6No= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709190; c=relaxed/simple; bh=Zuw2kUsXk1o2lkzNgp948IBHTt7y/pU6Q3zzvW0bjQo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EOWAhfTtQRJjNYI/aMSHiU1rm8dCtdKGW3+D3z929Xcbs7HeEM2fsVM4Wyb162PYnNbFCYpjsPhXFHb4XL4MAOOw3YqoQoDw/LdeMIXqgjs5wd8Gpjr9pjrmht1O8H+jQCXTVnKSpNwon1HBc5/kCODep9GM2gYYDrEbqRZKB9Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=IWmPmoYo; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709189; x=1740245189; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Zuw2kUsXk1o2lkzNgp948IBHTt7y/pU6Q3zzvW0bjQo=; b=IWmPmoYoElk0op8OC4HaMFP7mr9wLdEp/dnl2B1qlTU4lgv37jSZl35c 83tYuIO+t4Up6yzR9p9xpJ16usyjq9+FOjOzN0hRs7VBoK3rlSM2C2HYj evQ0cwMfdNCm5J6fmOkMPWf/3LU04eHtdMeDs3TmKIlK5+z6bHma2Ht7z chs/4ZYj8QNxwQpbJgreqJwd3UiGDSuMHGdwDxamVDjDyFoPTLi5HKe2K xQZ5nfkVPrnzxBH+fmHjTigJz7EURDzGapR/evAUjNzWIjXnxUp8YlUxP tw8DkvtKs3Q1bgFDcb4FmqivsuNDZz7f0f8pqymEhE+H+67Sze+jN6aJs g==; X-CSE-ConnectionGUID: t18HA6KHT7+gZ8BIMsEZ6A== X-CSE-MsgGUID: IB6QRYiQRsut+YfRq1SLEA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734497" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:26:28 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:26:18 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:26:14 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v4 13/39] ASoC: dt-bindings: atmel-classd: add sam9x7 compatible Date: Fri, 23 Feb 2024 22:56:08 +0530 Message-ID: <20240223172608.672190-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711791555801790 X-GMAIL-MSGID: 1791711791555801790 Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran --- Changes in v4: - Changed the subject prefix matching the subsystem - Removed unwanted '-items' from the syntax --- .../devicetree/bindings/sound/atmel,sama5d2-classd.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml index 43d04702ac2d..ae3162fcfe02 100644 --- a/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml +++ b/Documentation/devicetree/bindings/sound/atmel,sama5d2-classd.yaml @@ -18,7 +18,12 @@ description: properties: compatible: - const: atmel,sama5d2-classd + oneOf: + - items: + - const: atmel,sama5d2-classd + - items: + - const: microchip,sam9x7-classd + - const: atmel,sama5d2-classd reg: maxItems: 1 From patchwork Fri Feb 23 17:26:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205564 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp733902dyb; Fri, 23 Feb 2024 09:32:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV4x2twGc8QMEthwINvP9ZZhUAhtU7JNtFhz0wOWevzSTchGIQfIkhPR1RF9e83FJwCqAZPuQM8z5t1/OnZq2xLvU0+zA== X-Google-Smtp-Source: AGHT+IE+HaHj7MeDohkqVxoXhDmqo00yVO4InMfSwYfoLpE7D2DR+Z/WFNm63bI2c7z5P0r5V02w X-Received: by 2002:a05:6102:c89:b0:470:5fb0:db09 with SMTP id f9-20020a0561020c8900b004705fb0db09mr720918vst.17.1708709527431; Fri, 23 Feb 2024 09:32:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709527; cv=pass; d=google.com; s=arc-20160816; b=dul7NUNSkUuGoe1M6ZpZb08Z/V785CQHcOsZP6tqfjswknQEU8HAODSLxGjo/LyHP1 vmkKhQ7KOBIhOjQIrc3hYWnPV/AJno+1DJ3RyWF5gR2Q+QqAxSGTzs2aCRlyi1Gs3QFJ FkiZrBgDIfW8SX+nCKzW/V7LF6zdT/wgh8urdCn5TcuQQ7p3bvqTeY+nZRjJXLgX+fiv U5wGM7fNsxp38PnP5AJTJA8nvIw3kMJOuEmSq73NRN+K3K+qCo7ABoi5R/AuBVqzEFBV b6njpgGpe+PLx2CT9GF7DxWGfzX+cqlRFJPCawQN0KcZ3/5SLKRI0ONHgHbcjUwrwV5T f12w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=slQI+vdpM4eouRcT5wkGvxNYNCSr9GYtbeEo3IhJk7c=; fh=mWXdOH3Mm7BVpqc3rohmh6Nt9b0s5S79GGSxk7EYZ1k=; b=DjHe7eOfEvDAUlxuJDlphZTzTbPadYjB4CI4gb+Vyq8ZLtmeljKmbWMxkeGAevsSbI cyF+HE8HYZy+83LSCLOTGn7dy0VRGEJevrzzWurAf/qOLrnQQWj7wT+wpTyaEd131IY3 rJNTkGgB99S+6bS3BVdTjj99xOENXg03O5tab5XRxXbQGpMQOkzJbLUReu+ylZ+82RH1 m8mP7T6++Yu9lokxZ48Tyo0MQ72TcLzAydkym2V77b/hMpyG+vE9pTLx0mBAC0ld0Ind DnU3Ca/AdN92UMFJUd0MD0EjEEHAwfyfzDbMyb+e5UZrvZEGQuBWhXcJmbziT7bES/YH tCgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WL20f8zg; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78847-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78847-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id je14-20020a056130680e00b007d9d9e82c3asi1849583uab.199.2024.02.23.09.32.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:32:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78847-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WL20f8zg; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78847-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78847-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2F5201C23CEA for ; Fri, 23 Feb 2024 17:32:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60DA9133985; Fri, 23 Feb 2024 17:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="WL20f8zg" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 81C4612F379; Fri, 23 Feb 2024 17:26:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709192; cv=none; b=MKYKAPfYp9iBObTQrAF7yCKGKxtmb5a1S4PaKLx5dL8TaY3BcW/FgVh9nU4XCb0TWmbbL75d7zNBuCXoSWukmDH82oa3Q76fdZVRL/yvkjO3FJ7MQjN/LaoW8sLR6yJHC0pQJN4q47CkGkEIY96CoBgQN4LMcLnwDZa2UT2EINA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709192; c=relaxed/simple; bh=mfK3CVg0+fhZh3qQ1M3R9KIJX9QW8WJLAAfA0+fk6+Y=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=X5qbZRtqNfoiHtK5ce0SVH0sK+OL3VbQqK0wXl4cM9jA57Atezcup2eqqFdf2y81N2lJhpo1YGhM2IQtvpG/C1PaECGhs/Ek8IRTd8JcXmjNInj4NjBbKho5FRXTQ9V7sRNJBFoWHAlh10vMWwgjUC5Y0dzZ4IiYXB5ho1Uax5M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=WL20f8zg; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709191; x=1740245191; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mfK3CVg0+fhZh3qQ1M3R9KIJX9QW8WJLAAfA0+fk6+Y=; b=WL20f8zg6yqo5aIbPgQQg10smVwZWGBCDz8wRWLy+Bspq0mPhFhiUJsz hZU+uZ8dfx1o3W+3VTBSXYLgCu/dg7c8Q+aG9LLX0V/nKCbX9fTUHmSb6 7dLgXOmXd5ee1AihERkRmVsAqR4OjPeMDr/sHHs5cCzGbmg4eDbPoevnS GQQ000H+Rdp0PLLTlmLKOYfimvdw9S7eApVhunn9W/LaHKX4gV8V6ObPH gLsSFOfK1Z+jAvUsfSj5jOy6UTr1jmc4YoBLpH6EeGTCVOEoJyFuCaCVu qjhKyTaV0Qpx47Qu08yJec+u5IGnuuNOgk3pSUGkDCDgmvS1P2nadM4a3 w==; X-CSE-ConnectionGUID: t18HA6KHT7+gZ8BIMsEZ6A== X-CSE-MsgGUID: HS/vplxHT7qt8E56e2XNrQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734509" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:26:30 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.35; Fri, 23 Feb 2024 10:26:27 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:26:22 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v4 14/39] dt-bindings: pwm: at91: Add sam9x7 compatible strings list Date: Fri, 23 Feb 2024 22:56:19 +0530 Message-ID: <20240223172619.672262-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711801315637656 X-GMAIL-MSGID: 1791711801315637656 Add compatible strings list for SAM9X7. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml b/Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml index d84268b59784..96cd6f3c3546 100644 --- a/Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml @@ -25,6 +25,9 @@ properties: - items: - const: microchip,sama7g5-pwm - const: atmel,sama5d2-pwm + - items: + - const: microchip,sam9x7-pwm + - const: microchip,sam9x60-pwm reg: maxItems: 1 From patchwork Fri Feb 23 17:26:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205566 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734212dyb; Fri, 23 Feb 2024 09:32:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX0znZzAWUFrhuDNmBjZ5K9OdKw6krSX4nd0Ag3Y8m6OGcjJLiSF8T1c1LwGqAGygtuONFHoIxF7Rp+O9nut7RQnc+Sow== X-Google-Smtp-Source: AGHT+IFfpcS9i1d7c2wmwZBpMQUhn0yGbtlKYC2tYJOidUIfMuSh5SA+y+Q/pU41xaR/Q8vG6/sn X-Received: by 2002:a1f:c402:0:b0:4ca:4a07:9006 with SMTP id u2-20020a1fc402000000b004ca4a079006mr665660vkf.0.1708709554045; Fri, 23 Feb 2024 09:32:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709554; cv=pass; d=google.com; s=arc-20160816; b=z+XdIKq0BbbcM/wWZF1aSIjX8QmGhHRu92mDXAQmAgTuRMP83trcxGLEM9defp6cTN pqr6dw6n3IJ1h4Im2FSDd/ny1o4MXa5A4YVyQE4qZmRjXwAe4k9cjp9G0coD2QNZ5t0h k6aRgUgduy/3RpxEnqPRcKC/nKf8kvPM7MjX2Gz9diT7n+Y/cKTH314Ry5+YzLExXZrZ QwDt8ptLagws7jTdboTp+fEiTRaN4vOcJcim7c+8SgVf76SUdi0MJpaWC851XgduvF/+ suf9jjNx668KzgwD+VfMdf2UsCKWiCtbYgnLfZYY7hzF2X4RTVVHe3sERZJLRbLYKJ3Z lQMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Tywor0plUmHkY3/OIY342YfvYK8kqB27VLaX/C9os38=; fh=7jyDACoxM7iEIuUgf9IABZ4szSTtx/0a/3ub4hGyygQ=; b=dHO1aPlyrXwWeYYGFEFqN6Bca/3An97Ymz9BWf2NI2RntEk6wmwPkfo0atMtPm8hwn XxPrEJbQQB3gXqEdCWi4sI7r2GUS74I3ANp7AFNM8v9DHp4PRCcgUksIfwsBWpTyULwh FBDJ3mjmv6+Soa6z6gZIebTkeueyxckre1pFpq0jD0awZMx478VI09utBH/HlN0ypDkT Ujyz92MQaeAceHQmn2AixV+FlTyfVcrXodqNSm2e78rT+pUUOyVvUWAkZoXEiAj8dStF NQ8rW8m44t8qTdxu2xABn0vnmzF8cE5zEEnHkjZdkDlGmlzdoia9sZc+4NUPN9CldkPX oOnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=f2dT9f5T; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78849-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78849-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g22-20020ac5c1d6000000b004c02f82d8e8si2445147vkk.30.2024.02.23.09.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78849-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=f2dT9f5T; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78849-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78849-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CA5571C24BE4 for ; Fri, 23 Feb 2024 17:32:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D38D61474B9; Fri, 23 Feb 2024 17:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="f2dT9f5T" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 E343312FF8D; Fri, 23 Feb 2024 17:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709207; cv=none; b=DEgR4vngauvLFCjuGxHe8x6b0kqCmH56FwcfoaMOVrc4xw+K9YHolwTjEqGbmLa8A5ckuRyCGHI+7eAq63IlFmZ8k5AftwnJshcLSEhR/MeaoU1AlhdvtbCZ7IA6Gfs3YxGJ5wp8tNFnRTl9LKRQzf+hdOVx6jggLdO56/qfPO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709207; c=relaxed/simple; bh=b6RY3R0zuqGa4j5oeK47mHYhlfqQm9cq85DEmMV48OQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N7icjn4/ucxl539M3DS2WHMbVtUdWheZvD6dYVWnnqlkiRtEtpHoCnGPCKFJ5sJJbmnfkIOJL148iXnt3jUFuWge5vfR0h4kzhZ481wmbDVnyRkEBRIxgTlrea6k0reLH5/1VO2GPneDxcT+rF89WTXdhNffkpHnzMpfL3/MXTY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=f2dT9f5T; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709206; x=1740245206; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b6RY3R0zuqGa4j5oeK47mHYhlfqQm9cq85DEmMV48OQ=; b=f2dT9f5TMBa8eIxYaeLq1k3vPQlLUCZAijaqp6R6zp5PpjpPmLCHMtN/ 7vIVLmK8uqRptfezv+RtIwWHJLNjmu8EjOY0LX8HkcemGfjw0u0wm3/4U b9/jUzh0rMuPBB0H+idG/TrXTduDuLdRcYjav4JESxzpLVt5qf0+urFTy 2aLHcpApCIwQHVvg+32BjKG8YfwbKcooyd7YE0VR18ILD7xhAanOIP6JW syH9rUch/+MgwP4Dv6M2OaKckfKGPf6ytTPPs8JO0IhvNTOOv/C/I7JDL gngVSdQQPPtiW5bmSpvBW6CnoReoKRRSWP2KdLavSPIM9C3j+2p1VhBEl A==; X-CSE-ConnectionGUID: wf8h5iB/RBWgwQC4yBIXdA== X-CSE-MsgGUID: H52Puku3Tpewb437Nrp6SA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734528" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:26: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.35; Fri, 23 Feb 2024 10:26:37 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:26:32 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v4 15/39] dt-bindings: watchdog: sama5d4-wdt: add compatible for sam9x7-wdt Date: Fri, 23 Feb 2024 22:56:27 +0530 Message-ID: <20240223172627.672316-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711829325250013 X-GMAIL-MSGID: 1791711829325250013 Add compatible microchip,sam9x7-wdt to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Removed unnecessary '-items' from the syntax - Changed enum as const as per the comment --- .../bindings/watchdog/atmel,sama5d4-wdt.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml index 816f85ee2c77..cdf87db36183 100644 --- a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml @@ -14,10 +14,14 @@ allOf: properties: compatible: - enum: - - atmel,sama5d4-wdt - - microchip,sam9x60-wdt - - microchip,sama7g5-wdt + oneOf: + - enum: + - atmel,sama5d4-wdt + - microchip,sam9x60-wdt + - microchip,sama7g5-wdt + - items: + - const: microchip,sam9x7-wdt + - const: microchip,sam9x60-wdt reg: maxItems: 1 From patchwork Fri Feb 23 17:26:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734315dyb; Fri, 23 Feb 2024 09:32:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUjk93md/k6c6crKTHVKUk0RyKF6QhcaBJSKbY/R7Oi3EoqrRLlBz80W64Rk46J6WLXeAySVztMNNPkWCO3YGVoz7dVIg== X-Google-Smtp-Source: AGHT+IGjzUgkJYs49h/LqX5Q0OoGpY/uoYmnAvl0qrg3NeCfwm9mZzbUWrkWguJ7x3byd8leKq8h X-Received: by 2002:a05:6214:2681:b0:68f:3058:a0 with SMTP id gm1-20020a056214268100b0068f305800a0mr686230qvb.41.1708709567087; Fri, 23 Feb 2024 09:32:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709567; cv=pass; d=google.com; s=arc-20160816; b=x6VcK2xJUYECuUOfQPhWs7WlcGblJTZ1KBTjHLE/ISFJBoXbfWOT5jPXkKeN2Lok5n sNdhQheIHbrwCzEFc6lnPrRwKaRXPIcNKv2v29K1LBguqfVcFivBHnYOLOTg5SO+3zzD VWBuAnRhaRXcOjVM7AojRahc/dKqk4Qjv5KHIw2osXLU9Zb4QL1GRY6geuy/2XIZMVVj 3+vtte78uc/6SWH5Kbo8CJqTJU8CY42wRtIhXPgaFFyL0Kp7JP1JmHcls0mYq38ELDUC T5JrCCuEqxHqy1UwRI5Zg2RxQxVAXQBcEXS3LHSq7lg0/jPow0juWEb2Dw9bIQIrmErh jfbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7plDluxPSifH13JBJQzyL1eDUeO1YhQ9j2pfycYwah0=; fh=fRY+wjiyc+bcqGe5Gz8PkVmAQ6dNaaQ2dPtf31DBBbk=; b=UYkIctcF27JeBIsEcjgGbIcZnkOfy6ck8qAlv+5CJMnzwXrGyob1Ei9QCrBMn/3h63 3GbazMgbbzYrK1+mgoVrfenfGgH75owNE4dNSispLkGcVWStJxC3UdvbRlLmSUV/IaKW SC3ltw64oAnR4D2gzJEnNJ35rCkBTbbncf1DiNzGlMkA3N0LOiNpdlpJG039/qfNOI+c ll+WxEANg8ewtZHRI0hfMj65VJyZ0XQb2leHtePUMtiRGVs+IGjsuJg67hpyi+W4K2iR TSCg75WIdql2/m4s/vuE861TmyoWblGBePpuo6uIzPReMpJKwzLXen4uoDfMgmcrCi7d d4DA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="sh/bG1Q8"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78850-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dv13-20020ad44eed000000b0068f44b782f9si15404462qvb.586.2024.02.23.09.32.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:32:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="sh/bG1Q8"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78850-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DC0AE1C24BE1 for ; Fri, 23 Feb 2024 17:32:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C0B112AAFA; Fri, 23 Feb 2024 17:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="sh/bG1Q8" 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 48D2712DD86; Fri, 23 Feb 2024 17:27:07 +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=1708709228; cv=none; b=XxpX84VgcX9EnpMtaoOJKYY9C/QACei05dx/2toOrqDFQTwPQ8m/3xOnlKSRSfyP8Q6CJOs2Rw1JI4xNYLw/DT3L6Iwk+/gLddlPI1evwf5o2w/9QCUVDr/63Sux+m5Z1cYTu1uNKnHHh/1/DN0JMIFv2TIVaRyU1+JS8lhtGkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709228; c=relaxed/simple; bh=hA6t0dUmMpp366ADXyoHTsVlJuJfCOs9fFBiMBv3M+4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oy8/nn8WMrMiQ1Ca7Dy0zsuZiGi8uzE/1Cs3HQ0r4CAw/mNjdUP4gB+JYbghX6L/6naBzQMvqQfEL6CJ2wNRtKZj9Ad/h1lyPt3YBX8Mml77MPRE8TvlWpDJShJgHHHteRx6CevX9ncIDaz4B8MG1H8TVsTMDcZ6M0/TH2WTJXE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=sh/bG1Q8; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709227; x=1740245227; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hA6t0dUmMpp366ADXyoHTsVlJuJfCOs9fFBiMBv3M+4=; b=sh/bG1Q8tLE8/pAwY0b9QFMMq7W3hUWGOpTkvzFh8IcLe1DG0MYvOnoT l6k4HrvIu11HWIqZRa+Q3zh/Xim1AoLsYF8M2sRWdLAqPRPsY2ECkZ1Ig Gz57Sq0k3RWrxfRnA0QzAr09POXduFz8/zbyK4BN7EUP9uNkjV4FCdaj6 hAslFH8EuAqs9/31kUki/sl8KXVWfwaJEvLadq7rmWBtGg3hWdUd2bN0O EBS3t94RkjFyKVdIVCUi8GQ0EliVssTu026mKypqA1K36f9xVpE+7s11R ryDhTXHK/nm/MPQ9dP6UJKX+yS121xlDNLc4Y0m0M0fZjIg94D+GlXZPY g==; X-CSE-ConnectionGUID: O9nSenaIQFe/RJGNzUZuEw== X-CSE-MsgGUID: 5IlSLmlrTv6CGNoCqJRYVg== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735880" 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; 23 Feb 2024 10:27:06 -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.35; Fri, 23 Feb 2024 10:26:56 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:26:51 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v4 16/39] spi: dt-bindings: atmel,at91rm9200-spi: remove 9x60 compatible from list Date: Fri, 23 Feb 2024 22:56:38 +0530 Message-ID: <20240223172638.672366-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711843380681441 X-GMAIL-MSGID: 1791711843380681441 Remove microchip,sam9x60-spi compatible from the list as the driver used has the compatible atmel,at91rm9200-spi and sam9x60 devices also use the same compatible as fallback. So removing the microchip,sam9x60-spi compatible from the list since it is not needed. Signed-off-by: Varshini Rajendran Reviewed-by: Tudor Ambarus --- Changes in v4: - Elaborated the explanation in the commit message to justify the patch --- Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml index 58367587bfbc..32e7c14033c2 100644 --- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml +++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml @@ -22,7 +22,6 @@ properties: - const: atmel,at91rm9200-spi - items: - const: microchip,sam9x7-spi - - const: microchip,sam9x60-spi - const: atmel,at91rm9200-spi reg: From patchwork Fri Feb 23 17:26:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205568 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734490dyb; Fri, 23 Feb 2024 09:33:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVZKBm9+eUA8NZufjvuTkVB98yvylxKunPWSg6U6fvLexGO+O81/Dt1d0uhRT/P/wBm8Mn/n3CRplWQS1VOiYYztjmtXw== X-Google-Smtp-Source: AGHT+IHLhuWOsY1Qh9d10Fijx/40196/3XLCkheDcj/RCVMqpolFzc7Go9QTBilSAhvEdWoP3eA+ X-Received: by 2002:a17:906:e59:b0:a3e:591f:4ca8 with SMTP id q25-20020a1709060e5900b00a3e591f4ca8mr283736eji.24.1708709585511; Fri, 23 Feb 2024 09:33:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709585; cv=pass; d=google.com; s=arc-20160816; b=vQOWrduAXDh6US4ZZywbQe9aR7aEtMBqhsSZFEyoQSEoqj8N1XqSg6FwyIRBsh4Aal FNvJ/WiggbdN2hlf9YJ20LKAH9D3QEQHj6/LFAW5p3CrR5JkRttVd3EjIqZ1XKDfZT8I TUhU46gLEB00Gb8c8YiqGthtHzPZS7mgvjLg+b7GxZWfh7KJmhYhg8FiZqZ30lbtWG2w M2DhD2cQn1H3oCy4q6powGiCPWgbfl5xMczxEVTiwBUXuCEZVbSAug3qOLgLmQ1927JD Vsc7po1i25qCJ4wcujwRuwM4eIz+SqNKMjg57zKyKGjy0bx6OJihYqSGKdiCKaeNePHQ Pucg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=aWkfTbEPt82LipY8yJlT8mvEhjbP7Z7BnNZTjM8IbcI=; fh=6Jf/DIJ9Wuccd7fsfxZLZTZVkHz4WoLEAZSGpFQlmZc=; b=qLn52rX1Si1mQmA6ItUJuMnsSjwOSetuU2Cg7UTd41lmyAmSSf3885GeoMnDayoUr5 QFRfzgslnQimCGgibqy0OTpofeF0dEM96VyqnjEh2bkFNzoyedUgAxIsdP1T/RofzL1W CF+Nr0DOOIq1rLPYPYLPus96YOHS1WSXVm0d+BJSXjVKSGI09axQvEIA14b5++qdgWNY 9IQIkKUXUnDQO/pMS+IhlWJ0eeKeUsEktmG4CEDFYVamQqrmSvrIlkXYb31PhG25dhV9 OioUSLQjMhdPKnUtxWV7j3QG36dEmA5Sq6uByfcWWNC2/lGOIobe8NWuwctqJeTfDUBt fW7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=RYnC3Tz8; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78851-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78851-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z14-20020a170906714e00b00a3e3a38e70esi5541156ejj.901.2024.02.23.09.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78851-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=RYnC3Tz8; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78851-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78851-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 237D91F229C8 for ; Fri, 23 Feb 2024 17:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3302A149389; Fri, 23 Feb 2024 17:27:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="RYnC3Tz8" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 3A27813DB94; Fri, 23 Feb 2024 17:27:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709235; cv=none; b=trEUg4MPcjd4fIoXuZ6SX3MAQDceR07+9zc52jBJUs0nysVZ3SK8cIYUKl2uA3ZPAgWHekxIXz/SuDRaS8cAyUlpjUIsT15Nqy/J7RzBUuyV9iFaOYCDfKaD1kcX8yoVGDOlVvMdevwwRh/s8ZKMoW80wix3odZqgmUpVpK6kpw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709235; c=relaxed/simple; bh=W5BmSshd0oXFwwOasjjhvcfbUwIqu6xmPd/ui1WyGEQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ndD06Nlf0KyMW44iShKk2via0ansYIyK8tyEJ8+guLCsjHuNBh8qsCGCUtRlIllj9D+1OZUsDpvLmNHuAHquA5wq37oapcBFq3bFR4QQFnhv3JkjaWClmJ0eBygD9IeZT02uNtbnLQktffRvcq+z4B4njB8+hlM6SK39ZDIuysU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=RYnC3Tz8; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709234; x=1740245234; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W5BmSshd0oXFwwOasjjhvcfbUwIqu6xmPd/ui1WyGEQ=; b=RYnC3Tz8YMlbxxIqaiqERWZNxpveLsY3yfsrW2EEPrWUaDcuFC1VW+Ga Y4eCPTwYzypQcRwfg9XuIXKELXWyWnJcj5q60+DJY7Hsm9ye2A+zWeASr 3lA7ZuNT+1NHu4KOKA9lp9atON4QDugOX5TkrSO21PagRw/QtwPTaJ3KU 5eFCn4U5ggRtODTFVoOkky4+t7QfsKbixkTPaaBZZVzd0lhQitV9zVHHo 0TGaou0RYpADxNf4QE9Be1CPJH0JbTVBpYSBDyTRMwmkx9+SMDTbDtlAH usXB5uFjSLrUm8hna/GtOiVLProHyJDuqKxkn4Tn2z87GqSXAcrCVGMAS g==; X-CSE-ConnectionGUID: WGdUDJySTO6s5AHkHy7fsA== X-CSE-MsgGUID: kYk6deLtTtCG69UPyi3Npw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276155" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:27:13 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.35; Fri, 23 Feb 2024 10:27:04 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:00 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: , Conor Dooley Subject: [PATCH v4 17/39] ASoC: dt-bindings: microchip: add sam9x7 Date: Fri, 23 Feb 2024 22:56:57 +0530 Message-ID: <20240223172657.672439-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711862283450596 X-GMAIL-MSGID: 1791711862283450596 Add sam9x7 compatible in the DT documentation. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Updated Acked-by tag --- .../bindings/sound/microchip,sama7g5-i2smcc.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml index 651f61c7c25a..fb630a184350 100644 --- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml +++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-i2smcc.yaml @@ -24,9 +24,14 @@ properties: const: 0 compatible: - enum: - - microchip,sam9x60-i2smcc - - microchip,sama7g5-i2smcc + oneOf: + - enum: + - microchip,sam9x60-i2smcc + - microchip,sama7g5-i2smcc + - items: + - enum: + - microchip,sam9x7-i2smcc + - const: microchip,sam9x60-i2smcc reg: maxItems: 1 From patchwork Fri Feb 23 17:27:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205569 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734566dyb; Fri, 23 Feb 2024 09:33:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVrQ7H/+/nuA53YnAuA5vqD0Yj74kjllAs/8+jSso/UvSd6L5ahEmvT1L5+5zz254+RcM9FyT5DxhTjE4hcP6UbDviSTg== X-Google-Smtp-Source: AGHT+IG4VL2yP6JTl4OawyQJfarZrWSq4JJoxDIz5AKNdVJe6oMEtf9J32Lf3qgRClc1cA5X4RX3 X-Received: by 2002:a17:903:1c3:b0:1db:c1f7:35ac with SMTP id e3-20020a17090301c300b001dbc1f735acmr602352plh.45.1708709591627; Fri, 23 Feb 2024 09:33:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709591; cv=pass; d=google.com; s=arc-20160816; b=GKd7D/QIunq/+9D3v6JalCECw8UEYzn8eznzfVeles5LeMYESA8oyVSWUAjh6GmqMU 5M/+gMq0OBNc8NRLynk1owYVPqd8RcW8Q0x3QG1q2BKuCvsqcflO7byz4nlUqNOxuo4m k697x9fC+t7XFdlY4uDjtm35IFjNsm7RgOXNoyoCSZg2yOhKsrUI1RXINQBdQaW1D658 TZWurfaS2tfapwU3esuFxkmez7zNsqheLmjM/DJPFvT2VbS7jOCuyAhdCGyeIzZVnb/8 9P5xp4ABFhniUm0WJTG/PdZPUbvXVUeDeq53u3Ds2rxGNReu19bKS1T+QWCLN6N76hFe wnJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JZ11T7xhsyyW6tze+iQIRcT2RAe5djmR+Rwan9YlnzA=; fh=2Cm8Id6fAmXHzJnPhIJkt6oDbq5aI4DP8RPEyJyozkc=; b=PS96CzNcKCdeT7HqXW844ISMZztMt+oyfPhohN4qyXMiGZzdqa0Wjr8rFozoz5bg3p nE4g9EzBx0wNnHXrkvAqgL2lBqnNzNaGMjpbL8lEOMLpq/W4Pt8Vcd18O06oAszljocD FEFrZf0lyDOnnOSI1j2waq1OsSdMMZRq57crPDgmoQ60ZiT8zSSNRaPS4WuoD/9d3mVn F5/B5yRQCDaa6LEv2Ztn7mSB9+Up4TLbiXBwwgP1vMXd3lZ1XWOYiSthDpxeU8iNGDsG 6FKrkjOgpJOgttVpRPFNPio9NdrBKeT4kaT3pGfOxLPaTeA9nuo8rWetnQpbrPmXW9gg xFIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=aU60QDsl; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78852-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78852-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b11-20020a170902ed0b00b001dc4aa26269si3524785pld.309.2024.02.23.09.33.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:33:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78852-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=aU60QDsl; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78852-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78852-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B72FA28825D for ; Fri, 23 Feb 2024 17:33:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85F24149394; Fri, 23 Feb 2024 17:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="aU60QDsl" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 65C2913DB98 for ; Fri, 23 Feb 2024 17:27:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709236; cv=none; b=Ez1N3Z4Gv0yakR0bmucAeHNFtwu6FoMhQEK7Hex5x0w3kHrGiqqJ2sYgfk/vMjd6SBh+aho6XwULCvFOsRn9ZzdtzrJaMeeHIIYKAwv78hZrJk63VKl9IgLGpCIYvGkuen+C+AZAEGAoRvcJlNBfoe+SJhWFF5JRLYyRG2ItJ60= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709236; c=relaxed/simple; bh=vvJunj56YSppCZwvuGVYQ/lD0VzVIdWbYqO/n682iDg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p936Jg1SdZtxn0x4TiqJNROsADUVUNxKRaam7j5P/oAz++kqhjWzdWy2wa1l9Zo+lvM+5LYJVeramJqqjMULITgR+HuQQssIuauJ2trcXEBPjig9JreYiQYKGQT3Yss5I/tbvRjaHyINHFQYxrcOyNncB5Of9hhu4wxFOU/9Qek= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=aU60QDsl; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709235; x=1740245235; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vvJunj56YSppCZwvuGVYQ/lD0VzVIdWbYqO/n682iDg=; b=aU60QDslGfDAICmh1NTYkD2Z1wUYK489Sy1Y7VA62KPSPkuwzLZ/xlyn I/iWUwPesuJOfdZuy9i2ZHIcnC6yM9DIvR494l5K+tjkGmEARE5P2UFFB ZyK4EMtgh/bXvLYtJTwkmOXnJIFXaE36f62zxmHvwI19+6KPj/9FXr+44 gBDW/yI2Y/PkJjaXh2aZGX5BqRPpjTp8zqqtOwKYhogQh8xsc0HV4RBDf lx3F+Lkg9BxOQHEMXiN3TPyl1eC3CRdDiau6vQde+g+W1yVHPsTrQzho6 eHKGUW3AkWGyHWkbungymKeFFL12pqReppATmGwyXCbwH3giFlhFUYukg A==; X-CSE-ConnectionGUID: WGdUDJySTO6s5AHkHy7fsA== X-CSE-MsgGUID: gWYSPU5eRWi9MtFedH5gFw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276165" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:27:14 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.35; Fri, 23 Feb 2024 10:27:12 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:09 -0700 From: Varshini Rajendran To: , , , , , CC: , Claudiu Beznea Subject: [PATCH v4 18/39] ARM: at91: pm: add support for sam9x7 SoC family Date: Fri, 23 Feb 2024 22:57:05 +0530 Message-ID: <20240223172705.672488-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711868841135394 X-GMAIL-MSGID: 1791711868841135394 Add support and pm init config for sam9x7 SoC. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- arch/arm/mach-at91/generic.h | 2 ++ arch/arm/mach-at91/pm.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index 0c3960a8b3eb..acf0b3c82a30 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h @@ -12,6 +12,7 @@ extern void __init at91rm9200_pm_init(void); extern void __init at91sam9_pm_init(void); extern void __init sam9x60_pm_init(void); +extern void __init sam9x7_pm_init(void); extern void __init sama5_pm_init(void); extern void __init sama5d2_pm_init(void); extern void __init sama7_pm_init(void); @@ -19,6 +20,7 @@ extern void __init sama7_pm_init(void); static inline void __init at91rm9200_pm_init(void) { } static inline void __init at91sam9_pm_init(void) { } static inline void __init sam9x60_pm_init(void) { } +static inline void __init sam9x7_pm_init(void) { } static inline void __init sama5_pm_init(void) { } static inline void __init sama5d2_pm_init(void) { } static inline void __init sama7_pm_init(void) { } diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 345b91dc6627..b81556387aa3 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -233,6 +233,17 @@ static const struct of_device_id sama7g5_ws_ids[] = { { /* sentinel */ } }; +static const struct of_device_id sam9x7_ws_ids[] = { + { .compatible = "microchip,sam9x60-rtc", .data = &ws_info[1] }, + { .compatible = "atmel,at91rm9200-ohci", .data = &ws_info[2] }, + { .compatible = "usb-ohci", .data = &ws_info[2] }, + { .compatible = "atmel,at91sam9g45-ehci", .data = &ws_info[2] }, + { .compatible = "usb-ehci", .data = &ws_info[2] }, + { .compatible = "microchip,sam9x60-rtt", .data = &ws_info[4] }, + { .compatible = "microchip,sam9x7-gem", .data = &ws_info[5] }, + { /* sentinel */ } +}; + static int at91_pm_config_ws(unsigned int pm_mode, bool set) { const struct wakeup_source_info *wsi; @@ -1135,6 +1146,7 @@ static const struct of_device_id gmac_ids[] __initconst = { { .compatible = "atmel,sama5d2-gem" }, { .compatible = "atmel,sama5d29-gem" }, { .compatible = "microchip,sama7g5-gem" }, + { .compatible = "microchip,sam9x7-gem" }, { }, }; @@ -1362,6 +1374,7 @@ static const struct of_device_id atmel_pmc_ids[] __initconst = { { .compatible = "atmel,sama5d2-pmc", .data = &pmc_infos[1] }, { .compatible = "microchip,sam9x60-pmc", .data = &pmc_infos[4] }, { .compatible = "microchip,sama7g5-pmc", .data = &pmc_infos[5] }, + { .compatible = "microchip,sam9x7-pmc", .data = &pmc_infos[4] }, { /* sentinel */ }, }; @@ -1499,6 +1512,28 @@ void __init sam9x60_pm_init(void) soc_pm.config_pmc_ws = at91_sam9x60_config_pmc_ws; } +void __init sam9x7_pm_init(void) +{ + static const int modes[] __initconst = { + AT91_PM_STANDBY, AT91_PM_ULP0, + }; + + int ret; + + if (!IS_ENABLED(CONFIG_SOC_SAM9X7)) + return; + + at91_pm_modes_validate(modes, ARRAY_SIZE(modes)); + ret = at91_dt_ramc(false); + if (ret) + return; + + at91_pm_init(NULL); + + soc_pm.ws_ids = sam9x7_ws_ids; + soc_pm.config_pmc_ws = at91_sam9x60_config_pmc_ws; +} + void __init at91sam9_pm_init(void) { int ret; From patchwork Fri Feb 23 17:27:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205571 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734877dyb; Fri, 23 Feb 2024 09:33:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWbd6njx92gSFcDcG8S7g6JFuR5OBqtWKW2Go/zPY/Hfjm6zg/giZiDKq+8dseRutQ5Jf5LxNrYe1ZEmpxfuAo7azlsHQ== X-Google-Smtp-Source: AGHT+IEBvp7jTq7J2pJfCLfCRTrzplXDPBf9FISou0h/R7kohuhRxKFnvLACTpDrmbcaTYxHce3/ X-Received: by 2002:a17:902:ecc1:b0:1dc:1fda:201a with SMTP id a1-20020a170902ecc100b001dc1fda201amr603249plh.14.1708709621209; Fri, 23 Feb 2024 09:33:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709621; cv=pass; d=google.com; s=arc-20160816; b=Iv93IECQk+7i+KadLa1QcAZVaEsXOImIc4FtHWsQPk5IDxdk/s3DodAgw4G5LXYIjB OT/HEpIzhgxVrMaSIZRU4by21rK3uShQfg3TkKoMYE8BL9eCsnXubXSucKo6VwfThCGS WTmVvkVb/N4OtD8yWyAy3TwRfrQ3CjO8xfFDqUUzUDyRfPlSQQ5CsBOjWIKHandt370p VCOV2GgWt3bWyW4UNrk1kjJBuZ/8neps4IL62H+IiH82/HpDnaPu7Oc/H1MZqa8l8/iZ RIV7933rCRjTLFKRJYVYN4rhzIr8qwyMTG0nRkeiQpEhv8x3DV9IRkNM4BWcG3Ja0gyu +ARA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GMUphwJr1PjBcb4acLrrkhXbLoDulRewOKxj4hXxBu0=; fh=zh6E5ZTCJOdOoU4l9vLjM+qWK/+xrLsspfN6mr1FSGY=; b=Mp1wlgUf63t9wBO2BejBCkYeI716zar6mesPN3H27hvQAAHc1qBxcLdJlNfchGFzlz E1ICGyHCJUTFNevZYUm37zbPXSl8GhMWNCY+W4h9tMLkgrdjqB5iv9W+2DbTmoIELd1m KGUSSimQBddKZE2U35iu/KJP9fh8Z4AWBz+PYck4+Ap30sCaSQ1O3R//cVVlH3dYiPpB YKVmtaj6lCPKeD0M6n5VRaZOkTNJnRXa4MXAii7WeNsizEwgM5OFn+Gx+1BDaPynPjg3 4V74cdvAQEthzB8swtV2vb8n53mLztsyn4F3ApFepFrIlliJgYO9kuxJPs9PKE6u/Auz M2Vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=lNI3+6YJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78854-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b15-20020a170902650f00b001db6043dd97si9256944plk.246.2024.02.23.09.33.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:33:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=lNI3+6YJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78854-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0477D288216 for ; Fri, 23 Feb 2024 17:33:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A261A149012; Fri, 23 Feb 2024 17:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="lNI3+6YJ" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 B50DE13F00A for ; Fri, 23 Feb 2024 17:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709275; cv=none; b=RH863gZqnaid9USJdICmsA2xvygSqBGVKuPH9dqv5pmLPY9Xf8IPmheZHt06Gncgifql5pWYIgDiyYVGws+HWzWHNcORGT0zYkidt/a01qrFA+kc9Zkg6P2ojg5mlUnozjLsDz+JOGJFGsLkx++ohXv1o3mx0t66Ulii77zhz4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709275; c=relaxed/simple; bh=Ig30gwYZkr/IoUPy5H3F0pxktm0wBBqBXGc48gOkR1U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TGOndAvN5sjkIYJEiGCfCqw0u1SdhPoAk2sl4gOouNDdrsel/QETitPxqAYWfSJr4hUMNdMqdaeSo70iFdSZ+fTrasjEvlD2CzyTsk0pgHEFUe5jzWtTVOLMYbLCKZvRXJV+ch4LYDflOsYxbAY8XuvwwhYDjClA/1LaMcS50hQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=lNI3+6YJ; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709274; x=1740245274; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ig30gwYZkr/IoUPy5H3F0pxktm0wBBqBXGc48gOkR1U=; b=lNI3+6YJVFBDhsRfD5WOJ0kEnDm/ipn0aetCTTmBCfpt/fY3d2ZFcKrS NeEIm2J8g2yq/zuC3Rhmt0LyFKhUavF1SPjZLhzJ/VDkRNTozysvmXj9/ on7RydpTTdGHYZLiskK3ZabxjcwNvpQQTK2wbvlvABlo+/EMky3atZPHR 0IX4NBOfnWkt0XmZ97+CxeNZOaYI2jIpxztim8bRdZld6D5+3D3E1uTlq ytOPA0JfbjB23qsBgsTyQtdI7RCiqWy26ajN0XdGqMM57A2zl3NU3Nr4h j15pg50RFgReHIUUo23mK6W5yzyWN7o15FLod3QMqYn9vsOluXtbyfG4W g==; X-CSE-ConnectionGUID: VJwSy7CGT9OoHBfoc7EWkg== X-CSE-MsgGUID: dncu8mqSRtmSlxV9oczyJw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481500" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:27:54 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:27:21 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:19 -0700 From: Varshini Rajendran To: , , , , , CC: Subject: [PATCH v4 19/39] ARM: at91: pm: add sam9x7 SoC init config Date: Fri, 23 Feb 2024 22:57:13 +0530 Message-ID: <20240223172713.672537-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711899418556582 X-GMAIL-MSGID: 1791711899418556582 Add SoC init config for sam9x7 family. Signed-off-by: Varshini Rajendran --- arch/arm/mach-at91/Makefile | 1 + arch/arm/mach-at91/sam9x7.c | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 arch/arm/mach-at91/sam9x7.c diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index 794bd12ab0a8..7d8a7bc44e65 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o +obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o obj-$(CONFIG_SOC_SAMA7) += sama7.o obj-$(CONFIG_SOC_SAMV7) += samv7.o diff --git a/arch/arm/mach-at91/sam9x7.c b/arch/arm/mach-at91/sam9x7.c new file mode 100644 index 000000000000..d998fb327860 --- /dev/null +++ b/arch/arm/mach-at91/sam9x7.c @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Setup code for SAM9X7. + * + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries + * + * Author: Varshini Rajendran + */ + +#include +#include + +#include +#include + +#include "generic.h" + +static void __init sam9x7_init(void) +{ + of_platform_default_populate(NULL, NULL, NULL); + + sam9x7_pm_init(); +} + +static const char *const sam9x7_dt_board_compat[] __initconst = { + "microchip,sam9x7", + NULL +}; + +DT_MACHINE_START(sam9x7_dt, "Microchip SAM9X7") + /* Maintainer: Microchip */ + .init_machine = sam9x7_init, + .dt_compat = sam9x7_dt_board_compat, +MACHINE_END From patchwork Fri Feb 23 17:27:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205572 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734974dyb; Fri, 23 Feb 2024 09:33:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV5aqhkYdnTZCxldME/9sRpzwrUgy7YMElanpiPeC0rp1vdN4uWFjkdNOXnw9dVUy9I803x7hwnqP02dqVi9kc5bC5+Ig== X-Google-Smtp-Source: AGHT+IFFheOeNImGk+nNo+s6p/rRBCZPN3cJf2m/7nD0dfdClkBco5UYnP9XnukQI09fMCFhe6AL X-Received: by 2002:a17:907:1de0:b0:a3e:5ebf:345c with SMTP id og32-20020a1709071de000b00a3e5ebf345cmr389749ejc.21.1708709630093; Fri, 23 Feb 2024 09:33:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709630; cv=pass; d=google.com; s=arc-20160816; b=hkXIi7uyWbkcP2v0rLkWXZvXxFbdEQ3/t/f00CmzROu8JIOVqz83PtwO/gswTZlj78 uAOoPLygwNqWq8XjLJFA7fCxxivNv9lfv7+XaevmZhQAicKmnH0BeXCz7/y6JmvgfE9h Lgwzj3WOj1u3+o7J5hAd/WHvISkDluH3O3xBwQcvggjGtxFeOGEizG/Ydg+e6t3Z4jiA DO+xeUg/UAsN5wou7uIDPAyuApImoL9TcraAK2os51CMiZPd9UOHPygBk7hkETYJPLiB +v7bZcDmzFOXUbfATjJfLYF1JiLsyCO620TawDyK38VAU4At3SHuG4DGfAWPJU2438Cq rQ7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GW1FSjU166J1u31Q+do6d9ormlIph5J0Z4TiLZSL9fQ=; fh=2sHkELVqwfZo82OHZeWa4ACdUT8rhH0+n854lL1FOc0=; b=XdNrJv8/4vLtdKkHqTyzcxhsDToQm9g79g6n8OWa0M4buL6mZdrVX2d1bmLuIVQFcZ LIIsrhK5Y/oq2HBN5+CXqv4+jMAwXuoqGRbh3bdDNACe3zSAkkJ6JyVGs+aBAmqRE1/b oTKFtYPA/iGi2u+Hu7Kk4oEDGSDCT9HhzmbqJnVqaCDgE/h6xOs96O8rO1BRnk1aQYmk 3OD/b8A+jHtCWIizF1TnX9dMUd0En6nTWs5W5TSeL7DEjBBgCeMPLI+4U14Xa45icbSx DWEVXQrmv68zdu4AneHUN84P0mqQe0LypXNad+thoiH0Tdb3oSLj4f84gvd7o9zo6N/f OmHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=scERPHKb; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78855-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lv12-20020a170906bc8c00b00a3ea1663592si4745906ejb.218.2024.02.23.09.33.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:33:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=scERPHKb; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78855-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B00B71F22875 for ; Fri, 23 Feb 2024 17:33:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AB131493A6; Fri, 23 Feb 2024 17:27:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="scERPHKb" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 2570612BF0E for ; Fri, 23 Feb 2024 17:27:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709276; cv=none; b=RW4XNnGCQfQVMqy/J1OeWet0e2PACfBimt9fGkUKyeeKmCD/fCcnN0h65yaiGzErSKz+Sfne0qxyUM1Nxrgn9O2HXcj5tzhzRHp4QFzPVmG5FAZIiJ6ysj/g7aeXs4F+IVwQDhjYXGW10KasCkBg7Tgl+D+6o8rCqJoXnYbSbEQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709276; c=relaxed/simple; bh=SalObWM9FigCU2Fn7WR+PPhV8N178DvXnGJ19TAnF18=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tAuIgUewDwbuQRS/IgPBqYO2FztrB3/xJAgf3ExVnKtss97ZkymcA4U+KZo4yM/NJ2FmLdXgJNaw2S7xBRlQhqCvlly2DbMuySFZP8wLXcr1LXiqiVccmZT+N3SU8LpZW2+B9G9xcyia2h6QxfbkmaMoOq1ExfjAGkWQnhZLvi8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=scERPHKb; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709276; x=1740245276; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SalObWM9FigCU2Fn7WR+PPhV8N178DvXnGJ19TAnF18=; b=scERPHKbeWdFGLdbVo/82jz9/eq03yVpc54B+Rrk48NezoHaqjtCeYBd GVU0pMWXLs3FE/3gq66VeyXsqyFIrkn0pAaUePKBVWCt65WxSUsh5YrxZ 6s+5KG6e7N8E48L/7V6ysZCC6VPCdBFMe3sJWSeqiLXk3bDwdvWC45JZd DN2Eafp8XyCe5i9T1512ICJh3u29ZDq5jneO2AqEjNauxegy57hHtzKeX NCOA5pIxC9dht7VvXBx6uiJJV1Gpf9vaI+k+ym/dMfUE4JyYqQ1sUVwBJ 39EMr1L2jKlrQNXa2vOSoeCY4hUNr1ETF0gQ16o+JZHN5s+iAc11BM8IC Q==; X-CSE-ConnectionGUID: VJwSy7CGT9OoHBfoc7EWkg== X-CSE-MsgGUID: spaCYGWeRzWNJ6BVFSZzjA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481514" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:27:55 -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.35; Fri, 23 Feb 2024 10:27:31 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:28 -0700 From: Varshini Rajendran To: , , , , , CC: Claudiu Beznea Subject: [PATCH v4 20/39] ARM: at91: add support in SoC driver for new sam9x7 Date: Fri, 23 Feb 2024 22:57:22 +0530 Message-ID: <20240223172722.672592-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711909374544648 X-GMAIL-MSGID: 1791711909374544648 Add support for SAM9X7 SoC in the SoC driver. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- Changes in v4: - Sorted the entries alphabetically as per comment from Claudiu - Updated EXID Note: Did not remove the Reviewed-by tag since the changes were only cosmetic and did not affect functionality --- drivers/soc/atmel/soc.c | 23 +++++++++++++++++++++++ drivers/soc/atmel/soc.h | 9 +++++++++ 2 files changed, 32 insertions(+) diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c index cc9a3e107479..cae3452cbc60 100644 --- a/drivers/soc/atmel/soc.c +++ b/drivers/soc/atmel/soc.c @@ -101,6 +101,29 @@ static const struct at91_soc socs[] __initconst = { AT91_CIDR_VERSION_MASK, SAM9X60_D6K_EXID_MATCH, "sam9x60 8MiB SDRAM SiP", "sam9x60"), #endif +#ifdef CONFIG_SOC_SAM9X7 + AT91_SOC(SAM9X7_CIDR_MATCH, AT91_CIDR_MATCH_MASK, + AT91_CIDR_VERSION_MASK, SAM9X75_EXID_MATCH, + "sam9x75", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, AT91_CIDR_MATCH_MASK, + AT91_CIDR_VERSION_MASK, SAM9X72_EXID_MATCH, + "sam9x72", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, AT91_CIDR_MATCH_MASK, + AT91_CIDR_VERSION_MASK, SAM9X70_EXID_MATCH, + "sam9x70", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, SAM9X75_D1G_EXID_MATCH, + AT91_CIDR_VERSION_MASK, SAM9X75_EXID_MATCH, + "sam9x75 1Gb DDR3L SiP ", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, SAM9X75_D5M_EXID_MATCH, + AT91_CIDR_VERSION_MASK, SAM9X75_EXID_MATCH, + "sam9x75 512Mb DDR2 SiP", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, SAM9X75_D1M_EXID_MATCH, + AT91_CIDR_VERSION_MASK, SAM9X75_EXID_MATCH, + "sam9x75 128Mb DDR2 SiP", "sam9x7"), + AT91_SOC(SAM9X7_CIDR_MATCH, SAM9X75_D2G_EXID_MATCH, + AT91_CIDR_VERSION_MASK, SAM9X75_EXID_MATCH, + "sam9x75 2Gb DDR3L SiP", "sam9x7"), +#endif #ifdef CONFIG_SOC_SAMA5 AT91_SOC(SAMA5D2_CIDR_MATCH, AT91_CIDR_MATCH_MASK, AT91_CIDR_VERSION_MASK, SAMA5D21CU_EXID_MATCH, diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h index 7a9f47ce85fb..fc4157c5f6e3 100644 --- a/drivers/soc/atmel/soc.h +++ b/drivers/soc/atmel/soc.h @@ -44,6 +44,7 @@ at91_soc_init(const struct at91_soc *socs); #define AT91SAM9X5_CIDR_MATCH 0x019a05a0 #define AT91SAM9N12_CIDR_MATCH 0x019a07a0 #define SAM9X60_CIDR_MATCH 0x019b35a0 +#define SAM9X7_CIDR_MATCH 0x09750020 #define SAMA7G5_CIDR_MATCH 0x00162100 #define AT91SAM9M11_EXID_MATCH 0x00000001 @@ -74,6 +75,14 @@ at91_soc_init(const struct at91_soc *socs); #define SAMA7G54_D2G_EXID_MATCH 0x00000020 #define SAMA7G54_D4G_EXID_MATCH 0x00000028 +#define SAM9X70_EXID_MATCH 0x00000005 +#define SAM9X72_EXID_MATCH 0x00000004 +#define SAM9X75_D1G_EXID_MATCH 0x00000018 +#define SAM9X75_D2G_EXID_MATCH 0x00000020 +#define SAM9X75_D1M_EXID_MATCH 0x00000003 +#define SAM9X75_D5M_EXID_MATCH 0x00000010 +#define SAM9X75_EXID_MATCH 0x00000000 + #define AT91SAM9XE128_CIDR_MATCH 0x329973a0 #define AT91SAM9XE256_CIDR_MATCH 0x329a93a0 #define AT91SAM9XE512_CIDR_MATCH 0x329aa3a0 From patchwork Fri Feb 23 17:27:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp734732dyb; Fri, 23 Feb 2024 09:33:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWecnfFO2PmGcsk/YdEUorYEPOeXumV21pAf4SaT5QMw6E9r+gtJtnEeZs2yTDs+97MTu0Kj3e5E3fntZWm5wf4r9rUjg== X-Google-Smtp-Source: AGHT+IEZ/2viY2VHcDT/OeUFn+ysMN8R9y0B9/8EWTh5NeYR/Rya5iMzu9kfc8szwz9rWsjF2Xki X-Received: by 2002:a05:620a:2956:b0:787:a8d1:ea41 with SMTP id n22-20020a05620a295600b00787a8d1ea41mr593291qkp.47.1708709606100; Fri, 23 Feb 2024 09:33:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709606; cv=pass; d=google.com; s=arc-20160816; b=hPVNsDxZQcHTlwrZVqpBPRKguEp6XncsyO6fshwxcv92zY4nSnDOcM3PlVvRAZ37NR mnLinCQA5Vdm2QAJziS8VdaWCEwE1hURtIX7RWY6cnKu9mgtQmi7EuiKVlRkZIp04ipW s+8ncLDWa3ElXKLPoCVDD7T7n44tc1GCaW4XvTQpFkTHJugRT38K3P+xG2zYOj2lWB6/ YoCwMKMrXSoC6jP4NG44zkJn9YnwleCEk69SZaeRuIOCI9Q0Z43wUcy5/B4aXCR7ccNB mWLv2pr2HX2+bGXWdzwuXkB37Lqv8vZF+LgxCmyhu52UehpcE+hCyowHBYDUGAUXywDD qAdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+1k6KYwidHjA0WfKXFVwawjNd5l7j+pqwgIReb90LJc=; fh=TBN9Hx8DyWGswaLzFdVSMg9JSguafCdk6tAzBmhfOMU=; b=lXw3h8xKkKMYyB4Kcko2geauEmSuIMZtwR4r3c5qn0E05ZL/1Lb9mSK6dQQSf8f3uz UHZ7jPgJ9yWIFVB9ySpOlDllptBM+JCSgisFH+kVYUGpKcS/K/rMzb/e1HyZ22kLjfuq bSaF6eWeRiLLwkRlm7nLlVgGjIqzDhD8MfHtb7FRqz5Sjhny++piRPpg0bnFXAue6LKa U49E4Ch4buVZI3kxUY0sfHq6/yetiZiiZf/SvoaMGRDuLbC65+5JWF+EXY+z9gfUzsCd c6ERiGsJDVHLnR+HiUY5wnB9FLSBTVwC88XjkJvkoh+KR+1mzMvCaTjjpzkFIPL9J0cy kLlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wXjmOKOT; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78853-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78853-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x22-20020a05620a0ed600b007871b8ebbd0si15338135qkm.568.2024.02.23.09.33.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:33:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78853-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wXjmOKOT; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78853-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78853-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DF2181C253B2 for ; Fri, 23 Feb 2024 17:33:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A3A513F002; Fri, 23 Feb 2024 17:27:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wXjmOKOT" 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 2D40612BF0E; Fri, 23 Feb 2024 17:27: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=1708709268; cv=none; b=hXUT7WOb6Hz3R5sXOUgmqysQijCggo2cBXf7+gwoxlAYGS5AfFM0JnSTvlmPHkfFxOqUxDN/2pY1Om5Os+CLSu/OCe6EOQ4Rx4sAkM7JwHdE8V8KydwJG5yyqnxLCycfyOJpQwiK2OSgdbRlkab9CQQUdSZqVZuwRgEy0X77LNM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709268; c=relaxed/simple; bh=fyoBnQeNxysyCAOKxGPQPZwk0/Da+nnXlqxeKUbLErw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N90+iZ2n+B1rLSEw7C79wQXnPKc+vGyPDLj+XKVfJXgscsFIr2fCFdRaeEjM410s8+IIjNfEm1TtsWV5hIbi+xALhOoFpCPBl9rWOTu4IBqZsgcNegGIpDwOB3vFdKfIdWx0TBL3xN8kafFGFCxyJ6GJmKpqkb6sum4yLWICj9E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=wXjmOKOT; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709267; x=1740245267; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fyoBnQeNxysyCAOKxGPQPZwk0/Da+nnXlqxeKUbLErw=; b=wXjmOKOT7bzHntOtkDzythVDWVJvfTJHuCMJs2Lj90BXw5RnbHI/Z4EG 1JCHb/sGqDp73LG/PxALWK/0UakSGyXfHQwijm+C1ZOICUnHvXVIjVDgf 1LrdYV42KXocoCcvhPWt5O4278/iWXOeNYi1UPL6RfvcyoW6Z2JoCVAHq cnIrPaFeuR8V8fM8SmfbmlcPKUXGRW6av1eriEfzSN2RKVFvh9vJ5AsPr JA9j4LBS1hlvUECoFvAmuITcFAndkUbzkRyJRUil43Bd29FO+ubKIbhUy GRPvuSRqnhunZopEL/RE/O1XkRfVRxLWcRlRGLtm0IPU0zjufDUf9M4va w==; X-CSE-ConnectionGUID: iZtwyvAnSDiGSjp9f2te9Q== X-CSE-MsgGUID: SfAuet4QRmGYKgEasc5kNQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="184009568" 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; 23 Feb 2024 10:27:46 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:27:40 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:36 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v4 21/39] dt-bindings: clk: at91: add sam9x7 Date: Fri, 23 Feb 2024 22:57:32 +0530 Message-ID: <20240223172732.672645-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711884022559642 X-GMAIL-MSGID: 1791711884022559642 Add bindings for SAM9X7's slow clock controller. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Added sam9x7 compatible as an enum with sama7g5 compatible as per the review comment --- .../devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml b/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml index 7be29877e6d2..ab81f0b55ad5 100644 --- a/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml +++ b/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml @@ -18,7 +18,9 @@ properties: - atmel,sama5d4-sckc - microchip,sam9x60-sckc - items: - - const: microchip,sama7g5-sckc + - enum: + - microchip,sama7g5-sckc + - microchip,sam9x7-sckc - const: microchip,sam9x60-sckc reg: From patchwork Fri Feb 23 17:27:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735213dyb; Fri, 23 Feb 2024 09:34:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgHNyC57+LVSlIxhRxqyFYZWmifb0H87hZp6NPig1+Eio/QnxmKUk9K7SNrHsovkLNOMLz/X0TA4w9aDqv0Fix01HwTQ== X-Google-Smtp-Source: AGHT+IEJuu61MLTmeqCakwPGwgZb1L0ryBuCe2w9L6YNxSNQzlb2HiK95uFAiKNQLuKaEv94NeF3 X-Received: by 2002:a17:907:1019:b0:a3e:42cf:f6ae with SMTP id ox25-20020a170907101900b00a3e42cff6aemr256405ejb.19.1708709657551; Fri, 23 Feb 2024 09:34:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709657; cv=pass; d=google.com; s=arc-20160816; b=uYS1CmFieNpwVwBvvK2Lnz11c2kU5BV1siCGHecoRhU147wjXjscqDAF8zo/mlslaR ToQpxaYHNTXJqGJiav7KFuw9sdv6b2kNdZXDjOkCX+TaDacWq3CcSsGKLHUPWODTYRwy CzWziGeFQ3kClCxGqrc3Wp3u4F7HX1OsmCprARlmY6Sjc+TwQrb+LT5rriYyQdgR9fwi 2tF+L3RRZ3hbT/auKPt2A0r0/JQnuaBGIyyptKqPeC6nLNI/ujZO/M2xEw8z/0a6odO6 bfkQAt3eFGvNmNYVJLod78moxVIZKqf+R+XZYtk1/uNsj4bXciZ5Oes+quKnMxQIIlFD +mIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TaNL1XyDnukbeTQpV8xrBRbwFQaOGxDqVWSwRNFz0Fc=; fh=TBN9Hx8DyWGswaLzFdVSMg9JSguafCdk6tAzBmhfOMU=; b=1GwixwQLYbLdB4Q2wLDjSf8TXe0We/+AErsMIXGde8L5D6ShdzX9T27itUWdGZVX0R 35LfRr4KbMTgrFdAj/Is1FtRuSwEnr/H3ahRN7ixd/Zsmye9qk1lEB1qPmNn6vGwAEJS P/k5N9S9WWP4K2xpgUuTvqAp0DfqTi/cGNDn3Vnl2hkcopji5/mIhzr+1TgvYhONJDmY e+PaRKF8UboW0Y5cNLLO+UTXSFDcOTgrEt+787RAFnafJUNUD8VGSWuEqRJ7qpGQcSz+ Jbjhy5YNmgLo1j0xIRdbd+K/vZJ/8/TkuudLyipyyiB4YzgJ8dBN8Qr4tYU9i0esz4Xx hIBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=J9Yrq5UH; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78857-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dm9-20020a170907948900b00a3e356e4bc8si6226292ejc.564.2024.02.23.09.34.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:34:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=J9Yrq5UH; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78857-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 128291F26DE1 for ; Fri, 23 Feb 2024 17:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D62414C5BE; Fri, 23 Feb 2024 17:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="J9Yrq5UH" 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 8CA571493B7; Fri, 23 Feb 2024 17:28:07 +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=1708709289; cv=none; b=W3RY7/taMwuVLwbjMyIEzQCOkDlRb4LUtmwlmufxvjD4gDvrWIaZohmmHeaI7B87JtbF8p5+NhUXZFnoauAQJWQ6LUVL80N2+3wrV7dyxxKUuVQ0GM75/kMnUWRsbUUq991B1INZkPu+mUZagr+K88GhJf/zbBi16m6Qz1TMw3c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709289; c=relaxed/simple; bh=v/5m3gxNBQBjk0zVfGu5YA/YA0U+1V5LTugMoezBWKk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=k8X78jYCiPCNnXgfspL4pgfshDIHMuUDqvQtPODG/6mSmh1+iV6AiQY95IxDmhh7a5dn6K2ym/4CAyaTwp70mghkAi5vkdAGCvNQVlC6zHe2Guc07mRgw/Ns4bEpzFTcEULpDXmSTTDL4/kddqZJcULHKV7l1KF/EnudD4IlxWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=J9Yrq5UH; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709287; x=1740245287; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=v/5m3gxNBQBjk0zVfGu5YA/YA0U+1V5LTugMoezBWKk=; b=J9Yrq5UHM6eo4FVcTDMrv/+OHaep76aBtDSJMpS1PAPa+ug6f9OjVDxN NSTJBoYdWqn3gDOSIwAAV0UwxzheLbQ0q5o7Pst10a6VaP8HB+KMQudN0 Ua95YovUoxfnkJAmg8R5tM8i4vDEcawQSI9izcIQiVxf4ZJozUSzCBXN9 +v4WT5lIlhDYrJUzWVzvEql3QFf+rI4K4vRA/5yfJ6G+9vxtX8GKtQTdg 64bEXLEqtNqhCFXHlWDAbP7BgcjUcAe7PiDN8GcVfRPTrIFD2fJCuEvSK QSoIzYVWBSMhXmkj9FKLEku6i3soBLwHJ6liMiqy691d656bqWWyBFS3v w==; X-CSE-ConnectionGUID: gJ/sK2wtS+eZoePf6d6/6g== X-CSE-MsgGUID: R00U9T/jS7S9AbeocYJ/Mw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267306" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:28:06 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.35; Fri, 23 Feb 2024 10:27:50 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:45 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v4 22/39] dt-bindings: clk: at91: add sam9x7 clock controller Date: Fri, 23 Feb 2024 22:57:41 +0530 Message-ID: <20240223172741.672694-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711937620898472 X-GMAIL-MSGID: 1791711937620898472 Add bindings for SAM9X7's pmc. Signed-off-by: Varshini Rajendran Acked-by: Conor Dooley --- Changes in v4: - Added the sam9x7 compatible in the allOf section --- .../devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml b/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml index c1bdcd9058ed..eb5cd33ea9aa 100644 --- a/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml +++ b/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml @@ -43,6 +43,7 @@ properties: - atmel,sama5d4-pmc - microchip,sam9x60-pmc - microchip,sama7g5-pmc + - microchip,sam9x7-pmc - const: syscon reg: @@ -89,6 +90,7 @@ allOf: enum: - microchip,sam9x60-pmc - microchip,sama7g5-pmc + - microchip,sam9x7-pmc then: properties: clocks: From patchwork Fri Feb 23 17:27:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205573 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735101dyb; Fri, 23 Feb 2024 09:34:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUVYtwsk4SwedUPRN/aZEgo46gAsHhRXELA52fJeCjPMs6eeN9c4sYppOzleTH3dRq03jguGzjaDQtFV5BtpG0JqwgzwA== X-Google-Smtp-Source: AGHT+IH2ZZt0pCLVpR2GlIRVCschTm4VGz3wjmwvkq1+T34/YuqIDDqfy5zI0GqP2MPI6QhR7MZM X-Received: by 2002:a0c:e482:0:b0:68f:88c0:784e with SMTP id n2-20020a0ce482000000b0068f88c0784emr541382qvl.62.1708709643386; Fri, 23 Feb 2024 09:34:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709643; cv=pass; d=google.com; s=arc-20160816; b=mD6V88UnsGxWRz6JzfHqro6suHzJrRkRk+1YxgJc402IWqHTmxUUhnfmIdRRpPdR6g lZHOFjqui9DMTWrpwgA5G66CUqrdJ8Be25Q+fxHRMpkQDAp5QZ2p2QNT0ZM24z8TZUbE fikhou4ie+DD6nDR7pqsfWIs5lfzNnjUKtTpOykmb5phsY58p/OTz1j92qewf04Ebk1n YOkHcJBfQ8pnFcBbdumXi6POYGi89nzQAWUoT+1g/aU1g2AbNvdd7d796tSFHhkes35A MNLjXPoNPaxA8YW+bGF2ttfEH5CyzCh91Y5SDjq1LK6qxuJXeOYhGTZ9NaYNXjOgZh/I R4mA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=kfkWHmDH2ccixlU5fQHp7hs28wJxcr4ROkouneX9pAw=; fh=CsbzGSHaxVF/YKnjOl6xSBJfinXFgB33w0D/3CKo2oQ=; b=y0o+CAyIOVfnAVFejRpobLQOP5961WoHYIfeKmklhVPLxopFwwfiqA6+PhkJboZFTl Ip0rqXkFeInB7UKmCWGSnDMlPnx2ZYuTSRuDaLh2NBlW2U7t7NqgdCAnQORz4acAlmm9 JnimpGPwwwUEuO9YpPM76sDcghlhSB8/MGaDNTCzhmBFAEb+Jl3QI77keDns7BjwBfi1 Fu9bVEgdzVAkK5iaKKQcjVKmi2tUKWywnKuX1kFFahsQuS8DlfvIesaMfJla5mIbIqzm fnl3HQugG2SmLvS78g0MiM8XQaLIR5Mskkq8S+bnFwdNeBuLxRHS3wVVNMhCVHhEMVMo jbTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=MH7jswrV; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78856-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78856-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jk2-20020ad45d42000000b0068f08c94871si16404746qvb.513.2024.02.23.09.34.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:34:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78856-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=MH7jswrV; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78856-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78856-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 22CE71C2530A for ; Fri, 23 Feb 2024 17:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBAE31493B8; Fri, 23 Feb 2024 17:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="MH7jswrV" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 52B9A14038B; Fri, 23 Feb 2024 17:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709284; cv=none; b=VM1SuMJKhRs0whE76FDrf1HfVsY2SZmZ/joSx3EK/Yur6O1SutNBhtvlmt3u/BLQFzcsWt5VYxPqkCZbhxRVfFFo65DpUOveZ5lp3OodCop9p1jimZk8aW065Ub6BjA9679XIjpBg5Ob0krkpdx/9KAlDpSzU8PGEP+8onJqka8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709284; c=relaxed/simple; bh=yupO65VLUPyZffIc75hdCj1FpXzK+t+KpMhOK2JtQgw=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Xb6Tg6UbsPXtYJJUWPLNeqB0agbuLG+dAP0NCuNicA5g49sghctCRG5qBgiwFyZhcnX8fCydr5E4n/4rY2zOPagJxpw/KmKGS+2U+8UUt+CwuocFAClWaJLZKe6YQDbsD/Fu9ugaFV0vajwRf4tNYOjU7JGkvRmltLUJHKv4zzM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=MH7jswrV; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709284; x=1740245284; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=yupO65VLUPyZffIc75hdCj1FpXzK+t+KpMhOK2JtQgw=; b=MH7jswrVEqN7tQc8PPp5bQQ4G3N/lIvp24NOCSpMe+JgRlm+o6FHqXBG qtl5CJVCZQVSeOdi6DcUxZdg6GiokdlYpN5i7fFIrBGH5JqH0Vh15RxEi rWYXqUImk1sWMqxNvpRTxXc9vaDrsyx5fdHQ3b0sTqzOx9nycFbbbwudb nBb1hMhD484DOWziLl1PVnx8sR9sf2aYYHuiY+FbmYxZ6clWCcaz8DynB yhhj70MTr3ViwJoNW0b0CLACnfjGlCiL6KbK+q9T+fi3wsUh7BWOeK8xf XoiW9d4Ew12/MFu14329bwbFfL9e5XNpaBRKPby6NRhcUHnXmpW7nz6L5 g==; X-CSE-ConnectionGUID: WzguBkY0SsGpaivpulpMAQ== X-CSE-MsgGUID: 01HdqTC8RxaYHJnOy1s4/Q== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="247481533" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:28:03 -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.35; Fri, 23 Feb 2024 10:27:57 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:27:53 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v4 23/39] clk: at91: clk-sam9x60-pll: re-factor to support individual core freq outputs Date: Fri, 23 Feb 2024 22:57:50 +0530 Message-ID: <20240223172750.672745-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711923251893120 X-GMAIL-MSGID: 1791711923251893120 SAM9X7 SoC family supports different core output frequencies for different PLL IDs. To handle the same in the PLL driver, a separate parameter core_output is added. The sam9x60 and sama7g5 SoC PMC drivers are aligned to the PLL driver by adding the core output freq range in the PLL characteristics configurations. Signed-off-by: Varshini Rajendran --- drivers/clk/at91/clk-sam9x60-pll.c | 12 ++++++------ drivers/clk/at91/pmc.h | 1 + drivers/clk/at91/sam9x60.c | 7 +++++++ drivers/clk/at91/sama7g5.c | 7 +++++++ 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/drivers/clk/at91/clk-sam9x60-pll.c b/drivers/clk/at91/clk-sam9x60-pll.c index ff65f7b916f0..b0314dfd7393 100644 --- a/drivers/clk/at91/clk-sam9x60-pll.c +++ b/drivers/clk/at91/clk-sam9x60-pll.c @@ -23,9 +23,6 @@ #define UPLL_DIV 2 #define PLL_MUL_MAX (FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, UINT_MAX) + 1) -#define FCORE_MIN (600000000) -#define FCORE_MAX (1200000000) - #define PLL_MAX_ID 7 struct sam9x60_pll_core { @@ -194,7 +191,8 @@ static long sam9x60_frac_pll_compute_mul_frac(struct sam9x60_pll_core *core, unsigned long nmul = 0; unsigned long nfrac = 0; - if (rate < FCORE_MIN || rate > FCORE_MAX) + if (rate < core->characteristics->core_output[0].min || + rate > core->characteristics->core_output[0].max) return -ERANGE; /* @@ -214,7 +212,8 @@ static long sam9x60_frac_pll_compute_mul_frac(struct sam9x60_pll_core *core, } /* Check if resulted rate is a valid. */ - if (tmprate < FCORE_MIN || tmprate > FCORE_MAX) + if (tmprate < core->characteristics->core_output[0].min || + tmprate > core->characteristics->core_output[0].max) return -ERANGE; if (update) { @@ -669,7 +668,8 @@ sam9x60_clk_register_frac_pll(struct regmap *regmap, spinlock_t *lock, goto free; } - ret = sam9x60_frac_pll_compute_mul_frac(&frac->core, FCORE_MIN, + ret = sam9x60_frac_pll_compute_mul_frac(&frac->core, + characteristics->core_output[0].min, parent_rate, true); if (ret < 0) { hw = ERR_PTR(ret); diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index 0f52e80bcd49..bb9da35198d9 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -75,6 +75,7 @@ struct clk_pll_characteristics { struct clk_range input; int num_output; const struct clk_range *output; + const struct clk_range *core_output; u16 *icpll; u8 *out; u8 upll : 1; diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index e309cbf3cb9a..db6db9e2073e 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -26,10 +26,16 @@ static const struct clk_range plla_outputs[] = { { .min = 2343750, .max = 1200000000 }, }; +/* Fractional PLL core output range. */ +static const struct clk_range core_outputs[] = { + { .min = 600000000, .max = 1200000000 }, +}; + static const struct clk_pll_characteristics plla_characteristics = { .input = { .min = 12000000, .max = 48000000 }, .num_output = ARRAY_SIZE(plla_outputs), .output = plla_outputs, + .core_output = core_outputs, }; static const struct clk_range upll_outputs[] = { @@ -40,6 +46,7 @@ static const struct clk_pll_characteristics upll_characteristics = { .input = { .min = 12000000, .max = 48000000 }, .num_output = ARRAY_SIZE(upll_outputs), .output = upll_outputs, + .core_output = core_outputs, .upll = true, }; diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index 91b5c6f14819..e6eb5afba93d 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -116,11 +116,17 @@ static const struct clk_range pll_outputs[] = { { .min = 2343750, .max = 1200000000 }, }; +/* Fractional PLL core output range. */ +static const struct clk_range core_outputs[] = { + { .min = 600000000, .max = 1200000000 }, +}; + /* CPU PLL characteristics. */ static const struct clk_pll_characteristics cpu_pll_characteristics = { .input = { .min = 12000000, .max = 50000000 }, .num_output = ARRAY_SIZE(cpu_pll_outputs), .output = cpu_pll_outputs, + .core_output = core_outputs, }; /* PLL characteristics. */ @@ -128,6 +134,7 @@ static const struct clk_pll_characteristics pll_characteristics = { .input = { .min = 12000000, .max = 50000000 }, .num_output = ARRAY_SIZE(pll_outputs), .output = pll_outputs, + .core_output = core_outputs, }; /* From patchwork Fri Feb 23 17:27:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735331dyb; Fri, 23 Feb 2024 09:34:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW23+3Mwvd4dWs3wS7YGK09dTo8senOzR7LWhCaMRQGtLwE8kfMDpZDMVn69myLyizRvDadqrOt4r5IqjgJsTqfKNg1BA== X-Google-Smtp-Source: AGHT+IGRSaeUBz0SvoMrcLEz7OJeC/rQ/lpYmqVmjjcJi/Xcseemd4mjilKxEn+hn9EvHsvMP7n4 X-Received: by 2002:a17:902:d509:b0:1dc:6775:a350 with SMTP id b9-20020a170902d50900b001dc6775a350mr590695plg.58.1708709672097; Fri, 23 Feb 2024 09:34:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709672; cv=pass; d=google.com; s=arc-20160816; b=WsFYUSL1zPsvnbzA1Mih1hPkQGwaIfPQ3cc+rkCcoweZl5vEJLInuM8FUCy/K1rW7G tmS115/LSbyu3tPA8pqnikOMUOuGJaSaVQB6oW9BoL+vC/zOrU1StdPjfhupLPSAy2/+ h0Lvq96KoOLUTAXzwoiSbo3qEcKrq14uj+ylunuACZO0fmipJoIbh7IJULcOQLGO5/Sx jggKTUjHo+UBTzGSEFlb7GH+vWpAWw8mQrPhHjQnxN2jjm9zZm7H9zofj/FxEHUVJMaK MFIkgAWqm038jPuauA2X7YJL9rPnrqooEmVgAWOjBJDrEBEy0GAGwVEzRi7+nOL0E78q ya2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=p3kEunUpevHzeDJZ21R7H45CDuTTg1WSYKiQ2cV5aRk=; fh=CsbzGSHaxVF/YKnjOl6xSBJfinXFgB33w0D/3CKo2oQ=; b=kMGH4M4z9X9H+vS+pIu10Y158naAgPuzgiPs+WkYvDk2icFeTK7JqMl03ybaiNCq53 kWuaqWijqpdAnX1NjA7Ubi6ZdEvtcuoRVDMW/8sfPfzha4uDjF8OUxaSrFjxddauzYJl 7MnZd5E1UbFU9vqyB0OYiL/faWzuSfeaM+kQdnzqlkC6O8wWTEZumhFci9Uc4/bB1RQS sbYoZ1CB89Bbdoq7lIVceC8wW2UsHz8bMnJ8Z2edU7tkkEU7+E65ztoIfz208zOuaKnA JejzYgIMQewbSg+cWXLN/8uzwlOWAYwU1JodvSZJKyysXpyIIWvocRBHJstr6PQs0dK7 PUrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WJPbUmrk; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78858-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78858-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h129-20020a625387000000b006e46a4606d0si8815962pfb.306.2024.02.23.09.34.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:34:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78858-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WJPbUmrk; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78858-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78858-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DB7F228830D for ; Fri, 23 Feb 2024 17:34:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0FCC140E4A; Fri, 23 Feb 2024 17:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="WJPbUmrk" 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 7CF96140398; Fri, 23 Feb 2024 17:28:25 +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=1708709307; cv=none; b=TAwExzHrrLIFJ5YkioEdBzk5DwyA9n0U6jG68A/SWfZSQp+5tS7cpjEt61621COH/K4SuL0x7noZZwv9IHYHTLKcqpZVVQNmmruquY9bob3ZU19xz5uhMiu748zW6aBWsDeJ0l1ylPnvRDD+ZJAW8g2nMg1Aw9LBvIlG4y+KM/I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709307; c=relaxed/simple; bh=+9RuzNpYmHyqf7fIjBX42rka1JAIk57K6KkiNE8I2wU=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BjE9gpN3QPh7e5FQPgZg7imSklT38PQaEF20FUAl6sK7E+VQ7TNNoq8sBeeuQahrtrw9fN2hAeSCipIiCikWXv8K6gzLB8rs3bBGfpP0XuWyCbpgbi7Kk/AQbRCKXJPd8f4fcgKwrhutum/nnyhNuCz3RBnbDwjq/+C6k4K5mW4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=WJPbUmrk; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709305; x=1740245305; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=+9RuzNpYmHyqf7fIjBX42rka1JAIk57K6KkiNE8I2wU=; b=WJPbUmrkBy3ce8HjRg9jR1WxIqglM5bP/8z+cHg9iutDR0TBbAFEb2w5 Sqboxe3UteI7Byn/r14pKbG+wE5f9IuKefGNsAJb25oZoC0cotVakJPL5 8FZFpMA6EybGmlJNFYJNUZsSOO6IfVeJw1JVqKJZlYkJIistVoed1OswR 9k+e0dfat8FOBD6o4ucq9e7X1EqeEq8fpuHEfkciyp6drdhqfir3WZIdG wyAUzdSj1Y5EAItPwAVZOmj/FBBpsj5gai+EcstSKiUKDDXl7CoJsxE7q p3VrUEkZWoujEi2gWMgshTZMi0lgHb7hxFGT1yq/zqj7l1mdY+bYbjyJq Q==; X-CSE-ConnectionGUID: cHovNnNySCWyq3qf4VhSKA== X-CSE-MsgGUID: ZbQPapPVTx6bw5cP6MVfuA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735967" 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; 23 Feb 2024 10:28:24 -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.35; Fri, 23 Feb 2024 10:28:09 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:28:05 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v4 24/39] clk: at91: sam9x7: add support for HW PLL freq dividers Date: Fri, 23 Feb 2024 22:57:58 +0530 Message-ID: <20240223172758.672796-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711953367604509 X-GMAIL-MSGID: 1791711953367604509 Add support for hardware dividers for PLL IDs in sam9x7 SoC. The system PLL - PLLA and the system PLL divided by 2 - PLLADIV2 with PLL ID 0 and 4 respectively, both have a hardware divider /2. This has to taken into account in the software to obtain the right frequencies. Support for the same is added in the PLL driver. fcorepllack -----> HW Div = 2 -+--> fpllack | +--> HW Div = 2 ---> fplladiv2ck In this case the corepll freq is 1600 MHz. So, the plla freq is 800 MHz after the hardware divider and the plladiv2 freq is 400 MHz after the hardware divider (Given that the DIVPMC is 0). Signed-off-by: Varshini Rajendran --- drivers/clk/at91/clk-sam9x60-pll.c | 38 ++++++++++++++++++++++++++---- drivers/clk/at91/pmc.h | 1 + 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/drivers/clk/at91/clk-sam9x60-pll.c b/drivers/clk/at91/clk-sam9x60-pll.c index b0314dfd7393..1f80759309c0 100644 --- a/drivers/clk/at91/clk-sam9x60-pll.c +++ b/drivers/clk/at91/clk-sam9x60-pll.c @@ -73,9 +73,15 @@ static unsigned long sam9x60_frac_pll_recalc_rate(struct clk_hw *hw, { struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); struct sam9x60_frac *frac = to_sam9x60_frac(core); + unsigned long freq; - return parent_rate * (frac->mul + 1) + + freq = parent_rate * (frac->mul + 1) + DIV_ROUND_CLOSEST_ULL((u64)parent_rate * frac->frac, (1 << 22)); + + if (core->layout->div2) + freq >>= 1; + + return freq; } static int sam9x60_frac_pll_set(struct sam9x60_pll_core *core) @@ -432,6 +438,12 @@ static unsigned long sam9x60_div_pll_recalc_rate(struct clk_hw *hw, return DIV_ROUND_CLOSEST_ULL(parent_rate, (div->div + 1)); } +static unsigned long sam9x60_fixed_div_pll_recalc_rate(struct clk_hw *hw, + unsigned long parent_rate) +{ + return parent_rate >> 1; +} + static long sam9x60_div_pll_compute_div(struct sam9x60_pll_core *core, unsigned long *parent_rate, unsigned long rate) @@ -606,6 +618,16 @@ static const struct clk_ops sam9x60_div_pll_ops_chg = { .restore_context = sam9x60_div_pll_restore_context, }; +static const struct clk_ops sam9x60_fixed_div_pll_ops = { + .prepare = sam9x60_div_pll_prepare, + .unprepare = sam9x60_div_pll_unprepare, + .is_prepared = sam9x60_div_pll_is_prepared, + .recalc_rate = sam9x60_fixed_div_pll_recalc_rate, + .round_rate = sam9x60_div_pll_round_rate, + .save_context = sam9x60_div_pll_save_context, + .restore_context = sam9x60_div_pll_restore_context, +}; + struct clk_hw * __init sam9x60_clk_register_frac_pll(struct regmap *regmap, spinlock_t *lock, const char *name, const char *parent_name, @@ -725,10 +747,16 @@ sam9x60_clk_register_div_pll(struct regmap *regmap, spinlock_t *lock, else init.parent_names = &parent_name; init.num_parents = 1; - if (flags & CLK_SET_RATE_GATE) - init.ops = &sam9x60_div_pll_ops; - else - init.ops = &sam9x60_div_pll_ops_chg; + + if (layout->div2) { + init.ops = &sam9x60_fixed_div_pll_ops; + } else { + if (flags & CLK_SET_RATE_GATE) + init.ops = &sam9x60_div_pll_ops; + else + init.ops = &sam9x60_div_pll_ops_chg; + } + init.flags = flags; div->core.id = id; diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index bb9da35198d9..91d1c6305d95 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -64,6 +64,7 @@ struct clk_pll_layout { u8 frac_shift; u8 div_shift; u8 endiv_shift; + u8 div2; }; extern const struct clk_pll_layout at91rm9200_pll_layout; From patchwork Fri Feb 23 17:28:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205576 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735393dyb; Fri, 23 Feb 2024 09:34:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWjJPkxdASrmDX5gga6w/rNnwZV2OyXdWcfp+fxo8MSCepFMXRA/9A6q2muqegiSTzkVrZzADdEAGOh8xaEHX3AvOoBTg== X-Google-Smtp-Source: AGHT+IE/0k5bUeVJhLHjrTrgZNGfRmDk5dEteYVNh9uwa6niP9+qe5pBlDq7O2KlGY7CEyIUHP4a X-Received: by 2002:a05:6870:c69f:b0:21e:5733:f6fa with SMTP id cv31-20020a056870c69f00b0021e5733f6famr547913oab.54.1708709681069; Fri, 23 Feb 2024 09:34:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709681; cv=pass; d=google.com; s=arc-20160816; b=Qq302Y2FpZeI4D3zn5gBWP85FruiSAcq3q4eQy5lMDHurJS+x7iwkFYtr9ZqPfwQzH pfKU5HFsVZZ3M4an8j6Rl/rSwhkkVOjyxGdZ/IwUFKnOY50QOhZTPPVF49PpG61LZ0M7 cBLonOJf6akXw2cx14uqoMk2ynSYe/d6epl9ts3jBNhOoHg2zIXLu9HnChWVOTBlG23n MbdeQS3IiSUpYnRg1yqImQaAMeW7n7IbGx2Yr1EFg5Oarie1xO1RD7iGL2U5Vyy1yhwK VnBk0IjsFp54Jxc1uFDmCpZ6Ds8F8ZpcLkA+OAu5lZgK7RyYEjCwCM2zOYLix1WwQxyB wdtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=m7NFWWi5/ew1y4GgTxiNQ2OAbWClpSHHYvjHncsQvw0=; fh=jzZ92U2pskgotYuYwaLvK/gWcS2iNpm8veJMaTFB4yo=; b=gd/jUcbi+ddP0yM5/PPgYEDYdpQbp4th1ZJY5b0n5P2IMMTvNoCKBg0FqtuCOnKHYx 4NYuEJ3MZrwX1aWls3ZTErLE9vR2hxSJOa55unOetjohuJTze+Kvgastyt2opHGxwaY0 77xiZ7XTP83vSTgH0mVThWArYuYTJ2oLm2YpJQUKG8yPp5v1CJGj9UrEGmyRg0txTxAX Tb1Lb7a2nXh26YHg3ZeDI/Nu57REVLhsSW7OJlTBDWDU7grMlTM+gM/BvonC8tLuIwHG GYhpf7WyM/gKfQO9RCr9kRFA1M8g3Ry/AOyojoruoeyTQOTbGPui9UxATqibDEZTpmYE 8rbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=uWjh74rr; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78859-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78859-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iu7-20020a056130640700b007d5f621e62bsi2855853uab.93.2024.02.23.09.34.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:34:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78859-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=uWjh74rr; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78859-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78859-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C15641C2490A for ; Fri, 23 Feb 2024 17:34:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64DF914CAB5; Fri, 23 Feb 2024 17:28:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="uWjh74rr" 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 2D942140E2C; Fri, 23 Feb 2024 17:28:27 +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=1708709308; cv=none; b=piMlORoJ8nAsJ++ONP1IskYgJJiEw2fftdRoDeHkoAqR3aDCsSvEB/89j2hX1/gzEae+JDBEnVEu4hmp9Qex1IZmjC5oEzmek7Cwdgys4p87cONxdGQPT09yG0OX55cEtZ7mqQh4vFbOn2nRxtv1g2zRdCULhyJFl/eiR3vbsU8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709308; c=relaxed/simple; bh=f1dps+oGiDe/KHzYb18t8lFz4154pwNNCSulv4GCbrs=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=g1kG1FlgGmCugS1aPHkk5t9ZWMIlYBPxloFaTPqDl4y6s/EUYeL/xRCHvCFp58FGwfpaD55IvUWOMjoFBKEEOIybqW2r7Bl1athc6oEYaMlYEkrvQ1zn2JdUpUCJuHBdyVv3wdP6TGXERKfjU45E+hBh9v64BRp6uSQzaqNxuYQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=uWjh74rr; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709307; x=1740245307; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=f1dps+oGiDe/KHzYb18t8lFz4154pwNNCSulv4GCbrs=; b=uWjh74rrjVImEiFSyRTzjsf/AzTTbJt9CEZF0utVpR5dqUCmYZAxngPf azO5LMtGQDt5C77YMptu2YkGwUCj0Tx/xB40GF/LiFl6nuwHDHS0zMaKH g0H3svfJKNC3mO3yVXWH1thaj95TXr2QUiAA0eLYGKVl/OHGY9wG73APs NUgJAgbVh4/INVRE6lm1v25h7Y7JI8EPe4UFNmmba+OvUtQbB9EzqezJI GWZGWHuc5oTyRKkCA3fZupVOw7IXpCnXIHaEjAK2y0V7nNhI6ZU5ru8kK XUs24acMIU6q6uitRP7KBG3mQkASvodc3gLbhAvbjhkuc8SAD0ws/Q8ex A==; X-CSE-ConnectionGUID: cHovNnNySCWyq3qf4VhSKA== X-CSE-MsgGUID: 7QzwgOacRTCtYJ33Edz6EA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16735971" 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; 23 Feb 2024 10:28:24 -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.35; Fri, 23 Feb 2024 10:28:21 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:28:18 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v4 25/39] clk: at91: sama7g5: move mux table macros to header file Date: Fri, 23 Feb 2024 22:58:10 +0530 Message-ID: <20240223172810.672846-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711962232411680 X-GMAIL-MSGID: 1791711962232411680 Move the mux table init and fill macro function definitions from the sama7g5 pmc driver to the pmc.h header file since they will be used by other SoC's pmc drivers as well like sam9x7. Signed-off-by: Varshini Rajendran --- drivers/clk/at91/pmc.h | 16 ++++++++++++++++ drivers/clk/at91/sama7g5.c | 35 ++++++++++------------------------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index 91d1c6305d95..4fb29ca111f7 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -121,6 +121,22 @@ struct at91_clk_pms { #define ndck(a, s) (a[s - 1].id + 1) #define nck(a) (a[ARRAY_SIZE(a) - 1].id + 1) + +#define PMC_INIT_TABLE(_table, _count) \ + do { \ + u8 _i; \ + for (_i = 0; _i < (_count); _i++) \ + (_table)[_i] = _i; \ + } while (0) + +#define PMC_FILL_TABLE(_to, _from, _count) \ + do { \ + u8 _i; \ + for (_i = 0; _i < (_count); _i++) { \ + (_to)[_i] = (_from)[_i]; \ + } \ + } while (0) + struct pmc_data *pmc_data_allocate(unsigned int ncore, unsigned int nsystem, unsigned int nperiph, unsigned int ngck, unsigned int npck); diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index e6eb5afba93d..6706d1305baa 100644 --- a/drivers/clk/at91/sama7g5.c +++ b/drivers/clk/at91/sama7g5.c @@ -16,21 +16,6 @@ #include "pmc.h" -#define SAMA7G5_INIT_TABLE(_table, _count) \ - do { \ - u8 _i; \ - for (_i = 0; _i < (_count); _i++) \ - (_table)[_i] = _i; \ - } while (0) - -#define SAMA7G5_FILL_TABLE(_to, _from, _count) \ - do { \ - u8 _i; \ - for (_i = 0; _i < (_count); _i++) { \ - (_to)[_i] = (_from)[_i]; \ - } \ - } while (0) - static DEFINE_SPINLOCK(pmc_pll_lock); static DEFINE_SPINLOCK(pmc_mck0_lock); static DEFINE_SPINLOCK(pmc_mckX_lock); @@ -1119,17 +1104,17 @@ static void __init sama7g5_pmc_setup(struct device_node *np) if (!mux_table) goto err_free; - SAMA7G5_INIT_TABLE(mux_table, 3); - SAMA7G5_FILL_TABLE(&mux_table[3], sama7g5_mckx[i].ep_mux_table, - sama7g5_mckx[i].ep_count); + PMC_INIT_TABLE(mux_table, 3); + PMC_FILL_TABLE(&mux_table[3], sama7g5_mckx[i].ep_mux_table, + sama7g5_mckx[i].ep_count); for (j = 0; j < sama7g5_mckx[i].ep_count; j++) { u8 pll_id = sama7g5_mckx[i].ep[j].pll_id; u8 pll_compid = sama7g5_mckx[i].ep[j].pll_compid; tmp_parent_hws[j] = sama7g5_plls[pll_id][pll_compid].hw; } - SAMA7G5_FILL_TABLE(&parent_hws[3], tmp_parent_hws, - sama7g5_mckx[i].ep_count); + PMC_FILL_TABLE(&parent_hws[3], tmp_parent_hws, + sama7g5_mckx[i].ep_count); hw = at91_clk_sama7g5_register_master(regmap, sama7g5_mckx[i].n, num_parents, NULL, parent_hws, mux_table, @@ -1215,17 +1200,17 @@ static void __init sama7g5_pmc_setup(struct device_node *np) if (!mux_table) goto err_free; - SAMA7G5_INIT_TABLE(mux_table, 3); - SAMA7G5_FILL_TABLE(&mux_table[3], sama7g5_gck[i].pp_mux_table, - sama7g5_gck[i].pp_count); + PMC_INIT_TABLE(mux_table, 3); + PMC_FILL_TABLE(&mux_table[3], sama7g5_gck[i].pp_mux_table, + sama7g5_gck[i].pp_count); for (j = 0; j < sama7g5_gck[i].pp_count; j++) { u8 pll_id = sama7g5_gck[i].pp[j].pll_id; u8 pll_compid = sama7g5_gck[i].pp[j].pll_compid; tmp_parent_hws[j] = sama7g5_plls[pll_id][pll_compid].hw; } - SAMA7G5_FILL_TABLE(&parent_hws[3], tmp_parent_hws, - sama7g5_gck[i].pp_count); + PMC_FILL_TABLE(&parent_hws[3], tmp_parent_hws, + sama7g5_gck[i].pp_count); hw = at91_clk_register_generated(regmap, &pmc_pcr_lock, &sama7g5_pcr_layout, From patchwork Fri Feb 23 17:28:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205577 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735528dyb; Fri, 23 Feb 2024 09:34:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXBtkiOTSnF6u4/hNEoEdvMlEWojB7T+BiSGLI7ETkF+WgHG0rVb7JDpmRaDMqmYbOmYFQFMWU+AmM+G1gyO2h/XX9V+Q== X-Google-Smtp-Source: AGHT+IHTAUa3UeX3F08Da9sEK6rfsasfQgAHIb9AGTkpY9/CM2aE74gjd6oP0RURQR5Knw7KFrZK X-Received: by 2002:a05:6402:181a:b0:565:6b76:3140 with SMTP id g26-20020a056402181a00b005656b763140mr482673edy.18.1708709695283; Fri, 23 Feb 2024 09:34:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709695; cv=pass; d=google.com; s=arc-20160816; b=lBi642iPmU6VnyX74KVVd0xaPYvzRb6DijkrRtJfIJVp+FyGwtETHH5/KPTqUKMTMK q8Ta1ARVhv591q4/ceQunNmYP6+Lv83Q5PpwNP4yX/SBNWdVQN0kzP2IAmMrTVPDCL3d oDAYmBsfdsuYZLSaqkvV0uKZfXTtVVPtAIAYTjPY8GTd2XoOFtr/E3z64F/YC062MFwg Jyp2WLeAeum/x6+Ig82hH5gQsL7fMoPFxJYYDQDcwmFzuhl6qT6MCtCyI7H2SenVBV3L cRFv8K0VdWQgGhyJXmWQEtIXuiuN7mBAMoCY75sLKBgJrZmzLJiD96kJ950/eL16AfFZ w+SQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JR4WXtVxbqDILXRliCdiMZ7wYBReuQBkuEb3kqlrn5g=; fh=TBN9Hx8DyWGswaLzFdVSMg9JSguafCdk6tAzBmhfOMU=; b=IXWnetxEwEOiO2bez+gVKiJ2CqK1SSrTnnKbJ9Pj6LpkkH7J9ooyhFHIDSx6egABmy UZvepvXiX9pLiZ/EVJ7QiaZVS/b5eAzl4nQOGQm2/mPPE9c8Xb0LXkOUiUS9tz53BtfY 5TlLsYmEJw4FQ/jr+QmhWSnmqJIEST0W+6AA5+4hi+MBTXiDArWd2H9uvQfTnOulL7q/ ELeu4BT9FxEPOlGMrgDzHphm0O9CZCo3S0mvyuYRmbqn0CBu8r2i5K0bUkbzO/cTpAUA Wev3lTLHXi7k9AIES8ZubjZQwR2QX2bMbPRqorOibSHAPH2POHUA0VKzP88LMcr+NkBe 1gwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SQqwHMrw; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78860-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78860-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c19-20020a056402121300b00564574222c1si5285007edw.678.2024.02.23.09.34.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:34:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78860-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SQqwHMrw; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78860-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78860-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E27001F23C5C for ; Fri, 23 Feb 2024 17:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E691214CAC9; Fri, 23 Feb 2024 17:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="SQqwHMrw" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 023A312DD85; Fri, 23 Feb 2024 17:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709317; cv=none; b=Qu3gTEp+/2XGvGuiwkcY1BeBsOhEZe808fxAhD/03IKNfr8aVlooXhhxDB15B9Yc4gybv8q2A+h2rZ8fZGVhfs/BLProRPl9O6w3xpNfzie1v4nmKhXdy+qCw9AxDgVo7iYtfqTUcObf1t2Xl8dhGVfh5zij05pBykQ3ndciGYw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709317; c=relaxed/simple; bh=mzGYFdm3v1XDGFucUtcC36Y7oX4EkJ+bnjLPq/ua1Ck=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SXCI6Rk5LfKhj+M8jad3n64tGUrotYWd5q9sXvuj9MRpGjn4OCkdjQ1U1bI64Ce9JTLsvGf/qElJdTXa1v0516Li0DnAuXerjrCu+/YexiC0i22xH+3Gtc9SvEuFIUhWK47lJ6FkM/YBjNhhDsaCJoY+Cse1byQ9OIMTo3si6GQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=SQqwHMrw; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709315; x=1740245315; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mzGYFdm3v1XDGFucUtcC36Y7oX4EkJ+bnjLPq/ua1Ck=; b=SQqwHMrw4YBObwIoQuKqC53wr+/aytNtHhXAuXE7Vrqfx4HQ3E0YL1Mh /DRcaYChiWv68KKQ+NNwBPy3vFNx4VEZkSe4Fu4x4IlZqpPTkR6m3B/YM l8sd3pKOur598mCJOeGAs5dRRw6kbboAZxWzuecEOJtb+1m795rWAYdPm lUMLHAN6c0Z2LFHNLFpw8oFsYuL8qCn+K+Suw4f591Hd5zuois0xnsa+s ImKuGj9SPxqzmF9TDxamywVS8mZEMbSuMe+1XmlPsMnEW4LUSOiqqgIfl NTg+KmYGFxD1U9MCACwezqCx5L7UFQr4jwxpsPMUp4HZVwHO8oerU9rYW A==; X-CSE-ConnectionGUID: J2gaCqTjSWW69xa5fHD66A== X-CSE-MsgGUID: 0uaOQgYvT4ulCAfYELEKEQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276287" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:28:35 -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.35; Fri, 23 Feb 2024 10:28:30 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:28:25 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v4 26/39] dt-bindings: clock: at91: Allow PLLs to be exported and referenced in DT Date: Fri, 23 Feb 2024 22:58:22 +0530 Message-ID: <20240223172822.672902-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791711977219693467 X-GMAIL-MSGID: 1791711977219693467 Allow PLLADIV2 and LVDSPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT for sam9x7 SoC family. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- include/dt-bindings/clock/at91.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h index 3e3972a814c1..6ede88c3992d 100644 --- a/include/dt-bindings/clock/at91.h +++ b/include/dt-bindings/clock/at91.h @@ -38,6 +38,10 @@ #define PMC_CPU (PMC_MAIN + 9) #define PMC_MCK1 (PMC_MAIN + 10) +/* SAM9X7 */ +#define PMC_PLLADIV2 (PMC_MAIN + 11) +#define PMC_LVDSPLL (PMC_MAIN + 12) + #ifndef AT91_PMC_MOSCS #define AT91_PMC_MOSCS 0 /* MOSCS Flag */ #define AT91_PMC_LOCKA 1 /* PLLA Lock */ From patchwork Fri Feb 23 17:28:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205595 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp742789dyb; Fri, 23 Feb 2024 09:48:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVvugOBe+SjacToeEPs3SJR/lwhIFkWwMK7OD2/c8HfgD9TCcI7Q4Q7EU7/yV85UZmp70OV14jmt3CMSUNOIjbC/bh7jA== X-Google-Smtp-Source: AGHT+IGgpnxVqwOhR47JNuKURf9mb4+zh9ja6LcnYDDCgwd4qOW7vPgMjZ0usfIJIXPGdyQGk+QL X-Received: by 2002:a05:6358:1220:b0:178:ba22:3cfd with SMTP id h32-20020a056358122000b00178ba223cfdmr720982rwi.17.1708710514830; Fri, 23 Feb 2024 09:48:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710514; cv=pass; d=google.com; s=arc-20160816; b=e1vsQ1JijkkBdeG+vJSZlFhbLz+rtBY/viCsHpaBP3cVkTevOwT5Yzpo4ZlWm8DB37 IkK5RaXz+UICjM+wcOqJ2mxzxwBSukP3Mmj8zkUYMk+b5i3kI/M2O04DLzpgneLkcdRj yvKOLDqcsxU1j3PvE65zXWfgNLbhsBoDOvQeQTryU3psUrAWRbex/3Jqvtsy+HjyrPZ1 juN3eezqYaHPhIU4h+QBEVfuqUurfvlQ494siD8mB6rpeFJmxMtT8G6wzHhyzSfJ7FH3 SZkp3+/LsC3YEJ/bypPUlEAx3zQXjTf4Q0ELWO9c/sSODlT+MLJFv75qLT2Vnwz3DTma ZyTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=Rqt/Sb6Iclx+gTqa15bCkznsZvzlrIdixczDXQfd9dM=; fh=GBC6upu4oZvz+hR9rUKlS0Oed9a4K6NsZ5IVJUJM4do=; b=PT+cCnwNc+RRXECZwBl9fgYo529DtWf7t+ZZNoDRJ+fH99/RCzRA14rQs6TgLxdfON cTEFGy1+A4P3+laVb8IPn3y1Xw5/EcZz1Wu37T8NKtxZoi+SKhgmZnhzr/zo2X/X7prX gk1RoocRDT1kmpogCheKm0p2M/icyOMBPLCX0FX+tbL9Xe0oLIJMdgXTeDrv36Lx4mlm VdexUnmjc0BkJPYoGzatMDEfrtb3ThRgVcmKsm+EU0/Ag67tTpm7Xx6q5esdRzORp95Z qZeFS3rUXoS9AF4D6wyo7+P8PD/MLppEF1jw9LDQ6+7ni1Xd8NJ38BNioTGYPN9e6tGj sBVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="1Pe1k/s6"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78861-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78861-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k185-20020a6324c2000000b005dc4f115f2csi12698167pgk.496.2024.02.23.09.48.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78861-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="1Pe1k/s6"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78861-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78861-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 75480B231AC for ; Fri, 23 Feb 2024 17:35:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2567C1420AD; Fri, 23 Feb 2024 17:29:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="1Pe1k/s6" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 AB13613328D; Fri, 23 Feb 2024 17:29:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709354; cv=none; b=m8t8tH47GaWbqUhWq3Nqn7nhr/SjfLNJKeg8pOAB6muKi6Z4e10cr3JqiWaP9J3GVQLAUZq3BLjFt6cjrMgk3o4g3PfiS1xizltQwaZa8qTUdufELTFP5vTojfEo520GvkMQDSrKRQaJRYlF7Ll5zPiZlDDe7bn3hHMjkqpnmDA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709354; c=relaxed/simple; bh=qUjC9nN9kQ1T5M7faTRpAo+kExIIM7FluBdFFo3d07M=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cI8/SGbQcxdwCM4+uAJXuP0HO9UuzsGZaeYjRAg6HYupXnbsgoIj9jrTmRUMYxNLj4rkD1biW/WPgYQZfY/WypWMiaSFFs6LpGK4WLFpn4Py6Tup0mS4/SON+4B6fImyuXpwzcNMQpUCBiyGiYZ/8Pz+AVZxKNPfvzWE/HiuX9U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=1Pe1k/s6; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709352; x=1740245352; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=qUjC9nN9kQ1T5M7faTRpAo+kExIIM7FluBdFFo3d07M=; b=1Pe1k/s6TdMGj/ahLfdLcvbFCUOGPYBLOFMmhr7RON3FTL/OvJ9IU4MQ vc5BYaQHETT6gi1bEEs11wNHyJCNhUKkrpu9Wa+t/eNBjJWNWE03gWp7W /AUyEgl0tuhs+eBpGQRAozZREQHxXh1ZIXx7s9JVHWaBBZsFNWR3RMQym 00p9QoxpHVv2SANl3QW60KYWJlJiT3Z6ZQTndlHr+Zm19xM8Pv4x3qvBF Lflxpmyxo/RaQ5bmzlQ1LLyFEnSfVPqBLDjFpf5DiptanZEqgCjBe9CaQ dN9BksPtbSA9XmlLCiXBoiS//+5vv7Cfule+OMJl2/KcE524+lLf+s868 A==; X-CSE-ConnectionGUID: nX+aFf6zR2a6Qs8N2xdKug== X-CSE-MsgGUID: E2gJ9OhwQiaslw2mQrOxpw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276335" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:29:11 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:28:54 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:28:51 -0700 From: Varshini Rajendran To: , , , , , , , , Subject: [PATCH v4 27/39] clk: at91: sam9x7: add sam9x7 pmc driver Date: Fri, 23 Feb 2024 22:58:31 +0530 Message-ID: <20240223172831.672953-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712836874921422 X-GMAIL-MSGID: 1791712836874921422 Add a driver for the PMC clocks of sam9x7 Soc family. Signed-off-by: Varshini Rajendran --- Changes in v4: - Changed variable name alloc_mem to clk_mux_buffer to be more suggestive - Changed description of @f structure member appropriately --- drivers/clk/at91/Makefile | 1 + drivers/clk/at91/sam9x7.c | 946 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 947 insertions(+) create mode 100644 drivers/clk/at91/sam9x7.c diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile index 89061b85e7d2..8e3684ba2c74 100644 --- a/drivers/clk/at91/Makefile +++ b/drivers/clk/at91/Makefile @@ -20,6 +20,7 @@ obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o dt-compat. obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o dt-compat.o obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o dt-compat.o obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o +obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o diff --git a/drivers/clk/at91/sam9x7.c b/drivers/clk/at91/sam9x7.c new file mode 100644 index 000000000000..d03387d2e35a --- /dev/null +++ b/drivers/clk/at91/sam9x7.c @@ -0,0 +1,946 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * SAM9X7 PMC code. + * + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries + * + * Author: Varshini Rajendran + * + */ +#include +#include +#include +#include + +#include + +#include "pmc.h" + +static DEFINE_SPINLOCK(pmc_pll_lock); +static DEFINE_SPINLOCK(mck_lock); + +/** + * enum pll_ids - PLL clocks identifiers + * @PLL_ID_PLLA: PLLA identifier + * @PLL_ID_UPLL: UPLL identifier + * @PLL_ID_AUDIO: Audio PLL identifier + * @PLL_ID_LVDS: LVDS PLL identifier + * @PLL_ID_PLLA_DIV2: PLLA DIV2 identifier + * @PLL_ID_MAX: Max PLL Identifier + */ +enum pll_ids { + PLL_ID_PLLA, + PLL_ID_UPLL, + PLL_ID_AUDIO, + PLL_ID_LVDS, + PLL_ID_PLLA_DIV2, + PLL_ID_MAX, +}; + +/** + * enum pll_type - PLL type identifiers + * @PLL_TYPE_FRAC: fractional PLL identifier + * @PLL_TYPE_DIV: divider PLL identifier + */ +enum pll_type { + PLL_TYPE_FRAC, + PLL_TYPE_DIV, +}; + +static const struct clk_master_characteristics mck_characteristics = { + .output = { .min = 32000000, .max = 266666667 }, + .divisors = { 1, 2, 4, 3, 5}, + .have_div3_pres = 1, +}; + +static const struct clk_master_layout sam9x7_master_layout = { + .mask = 0x373, + .pres_shift = 4, + .offset = 0x28, +}; + +/* Fractional PLL core output range. */ +static const struct clk_range plla_core_outputs[] = { + { .min = 375000000, .max = 1600000000 }, +}; + +static const struct clk_range upll_core_outputs[] = { + { .min = 600000000, .max = 1200000000 }, +}; + +static const struct clk_range lvdspll_core_outputs[] = { + { .min = 400000000, .max = 800000000 }, +}; + +static const struct clk_range audiopll_core_outputs[] = { + { .min = 400000000, .max = 800000000 }, +}; + +static const struct clk_range plladiv2_core_outputs[] = { + { .min = 375000000, .max = 1600000000 }, +}; + +/* Fractional PLL output range. */ +static const struct clk_range plla_outputs[] = { + { .min = 732421, .max = 800000000 }, +}; + +static const struct clk_range upll_outputs[] = { + { .min = 300000000, .max = 600000000 }, +}; + +static const struct clk_range lvdspll_outputs[] = { + { .min = 10000000, .max = 800000000 }, +}; + +static const struct clk_range audiopll_outputs[] = { + { .min = 10000000, .max = 800000000 }, +}; + +static const struct clk_range plladiv2_outputs[] = { + { .min = 366210, .max = 400000000 }, +}; + +/* PLL characteristics. */ +static const struct clk_pll_characteristics plla_characteristics = { + .input = { .min = 20000000, .max = 50000000 }, + .num_output = ARRAY_SIZE(plla_outputs), + .output = plla_outputs, + .core_output = plla_core_outputs, +}; + +static const struct clk_pll_characteristics upll_characteristics = { + .input = { .min = 20000000, .max = 50000000 }, + .num_output = ARRAY_SIZE(upll_outputs), + .output = upll_outputs, + .core_output = upll_core_outputs, + .upll = true, +}; + +static const struct clk_pll_characteristics lvdspll_characteristics = { + .input = { .min = 20000000, .max = 50000000 }, + .num_output = ARRAY_SIZE(lvdspll_outputs), + .output = lvdspll_outputs, + .core_output = lvdspll_core_outputs, +}; + +static const struct clk_pll_characteristics audiopll_characteristics = { + .input = { .min = 20000000, .max = 50000000 }, + .num_output = ARRAY_SIZE(audiopll_outputs), + .output = audiopll_outputs, + .core_output = audiopll_core_outputs, +}; + +static const struct clk_pll_characteristics plladiv2_characteristics = { + .input = { .min = 20000000, .max = 50000000 }, + .num_output = ARRAY_SIZE(plladiv2_outputs), + .output = plladiv2_outputs, + .core_output = plladiv2_core_outputs, +}; + +/* Layout for fractional PLL ID PLLA. */ +static const struct clk_pll_layout plla_frac_layout = { + .mul_mask = GENMASK(31, 24), + .frac_mask = GENMASK(21, 0), + .mul_shift = 24, + .frac_shift = 0, + .div2 = 1, +}; + +/* Layout for fractional PLLs. */ +static const struct clk_pll_layout pll_frac_layout = { + .mul_mask = GENMASK(31, 24), + .frac_mask = GENMASK(21, 0), + .mul_shift = 24, + .frac_shift = 0, +}; + +/* Layout for DIV PLLs. */ +static const struct clk_pll_layout pll_divpmc_layout = { + .div_mask = GENMASK(7, 0), + .endiv_mask = BIT(29), + .div_shift = 0, + .endiv_shift = 29, +}; + +/* Layout for DIV PLL ID PLLADIV2. */ +static const struct clk_pll_layout plladiv2_divpmc_layout = { + .div_mask = GENMASK(7, 0), + .endiv_mask = BIT(29), + .div_shift = 0, + .endiv_shift = 29, + .div2 = 1, +}; + +/* Layout for DIVIO dividers. */ +static const struct clk_pll_layout pll_divio_layout = { + .div_mask = GENMASK(19, 12), + .endiv_mask = BIT(30), + .div_shift = 12, + .endiv_shift = 30, +}; + +/* + * PLL clocks description + * @n: clock name + * @p: clock parent + * @l: clock layout + * @t: clock type + * @c: pll characteristics + * @f: clock flags + * @eid: export index in sam9x7->chws[] array + */ +static const struct { + const char *n; + const char *p; + const struct clk_pll_layout *l; + u8 t; + const struct clk_pll_characteristics *c; + unsigned long f; + u8 eid; +} sam9x7_plls[][PLL_ID_MAX] = { + [PLL_ID_PLLA] = { + { + .n = "plla_fracck", + .p = "mainck", + .l = &plla_frac_layout, + .t = PLL_TYPE_FRAC, + /* + * This feeds plla_divpmcck which feeds CPU. It should + * not be disabled. + */ + .f = CLK_IS_CRITICAL | CLK_SET_RATE_GATE, + .c = &plla_characteristics, + }, + + { + .n = "plla_divpmcck", + .p = "plla_fracck", + .l = &pll_divpmc_layout, + .t = PLL_TYPE_DIV, + /* This feeds CPU. It should not be disabled */ + .f = CLK_IS_CRITICAL | CLK_SET_RATE_GATE, + .eid = PMC_PLLACK, + .c = &plla_characteristics, + }, + }, + + [PLL_ID_UPLL] = { + { + .n = "upll_fracck", + .p = "main_osc", + .l = &pll_frac_layout, + .t = PLL_TYPE_FRAC, + .f = CLK_SET_RATE_GATE, + .c = &upll_characteristics, + }, + + { + .n = "upll_divpmcck", + .p = "upll_fracck", + .l = &pll_divpmc_layout, + .t = PLL_TYPE_DIV, + .f = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE | + CLK_SET_RATE_PARENT, + .eid = PMC_UTMI, + .c = &upll_characteristics, + }, + }, + + [PLL_ID_AUDIO] = { + { + .n = "audiopll_fracck", + .p = "main_osc", + .l = &pll_frac_layout, + .f = CLK_SET_RATE_GATE, + .c = &audiopll_characteristics, + .t = PLL_TYPE_FRAC, + }, + + { + .n = "audiopll_divpmcck", + .p = "audiopll_fracck", + .l = &pll_divpmc_layout, + .f = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE | + CLK_SET_RATE_PARENT, + .c = &audiopll_characteristics, + .eid = PMC_AUDIOPMCPLL, + .t = PLL_TYPE_DIV, + }, + + { + .n = "audiopll_diviock", + .p = "audiopll_fracck", + .l = &pll_divio_layout, + .f = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE | + CLK_SET_RATE_PARENT, + .c = &audiopll_characteristics, + .eid = PMC_AUDIOIOPLL, + .t = PLL_TYPE_DIV, + }, + }, + + [PLL_ID_LVDS] = { + { + .n = "lvdspll_fracck", + .p = "main_osc", + .l = &pll_frac_layout, + .f = CLK_SET_RATE_GATE, + .c = &lvdspll_characteristics, + .t = PLL_TYPE_FRAC, + }, + + { + .n = "lvdspll_divpmcck", + .p = "lvdspll_fracck", + .l = &pll_divpmc_layout, + .f = CLK_SET_RATE_GATE | CLK_SET_PARENT_GATE | + CLK_SET_RATE_PARENT, + .c = &lvdspll_characteristics, + .eid = PMC_LVDSPLL, + .t = PLL_TYPE_DIV, + }, + }, + + [PLL_ID_PLLA_DIV2] = { + { + .n = "plla_div2pmcck", + .p = "plla_fracck", + .l = &plladiv2_divpmc_layout, + /* + * This may feed critical parts of the system like timers. + * It should not be disabled. + */ + .f = CLK_IS_CRITICAL | CLK_SET_RATE_GATE, + .c = &plladiv2_characteristics, + .eid = PMC_PLLADIV2, + .t = PLL_TYPE_DIV, + }, + }, +}; + +static const struct clk_programmable_layout sam9x7_programmable_layout = { + .pres_mask = 0xff, + .pres_shift = 8, + .css_mask = 0x1f, + .have_slck_mck = 0, + .is_pres_direct = 1, +}; + +static const struct clk_pcr_layout sam9x7_pcr_layout = { + .offset = 0x88, + .cmd = BIT(31), + .gckcss_mask = GENMASK(12, 8), + .pid_mask = GENMASK(6, 0), +}; + +static const struct { + char *n; + char *p; + u8 id; + unsigned long flags; +} sam9x7_systemck[] = { + /* + * ddrck feeds DDR controller and is enabled by bootloader thus we need + * to keep it enabled in case there is no Linux consumer for it. + */ + { .n = "ddrck", .p = "masterck_div", .id = 2, .flags = CLK_IS_CRITICAL }, + { .n = "uhpck", .p = "usbck", .id = 6 }, + { .n = "pck0", .p = "prog0", .id = 8 }, + { .n = "pck1", .p = "prog1", .id = 9 }, +}; + +/* + * Peripheral clocks description + * @n: clock name + * @f: clock flags + * @id: peripheral id + */ +static const struct { + char *n; + unsigned long f; + u8 id; +} sam9x7_periphck[] = { + { .n = "pioA_clk", .id = 2, }, + { .n = "pioB_clk", .id = 3, }, + { .n = "pioC_clk", .id = 4, }, + { .n = "flex0_clk", .id = 5, }, + { .n = "flex1_clk", .id = 6, }, + { .n = "flex2_clk", .id = 7, }, + { .n = "flex3_clk", .id = 8, }, + { .n = "flex6_clk", .id = 9, }, + { .n = "flex7_clk", .id = 10, }, + { .n = "flex8_clk", .id = 11, }, + { .n = "sdmmc0_clk", .id = 12, }, + { .n = "flex4_clk", .id = 13, }, + { .n = "flex5_clk", .id = 14, }, + { .n = "flex9_clk", .id = 15, }, + { .n = "flex10_clk", .id = 16, }, + { .n = "tcb0_clk", .id = 17, }, + { .n = "pwm_clk", .id = 18, }, + { .n = "adc_clk", .id = 19, }, + { .n = "dma0_clk", .id = 20, }, + { .n = "uhphs_clk", .id = 22, }, + { .n = "udphs_clk", .id = 23, }, + { .n = "macb0_clk", .id = 24, }, + { .n = "lcd_clk", .id = 25, }, + { .n = "sdmmc1_clk", .id = 26, }, + { .n = "ssc_clk", .id = 28, }, + { .n = "can0_clk", .id = 29, }, + { .n = "can1_clk", .id = 30, }, + { .n = "flex11_clk", .id = 32, }, + { .n = "flex12_clk", .id = 33, }, + { .n = "i2s_clk", .id = 34, }, + { .n = "qspi_clk", .id = 35, }, + { .n = "gfx2d_clk", .id = 36, }, + { .n = "pit64b0_clk", .id = 37, }, + { .n = "trng_clk", .id = 38, }, + { .n = "aes_clk", .id = 39, }, + { .n = "tdes_clk", .id = 40, }, + { .n = "sha_clk", .id = 41, }, + { .n = "classd_clk", .id = 42, }, + { .n = "isi_clk", .id = 43, }, + { .n = "pioD_clk", .id = 44, }, + { .n = "tcb1_clk", .id = 45, }, + { .n = "dbgu_clk", .id = 47, }, + /* + * mpddr_clk feeds DDR controller and is enabled by bootloader thus we + * need to keep it enabled in case there is no Linux consumer for it. + */ + { .n = "mpddr_clk", .id = 49, .f = CLK_IS_CRITICAL }, + { .n = "csi2dc_clk", .id = 52, }, + { .n = "csi4l_clk", .id = 53, }, + { .n = "dsi4l_clk", .id = 54, }, + { .n = "lvdsc_clk", .id = 56, }, + { .n = "pit64b1_clk", .id = 58, }, + { .n = "puf_clk", .id = 59, }, + { .n = "gmactsu_clk", .id = 67, }, +}; + +/* + * Generic clock description + * @n: clock name + * @pp: PLL parents + * @pp_mux_table: PLL parents mux table + * @r: clock output range + * @pp_chg_id: id in parent array of changeable PLL parent + * @pp_count: PLL parents count + * @id: clock id + */ +static const struct { + const char *n; + const char *pp[8]; + const char pp_mux_table[8]; + struct clk_range r; + int pp_chg_id; + u8 pp_count; + u8 id; +} sam9x7_gck[] = { + { + .n = "flex0_gclk", + .id = 5, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex1_gclk", + .id = 6, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex2_gclk", + .id = 7, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex3_gclk", + .id = 8, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex6_gclk", + .id = 9, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex7_gclk", + .id = 10, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex8_gclk", + .id = 11, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "sdmmc0_gclk", + .id = 12, + .r = { .max = 105000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex4_gclk", + .id = 13, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex5_gclk", + .id = 14, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex9_gclk", + .id = 15, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex10_gclk", + .id = 16, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "tcb0_gclk", + .id = 17, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "adc_gclk", + .id = 19, + .pp = { "upll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 5, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "lcd_gclk", + .id = 25, + .r = { .max = 75000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "sdmmc1_gclk", + .id = 26, + .r = { .max = 105000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "mcan0_gclk", + .id = 29, + .r = { .max = 80000000 }, + .pp = { "upll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 5, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "mcan1_gclk", + .id = 30, + .r = { .max = 80000000 }, + .pp = { "upll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 5, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex11_gclk", + .id = 32, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "flex12_gclk", + .id = 33, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "i2s_gclk", + .id = 34, + .r = { .max = 100000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "qspi_gclk", + .id = 35, + .r = { .max = 20000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "pit64b0_gclk", + .id = 37, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "classd_gclk", + .id = 42, + .r = { .max = 100000000 }, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "tcb1_gclk", + .id = 45, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, + + { + .n = "dbgu_gclk", + .id = 47, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "mipiphy_gclk", + .id = 55, + .r = { .max = 27000000 }, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "pit64b1_gclk", + .id = 58, + .pp = { "plla_div2pmcck", }, + .pp_mux_table = { 8, }, + .pp_count = 1, + .pp_chg_id = INT_MIN, + }, + + { + .n = "gmac_gclk", + .id = 67, + .pp = { "audiopll_divpmcck", "plla_div2pmcck", }, + .pp_mux_table = { 6, 8, }, + .pp_count = 2, + .pp_chg_id = INT_MIN, + }, +}; + +static void __init sam9x7_pmc_setup(struct device_node *np) +{ + struct clk_range range = CLK_RANGE(0, 0); + const char *td_slck_name, *md_slck_name, *mainxtal_name; + struct pmc_data *sam9x7_pmc; + const char *parent_names[9]; + void **clk_mux_buffer = NULL; + int clk_mux_buffer_size = 0; + struct clk_hw *main_osc_hw; + struct regmap *regmap; + struct clk_hw *hw; + int i, j; + + i = of_property_match_string(np, "clock-names", "td_slck"); + if (i < 0) + return; + + td_slck_name = of_clk_get_parent_name(np, i); + + i = of_property_match_string(np, "clock-names", "md_slck"); + if (i < 0) + return; + + md_slck_name = of_clk_get_parent_name(np, i); + + i = of_property_match_string(np, "clock-names", "main_xtal"); + if (i < 0) + return; + mainxtal_name = of_clk_get_parent_name(np, i); + + regmap = device_node_to_regmap(np); + if (IS_ERR(regmap)) + return; + + sam9x7_pmc = pmc_data_allocate(PMC_LVDSPLL + 1, + nck(sam9x7_systemck), + nck(sam9x7_periphck), + nck(sam9x7_gck), 8); + if (!sam9x7_pmc) + return; + + clk_mux_buffer = kmalloc(sizeof(void *) * + (ARRAY_SIZE(sam9x7_gck)), + GFP_KERNEL); + if (!clk_mux_buffer) + goto err_free; + + hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc", 12000000, + 50000000); + if (IS_ERR(hw)) + goto err_free; + + hw = at91_clk_register_main_osc(regmap, "main_osc", mainxtal_name, NULL, 0); + if (IS_ERR(hw)) + goto err_free; + main_osc_hw = hw; + + parent_names[0] = "main_rc_osc"; + parent_names[1] = "main_osc"; + hw = at91_clk_register_sam9x5_main(regmap, "mainck", parent_names, NULL, 2); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->chws[PMC_MAIN] = hw; + + for (i = 0; i < PLL_ID_MAX; i++) { + for (j = 0; j < 3; j++) { + struct clk_hw *parent_hw; + + if (!sam9x7_plls[i][j].n) + continue; + + switch (sam9x7_plls[i][j].t) { + case PLL_TYPE_FRAC: + if (!strcmp(sam9x7_plls[i][j].p, "mainck")) + parent_hw = sam9x7_pmc->chws[PMC_MAIN]; + else if (!strcmp(sam9x7_plls[i][j].p, "main_osc")) + parent_hw = main_osc_hw; + else + parent_hw = __clk_get_hw(of_clk_get_by_name + (np, sam9x7_plls[i][j].p)); + + hw = sam9x60_clk_register_frac_pll(regmap, + &pmc_pll_lock, + sam9x7_plls[i][j].n, + sam9x7_plls[i][j].p, + parent_hw, i, + sam9x7_plls[i][j].c, + sam9x7_plls[i][j].l, + sam9x7_plls[i][j].f); + break; + + case PLL_TYPE_DIV: + hw = sam9x60_clk_register_div_pll(regmap, + &pmc_pll_lock, + sam9x7_plls[i][j].n, + sam9x7_plls[i][j].p, NULL, i, + sam9x7_plls[i][j].c, + sam9x7_plls[i][j].l, + sam9x7_plls[i][j].f, 0); + break; + + default: + continue; + } + + if (IS_ERR(hw)) + goto err_free; + + if (sam9x7_plls[i][j].eid) + sam9x7_pmc->chws[sam9x7_plls[i][j].eid] = hw; + } + } + + parent_names[0] = md_slck_name; + parent_names[1] = "mainck"; + parent_names[2] = "plla_divpmcck"; + parent_names[3] = "upll_divpmcck"; + hw = at91_clk_register_master_pres(regmap, "masterck_pres", 4, + parent_names, NULL, &sam9x7_master_layout, + &mck_characteristics, &mck_lock); + if (IS_ERR(hw)) + goto err_free; + + hw = at91_clk_register_master_div(regmap, "masterck_div", + "masterck_pres", NULL, &sam9x7_master_layout, + &mck_characteristics, &mck_lock, + CLK_SET_RATE_GATE, 0); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->chws[PMC_MCK] = hw; + + parent_names[0] = "plla_divpmcck"; + parent_names[1] = "upll_divpmcck"; + parent_names[2] = "main_osc"; + hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 3); + if (IS_ERR(hw)) + goto err_free; + + parent_names[0] = md_slck_name; + parent_names[1] = td_slck_name; + parent_names[2] = "mainck"; + parent_names[3] = "masterck_div"; + parent_names[4] = "plla_divpmcck"; + parent_names[5] = "upll_divpmcck"; + parent_names[6] = "audiopll_divpmcck"; + for (i = 0; i < 2; i++) { + char name[6]; + + snprintf(name, sizeof(name), "prog%d", i); + + hw = at91_clk_register_programmable(regmap, name, + parent_names, NULL, 7, i, + &sam9x7_programmable_layout, + NULL); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->pchws[i] = hw; + } + + for (i = 0; i < ARRAY_SIZE(sam9x7_systemck); i++) { + hw = at91_clk_register_system(regmap, sam9x7_systemck[i].n, + sam9x7_systemck[i].p, NULL, + sam9x7_systemck[i].id, + sam9x7_systemck[i].flags); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->shws[sam9x7_systemck[i].id] = hw; + } + + for (i = 0; i < ARRAY_SIZE(sam9x7_periphck); i++) { + hw = at91_clk_register_sam9x5_peripheral(regmap, &pmc_pcr_lock, + &sam9x7_pcr_layout, + sam9x7_periphck[i].n, + "masterck_div", NULL, + sam9x7_periphck[i].id, + &range, INT_MIN, + sam9x7_periphck[i].f); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->phws[sam9x7_periphck[i].id] = hw; + } + + parent_names[0] = md_slck_name; + parent_names[1] = td_slck_name; + parent_names[2] = "mainck"; + parent_names[3] = "masterck_div"; + for (i = 0; i < ARRAY_SIZE(sam9x7_gck); i++) { + u8 num_parents = 4 + sam9x7_gck[i].pp_count; + u32 *mux_table; + + mux_table = kmalloc_array(num_parents, sizeof(*mux_table), + GFP_KERNEL); + if (!mux_table) + goto err_free; + + PMC_INIT_TABLE(mux_table, 4); + PMC_FILL_TABLE(&mux_table[4], sam9x7_gck[i].pp_mux_table, + sam9x7_gck[i].pp_count); + PMC_FILL_TABLE(&parent_names[4], sam9x7_gck[i].pp, + sam9x7_gck[i].pp_count); + + hw = at91_clk_register_generated(regmap, &pmc_pcr_lock, + &sam9x7_pcr_layout, + sam9x7_gck[i].n, + parent_names, NULL, mux_table, + num_parents, + sam9x7_gck[i].id, + &sam9x7_gck[i].r, + sam9x7_gck[i].pp_chg_id); + if (IS_ERR(hw)) + goto err_free; + + sam9x7_pmc->ghws[sam9x7_gck[i].id] = hw; + clk_mux_buffer[clk_mux_buffer_size++] = mux_table; + } + + of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sam9x7_pmc); + kfree(clk_mux_buffer); + + return; + +err_free: + if (clk_mux_buffer) { + for (i = 0; i < clk_mux_buffer_size; i++) + kfree(clk_mux_buffer[i]); + kfree(clk_mux_buffer); + } + kfree(sam9x7_pmc); +} + +/* Some clks are used for a clocksource */ +CLK_OF_DECLARE(sam9x7_pmc, "microchip,sam9x7-pmc", sam9x7_pmc_setup); From patchwork Fri Feb 23 17:28:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205578 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp735791dyb; Fri, 23 Feb 2024 09:35:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWqSOcmCHCANsfnDhDZhzhfE2HomEdtFXlMkRX5sTKX2+4e8u/IUZg7G9uSmgNg61KOn9T7AEc/wBKHclZVVdU7SV2nUw== X-Google-Smtp-Source: AGHT+IHhV+Vpt8HomSwB/qftcmxN4lWSaIyLHiEhfvnf7pPQrHkZez9313Gzr6MsZqkw2SeB7sGx X-Received: by 2002:a05:6a20:d80b:b0:1a0:e463:fcc0 with SMTP id iv11-20020a056a20d80b00b001a0e463fcc0mr531678pzb.17.1708709722523; Fri, 23 Feb 2024 09:35:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709722; cv=pass; d=google.com; s=arc-20160816; b=A8375UXGyL39KkKloQ9adqsxkQeWRN1Dzurrumj+O4Hmn9701zIVQby4d7aH1xUukr 5gDrR3a9C504M3XGjXea1TRO8OYf1Ystdzl/wJpKQeFTexOLorTdy71FpFj3e1a8qs21 hpHa1D+aIbStTUSTYQdIyDJBwUqlCs1yuUBB5hjDHbrqsTl6i+gaBAv83heKKH5G6UeZ ZtzDom9pEFYwBYNFAetKQOKRQ2zJCX2kbanDtwBdbAURw+F/lneeCNGLiBdOdVxEZMzg 473bBXN04WMqbJGlJC1Fn7wHX8LzRNS7uER2VIKYPggiNdvE508TWZ7P+6N1P5obyFkE +uvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=i+iXu1rClKVnFe1dIRjHi9ry2lZWJ5MeayFzO7j963s=; fh=0p+ynNGwqUzJdhJYBWl5d8V4IGs0vSWwTT/Fl+qqSPk=; b=0xr8gOCMO6cVspOtJ2QCxbi/wUA6tJ+BwbOwHU5jGNu7GddP/pkq6cWllcVwMY9K0C y1b2Lcd77pJBBRzalwhGdM9EpqfYw5r1MU6l5rUiSInzyo8ezKQ7g8W2AyEa01SLgBj/ BfIUlYbcyJoJyBGxTKSRDNfAdm6RVk/RZIOzcoDAipaIpZ0Nv8I+Y0IwHL4PZY/UoB5M lnejghk/Ug2b1LfdQ07bS6tfz82vgm031Fh8sOxN9IU68kHqSGpybU3nZU/ivGCiB9Rq zMSnequyLZ1rs0ARBN8d6aQ7ZNsPPMblmKlbmRFPtevM2KTAAWz6NzuoGN1/psPHBW+5 fLWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=jQxjzLSp; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78862-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78862-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z1-20020a63ac41000000b005dc4202b409si12421166pgn.212.2024.02.23.09.35.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:35:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78862-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=jQxjzLSp; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78862-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78862-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 74DC6287D48 for ; Fri, 23 Feb 2024 17:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E63A01419B3; Fri, 23 Feb 2024 17:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="jQxjzLSp" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 0702812DD85; Fri, 23 Feb 2024 17:29:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709355; cv=none; b=Ljwm4DS05TtuC4CmNXIA0vIANeFPZXDRtDYCtleARhagIuo7Ut3FBTu0NH3r//NPyafPjMfHIxrEmq5ApvQWkSfnXSVmNBdMRxWmOg7YQLhjx3n+gFr2l9Dm/+sIRFGAM42zXh4VrSjycE2GZD76Ra5f2+rtFT+4tYXfPcKvapU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709355; c=relaxed/simple; bh=u6JeeHT9oRTlHnIjB/tPWNs3cODCuJ8lE0PAWT8DiHA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=etAfjsCU5DFl242lCovFBjRYD5jqEygRuun1X8PAFPRJ7z/bhThgbJDr9jtdo6mgcpwiIIZFKICyCGpk0vV36v7bNPcBnFhyxrtUzu6RTCBNRPviqCzbR7wHTwTqB6UuelwJ1Le6qz9MWHqQYKnDdeAp3sAZBuB2fEuS9DhtnUE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=jQxjzLSp; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709353; x=1740245353; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=u6JeeHT9oRTlHnIjB/tPWNs3cODCuJ8lE0PAWT8DiHA=; b=jQxjzLSpg3FeTEzHdxy8K/gWQmZSwZl3kcyZN/yA2wOU8YuYilwgB8FE My1GQNSgiPkqxNkonS26r9S/wJfFF92O+SgdkssZLREsyeS+Gq9Vzps0J TsQ+HIrI7nzEc2OOxDcUmE6rpuV762upKuIeftf95JaaiaBRdSU727v0L tGdfGnyvk+k+VV0R2SEBKbscEIz9awB3pyBD7FybdoAuClLVwJX867eqo u/dJTgM1qMwnUjVHlqAf7fM6ahivPgswhQMntPXUrKPF9/RKKosnxli7T aUc5n3A8EUItBFB+/DxDBcKYVGNCx1VdkqdkVLRpOy+bE4zn1rGscba0L g==; X-CSE-ConnectionGUID: nX+aFf6zR2a6Qs8N2xdKug== X-CSE-MsgGUID: qzh6xr4eSEq0O3yKtlB6dQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276347" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:29:13 -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.35; Fri, 23 Feb 2024 10:29:04 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:29:00 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: , Krzysztof Kozlowski Subject: [PATCH v4 28/39] dt-bindings: irqchip/atmel-aic5: Add support for sam9x7 aic Date: Fri, 23 Feb 2024 22:58:55 +0530 Message-ID: <20240223172855.673003-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712005648026330 X-GMAIL-MSGID: 1791712005648026330 Document the support added for the Advanced interrupt controller(AIC) chip in the sam9x7 SoC family. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Changes in v4: - Updated Acked-by tag. --- .../devicetree/bindings/interrupt-controller/atmel,aic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt b/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt index 7079d44bf3ba..5fb9366c94a1 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt @@ -4,7 +4,7 @@ Required properties: - compatible: Should be: - "atmel,-aic" where can be "at91rm9200", "sama5d2", "sama5d3" or "sama5d4" - - "microchip,-aic" where can be "sam9x60" + - "microchip,-aic" where can be "sam9x60" or "sam9x7" - interrupt-controller: Identifies the node as an interrupt controller. - #interrupt-cells: The number of cells to define the interrupts. It should be 3. From patchwork Fri Feb 23 17:29:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736016dyb; Fri, 23 Feb 2024 09:35:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3pZv1hRV0T6r7xTv4wUkDelv+W/vv+c2sk47KioZV6NKgiyaGOdhZIM9fJm9y88Pa+n4QEuhH3Q0rtr0b+tEj9TPU4w== X-Google-Smtp-Source: AGHT+IG2De05sc+mdf1iIAiI2JTB9wB+7HsUREMCDAuJGhOKtpSvdvWGnTLvAi3jCIJU0P8WG4Ms X-Received: by 2002:a0c:cc0c:0:b0:68f:2e24:6156 with SMTP id r12-20020a0ccc0c000000b0068f2e246156mr485589qvk.16.1708709740464; Fri, 23 Feb 2024 09:35:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709740; cv=pass; d=google.com; s=arc-20160816; b=At6eBY73nCkucKgUy8I/yF2OtUoqHZuwipQgzm5urEEiYiDWQ6uvrcueUp/h5iBr5d lnI2TSJHOP6HfDO29r2n+y3QZjIZb+piIpukFnlAZPH9YGJ8xUr5tvinJyqPrQVnjsWQ mGpuW9yEfBc8KdP1kk8LvAmK3MjG6l8W29DvHgMMktCwIAEkuaU+lTnZ5Is6wI7e7tcb R/IAThB3aLCcPyWRgMXangICT/9iCHrUT3bWD5HmNSUhf/2ZFdJqi4gDsck90ktobBY9 8OG4bM89X76o7QW12VdzLBv0V2aXH5YHQMjQfqRqis9sJ8R5qZWPd95eZMuh35AM97N/ yosA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=/TW6IyYi/CkodujDBoEMpXMx2DHimfSj4baFUi3HnFE=; fh=9cSjHDXwPRGGzxev83FSEJv/Z9VDZNykIguMlcPwmTY=; b=bojjLJp1+BVFaR0URCdRX4eslmHmOF8PvEuydorkCoI9dBVekgZbcD65kyfC85Dwev 5RwfutFzIFOnb8HytImJtndhiY86ZCsLFl3GJsM3G3efILDjfWwAWCC7TN4l5g07c1ag jUjHw3lKPnwhb0jyQgzpJd3YKb/2X9om7Qg5H7dQEmSuObWvgGwayKnQ4QJ9oAEdfGf/ AcgA9FwsVDYIUGpAxLRSiMPy6jBOZkNQIyve7NYPPBqPQi7FiV/fUJMUo+FBQc1eOqPv 5BRCwNm8BfQCvpjFTbKmmPASiTkrDESuXXb6XyMHHTDjJ6O6iYZkQoJVduKAGS56HU8Z j5/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=C0w9IwhP; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78863-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jl6-20020ad45e86000000b006846c97c980si16288755qvb.579.2024.02.23.09.35.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:35:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=C0w9IwhP; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78863-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78863-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D8991C22DE9 for ; Fri, 23 Feb 2024 17:35:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 758921420D6; Fri, 23 Feb 2024 17:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="C0w9IwhP" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 8619F1420B3; Fri, 23 Feb 2024 17:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709363; cv=none; b=cVDoHJLMqEbNkaJYiKo5cGVnQQcV94OuXrwoWYJnYxw6E1HKCmuMj+KRg82ct/ZLWsBC4GhKN2sDWd7hlDroW3I3z1V2UMG9MclMrYsKh+AgNGkunvhnyuM4iT+g4+wZcARU7tbvGqyC4DOYbFLGR8mbdL8OGGqq1KgihzS/wdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709363; c=relaxed/simple; bh=032mMVSQqEKqmJWHEH/kd/ajYLY2Zrh+cOXnnpQqiKQ=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JqZFrADTjl8M4Yq2h4vEngS7eqZ10RV3GcKOfwObV8k1UFZapdvBrL8rB0IYwbX20nU3kEIgXkgNtlKbkikdv48lyP1wUkvIyFMtdLd2TLFDRAepPGdMk3HDOQbbSJPwCltSPN2qrLeO8u+HZb9ap2DBzoISoMAMwn6exVoTr1s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=C0w9IwhP; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709362; x=1740245362; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=032mMVSQqEKqmJWHEH/kd/ajYLY2Zrh+cOXnnpQqiKQ=; b=C0w9IwhP1dEjGcfci+1ijL4HhXC3xCZVAi2cdQHmJ9U4yVJIVZ/wxITM nbyLSKTtuGdf5kXFOdL+aOJHbPAL/Wl/WDKXbquC/Qm7Z6W68IJds1EEN dtFMxFcAbqpCHMCyVEjBfdYUHjq+8LRCJ163pq0ElcgJNoxxNbgt26XSc qxt8307R+Ij2YDU1eT+4eBaE9OPQD3kXwu3iA9oSOkE0KT8CgwwcVlo8T W+t557TPFlxDRowQvA6C2sy4xNaKzrEPa1B3lyjWY6wMIOGdjbSUcdaO3 tDk5AQyClKzEyFxCP1LuDPBLyR1/mZQ8sGhN+Vzc83A8ORP8dsHrYAAqW g==; X-CSE-ConnectionGUID: UUhv/eVbQlm9nBTg2b0S7g== X-CSE-MsgGUID: rc+ohozORYusiT9RdenFHA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734688" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:29:21 -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.35; Fri, 23 Feb 2024 10:29:19 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:29:14 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , Subject: [PATCH v4 29/39] irqchip/atmel-aic5: Add support to get nirqs from DT for sam9x60 & sam9x7 Date: Fri, 23 Feb 2024 22:59:05 +0530 Message-ID: <20240223172905.673053-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712024437494830 X-GMAIL-MSGID: 1791712024437494830 Add support to get number of IRQs from the respective DT node for sam9x60 and sam9x7 devices. Since only this factor differs between the two SoCs, this patch adds support for the same. Adapt the sam9x60 dtsi accordingly. Signed-off-by: Varshini Rajendran --- Changes in v4: - Changed the implementation to fetch the NIRQs from DT as per the comment to avoid introducing a new compatible when this is the only difference between the SoCs related to this IP. --- arch/arm/boot/dts/microchip/sam9x60.dtsi | 1 + drivers/irqchip/irq-atmel-aic5.c | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/microchip/sam9x60.dtsi index 73d570a17269..e405f68c9f54 100644 --- a/arch/arm/boot/dts/microchip/sam9x60.dtsi +++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi @@ -1201,6 +1201,7 @@ aic: interrupt-controller@fffff100 { interrupt-controller; reg = <0xfffff100 0x100>; atmel,external-irqs = <31>; + microchip,nr-irqs = <50>; }; dbgu: serial@fffff200 { diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c index 145535bd7560..5d96ad8860d3 100644 --- a/drivers/irqchip/irq-atmel-aic5.c +++ b/drivers/irqchip/irq-atmel-aic5.c @@ -398,11 +398,16 @@ static int __init sama5d4_aic5_of_init(struct device_node *node, } IRQCHIP_DECLARE(sama5d4_aic5, "atmel,sama5d4-aic", sama5d4_aic5_of_init); -#define NR_SAM9X60_IRQS 50 - static int __init sam9x60_aic5_of_init(struct device_node *node, struct device_node *parent) { - return aic5_of_init(node, parent, NR_SAM9X60_IRQS); + int ret, nr_irqs; + + ret = of_property_read_u32(node, "microchip,nr-irqs", &nr_irqs); + if (ret) { + pr_err("Not found microchip,nr-irqs property\n"); + return ret; + } + return aic5_of_init(node, parent, nr_irqs); } IRQCHIP_DECLARE(sam9x60_aic5, "microchip,sam9x60-aic", sam9x60_aic5_of_init); From patchwork Fri Feb 23 17:29:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205581 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736198dyb; Fri, 23 Feb 2024 09:36:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXkdwe8uM5XX6SQg2utv3+3e6mbH8XnU4K0Uk4k3riUx3rhrbFLgBItam3ETxyZQxF5VaX9UzaYm4o1/Ca/CGW4lktP9A== X-Google-Smtp-Source: AGHT+IEBV9jtROSHi/+IMntN7jiWdV5YrcDF+QDM9oOdG4COWzOaTG1BRGbLRO4fPMGO4rK2IJW9 X-Received: by 2002:a17:906:3650:b0:a3e:ed41:1403 with SMTP id r16-20020a170906365000b00a3eed411403mr349648ejb.27.1708709760664; Fri, 23 Feb 2024 09:36:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709760; cv=pass; d=google.com; s=arc-20160816; b=GV7Q85D6MBkbl1Efm1Wb1XKhv9ZsKHbCOEcyyur4tBggD44dG8vYi40kOvadUNpxyB N3OcXZ1Y+FjKE/ls3GJiWbR2sOtQDe/DP3oq4FNbDNYDBliK07MZCunsW1QPj6b9Mkhq 0Fx+JpQbNkJu6hZ7OW0OFLpsZImZhnATQb26M8lIgsJJtxNBG5nAxVNe3YirS8JRrCp6 3IRr8W0qDSElpPTdNLi4g26BBRothd8r57pneE8oTlsHHNpuf6BcmE/IsmV7Lkuo+Q9M SZz/ihCBGUK5tWPCNy21+7JHICWdI/vnAv+gWqjCkzJuZqfvdPU1+KmKvI2KWKFLJVrF knJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ebsFWgfT1OMApYmiQUXHKAJ0OrGXV42opW0VkhDw+5Y=; fh=0r6hSRHkTcZ4BXBEp4sf3IW0gp9NSb+2y2SneyHkghI=; b=zA7kzt0KihVxUvlQ8WhUAoFLKsMspp/B8PP10zolKLupC6aKz7MGnah6FCvEig6Gj7 VuRMZOhxRnlJOaw2s6RgDNikBRCjki+WZukeQJf9nUYALLSX7V/PlrXWyvT/gap2R2ru sa13yelwGMy24Avs4mPxhHxpaOHYD6hYuZf+MYfMNR3BSRGSlicDf5lhWznsNz0qJKD3 d9UveJ1IdVYqNVdB+DD2pHhqBI9AAhfAHgfMqebQ90Q65XVNyhfveOt5gqIVuFEUvkcK v1L9lWCQqBjqedqhsipOofS8IoooEwY6W20mRHs4xhkVOekkPgEOl7OTZ6im5IdBYt2O 1+Tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCGe1aSY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gs34-20020a1709072d2200b00a3ec9d2cdf6si4553569ejc.897.2024.02.23.09.36.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=kCGe1aSY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 48A011F2706A for ; Fri, 23 Feb 2024 17:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9B36142645; Fri, 23 Feb 2024 17:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="kCGe1aSY" 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 0CF0E13A27A; Fri, 23 Feb 2024 17:29: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=1708709388; cv=none; b=UVC1M4AXR6bKcEBJBSTyGr9WIjkBI7WY+tDrxs4F+UhFys29woRREV2cnhhB0+wn3WjdBlz1nOIVGCcHSDVQ4o9e4n9Q6KOGVKF4bMhuWe7pt8ddd1i1WogC9/dMaMCOJIu+u5LNUCMKRT8PqDXo4z8Our1rE48zzJHAYb1oYAc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709388; c=relaxed/simple; bh=BOHqG0GWcKQryXK68I6exwoU2y91ziB8iSjql748Vds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LKJPUjPwnWndMSFm2tVp2nULWsihH8N0BEtoDfTnBtD5qn8ROb/pAx+Zh1ajjT/QzmS5e8cbKE1H7t4/1Di2kmdNcrqnCzjDWwgt7fct+ehfSQVbF5XxzKRsZl5SDS1KdXtV2JWZ5bS/+Aiexj4kqy+PO5HuQgVEteudGa0bkNI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=kCGe1aSY; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709386; x=1740245386; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BOHqG0GWcKQryXK68I6exwoU2y91ziB8iSjql748Vds=; b=kCGe1aSYCJg9FELiOpvdG+VObr2AAICf2hYkiXtitsFSC+NrcL+O8qvK aWfrsMqxcq72t4OM9OhzDa2vMAPVrCZdzWHlrk7XqF4YrTE0GEWEGh+le CV2Xgc++X5z9ixH8PWgJbyHxL7G37MCBYpM1fjfczB8eVAYPkVMFFmX48 rB9veNeMKRrMWs9H2j6OvctAN2Ypd9BohLYFcyEjgP64oUNQTd41d+GX/ 5NNldxW720up8Xw6kN88scEDWY2VlAGi+37NQ9fsQo0TUT+Gky2BtMpoB QSxWGJo0+XPky4WK2K6R+kveOnFjzImKAyrFbvD8bF5JvKcbKD1jw+lh5 g==; X-CSE-ConnectionGUID: 1v1xXS/WQem3kNt4sZEp+Q== X-CSE-MsgGUID: iCWeUo6GQzaApSGLQsrYDQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16736102" 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; 23 Feb 2024 10:29: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.35; Fri, 23 Feb 2024 10:29:36 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:29:32 -0700 From: Varshini Rajendran To: , , , , , , CC: , Sebastian Reichel Subject: [PATCH v4 30/39] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Fri, 23 Feb 2024 22:59:20 +0530 Message-ID: <20240223172920.673110-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712046017894754 X-GMAIL-MSGID: 1791712046017894754 Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. Signed-off-by: Varshini Rajendran Acked-by: Sebastian Reichel --- Changes in v4: - Updated Acked-by tag --- drivers/power/reset/at91-sama5d2_shdwc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c index 959ce0dbe91d..2121d7e74e12 100644 --- a/drivers/power/reset/at91-sama5d2_shdwc.c +++ b/drivers/power/reset/at91-sama5d2_shdwc.c @@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = { { .compatible = "atmel,sama5d2-pmc" }, { .compatible = "microchip,sam9x60-pmc" }, { .compatible = "microchip,sama7g5-pmc" }, + { .compatible = "microchip,sam9x7-pmc" }, { /* Sentinel. */ } }; From patchwork Fri Feb 23 17:29:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205584 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736732dyb; Fri, 23 Feb 2024 09:37:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9wkNKSqHhvibZzlENnFuJ78s481pLE2ov8drYZoIa2CQ0VBiPq9+S54nZ7lbEhfH1SyMzkwsoaDcTchYHAmUtDKENGg== X-Google-Smtp-Source: AGHT+IGg2DtGJC3NNbXrcXXdDPRKLYvRpmm+ZboKfI6757L+Omqo7EwmLdMUb85pwrtBK4ElfzRX X-Received: by 2002:a05:6402:f1b:b0:565:767c:ce37 with SMTP id i27-20020a0564020f1b00b00565767cce37mr538467eda.3.1708709820079; Fri, 23 Feb 2024 09:37:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709820; cv=pass; d=google.com; s=arc-20160816; b=md2HTrjNKLak/UNXjG0kCirvDIU297tTavKwSi+5qGKVr5bgvLs5PqbUJmk/RS370S jWLM6bC168wfiS4xqkBq2NTlgMDJtvWQMM9JXQFtwt4sQA5qI+J+34pKxc9Tjh166dvn 1iQrB0oOSpYLfbdMxqzZkuv2Du8JRknyIw3+E22ASnfzZRyKYyzMfMdGtkdF5j/Hzbm9 rt6gds3tRNbcYDbhcPguFWqABtRCzzW5D+5Ekiuh6huen0vO5nZPfYZQYMk75HHLhDJX z3e94PY90SiMwIrj5s4oSBOIXfDZ9GUdnQsf2n3fFtvVhi0pjpOe8/gN73b1OmFPBVrK AX9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wUK2ONg/7oEpJM9tTzxx9xSL/JcIoz+QJZZL1PC3iiY=; fh=kByHE80Uq4lbgk1lvfwafBiivtc55inf++HT2c5apCY=; b=XGVkj2Cp7tYujZsDox/lDbWvq6L+ZOaBWi48z/ZyZp4u5YsFkf0m5S0lWjbu+a+XTp DfXW5Qr7Z6kB1gAQA+x19Wgp1cgLrZ3CG2+mvd9bbgQi0yfKN/YO25+SZddKsjANLE3G vxOBt4AmDz2gyNFbz5VD6+tdN9/hZ/6fsSYtBX7uy2vGcWWuPbiiDKYAC6QUZLoxKlaA Nil0ucTuV59ejWMHGH2oxxo1UG9P0dbGBVN7TqYMudmqjGjJPlk6cIrpn6vNWkZIlwj1 OAlcC0ZnuYIMjSYM0/4yRrF/8PGp1qNgDxJY7BKr5zfAIPkfUUzBk0TPsi2daPnmevKh AsCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="rd/t4PIc"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78869-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78869-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q19-20020a056402041300b00561401f2877si6505309edv.34.2024.02.23.09.36.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:37:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78869-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="rd/t4PIc"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78869-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78869-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB9E71F23C67 for ; Fri, 23 Feb 2024 17:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66D8214DFE8; Fri, 23 Feb 2024 17:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="rd/t4PIc" 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 84FC3143C70; Fri, 23 Feb 2024 17:30:40 +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=1708709441; cv=none; b=q9KDmqjU7hRH866Gf0ChWxo1vEv5dMI2tq2a50JTs2WTi3yjHnpXRzZ7AJSm4w1F/oLNes+55VBYYIjF4RC7Lcas9C+UUxqrev/lvVl5g/esikm9R2oDILjKJbBwq9uXt2CQX/Fw6UR/m5KM7zIfcxsV+PtpQCstgan9I83JAfg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709441; c=relaxed/simple; bh=6yaUy0u5t4Wc+0M4Ut142hhEuqrEttKdZznrVqg+kFw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lK6R1NDWJ0zpRwD/nuMUkXqdsWyDboUYqMfbMKKGqNT2R62P6a+VOZ7HBdnq21r9Wo1qTae4S7f0AC6UMvP1JXrXfK/+S3vrPFjdjcWXzVZYHPd9eWe7o27s9yqJ/wh1CFv9DsqJG5RVmuXwtVylGzl8JJb22IcD6Xta0U8UIm8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=rd/t4PIc; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709440; x=1740245440; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6yaUy0u5t4Wc+0M4Ut142hhEuqrEttKdZznrVqg+kFw=; b=rd/t4PIcljgpLxnMvDsyfDQZlTrjjnZP3CHan+SqZtU0G5jykf8bIMSA F6nwNx/BdDQ9nH2Fl70lwfJDn09Q8L9Q0O2PLgaAANb6acY34XGPbPmHP 2P2Ue4lVkmovQHQaElAEbRZdZ3vSWarCztT5gILc0mjfu+9Ys2GURh/sP 2McCxLunqCN56xSpxTv5eyEXQB3PE0aaI+iGMhbxQhRqod1miv3VJFJfQ 7/0aOK9c20uVmNeHYk96TMgYnqHYl2REkOyboXxxIPYsHHgoCU5nxK9ep +8w7nTB9GWZS5b7S6nOJW3Yl98RPD/spQvJDklD1Eb2ts3dFDNM3JEc2x Q==; X-CSE-ConnectionGUID: f6QG3EKtShO/OUe1NBSJ1w== X-CSE-MsgGUID: N5ToapxpR32c7ZiEAmLKug== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="184009734" 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; 23 Feb 2024 10:30:39 -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.35; Fri, 23 Feb 2024 10:30:09 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:07 -0700 From: Varshini Rajendran To: , , CC: , Sebastian Reichel Subject: [PATCH v4 31/39] power: reset: at91-reset: add reset support for sam9x7 SoC Date: Fri, 23 Feb 2024 22:59:37 +0530 Message-ID: <20240223172937.673163-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712108546306204 X-GMAIL-MSGID: 1791712108546306204 Add power reset support for SAM9X7 SoC. Signed-off-by: Varshini Rajendran Acked-by: Sebastian Reichel --- Changes in v4: - Updated Acked-by tag --- drivers/power/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index fece990af4a7..e3ebebc1f80d 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -26,7 +26,7 @@ config POWER_RESET_AT91_POWEROFF config POWER_RESET_AT91_RESET tristate "Atmel AT91 reset driver" depends on ARCH_AT91 - default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 + default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 help This driver supports restart for Atmel AT91SAM9 and SAMA5 SoCs From patchwork Fri Feb 23 17:30:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205582 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736366dyb; Fri, 23 Feb 2024 09:36:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGCJ1BsAUl1X7bxaYIvzL+hIMkG7vXi+eYkRMiKSSkj/kb4hukMfmngG4xu88XRaj+nZQ/ZgyAtKF93Tarm2+xyc23QQ== X-Google-Smtp-Source: AGHT+IHkNGPphoaZPxPK1C5c4l0MxK55vlxgbG3NZGJSDBJZrJRS1V2eukruyHARcz0FG1Jhbllx X-Received: by 2002:a05:6808:208c:b0:3bf:db6b:9a7d with SMTP id s12-20020a056808208c00b003bfdb6b9a7dmr623001oiw.8.1708709778324; Fri, 23 Feb 2024 09:36:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709778; cv=pass; d=google.com; s=arc-20160816; b=0mdTfzJflBg7wVFF9W24h4iIe+ExbfHNBkVMsXRhHQnOkkJ2PrdH4XdVMMMksHEL/x TUSnCCiW20AxLyTgsybPuEXN6tpYTeOC+w7HA4dwE9qhdf9OJM9DE1ZSWviPHtOy9NGB D6Rf7jKEkA4c+MHS33FPQoeEs8UnBebdrzGYXBba03JvxqSzRPo6lhYsJ0xiZttALGje AMuwZpkk92vJwF+KAg6o5069vqEKCmrzcHSEeaYVzDzOs9OZvou6owdVzvh9TQ8QiiW3 vV3LRfyFhe9agmxw7U/z0aS4kBx8RXOzVZ9WIgh1ViJLCrX6IPTLDxtlxIrSuTMts7F1 b14A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=o/nY6/3MTS6oUq72iG2jUbLo0j59dEXmosOQQu57Xy4=; fh=kByHE80Uq4lbgk1lvfwafBiivtc55inf++HT2c5apCY=; b=sk0ta0vYKGjpLuZtWXsk7JtLZMil4KqgwFnMQgdiE+cjZx7cJxdE0v003eBtCzrN+L Uu/OYJo1CaZ2sDMldCkZ6Jp40Apog57SO1ILJ2rqCu2N7kAake+CGzOqDTDcgIDL/PZE 7Rx0O/3s4+IM2wqych+SaumX4NDeuz9B5cUT4cNN+9yqrGQBRtbTRw8SR2yVNDXb7XlR BJczm640HPNCR7fbR6w/ypAr4um7lJydpIvzz6XJtLrui9XooVYgwuBK4Ib+Zd0OqEUW 8Wn+27HyPZanCBg2A6+uL27072IvY4q58xJ60E6CZ2+Zjh3WlZGfAURENAJtkN7BqgbB eX1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NcoGF6YI; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78866-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78866-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cn18-20020ad44a72000000b0068f41b53618si14077133qvb.262.2024.02.23.09.36.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:36:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78866-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NcoGF6YI; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78866-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78866-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1E5451C220FD for ; Fri, 23 Feb 2024 17:36:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8010F143C4C; Fri, 23 Feb 2024 17:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="NcoGF6YI" 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 62A8C12E1FC; Fri, 23 Feb 2024 17:30:24 +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=1708709425; cv=none; b=akoQnnC37qyC+tWk0beiaX9aJFxXPmZN+myURQ8x/iCcEl2a2LBZ3zsO0220jv7K/eBcRPK0az9JseA/gmGTuZTkxDYI5qaPCrezhVri/DQEhkyGhSEnyALas+yS/v2x/ZaPrIz9vMyhzgHY0oe9oO59c1cQnlhe5BSRWYiaii8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709425; c=relaxed/simple; bh=+klO3bbOdffwzhA8ixlhjvL2TDFPdKbuHLwQA3504FQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ne37Vrg8HsZKc+2K1lw8D8ygIGjCRrdTxZUQbHXMH/qMvE2CDkaSl7kTtXG9LGj04+K578f/h463cHAp4KtW+ozE8hBTKDrGG00N3pykeNiCLKGk8txjZKCP4tkEiizlI24HQm5BNkrJ73ucugi7peQE9CIhYsbRcWVNre3wCuo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=NcoGF6YI; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709424; x=1740245424; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+klO3bbOdffwzhA8ixlhjvL2TDFPdKbuHLwQA3504FQ=; b=NcoGF6YIhjzbSwc2KexW0EnnL9oksoVZAStGbJJj0maluxFOsGUaOpFG RrOvWOQ9gEub66k+vHXk0IoBIHogpsIdltjIHxpEXpahfMVrAuNgmzeEx JipQwxAIgzb9TsmAyMO3CKk/xBGQft55TWFZTptYP0WNXqCpo2+4429wk 8QL+QpkZS6LbUdM69BCW+lcCiI/dnVfD0BIIMNlRvWZkmlVjVodr7CZ09 npbes+oQFgWuBKGt2GjIen7OWybOfC7KPaSLyrXB252BYuLFDMBa9B6+Z rUmSjNQS5/nRn8xYtTz2xSRJ/2ziRG/Rm8+tEiJ/zuYZoCyQD1QZmnFxN w==; X-CSE-ConnectionGUID: QbP5QoTlTPilSlYKCz5csw== X-CSE-MsgGUID: zcpPtxk2RJugE+TTZD4nVQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267448" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:30:23 -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.35; Fri, 23 Feb 2024 10:30:15 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:12 -0700 From: Varshini Rajendran To: , , CC: , Sebastian Reichel Subject: [PATCH v4 32/39] power: reset: at91-reset: add sdhwc support for sam9x7 SoC Date: Fri, 23 Feb 2024 23:00:10 +0530 Message-ID: <20240223173010.673231-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712064324432135 X-GMAIL-MSGID: 1791712064324432135 Add shutdown controller support for SAM9X7 SoC. Signed-off-by: Varshini Rajendran Acked-by: Sebastian Reichel --- Changes in v4: - Updated Acked-by tag --- drivers/power/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index e3ebebc1f80d..dafb0126f683 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -34,7 +34,7 @@ config POWER_RESET_AT91_RESET config POWER_RESET_AT91_SAMA5D2_SHDWC tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" depends on ARCH_AT91 - default SOC_SAM9X60 || SOC_SAMA5 + default SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 help This driver supports the alternate shutdown controller for some Atmel SAMA5 SoCs. It is present for example on SAMA5D2 SoC. From patchwork Fri Feb 23 17:30:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205596 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp743049dyb; Fri, 23 Feb 2024 09:49:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXlpAqxy70p3cA3svy19p03Gfsozs3vkDXFJkFdY5DgDZ9iuNsCP6K0oqWwFfDxXWv64RR3YVeCumFw3fN3BXRAJKUrwA== X-Google-Smtp-Source: AGHT+IHeWmWqoVf0PdFoVX86vpI4S11x0wpQvx3FoB0+NGEY9wUx50q5TvTV0SNg1pN82M6d8GtZ X-Received: by 2002:a05:6a21:7886:b0:1a0:e4ef:47c4 with SMTP id bf6-20020a056a21788600b001a0e4ef47c4mr678333pzc.22.1708710544878; Fri, 23 Feb 2024 09:49:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710544; cv=pass; d=google.com; s=arc-20160816; b=Cua5dJPVFMq7XX7Qbil1ngq/0UXF22wQTC8Mje4pCyuqWMyJ3O/mJZm5PT+Vy0s9Id khE4L2MYlslPW5sxRjt36KkwBGI4ghcUCj8kc7AgYcMO91zF5kFf+zzx4xOHo3oYIv0w 1QcKMmmIpUJ+U1ZPkACUWxgF3/jT7RLfpOJCH8MM9A44hcu0FEQyqGzVuGzfXHLsZGGV Ynwv88cZcN4L48EXwVFW0uJ+/1RHGNVWh2QX6OzhuZ8IfHbqhMQCUgw9wXIOahURP1f3 PbwvGmlr4oTEOavUFZsvIwpGe8q14h4BsslV5f8+dS7P6Rb7gH/ex2rQ/eYkCIKQ0Vhy kt9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=CU66T2axjXmaXuUhctIAS2DIErYfrK4LbylJ5luYplg=; fh=OuhxG2b7A7xCyAbZEZ81OT7c0PkOXzzRkPdOnOav9Dc=; b=eDwbp4wpHxo9DFIx0VuqrjmEIJixCRB9A5lHlV12hhbIb7GD2honGv2dysjmFG6Drm PFt5QSkyXMXiH5180RoADsdhVBmYUj/BH9EV/Pw2Ix80zB4wry3NZ1uW2uh+VOuzjR/+ iXKLZSPG+zAZfM1JfbqDjj9qJZaTvzxXe+h8e55RTUhU3bi7xP3/ON8TzMRoQl1E/GBJ MnxcpQCRVQTEtJ9YkvXpp5FjFgQV7PRd2gaHoKyYklj2nk2hxYWD+KIJ/srR44q6VvBg fFidRz4yH/B5N8wRCJwsSe2xglTdw0eV560kDLxaitwEU3Rd2PiS+Ze7QlDuYU/4FyfP 01Zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=syyMWUX5; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78867-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l123-20020a632581000000b005dc88c4700dsi12388430pgl.31.2024.02.23.09.49.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:49:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=syyMWUX5; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78867-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78867-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3511BB22E48 for ; Fri, 23 Feb 2024 17:36:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10F08143C63; Fri, 23 Feb 2024 17:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="syyMWUX5" 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 21D461420B9; Fri, 23 Feb 2024 17:30:26 +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=1708709427; cv=none; b=sPi6GT97PkDNWqUYannIcYWxIwGFgsYEqmdpHXj7DJOTF9qfrxf+Y29P7N1uQjg60DF5BgOoFw0gl2UivZ6nFG0w/QzlIfqyNfJ/k2WUHZXCRcbPFmlIkbVcSrnoIdMZhTkGjE5n5+pZljVWAxzcIKaBYFCTuybJRGWx89uDkiY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709427; c=relaxed/simple; bh=Xx2zZ9i9EIHbEar9eU5E/skr6kuP4647DfkLBbEDqwM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=II3189OXia9yYmiu22324IA0n1pQ+0aDcc/w0bebw6CQloCQeinPkfKhoYpk0NSzwAq/rDLeFF1vD7Ce3N+teJADa7Bo4ou67bwKa6GetEdgYdwdFNf3rLX1cXYjZmacg9nCjulLru7cpPeI5ZS84LZCcNPEgtDd0nnFghB9uuY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=syyMWUX5; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709426; x=1740245426; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Xx2zZ9i9EIHbEar9eU5E/skr6kuP4647DfkLBbEDqwM=; b=syyMWUX51eCR8k+I/moTPXBRNrJeoblqG5SUP6Etd4lYE2F+8v6ftbv8 VbVjEeQFbq1Vwjws0+FMg0KAf38z6buix1EcqO8XbuqvrwADBpFM0ZBIo jiFN1hx8bgobNeCXAvRdNEWzq23pVV1wIm5vNqIfiSNhziLRSS50QlGCd cDQeoUozI9bx/0qIq/y0BWT13YH8J4o9i140BICm0PZ4umbFr3A1/bXiU Li0OcZIoc4b67t+UPR0nGbOYb5OsC348ab6n/1vzF1tsU1yD1r5gwb0z5 0fnbokAlOCQu57uXHufTbsZ94WvM555xeuAxus0YcQRkaOujlfQomyRrL g==; X-CSE-ConnectionGUID: QbP5QoTlTPilSlYKCz5csw== X-CSE-MsgGUID: l142dJI0QKOIJtky/VH7FQ== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267453" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:30:24 -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.35; Fri, 23 Feb 2024 10:30:22 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:18 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: , Krzysztof Kozlowski Subject: [PATCH v4 33/39] dt-bindings: reset: atmel,at91sam9260-reset: add sam9x7 Date: Fri, 23 Feb 2024 23:00:15 +0530 Message-ID: <20240223173015.673281-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712868220469562 X-GMAIL-MSGID: 1791712868220469562 Add documentation for SAM9X7 reset controller. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski Acked-by: Philipp Zabel --- Changes in v4: - Updated Acked-by and Reviewed-by tags. --- .../devicetree/bindings/reset/atmel,at91sam9260-reset.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml b/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml index 98465d26949e..c3b33bbc7319 100644 --- a/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml +++ b/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml @@ -26,6 +26,10 @@ properties: - items: - const: atmel,sama5d3-rstc - const: atmel,at91sam9g45-rstc + - items: + - enum: + - microchip,sam9x7-rstc + - const: microchip,sam9x60-rstc reg: minItems: 1 From patchwork Fri Feb 23 17:30:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736622dyb; Fri, 23 Feb 2024 09:36:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVYsnul5JlhxKUey7Fe6e3f70HdzfokCpzuCGCuD5DQeO93ErDV+O8+LoPuzinxO3GJbrvYEkk2BfVa7h90wsmYSGQVhg== X-Google-Smtp-Source: AGHT+IEdkG70aIz8AaCDDG1RoQ0GMtt267I7cyTcXNh3yEuhykwpuOYSrgta7GWHgoGEJbusZWft X-Received: by 2002:a05:6a00:1949:b0:6e3:1fde:cb72 with SMTP id s9-20020a056a00194900b006e31fdecb72mr598792pfk.23.1708709809825; Fri, 23 Feb 2024 09:36:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709809; cv=pass; d=google.com; s=arc-20160816; b=yAT3wDaeBLzyz/KsT5tMSFqAW6UB5fFelYRscyo8buT2VRfLzhmTjV1vEzcJgxSFBX 9Rg9el+lWYiNI+VPbFX4Sg1UaYcMioSUiXEepj9R+uPJziYr1v7ndoKgU1BgLGRhrP/O GMBjaXnGPbcZfNb7c+xKRSOV7jx1rM9AEbbQXBOP+/QjJA+TmjmPrSVyiohQbFtkaplA HtYK7FBN2sBfmC20HkKe8Pt9FiqAK6EkY1y0bCvjVYE3vUID/7kh9H2F+R2RF9RdjFXD 7xpQi6z57+LuPBpYRn8zfw+EcgX5avZxsqPWJ/UAEQ7urSKcwZCjLScCeRcD32wlxu4O 1QWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ySfwMeXBUwTKiqeOXhPKmEP0n6sfSsWTjSl5+pOzLfs=; fh=4n3w0uqnHU5+3la4VrzJ2AwXqsLfLAYYXbGwMLAVqIQ=; b=tnG7gvxPaYDHDewSwiV5X63bUZU4nE0rypv7W/NtIVGbmCQgoyBGJxR9ZujJYSV0AO fsqlWpSvmAsjyIZwI9syCDIDdrjw1uqgCSp/NjZWEdarkvI/sEJzomqO3ieC3qQvHsjw 4cpO7IDH+XLnC0ZjmP3T4vgfIEPXJmcVnwGGjz9yWKM8uI2b/Cl1AC33t5U3iT/IwsrQ yI66fg2l5V1o+0qZcu1aZamgNbWRsIM+q4FhEMrSOFnkNLuSdQs09npaVtH3qRiu2t43 LC4HGCYshHfwivncWPmtU6UOIf7JVEC/bnRWEfgDB7rF9Hux+NKL7tSndoggXqtbSu4v 0iRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wujqctl4; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78868-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a41-20020a056a001d2900b006e0e693c86esi10298595pfx.188.2024.02.23.09.36.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:36:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wujqctl4; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78868-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9CCEE2846DB for ; Fri, 23 Feb 2024 17:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5A271448CB; Fri, 23 Feb 2024 17:30:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wujqctl4" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 DC8C012D77A; Fri, 23 Feb 2024 17:30:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709441; cv=none; b=dH1K3vM+JsUJr/VabW7TmnKNJ7CXJhl7+W7tjbQmoXWEmOOXPzehHo/46Maefw307HE1vgpURVU6TVgmYGeWhbO2NKYDRuacYg1i7UuXnMIqAkjmYLcPL1/iDKK5XTl650Me+i/L5OaV5fPAK8HbqjHagWuvKHPwmKnqmzcThRY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709441; c=relaxed/simple; bh=cYlBxp5NBE+Wc9M1WxlfVZ7eP5k9B5chPb5kAuyh3Jw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FRZy90D9CZTKRmaZnSIWURQ5beMo+vFKcsFqJs6x1+XiCM7bxqkeSVmjFdhgPscoDQ3NFL1vQTU6bUaIdlwcoDwcVobRodvUw1zquFEvfnyyNk0UZ6Mw/tL3yu8luPegVKfuMgsNuT+EVGg/pFayXnt1iEePX3VkpWC/ukdB3gI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=wujqctl4; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709440; x=1740245440; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cYlBxp5NBE+Wc9M1WxlfVZ7eP5k9B5chPb5kAuyh3Jw=; b=wujqctl4vpWtSJxoOTElla16lhYfwV6A1GFM6se1eIqVbr8WiST1X9nD n5OZNAgmnqsiWRj5x6Ju10fai+CpI702VLpfB9ZHbzazamM4Jk9qFrssZ HN9cDNSUWYaDYsY0+i3SMEdOw4jAt3tiC0APygqMLlduJ8cVg9gpVvfUj bJ06cA7gLtTid+LwtpXPMk+p7YgRkCPoJ0usXh7pmpqQXgcGJV7qBhZUo cvHJOymSfOdH2hjsW+Ogkp4qtAcKxTpBMe12eF3kaDTt3E01r0kFknGUP hD1/c367ext5TPNWO/jTh/DGIF8Ks19uw2a84/Yl5yZrLMGNZyaD0DZU3 g==; X-CSE-ConnectionGUID: WsimkxkcQRiUq4IidYZ/ag== X-CSE-MsgGUID: h1jsnocJSfSFWYgiuCMAJA== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734771" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:30:39 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:30:34 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:29 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: , Krzysztof Kozlowski , Sebastian Reichel Subject: [PATCH v4 34/39] dt-bindings: power: reset: atmel,sama5d2-shdwc: add sam9x7 Date: Fri, 23 Feb 2024 23:00:23 +0530 Message-ID: <20240223173023.673336-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712097814722438 X-GMAIL-MSGID: 1791712097814722438 Add shutdown controller DT bindings. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski Acked-by: Sebastian Reichel --- Changes in v4: - Updated Acked-by and Reviewed-by tags --- .../devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml index 8c58e12cdb60..0735ceb7c103 100644 --- a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml +++ b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml @@ -22,6 +22,9 @@ properties: - enum: - atmel,sama5d2-shdwc - microchip,sam9x60-shdwc + - items: + - const: microchip,sam9x7-shdwc + - const: microchip,sam9x60-shdwc reg: maxItems: 1 From patchwork Fri Feb 23 17:30:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205585 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp736874dyb; Fri, 23 Feb 2024 09:37:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUX7ikFuXX/MeeMeBPZi4ziteWSIE2NUDZ/9Df62iQY4WJx7eg1keySTa9s2UJ6jPmCZtNXO3OHUWuXbe2zxt1ZIls92A== X-Google-Smtp-Source: AGHT+IG3FP5h8/Rdq5YnUHK3UORl0hKttEs37Bu6BB/wIRcYzPZWBZ1Qs7cBFq2PanpdZsRGoNje X-Received: by 2002:a05:620a:57da:b0:787:8168:ed72 with SMTP id wl26-20020a05620a57da00b007878168ed72mr619698qkn.60.1708709832866; Fri, 23 Feb 2024 09:37:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709832; cv=pass; d=google.com; s=arc-20160816; b=eszr04jj4Dr9B/FUPQ0a/uKns80Rt8OM+M/P3skzSyWl4LPRf5lWNWcw6Gkc9Aaqju AC0RyOQHYihB6Un9FF4Nd/epNNxk+vFfwMGI/n0LZfSl+BibL6MDTgVFM3O9XyCv3e+F +yBG4LVH2GhkiUJxLD6gaMObWt+A2ZpNS9oOi3cznJoWGSFZy3oMY2g+uixN7AY47BOW CNQ0ONPRj1h3fipyQDlS9NN8iuukM6bzp5bxzD89p9898VCfA4yTAkpoDUkoYhYlUqdr LR38oY6aHqjjS2trfxj2fHC/fm2sD7KbL9Sqy2fVa7hycO8fAIm7psavtIM1gX8cVaRS +cvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IaPQgrxgVXwxAvnYWErZI7D5fBvsz6/YG3id0YnSMi4=; fh=zh6E5ZTCJOdOoU4l9vLjM+qWK/+xrLsspfN6mr1FSGY=; b=TywOXskfvBl/83BpzFZI8RF7bIkWpNkuGe+KIUPSQ7zjDjKmWO9BqLDSPpWGDykiT0 Pt9aK15GEYocasdI7T+A1AY76BXjVsIV+/WkCQMaxW1kDHmNItV3tQjxEvRBspgQHDy/ a3FJDUpcBe02gD8EzB7MbcBkYED0D8LiHKsfx7NolOVw/WnKIzUpJKpBrhpLmzEgMpK1 mcTrhGXRWaBDmUvsaeCDpQqgaw9xQnOJ9EGIuHpSnBUQNxmxvDrNVovwgueFK+qzgD81 z3v6ayw0rRPUB9JsyyMZR+ThC36TZ/QHAFulrAYVa1G+leZTi9yHFz3k1noDaECOfcGo UfMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cUiKWfYJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78870-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w1-20020a05620a148100b00787ad2ff7d7si2197643qkj.482.2024.02.23.09.37.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:37:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cUiKWfYJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78870-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9FDA31C21084 for ; Fri, 23 Feb 2024 17:37:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9E401448DD; Fri, 23 Feb 2024 17:31:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="cUiKWfYJ" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 C07C41E503 for ; Fri, 23 Feb 2024 17:31:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709462; cv=none; b=dhF7PcbM7alzwVysdQOsVatuaSjJYuIFDH6WWAwv6GNjN3fLM6KOD06ja/78svIOqAQrFq/COg/sylUhpjeeg/al3xOSkDbmHKbA6upHU+jHELl+Us6HQ9L5D3KOIUh/XxdU/hXPlW2Et6WbCqxt680et9eKoEHv7N4WAl7+/oQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709462; c=relaxed/simple; bh=t9dKh9T4aJJEvoGpdURGgQeg5Pzq3ZcMhMvCMwkgFxs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Evv1Fx6OE9zxNcB6xV9wrdLXyHSNYd3WYGnBab6pTqSiEimAZPZqr3Cvqne0djxJGS4FxFWZ4Hm7Mvcn1AUtIXwUrK0eYl2jX2BuUqIoihSglTZryjCosFezp0ZftxqrfSrORRDP9Fm5HpC3FH21XVFP3jwTaAoid5NmTVR0GHY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=cUiKWfYJ; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709460; x=1740245460; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=t9dKh9T4aJJEvoGpdURGgQeg5Pzq3ZcMhMvCMwkgFxs=; b=cUiKWfYJZdwJ7yGDX4FW/4Tp+GA+zJarBdvrp6CkQaxaYLjwZHhHrqIc q4vifjZ2Z64sNyJZuadZVbmDLUPcCNUB53xJtspnqqNTW4Ha6+h2P9OR/ tbuaVLgoGdAyKQNXEgk201xVHShL+9XTsrFTbVJKHYGBIeRtxJ3/qBdGZ 8OVYm14d7HoalyGPF4PhjxPI4etyp0mdB2VOlcQLfl6H85RV+nh6pD1E4 qrMMefBMNjeAAI3W7WbI3Giyx2tq49165yY+Dn4iLMQWMHwa2tiznIFgy BQtBkv4Y88JyXLJz/AekBLldRVgQOFkQiaLSAtaU/uRe0vZfnHEhOGiem Q==; X-CSE-ConnectionGUID: iWPxecE1SSGsHJTwRfxMTQ== X-CSE-MsgGUID: 5fd07XWQSYm5Sx0H3/bC/A== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="16734799" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:31:00 -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.35; Fri, 23 Feb 2024 10:30:42 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:39 -0700 From: Varshini Rajendran To: , , , , , CC: Subject: [PATCH v4 35/39] ARM: at91: Kconfig: add config flag for SAM9X7 SoC Date: Fri, 23 Feb 2024 23:00:35 +0530 Message-ID: <20240223173035.673386-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712121672626426 X-GMAIL-MSGID: 1791712121672626426 Add config flag for sam9x7 SoC. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- Changes in v4: - Updated Reviewed-by tag --- arch/arm/mach-at91/Kconfig | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index a8c022b4c053..49d38a3a47de 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -141,11 +141,28 @@ config SOC_SAM9X60 help Select this if you are using Microchip's SAM9X60 SoC +config SOC_SAM9X7 + bool "SAM9X7" + depends on ARCH_MULTI_V5 + select ATMEL_AIC5_IRQ + select ATMEL_PM if PM + select ATMEL_SDRAMC + select CPU_ARM926T + select HAVE_AT91_USB_CLK + select HAVE_AT91_GENERATED_CLK + select HAVE_AT91_SAM9X60_PLL + select MEMORY + select PINCTRL_AT91 + select SOC_SAM_V4_V5 + select SRAM if PM + help + Select this if you are using Microchip's SAM9X7 SoC + comment "Clocksource driver selection" config ATMEL_CLOCKSOURCE_PIT bool "Periodic Interval Timer (PIT) support" - depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 + depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 default SOC_AT91SAM9 || SOC_SAMA5 select ATMEL_PIT help @@ -155,7 +172,7 @@ config ATMEL_CLOCKSOURCE_PIT config ATMEL_CLOCKSOURCE_TCB bool "Timer Counter Blocks (TCB) support" - default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 + default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 select ATMEL_TCB_CLKSRC help Select this to get a high precision clocksource based on a @@ -166,7 +183,7 @@ config ATMEL_CLOCKSOURCE_TCB config MICROCHIP_CLOCKSOURCE_PIT64B bool "64-bit Periodic Interval Timer (PIT64B) support" - default SOC_SAM9X60 || SOC_SAMA7 + default SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA7 select MICROCHIP_PIT64B help Select this to get a high resolution clockevent (SAM9X60) or From patchwork Fri Feb 23 17:30:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205586 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp737038dyb; Fri, 23 Feb 2024 09:37:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWb4uxoHGl4AWrdU2+05rGajSP08Vh+y9J/1cHAk1WIc1roiT2EusF/EolDb68EobpA1OcIGKc0Yghi6G8j/uCdMrv1Q== X-Google-Smtp-Source: AGHT+IGAGKSGvoDMvQU9vQ6SV81hi4D+KoouaFXoqLJM+lyq9cp9kE7IF+KkodFI6gedEXmSM9nh X-Received: by 2002:ac8:5c4f:0:b0:42e:57a6:300d with SMTP id j15-20020ac85c4f000000b0042e57a6300dmr751410qtj.27.1708709845422; Fri, 23 Feb 2024 09:37:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709844; cv=pass; d=google.com; s=arc-20160816; b=sDr/Kx02Mk9sIcMNZhrhjjqLA+wOD5qUzCAmLI0TWmvWGVPgMOWTfuLQ1UNhkVEz2O TnsCyJgwZEe8vj5KbEfFl9f7lwZ+Y7J+wOLfzSzXt8cy6h9fy+GhzGoUmwu25j/4CNTc nYHNsenZObjC6XYSYVCB8vNe8dY8fWMWSR667Xx1DuJnjIFrKc4bltK8mdmXuVg+uje8 N9ZiYG77NgDxTIyuDWqZOJWksHF88lIb6dBI2a7wHrVpaixW6epYMOQ4d/MD+XDqrjXY PevjCPvYUWI2CqVV0RxlqvjFgW2evyyec5azFmRraoBVffqUSZIy+doxMXCSRby386eW c9Rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=KmAgqVVxy2sciI3OFzK0OTHBiSbZD0AJ5BiwZT8RJYg=; fh=Kxuo+MmRBGVXeykMqLnQdhw0QqaBgQTMXg1mD1dVoWg=; b=YMO1/S+mjHpCe/t0dEXNrejRBU83LDz8OFkGc1rk5Fe6F3tqCn0PojQ1TZL6IFgCki RlbSnlTfbT1nNKfQvAaDorSt0+Irm5vQXQb1ByXTW3JgeOxcfeCGaSVrpSOCGbodNc5z hbfRX9fTUWTHS7SGcoK+9Few7kIL2lQPnQqmo3d4IH+ePSVREHLmNgH+CfdtJLx5L+v3 nf/N3lVpFywYZe2L+z3Y8jY5mzkqjCMuJJ5ZeZQlWbqkWaCXtLnkVSZi62w5MmvUggpr atXdZC64rggUsSTX7caHyX+eYmhvGOEOKiJ4BrDwF5lf76zxw5QOtmpl7mPCcXpWQaxI Ih4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EVNerFQz; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78871-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78871-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bp44-20020a05620a45ac00b00785d97bdedbsi17581030qkb.186.2024.02.23.09.37.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:37:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78871-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EVNerFQz; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78871-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78871-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C1A611C20A4F for ; Fri, 23 Feb 2024 17:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DAF9814DFF0; Fri, 23 Feb 2024 17:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="EVNerFQz" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 D3BD71E503 for ; Fri, 23 Feb 2024 17:31:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709472; cv=none; b=C6KSN7j84Nbmf/cfvD69jrrYTxZpe9sFnrUPyRSLaQZYibZ5NTU0Ue1BuHWCs3HvBqBa3AVMvd2fjFuQDnMPtJGVNMjBXs/4Eg2X6FmD7U6+vtXORQScXly2xl0ydbKGs9uCtQ7dZzzN7cbylYAG3wkDbUy+79YvLTFx8hzZ2wY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709472; c=relaxed/simple; bh=MzE6ItZ/794POonRjSZ60qB1SlzVtmy0+kfDCLFkHkw=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bdXg1iRH8n56lT1SkxXhzSRk3LQ2El0Hd50ALuFwhppP2GHFou29W5D8/clWzXZXIsiLA26cgyiRk8e6QREpNrHf5QmnrzclXCoZyTNxOSiBv1r+dCyyjwB3f0lZ+meYponNA3mKTf0//magsnadEs5ALGliHBf6SE4HI2OOJfg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=EVNerFQz; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709470; x=1740245470; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=MzE6ItZ/794POonRjSZ60qB1SlzVtmy0+kfDCLFkHkw=; b=EVNerFQz31XXh4J8lsqemE6KZNDtz3zUsLw5NFajh4qLEN9tQpAOJmgc hC9b0LwbLMjnARI9+k78EugFUmflzTt/Pz0BQK8SmYw5I7LEb3a6O8J4O B45SZtF6NFknhpxHPmhWsd/4Z4z7usSaSP2tw1JaBuerrZSZubgjYXdte P2Bd/cLsqa4dxaPd9UygCfqEtJiZQX+bWu3owle4SEYSLS3jNbKt4R0bE rKpmj4T1EEpTM8y4q1sqskn6cmkwI1XKDfXM8qsJmlBIpPQr4749lale1 lXrYs5v4P3kxHc9iUP+02GU4/8rPAHOfQp0OBxrlbCHmc3NX9no1BpkxO g==; X-CSE-ConnectionGUID: HW6DC9r8Rxq9ZVuQvdhHkA== X-CSE-MsgGUID: nwDNCmYJTEWmtglnSsY7yw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276496" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:31:09 -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.35; Fri, 23 Feb 2024 10:30:50 -0700 Received: from che-lt-i67070.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.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:45 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , Subject: [PATCH v4 36/39] ARM: configs: at91: enable config flags for sam9x7 SoC family Date: Fri, 23 Feb 2024 23:00:43 +0530 Message-ID: <20240223173043.673442-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712134372926394 X-GMAIL-MSGID: 1791712134372926394 Enable config flags for SAM9X7 SoC for the sam9x7 SoC family. Signed-off-by: Varshini Rajendran --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 1d53aec4c836..880f0c0f4cc3 100644 --- a/arch/arm/configs/at91_dt_defconfig +++ b/arch/arm/configs/at91_dt_defconfig @@ -16,6 +16,7 @@ CONFIG_ARCH_AT91=y CONFIG_SOC_AT91RM9200=y CONFIG_SOC_AT91SAM9=y CONFIG_SOC_SAM9X60=y +CONFIG_SOC_SAM9X7=y # CONFIG_ATMEL_CLOCKSOURCE_PIT is not set CONFIG_AEABI=y CONFIG_UACCESS_WITH_MEMCPY=y From patchwork Fri Feb 23 17:30:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205587 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp737138dyb; Fri, 23 Feb 2024 09:37:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuKWN3oNxSoFUsDKDjUiU3/wpsp0NTCellqCd+EvRpXSnAz3i/wpFU39qst1jIS+nqhkv6exifBx9ahbEyLp1mRL7OOw== X-Google-Smtp-Source: AGHT+IEbhW7iSUpXchgI0SUVn/wg7VCYfbLePdBynjdHLmCevRmNTz9WJTAQk3aRrWt0xQAJqPf5 X-Received: by 2002:a05:6a00:4f09:b0:6e4:61ab:76e7 with SMTP id lb9-20020a056a004f0900b006e461ab76e7mr404991pfb.8.1708709860012; Fri, 23 Feb 2024 09:37:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709859; cv=pass; d=google.com; s=arc-20160816; b=mRCMqkYwD/3ODxB7Ia6IuAmoBIDqxCrcNqk3+Rbl9v7RwPnw2zSMv040auqnperpo+ nMXwgsdxqzH1B8r8L2NH6VPZu+hxgpfnTD2Py9LauKyBq9vFyh9nu2Z30TiLRC6Y+2bs InX04ScZua3NVYalwrEPLdkX9fW2QiCeTPjPez7ZO3cd6UQNjw6QtqfXb3ZDF4D3oYys XTjG968xWCcctGQyq/8LNEvBjDhxl9jbkRqVwH9eqPZhq94rxtqj19P4o+LnQWuBs4QN 3ieGwuI2ukgtASdy6E0KTSqP82wR7YiUU+sU64Iz7Wx8CRIQBsxpcQNISKkayR2bF7Fb 4Zrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=vZY3aWyyQvTjOz+QyJZa9tKng3qUiRNwFJrdH3i8OBg=; fh=D/yV6KQV0ku3/5d4DtJ4CBFqDwwQanNTYJr2SAvWNPU=; b=Jm80TuHyvAV4cDc9rsL42dyfOP7l5esvsxWionE3v9FpbPoBCuaI5F+RXW99PTVSp+ 2+g+UqaFva+heZ5J2TWtNJY3T//aGf0nlKo/7PCe6+C2xOCNRPx6Jd9M4SRV9hjVNttE tmN6zA3HrJGrCFV148bu7SOdZ1Yw2xXj79e9E0n6YkdiZe1sxYXukHMAU5p/ZWp3baR8 pFdfkriHAQSdnIEqmHJeHKJfcv8VloJYoTC5VfXrpGy26pOKTV+yMn+MdHFRIAY50bJI hHYxIeNdHk0fVaXaf06YKUsuCljyz/+EsG++ZzlTVe/M1eqEtMZYVIS7/obCqUTcGGi8 OYxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=BQdfFnjL; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78872-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78872-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z8-20020aa78888000000b006e034ecf899si10109257pfe.390.2024.02.23.09.37.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:37:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78872-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=BQdfFnjL; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78872-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78872-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C31862863EE for ; Fri, 23 Feb 2024 17:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1136813956E; Fri, 23 Feb 2024 17:31:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="BQdfFnjL" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 68DE212CD95; Fri, 23 Feb 2024 17:31:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709475; cv=none; b=UqoIcEPsHnQ7q5AWHTMCq1MXVbRNVU43IdxBE3ewBXLE68EXyhpxTdjGrm5Ho2xYBTu0B73Jthn5Xr2inFT+Pv2riyDNxOHF07qJ0sbVUB+fNKYVe6kUeRqvuOWabpKzV8QqLdUVBw/kVgKndIHhS5PMcYnI6LItfmcS5s6HFIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709475; c=relaxed/simple; bh=BCaSQY2WoNEMZ6Zsf2lTcrqJLQXnpQAbcQzag5jdoI0=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YIAsUf54UF54X8tF+6yyUdNheGojZnmNLwg56ziYmwaPCtv0I1S5JuuZ2relMq3eGx6xCYqsas+cqpopwHLku743FG2BlFmwmzN/2nRdHaHkIbda0QitF2QvCMAvsK82d1/pqeJoMjQZbHPqwdImHUByl9jpiPJ88Dj1Hk0bpOU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=BQdfFnjL; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709472; x=1740245472; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=BCaSQY2WoNEMZ6Zsf2lTcrqJLQXnpQAbcQzag5jdoI0=; b=BQdfFnjLwNZOXJDudkuuc2/9lS5hMCC1y2x4cE5y4TNkoMPG8Jpv35Kk yF6bXnejWFPu/zyB1Z9+KBt67wCfQUoY3/uA2p+qwhWCVrO09RONVzYdQ HgCjgDVStG1PD+etGU18HQGfUbyCzksZntWqIEL6BSc/1Zc6RGgFV3unx QhiGHN+3ReLgs2Pg8+XtODgOYBPYxNM3CLyyLAIqbkDc9oBDLI5vng0iN C4SaJRpciff/0cLp7fD4i1t0jFbQ7zEzjNH2Kr8Crv++naYzW8C7gGwGR c8UY4OD+Jk14TRMlJDijQX7+yWfNyEFrkVbYga3ZUJQ4kAgO4VC0SsBZX A==; X-CSE-ConnectionGUID: HW6DC9r8Rxq9ZVuQvdhHkA== X-CSE-MsgGUID: n1IRNDTGTBiN7KlvrZuN5Q== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="18276499" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:31:10 -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.35; Fri, 23 Feb 2024 10:30:59 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:30:57 -0700 From: Varshini Rajendran To: , , , , , , Subject: [PATCH v4 37/39] ARM: dts: at91: sam9x7: add device tree for SoC Date: Fri, 23 Feb 2024 23:00:51 +0530 Message-ID: <20240223173051.673490-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712150151507778 X-GMAIL-MSGID: 1791712150151507778 Add device tree file for SAM9X7 SoC family. Co-developed-by: Nicolas Ferre Signed-off-by: Nicolas Ferre Signed-off-by: Varshini Rajendran --- Changes in v4: - Added pwm node support - Added microchip,nr-irqs to the interrupt-controller node for the driver to fetch the NIRQs - Dropped USB nodes owing to the discussion here https://lore.kernel.org/linux-devicetree/CAL_JsqJ9PrX6fj-EbffeJce09MXs=B7t+KS_kOinxaRx38=WxA@mail.gmail.com/ (Explained elaborartely in the cover letter) --- arch/arm/boot/dts/microchip/sam9x7.dtsi | 1214 +++++++++++++++++++++++ 1 file changed, 1214 insertions(+) create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi diff --git a/arch/arm/boot/dts/microchip/sam9x7.dtsi b/arch/arm/boot/dts/microchip/sam9x7.dtsi new file mode 100644 index 000000000000..ddbeb456bb59 --- /dev/null +++ b/arch/arm/boot/dts/microchip/sam9x7.dtsi @@ -0,0 +1,1214 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * sam9x7.dtsi - Device Tree Include file for Microchip SAM9X7 SoC family + * + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries + * + * Author: Varshini Rajendran + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +/ { + #address-cells = <1>; + #size-cells = <1>; + model = "Microchip SAM9X7 SoC"; + compatible = "microchip,sam9x7"; + interrupt-parent = <&aic>; + + aliases { + serial0 = &dbgu; + gpio0 = &pioA; + gpio1 = &pioB; + gpio2 = &pioC; + gpio3 = &pioD; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "arm,arm926ej-s"; + device_type = "cpu"; + reg = <0>; + }; + }; + + clocks { + slow_xtal: clock-slowxtal { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + main_xtal: clock-mainxtal { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + }; + + sram: sram@300000 { + compatible = "mmio-sram"; + reg = <0x300000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x300000 0x10000>; + }; + + ahb { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sdmmc0: mmc@80000000 { + compatible = "microchip,sam9x7-sdhci", "microchip,sam9x60-sdhci"; + reg = <0x80000000 0x300>; + interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>; + clock-names = "hclock", "multclk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 12>; + assigned-clock-rates = <100000000>; + status = "disabled"; + }; + + sdmmc1: mmc@90000000 { + compatible = "microchip,sam9x7-sdhci", "microchip,sam9x60-sdhci"; + reg = <0x90000000 0x300>; + interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>; + clock-names = "hclock", "multclk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 26>; + assigned-clock-rates = <100000000>; + status = "disabled"; + }; + }; + + apb { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + flx4: flexcom@f0000000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf0000000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf0000000 0x800>; + status = "disabled"; + + uart4: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(8))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(9))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi4: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(8))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(9))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c4: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(8))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(9))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx5: flexcom@f0004000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf0004000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf0004000 0x800>; + status = "disabled"; + + uart5: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(10))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(11))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi5: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(10))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(11))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c5: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(10))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(11))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + dma0: dma-controller@f0008000 { + compatible = "microchip,sam9x7-dma", "atmel,sama5d4-dma"; + reg = <0xf0008000 0x1000>; + interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; + #dma-cells = <1>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 20>; + clock-names = "dma_clk"; + status = "disabled"; + }; + + ssc: ssc@f0010000 { + compatible = "microchip,sam9x7-ssc", "atmel,at91sam9g45-ssc"; + reg = <0xf0010000 0x4000>; + interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(38))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(39))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 28>; + clock-names = "pclk"; + status = "disabled"; + }; + + i2s: i2s@f001c000 { + compatible = "microchip,sam9x7-i2smcc", "microchip,sam9x60-i2smcc"; + reg = <0xf001c000 0x100>; + interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(36))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(37))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&pmc PMC_TYPE_GCK 34>; + clock-names = "pclk", "gclk"; + status = "disabled"; + }; + + flx11: flexcom@f0020000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf0020000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 32>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf0020000 0x800>; + status = "disabled"; + + uart11: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(22))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(23))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 32>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c11: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 32>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(22))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(23))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx12: flexcom@f0024000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf0024000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 33>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf0024000 0x800>; + status = "disabled"; + + uart12: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(24))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(25))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 33>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c12: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 33>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(24))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(25))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + pit64b0: timer@f0028000 { + compatible = "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b"; + reg = <0xf0028000 0x100>; + interrupts = <37 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 37>, <&pmc PMC_TYPE_GCK 37>; + clock-names = "pclk", "gclk"; + }; + + sha: crypto@f002c000 { + compatible = "microchip,sam9x7-sha", "atmel,at91sam9g46-sha"; + reg = <0xf002c000 0x100>; + interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(34))>; + dma-names = "tx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; + clock-names = "sha_clk"; + }; + + trng: rng@f0030000 { + compatible = "microchip,sam9x7-trng", "microchip,sam9x60-trng"; + reg = <0xf0030000 0x100>; + interrupts = <38 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 38>; + status = "disabled"; + }; + + aes: crypto@f0034000 { + compatible = "microchip,sam9x7-aes", "atmel,at91sam9g46-aes"; + reg = <0xf0034000 0x100>; + interrupts = <39 IRQ_TYPE_LEVEL_HIGH 0>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(32))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(33))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; + clock-names = "aes_clk"; + }; + + tdes: crypto@f0038000 { + compatible = "microchip,sam9x7-tdes", "atmel,at91sam9g46-tdes"; + reg = <0xf0038000 0x100>; + interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(31))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(30))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 40>; + clock-names = "tdes_clk"; + }; + + classd: classd@f003c000 { + compatible = "microchip,sam9x7-classd", "atmel,sama5d2-classd"; + reg = <0xf003c000 0x100>; + interrupts = <42 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(35))>; + dma-names = "tx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&pmc PMC_TYPE_GCK 42>; + clock-names = "pclk", "gclk"; + status = "disabled"; + }; + + pit64b1: timer@f0040000 { + compatible = "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b"; + reg = <0xf0040000 0x100>; + interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 58>, <&pmc PMC_TYPE_GCK 58>; + clock-names = "pclk", "gclk"; + }; + + can0: can@f8000000 { + compatible = "bosch,m_can"; + reg = <0xf8000000 0x100>, <0x300000 0x7800>; + reg-names = "m_can", "message_ram"; + interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0 + 68 IRQ_TYPE_LEVEL_HIGH 0>; + interrupt-names = "int0", "int1"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_GCK 29>; + clock-names = "hclk", "cclk"; + assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_GCK 29>; + assigned-clock-rates = <480000000>, <40000000>; + assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_CORE PMC_UTMI>; + bosch,mram-cfg = <0x3400 0 0 64 0 0 32 32>; + status = "disabled"; + }; + + can1: can@f8004000 { + compatible = "bosch,m_can"; + reg = <0xf8004000 0x100>, <0x300000 0xbc00>; + reg-names = "m_can", "message_ram"; + interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0 + 69 IRQ_TYPE_LEVEL_HIGH 0>; + interrupt-names = "int0", "int1"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 30>, <&pmc PMC_TYPE_GCK 30>; + clock-names = "hclk", "cclk"; + assigned-clocks = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_GCK 30>; + assigned-clock-rates = <480000000>, <40000000>; + assigned-clock-parents = <&pmc PMC_TYPE_CORE PMC_UTMI>, <&pmc PMC_TYPE_CORE PMC_UTMI>; + bosch,mram-cfg = <0x7800 0 0 64 0 0 32 32>; + status = "disabled"; + }; + + tcb: timer@f8008000 { + compatible = "microchip,sam9x7-tcb","atmel,sama5d2-tcb", "simple-mfd", "syscon"; + reg = <0xf8008000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_GCK 17>, <&clk32k 0>; + clock-names = "t0_clk", "gclk", "slow_clk"; + status = "disabled"; + }; + + flx6: flexcom@f8010000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8010000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8010000 0x800>; + status = "disabled"; + + uart6: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(12))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(13))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c6: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 9>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(12))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(13))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx7: flexcom@f8014000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8014000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8014000 0x800>; + status = "disabled"; + + uart7: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(14))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(15))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c7: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 10>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(14))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(15))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx8: flexcom@f8018000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8018000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8018000 0x800>; + status = "disabled"; + + uart8: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(16))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(17))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c8: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 11>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(16))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(17))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx0: flexcom@f801c000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf801c000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf801c000 0x800>; + status = "disabled"; + + uart0: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(0))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(1))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi0: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(0))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(1))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c0: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(0))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(1))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx1: flexcom@f8020000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8020000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8020000 0x800>; + status = "disabled"; + + uart1: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(2))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(3))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi1: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(2))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(3))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c1: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 6>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(2))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(3))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx2: flexcom@f8024000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8024000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8024000 0x800>; + status = "disabled"; + + uart2: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(4))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(5))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi2: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(4))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(5))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c2: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(4))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(5))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx3: flexcom@f8028000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8028000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8028000 0x800>; + status = "disabled"; + + uart3: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(6))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(7))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + spi3: spi@400 { + compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi"; + reg = <0x400 0x200>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; + clock-names = "spi_clk"; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(6))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(7))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c3: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 8>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(6))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(7))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + gmac: ethernet@f802c000 { + compatible = "microchip,sam9x7-gem", "microchip,sama7g5-gem" ; + reg = <0xf802c000 0x1000>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 0 */ + 60 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 1 */ + 61 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 2 */ + 62 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 3 */ + 63 IRQ_TYPE_LEVEL_HIGH 3 /* Queue 4 */ + 64 IRQ_TYPE_LEVEL_HIGH 3>; /* Queue 5 */ + clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_GCK 24>, <&pmc PMC_TYPE_GCK 67>; + clock-names = "hclk", "pclk", "tx_clk", "tsu_clk"; + assigned-clocks = <&pmc PMC_TYPE_GCK 67>; + status = "disabled"; + }; + + pwm0: pwm@f8034000 { + compatible = "microchip,sam9x7-pwm", "microchip,sam9x60-pwm"; + reg = <0xf8034000 0x300>; + interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 18>; + #pwm-cells = <3>; + status= "disabled"; + }; + + flx9: flexcom@f8040000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8040000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8040000 0x800>; + status = "disabled"; + + uart9: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(18))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(19))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c9: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 15>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(18))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(19))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + flx10: flexcom@f8044000 { + compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom"; + reg = <0xf8044000 0x200>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0xf8044000 0x800>; + status = "disabled"; + + uart10: serial@200 { + compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(20))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(21))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; + clock-names = "usart"; + atmel,use-dma-rx; + atmel,use-dma-tx; + atmel,fifo-size = <16>; + status = "disabled"; + }; + + i2c10: i2c@600 { + compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c"; + reg = <0x600 0x200>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 16>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(20))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | + AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(21))>; + dma-names = "tx", "rx"; + atmel,fifo-size = <16>; + status = "disabled"; + }; + }; + + sfr: sfr@f8050000 { + compatible = "microchip,sam9x7-sfr", "microchip,sam9x60-sfr", "syscon"; + reg = <0xf8050000 0x100>; + }; + + matrix: matrix@ffffde00 { + compatible = "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon"; + reg = <0xffffde00 0x200>; + }; + + pmecc: ecc-engine@ffffe000 { + compatible = "microchip,sam9x7-pmecc", "atmel,at91sam9g45-pmecc"; + reg = <0xffffe000 0x300>, + <0xffffe600 0x100>; + }; + + mpddrc: mpddrc@ffffe800 { + compatible = "microchip,sam9x7-ddramc", "atmel,sama5d3-ddramc"; + reg = <0xffffe800 0x200>; + clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_CORE PMC_MCK>; + clock-names = "ddrck", "mpddr"; + }; + + smc: smc@ffffea00 { + compatible = "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon"; + reg = <0xffffea00 0x100>; + }; + + aic: interrupt-controller@fffff100 { + compatible = "microchip,sam9x7-aic", "microchip,sam9x60-aic"; + reg = <0xfffff100 0x100>; + #interrupt-cells = <3>; + interrupt-controller; + atmel,external-irqs = <31>; + microchip,nr-irqs = <70>; + }; + + dbgu: serial@fffff200 { + compatible = "microchip,sam9x7-dbgu", "microchip,sam9x7-usart", "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; + reg = <0xfffff200 0x200>; + atmel,usart-mode = ; + interrupts = <47 IRQ_TYPE_LEVEL_HIGH 7>; + dmas = <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(28))>, + <&dma0 + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) | + AT91_XDMAC_DT_PERID(29))>; + dma-names = "tx", "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 47>; + clock-names = "usart"; + status = "disabled"; + }; + + pinctrl: pinctrl@fffff400 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "microchip,sam9x7-pinctrl", "microchip,sam9x60-pinctrl", "simple-mfd"; + ranges = <0xfffff400 0xfffff400 0x800>; + + /* mux-mask corresponding to sam9x7 SoC in TFBGA228L package */ + atmel,mux-mask = < + /* A B C D */ + 0xffffffff 0xffffefc0 0xc0ffd000 0x00000000 /* pioA */ + 0x07ffffff 0x0805fe7f 0x01ff9f80 0x06078000 /* pioB */ + 0xffffffff 0x07dfffff 0xfa3fffff 0x00000000 /* pioC */ + 0x00003fff 0x00003fe0 0x0000003f 0x00000000 /* pioD */ + >; + + pioA: gpio@fffff400 { + compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio"; + reg = <0xfffff400 0x200>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; + }; + + pioB: gpio@fffff600 { + compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio"; + reg = <0xfffff600 0x200>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>; + #gpio-cells = <2>; + gpio-controller; + #gpio-lines = <26>; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; + }; + + pioC: gpio@fffff800 { + compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio"; + reg = <0xfffff800 0x200>; + interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>; + #gpio-cells = <2>; + gpio-controller; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 4>; + }; + + pioD: gpio@fffffa00 { + compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio"; + reg = <0xfffffa00 0x200>; + interrupts = <44 IRQ_TYPE_LEVEL_HIGH 1>; + #gpio-cells = <2>; + gpio-controller; + #gpio-lines = <22>; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 44>; + }; + }; + + pmc: clock-controller@fffffc00 { + compatible = "microchip,sam9x7-pmc", "syscon"; + reg = <0xfffffc00 0x200>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + #clock-cells = <2>; + clocks = <&clk32k 1>, <&clk32k 0>, <&main_xtal>; + clock-names = "td_slck", "md_slck", "main_xtal"; + }; + + reset_controller: reset-controller@fffffe00 { + compatible = "microchip,sam9x7-rstc", "microchip,sam9x60-rstc"; + reg = <0xfffffe00 0x10>; + clocks = <&clk32k 0>; + }; + + power_management: power-management@fffffe10 { + compatible = "microchip,sam9x7-shdwc", "microchip,sam9x60-shdwc"; + reg = <0xfffffe10 0x10>; + clocks = <&clk32k 0>; + #address-cells = <1>; + #size-cells = <0>; + atmel,wakeup-rtc-timer; + atmel,wakeup-rtt-timer; + status = "disabled"; + }; + + rtt: rtc@fffffe20 { + compatible = "microchip,sam9x7-rtt", "atmel,at91sam9260-rtt"; + reg = <0xfffffe20 0x20>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&clk32k 0>; + }; + + clk32k: sckc@fffffe50 { + compatible = "microchip,sam9x7-sckc", "microchip,sam9x60-sckc"; + reg = <0xfffffe50 0x4>; + clocks = <&slow_xtal>; + #clock-cells = <1>; + }; + + gpbr: syscon@fffffe60 { + compatible = "microchip,sam9x7-gbpr", "atmel,at91sam9260-gpbr", "syscon"; + reg = <0xfffffe60 0x10>; + }; + + rtc: rtc@fffffea8 { + compatible = "microchip,sam9x7-rtc", "microchip,sam9x60-rtc"; + reg = <0xfffffea8 0x100>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&clk32k 0>; + }; + + watchdog: watchdog@ffffff80 { + compatible = "microchip,sam9x7-wdt", "microchip,sam9x60-wdt"; + reg = <0xffffff80 0x24>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; + status = "disabled"; + }; + }; +}; From patchwork Fri Feb 23 17:31:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205589 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp737399dyb; Fri, 23 Feb 2024 09:38:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfdbfPulavvYV1FtW28+qWnqv14Pj5Axz5C0j7mxWXCqOZcqTlChVK63KfTB9dWTMqHlR8pYbQX+r7sUbdHrrRC6hV5g== X-Google-Smtp-Source: AGHT+IGI/QCTOu20EVVjUDWcRj6V7nhTZBYzteKoD7XeYw5MYn2vbr5qeHv0gsfO4uTdCmEVkoS1 X-Received: by 2002:a17:902:d512:b0:1dc:737f:401e with SMTP id b18-20020a170902d51200b001dc737f401emr533947plg.18.1708709888759; Fri, 23 Feb 2024 09:38:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709888; cv=pass; d=google.com; s=arc-20160816; b=I/NnCNGTNulKnNqI8eJCHBK47M9WrHZOQElsl8WgaKJC4IeDkbq5ZAIwv6gxb9BXOi vBraVwpUxkyrL4/+xR4lBjzLdq7MaixmPhvI35BYhpMR4aFvG+3o5YjSrYpdkUm+DkMX WTPnegot2vv5WxwiWefhF8Lg/8axN4o8rFEQUrMcZJjaqzlshRYcm0RUOg4qcvnIcC+1 PIHVGFO960JBD5wQsihxFmLu0hPRO1WrovwaFbuMFuQnwz6Yh1aIl9dBZKrjwZuVoLTP 2LpIDowbJBulhQ2k2qUn5w8rXcpIilAny9QBvLehdJ0sx/qGKaA+PAOm5RiwHU+vSIp5 +qLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=zmmXwKKzaQiMz9PPW4nh9vustpkuaU4EOwjqaMWvPbY=; fh=4gv/usgyd36MfqNvkOGKenh/n6AaJmw4c+40DNxNgbs=; b=jldMEIX/gKMUBgbAxTvFNrH7DRGZhIThOQqB1E7ffjLWP8rHxWPMAw7+b4btL4oxvf 1wiTNTqXMz29+N7RFQfj8jtT98gs0ulZ50JheiG4WSKZ6C5DW1fy6lpln9l4ZETkkvOP GI7JoBgNptmLyLFT10hwSf/HZVIaRassy75tL9PDF8ACr6xlsSPDDFdzlIGcELM3s1BR +LSWCvaCDOVZ15H/BuM8vl/+8nlVByZrOY4gmenw1Ma7xi3Ofg0rSW2S3qTrq1+LF7sF E6EDbGR35uuZiL5pmFYRzSKHFmkN8OlhJy2e1uVXW9uphmSKDSybpV1fhFmpG4McRmv+ Zfig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="sJQ8j/wf"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78874-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78874-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m7-20020a170902db0700b001d987570ba0si12914873plx.135.2024.02.23.09.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:38:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78874-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="sJQ8j/wf"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78874-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78874-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 928A8287561 for ; Fri, 23 Feb 2024 17:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3F5914E2E8; Fri, 23 Feb 2024 17:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="sJQ8j/wf" 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 224811339B6; Fri, 23 Feb 2024 17:31:39 +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=1708709501; cv=none; b=tDsP4sSLauvaTLaF3+r7kD8HD57f/ZNq88cz4zl78uSTodHg/INsQ+dfOHemuVeqJ6t5TM/4sQimbROww4or/4lz/h2uc+K8flU3LawoGcyDmNFeAzAjCKWeMTyG6PEptpnRx8vGLwL1Vdhzl5CpalAiz2mQF0rZfAHEABidVDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709501; c=relaxed/simple; bh=NQDjiuxhF58mXKyJWxYmj/hWyCK7vQdrQN7AeSUfKd8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=THycquKGhKCGz7eHch+L4btETHAL3E7+x8tfhh25Spgw6S4luDyiR5qD3k0ba9mb/Jjk4ZSrE3eNvYrPaWGFJmQbNkGdPArSaIn4TcRMPWv61VqFX4zDVqqiMlx3h/n06PDsB+kBOfB6BguC6SUoOmA0CZfujfV4P8XuwRiBqvc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=sJQ8j/wf; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709500; x=1740245500; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=NQDjiuxhF58mXKyJWxYmj/hWyCK7vQdrQN7AeSUfKd8=; b=sJQ8j/wfx1oMty+s1BjuQc3vif4kzDVVIUuE2IRXhHqnWk5hWfJsNfu2 GDjB/xTlxmOzTBHyXhQD5rdD5r3dqmOS+RYxWs9bnKAUeK7lOFv8kb/I8 iG3THTB6qNF2i+4TYHQ6vtnMS5A1JAWzdzcVovfYWneg522p8pgfXG6qE D6kv0xmLbIWI/Iuw12f4fHCO+8VdSF+pzkeBlCdZxZ+PB7/HJGOqO4Z72 LC2JLSIEnNIn+3bZc0HY4QpcagttnH6kIatDj+gqJrCCSh0AkH/jRs/1N gcgOlBfy+VE8YjiCYI8PIwp2gXmn0FE9r9dY2Vs8/ZMGtSrWdyNfmOLi8 Q==; X-CSE-ConnectionGUID: cmnte8hcQ+amw+QRaFDAqQ== X-CSE-MsgGUID: /yQMBuK0QdWwiPxwTUPgng== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="17267535" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Feb 2024 10:31:39 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.35; Fri, 23 Feb 2024 10:31:12 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:31:07 -0700 From: Varshini Rajendran To: , , , , , , , , , , , Subject: [PATCH v4 38/39] dt-bindings: arm: add sam9x75 curiosity board Date: Fri, 23 Feb 2024 23:01:00 +0530 Message-ID: <20240223173100.673543-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712180134057941 X-GMAIL-MSGID: 1791712180134057941 Add documentation for SAM9X75 Curiosity board. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml index 89d75fbb1de4..d74d3a4701ac 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml @@ -106,6 +106,12 @@ properties: - const: microchip,sam9x60 - const: atmel,at91sam9 + - description: Microchip SAM9X7 Evaluation Boards + items: + - const: microchip,sam9x75-curiosity + - const: microchip,sam9x7 + - const: atmel,at91sam9 + - description: Nattis v2 board with Natte v2 power board items: - const: axentia,nattis-2 From patchwork Fri Feb 23 17:31:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 205588 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp737277dyb; Fri, 23 Feb 2024 09:37:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzymq2o9/kfYuIB0TgDZZnr/Tw7XBqiLytLczhLn5Gm5F5Eh4yJxbGcrVY8ZDS6sTiB8Bl6l3eNzjnxmrTK1ozGlkuuQ== X-Google-Smtp-Source: AGHT+IEfsiHNouZBybQzAw+Wgqrc4BxUq5VIUG5rDQFl/EE0TbtqfYZn/9VDP98To+SPTnySvL8X X-Received: by 2002:a05:622a:20f:b0:42e:2379:32f1 with SMTP id b15-20020a05622a020f00b0042e237932f1mr668258qtx.20.1708709875553; Fri, 23 Feb 2024 09:37:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708709875; cv=pass; d=google.com; s=arc-20160816; b=BLi1vbSaBXrGtxzzalT5C5IaXYuZkhPJVh6CMPumpwCxUW42FmU5EtgdrK8cVpTueG bixzMQwDQuU01DE56klwe0CEtZn336ba7Gxzj8UizOiDdcjoOG5qpKnyLRtoPCxquZV9 lzx5mM0q0XJ/ap4tWnji/WtEd/e5UEcw/wLVAniZtBpTCnaa2OX0Mi920Yypy92ALjik 6Cl4m0GP1q7s4N1WU8ojPScc/+lL8+TKxyetPaM6wdT/H/p3PnkA+oKY+egPRUuRYEwO ODUZcvFQvjeP3rweg5JyJAc2ZCnSB2wvinPYSz/5oCG4L5NoV/yS8i5PAinHkfIDLoOA c93A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=du2D4ODeajRsQPCVpTzRw50zcvwgFMOi7sWV5JA3P9s=; fh=F1Eocl4uDcd+6TrGcJJyIB5U3iuyaYYILKyPJY6f3i0=; b=1F+Dqi7am+Pi3eXtky+Wdjmjm7WgKrH//hffTRuH9piH/TwMxsyQMfxQivF3rj5jux CwIINkB3jkSSrTF2aQPPJeqLI9edX1MyTxE0duYRCYjWcN//VY04le2i50YMwR2QxGrh u1vi4pkp/tm8tfuG0+m8j5T0FEsOLpa4HzzMt6tV8rJFTGvmrgiTcENsYF5h+G/lRSrI vGsFsQrk4HzGxCiCFZKwjlwuKzmdWdBJETCtepOuxr+Uh6A9kP4r8vFdJl8Zyt75H/rK nkR6L0tZxLnrkZNucxH/y93xrGtKojiwrBd0kacxrzeAr6rmLaIrCYTSiyW255mTIx7f qHNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="Yyz/3AH9"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78873-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78873-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id oo19-20020a05620a531300b007873fe9f4d2si15727936qkn.259.2024.02.23.09.37.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:37:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78873-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="Yyz/3AH9"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-78873-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78873-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 49B691C24BD2 for ; Fri, 23 Feb 2024 17:37:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 959EB146E61; Fri, 23 Feb 2024 17:31:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Yyz/3AH9" 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 1D8EB12D763; Fri, 23 Feb 2024 17:31:29 +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=1708709491; cv=none; b=PlNLKs/2TKoHbTGjPtpUMvG9fMMn0bvBoqGwpTWsOrdLx3Tl/yXTVdm8xm7MP4E5TdQG/w35BHBrUFM/V7JX+psa6LOf6ckMe8VWMDjvCIaaJ99RNhl8uyckM6EaGlC4R7M0XgdHCQORyi6ni7EpFbWfS51gE0INKxDklGXZwuM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708709491; c=relaxed/simple; bh=Z1LIIhp3DdCr6uVt0lYpOJ62r9L9VOMxLwm9s8WfSCM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YAA2RT4GXIFoKykmtYb0iFHaSvEbMntbrp5g78ZpjgB71AnpdtiG0l8s/98ozN5TjfBdAKBroSrOtE7kA/2FQ6M0PbK62mw8Jv9pHfJ2s8y8I+szcO3SJp+CUyRVdme5zsBB0XVbbV/i2VhP1Zmhs/DZV20pkq6eu5cXwZ6kWNg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=Yyz/3AH9; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1708709490; x=1740245490; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=Z1LIIhp3DdCr6uVt0lYpOJ62r9L9VOMxLwm9s8WfSCM=; b=Yyz/3AH9DtaABAob1NiEBG8fx8mtzftTFaXd2QAlM5PT45xmRSsG+m1H bvwmKKRojyFqZZoff/AH1OkuMGUEjmiPsK4bknKzQOXqh5X/cigiWxJKo i95M9QeAsXlPOLx2V9VwiQgy+C0LxfJrEnGPCmCUda6frMPVDs7RuDnSF Yk107QcKWyijer3hUBJIWUfOo/IHMhTaJBHk8XO2pHNONC5oQpzc5sbZC vRUMKSY5l8FyNQfBthSnU6K6Y8eVg3df60NTLuzTk7k9EBNPUw/6E+jqY e0BQAm+gMarwHEVbg4uaoEtWSm1KfDNv1BiD0K9MgUPQSIzA/lNc1uHej w==; X-CSE-ConnectionGUID: PANU8h+pSKGuucnF8SuIjA== X-CSE-MsgGUID: mMuWETYZTSazwK3yGcOyIw== X-IronPort-AV: E=Sophos;i="6.06,180,1705388400"; d="scan'208";a="184009809" 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; 23 Feb 2024 10:31:29 -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.35; Fri, 23 Feb 2024 10:31:21 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 23 Feb 2024 10:31:16 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , Subject: [PATCH v4 39/39] ARM: dts: at91: sam9x75_curiosity: add sam9x75 curiosity board Date: Fri, 23 Feb 2024 23:01:13 +0530 Message-ID: <20240223173113.673595-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223171342.669133-1-varshini.rajendran@microchip.com> References: <20240223171342.669133-1-varshini.rajendran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791712166250905123 X-GMAIL-MSGID: 1791712166250905123 Add device tree file for sam9x75 curiosity board. Signed-off-by: Varshini Rajendran --- Changes in v4: - Removed full node paths - Renamed Leds with color names - Corrected regulator node names - Added support for classd and i2s nodes and their corresponding pinctrl nodes - Dropped USB nodes owing to the discussion here https://lore.kernel.org/linux-devicetree/CAL_JsqJ9PrX6fj-EbffeJce09MXs=B7t+KS_kOinxaRx38=WxA@mail.gmail.com/ (Explained elaborately in the cover letter) - Updated the linux,code property with the necessary value --- arch/arm/boot/dts/microchip/Makefile | 3 + .../dts/microchip/at91-sam9x75_curiosity.dts | 309 ++++++++++++++++++ 2 files changed, 312 insertions(+) create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts diff --git a/arch/arm/boot/dts/microchip/Makefile b/arch/arm/boot/dts/microchip/Makefile index efde9546c8f4..5b3d518da319 100644 --- a/arch/arm/boot/dts/microchip/Makefile +++ b/arch/arm/boot/dts/microchip/Makefile @@ -12,6 +12,7 @@ DTC_FLAGS_at91-sama5d3_eds := -@ DTC_FLAGS_at91-sama5d3_xplained := -@ DTC_FLAGS_at91-sama5d4_xplained := -@ DTC_FLAGS_at91-sama7g5ek := -@ +DTC_FLAGS_at91-sam9x75_curiosity := -@ dtb-$(CONFIG_SOC_AT91RM9200) += \ at91rm9200ek.dtb \ mpa1600.dtb @@ -59,6 +60,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ dtb-$(CONFIG_SOC_SAM9X60) += \ at91-sam9x60_curiosity.dtb \ at91-sam9x60ek.dtb +dtb-$(CONFIG_SOC_SAM9X7) += \ + at91-sam9x75_curiosity.dtb dtb-$(CONFIG_SOC_SAM_V7) += \ at91-kizbox2-2.dtb \ at91-kizbox3-hs.dtb \ diff --git a/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts new file mode 100644 index 000000000000..be37022d3d05 --- /dev/null +++ b/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts @@ -0,0 +1,309 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * at91-sam9x75_curiosity.dts - Device Tree file for Microchip SAM9X75 Curiosity board + * + * Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries + * + * Author: Varshini Rajendran + */ +/dts-v1/; +#include "sam9x7.dtsi" +#include + +/ { + model = "Microchip SAM9X75 Curiosity"; + compatible = "microchip,sam9x75-curiosity", "microchip,sam9x7", "atmel,at91sam9"; + + aliases { + i2c0 = &i2c6; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_key_gpio_default>; + + button-user { + label = "USER"; + gpios = <&pioC 9 GPIO_ACTIVE_LOW>; + linux,code = ; + wakeup-source; + }; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_led_gpio_default>; + + led-red { + label = "red"; + gpios = <&pioC 19 GPIO_ACTIVE_HIGH>; + }; + + led-green { + label = "green"; + gpios = <&pioC 21 GPIO_ACTIVE_HIGH>; + }; + + led-blue { + label = "blue"; + gpios = <&pioC 20 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; + + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x10000000>; + }; +}; + +&classd { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_classd>; + atmel,pwm-type = "diff"; + atmel,non-overlap-time = <10>; + status = "okay"; +}; + +&dbgu { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dbgu>; + status = "okay"; +}; + +&dma0 { + status = "okay"; +}; + +&flx6 { + atmel,flexcom-mode = ; + status = "okay"; +}; + +&i2c6 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flx6_default>; + i2c-analog-filter; + i2c-digital-filter; + i2c-digital-filter-width-ns = <35>; + status = "okay"; + + pmic@5b { + compatible = "microchip,mcp16502"; + reg = <0x5b>; + + regulators { + vdd_3v3: VDD_IO { + regulator-name = "VDD_IO"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3600000>; + regulator-initial-mode = <2>; + regulator-allowed-modes = <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-mode = <4>; + }; + + regulator-state-mem { + regulator-mode = <4>; + }; + }; + + vddioddr: VDD_DDR { + regulator-name = "VDD_DDR"; + regulator-min-microvolt = <1283000>; + regulator-max-microvolt = <1450000>; + regulator-initial-mode = <2>; + regulator-allowed-modes = <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-mode = <4>; + }; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-mode = <4>; + }; + }; + + vddcore: VDD_CORE { + regulator-name = "VDD_CORE"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1210000>; + regulator-initial-mode = <2>; + regulator-allowed-modes = <2>, <4>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-mode = <4>; + }; + + regulator-state-mem { + regulator-mode = <4>; + }; + }; + + vddcpu: VDD_OTHER { + regulator-name = "VDD_OTHER"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3600000>; + regulator-initial-mode = <2>; + regulator-allowed-modes = <2>, <4>; + regulator-ramp-delay = <3125>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + regulator-mode = <4>; + }; + + regulator-state-mem { + regulator-mode = <4>; + }; + }; + + vldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3700000>; + regulator-always-on; + + regulator-state-standby { + regulator-on-in-suspend; + }; + }; + + vldo2: LDO2 { + regulator-name = "LDO2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3700000>; + + regulator-state-standby { + regulator-on-in-suspend; + }; + }; + }; + }; +}; + +&i2s { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2s_default>; + #sound-dai-cells = <0>; + status = "disabled"; +}; + +&main_xtal { + clock-frequency = <24000000>; +}; + +&pinctrl { + + classd { + pinctrl_classd: classd { + atmel,pins = + ; + }; + }; + + dbgu { + pinctrl_dbgu: dbgu-0 { + atmel,pins = ; + }; + }; + + flexcom { + pinctrl_flx6_default: flx6-twi { + atmel,pins = + ; + }; + }; + + gpio-keys { + pinctrl_key_gpio_default: key-gpio-default { + atmel,pins = ; + }; + }; + + i2s { + pinctrl_i2s_default: i2s { + atmel,pins = + ; /* I2SMCK */ + }; + }; + + leds { + pinctrl_led_gpio_default: led-gpio-default { + atmel,pins = ; + }; + }; + + sdmmc0 { + pinctrl_sdmmc0_default: sdmmc0 { + atmel,pins = + ; /* PA5 DAT3 periph A with pullup */ + }; + }; + +}; /* pinctrl */ + +&rtt { + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; +}; + +&sdmmc0 { + bus-width = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sdmmc0_default>; + cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>; + disable-wp; + status = "okay"; +}; + +&slow_xtal { + clock-frequency = <32768>; +}; + +&power_management { + debounce-delay-us = <976>; + status = "okay"; + + input@0 { + reg = <0>; + }; +}; + +&trng { + status = "okay"; +}; + +&watchdog { + status = "okay"; +};