From patchwork Fri Jul 28 10:22:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331633 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4FF3C001E0 for ; Fri, 28 Jul 2023 10:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zgacRSeIZOWI9AHM02xapJvQ23AL6NyO1MSJ0O7+Z2s=; b=LFUbeuxaIiK90a RaFi1Z92bmV8i1J+nNxhJpzs1Lx2BSSZWw+yklbgfZwp28soZ9O4KsfWPrQSdSKDgei4J9vW1LxoT rt9dWXsiSvajBO25GbwidRX1yYEO+XxId2djy6EhhPciPt62iI2KbEnp8LMXZvEK0ZMUQqECpzIfH eQFDuIfgV5aU6EqNI3b9wMo62IEKjMrlApPtChkK44lpwSEUyA+uuutyPkLHJX5RGWk/uHGQNTCqw 14BBopt0CjMgnvaRx64tpM63Mwel8MQIMzmoqvLOiYXnD1JBcyZ+1IIXOvCR/2p1Exiq2k7I62KyR iyTRxJvj5r/nIC1yVz4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKd2-002u3f-0b; Fri, 28 Jul 2023 10:23:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKcx-002ty2-1R for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:23:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539799; x=1722075799; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=z8bPrfHdyCe3PLAOc0IGM9zltBj6HhwNodkZl406Bo8=; b=tkO24iE7Sr6qbMoGDF2ZexD2KHLpD6gGUnu6VZRegG0ZXc/VIY2O5vdo ZEaRZguU40ud/Wnwr5vw6cg6KFBFw/GC6L9WkAXRStp7P9V4/ZWPgqNk5 9g9RKX/eLTyUiFfznbTG/tcPEWzU/C12C/elLv5k16/bqGV2WFGBvwb3g VdscSHe7eoOWsoc6ohmNnvl5vfPfQFCXuNgV2fmgtaMH5+sgWd6CsqSqT /L373AJX96F+fhqJzLkpJkN/Q+cdllipTlxvG3s0rHm4KXKhkhUlUrhiW JizwJvWeP0iXfy+4icaxVIoF8Uh25wjRYbyJHrNh0dUQaql4QJedIKjKv g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225812856" 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/AES256-SHA256; 28 Jul 2023 03:23:18 -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.21; Fri, 28 Jul 2023 03:23:17 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:23:12 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , Subject: [PATCH v3 01/50] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible Date: Fri, 28 Jul 2023 15:52:56 +0530 Message-ID: <20230728102256.265291-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032319_495303_7DC4FC46 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sam9x60, sam9x7 compatible string support in the schema file. Signed-off-by: Varshini Rajendran --- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml index a46411149571..912aea5abcf0 100644 --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml @@ -15,13 +15,20 @@ description: | properties: compatible: - items: - - enum: - - atmel,at91rm9200-tcb - - atmel,at91sam9x5-tcb - - atmel,sama5d2-tcb - - const: simple-mfd - - const: syscon + oneOf: + - items: + - enum: + - atmel,at91rm9200-tcb + - atmel,at91sam9x5-tcb + - atmel,sama5d2-tcb + - microchip,sam9x60-tcb + - const: simple-mfd + - const: syscon + - items: + - const: microchip,sam9x7-tcb + - const: atmel,sama5d2-tcb + - const: simple-mfd + - const: syscon reg: maxItems: 1 From patchwork Fri Jul 28 10:23:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2B859C001DE for ; Fri, 28 Jul 2023 10:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2ZPO6pT9GbCfLTNafXWhsOUqWjb67B+D+TjOgI8d9ck=; b=pDYBZElfODuMgA dX8cgcVb/LKHax/HF9Re9WcqBFPnaimTa7x4mDRFVZ8MhG9GP5KUKWOYWQt00YerzuYovhdz43idt zSyGS8IGNN0dyijlPWqnKF4I9inv5c2FGXRZkaaVwUqSmWRmzcYns6VRMIzuTrGF4YaBoYRzk7nfc O5P/30Ys80bSu65JnK9xpHf7qksXEptQG4FAq30kUuZ0zuo6o2qisVkzY9RjT0+lF1kaTXxrXtCGI CFL5P/EXGkf9IJfKu7wwW2aia3/n4KahAilLOROXpCzEmc+ZFJEwP1prLgUqjDtwFuyW2pinmFTSW 5qPqWiZRqtKqYViHUd2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdo-002ukK-2J; Fri, 28 Jul 2023 10:24:12 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdf-002uc6-20 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539844; x=1722075844; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ch6RgJfqhfAwYMvEoDOuJaJigXGoS/6/cRArcIZcR10=; b=y6UsTJ4NRn2PQpE9QtlI4wG8e2OqmyBJpWUMwpaff5yZSs19kf7hGuqt D+vS6h0LnFsGxCjewDK5rtZREqnXvW1/lqav4UZCWXzRuN5BlCgZrc0nL YO4v20/6j0/rS08vn91eehOQPe4jcHzvP/byzseeMbU+LrDBRehZsqPrD Jo6IlHSpdDOopAPCibOxqIiL3NmSxyBVzwv/4supkXRoBqPR1jhBCpaa2 XfNPuWWg2Ooy6CkZnYpB1+KsnKfiRPSvz0QSiWPKTcN++gvRH9/L7dh+H +5XafmvOogAU6QJhJdT3NAzHQ4wtUiAb6zEelv8fxyNSK2YHTkMqKDs85 A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622739" 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/AES256-SHA256; 28 Jul 2023 03:24: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.21; Fri, 28 Jul 2023 03:23:49 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:23:44 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 04/50] dt-bindings: clk: at91: add sam9x7 Date: Fri, 28 Jul 2023 15:53:37 +0530 Message-ID: <20230728102337.265471-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032403_663762_D65FB0CA X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add bindings for SAM9X7's slow clock controller. Signed-off-by: Varshini Rajendran --- .../devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml b/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml index 7be29877e6d2..94b83047c3cf 100644 --- a/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml +++ b/Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml @@ -20,6 +20,9 @@ properties: - items: - const: microchip,sama7g5-sckc - const: microchip,sam9x60-sckc + - items: + - const: microchip,sam9x7-sckc + - const: microchip,sam9x60-sckc reg: maxItems: 1 From patchwork Fri Jul 28 10:23:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FFC2C001DE for ; Fri, 28 Jul 2023 10:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=93HVZy9DrBv3SPdP+059ijsLGOcuRWr+1Y/XACifI2c=; b=WXvnGfD+cAEN4x 2aApgWeshb83BfA5iZgH+urGxnvhpUslgnmDcQ2xUqW9vLoOnzIiGfTsThLy1Zz5NAZKL2gzDU5S3 CZyg5Brc++25VZB00RoqLL7rvJuYf/TMZZ79MDkxKcVtcVFWo5ql9KcS76M0axVkwGAaJgfCmCi3B qgeCN+bh6U1Khm+qZSGzt9LAph+XdY90WHLhP0PAwXlFb3LfzYUbfZRGUbgmuTOIeZmbvBWuR3CoZ tnKFl00y6eXqTZQ5GH5Kk3hDe8ACrYeUs+dsSew8xWSEBNA9tOdijy/ihgrS/Ka1pDbcGXN0UWMmC y9ZA9vXexs+/RewnvtrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdf-002uc7-2b; Fri, 28 Jul 2023 10:24:03 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdc-002uYb-0q for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539840; x=1722075840; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ym71mCDBgh8iICftYfFYdM9thEa3xk0aEvdvtshyHAc=; b=k0qSm1u2n5C2FzjX5B6NMT79s6EJr8pxmoQOlbJjS9M2YgISGJqFI0v9 4LaqsE2s0h+kqSm4Kze9TUkadk5wkRhjSxbhmSJ80/9oc8z6yFWbo4c9x 2iyeaubIdqMA7DZfvmzZcGQgoAmEkdwqKhd4zUWGCHac7jyrB4EhlhH2e eGhk1m4uZeJtP3HPz+wdNP19Brtcp7VZW3oM8kiH34i0ap2slIK6Lp3KY bh8MpePUHYfQdKnBeMXy/L9H4+DaX8tHsA+arSQ2qknVvDLULjWEbUvc2 E8jXbXa4fSyYgNoF6RX2w+6iZ2B44PNYL0C9ABO5lI1LxIHMRDM+jhaRO g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238400817" 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/AES256-SHA256; 28 Jul 2023 03:23:59 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:23:58 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:23:54 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 05/50] dt-bindings: clk: at91: add sam9x7 clock controller Date: Fri, 28 Jul 2023 15:53:50 +0530 Message-ID: <20230728102350.265520-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032400_332247_1D1DDB7D X-CRM114-Status: UNSURE ( 7.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add bindings for SAM9X7's pmc. Signed-off-by: Varshini Rajendran --- .../devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml b/Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml index c1bdcd9058ed..ce0d99503645 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: From patchwork Fri Jul 28 10:23:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331636 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CD97C0015E for ; Fri, 28 Jul 2023 10:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IxnTcv8oL82cCfAergihRj4IMp2YozxWImEXfR3mz1Y=; b=LEo8mkhgCYNWj0 hYCIqZ4hU6R1qRV0k5kEz7omaUwnyW/xqZjrp/SX/xe/Hi1+u+1a0z6Y0Afp9673Sn9jDHRzr6YQX mLNXxxjTDL++n3UqZnHao71KUDa5FSc8dB4DUZvAp2J9sJh4z6oq5RIZ6TD8q9I3/+6SK24F/GKrC Rfw7E98WkIhcDU5e2B86rhC6jSMCp6EwBU8UMOTHELBg/6UWDlSH8honPg0tScPFYf3Dd0mBoBHXH 0PR4b8j2OBtdUGVeSzpblnmMPpjsXxWYsmvA+bn7KRmLeyTazUWL3cAZ1trw1Qx87ANPYQr4fO0qO ygirf+s6jg23mbLCD68g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKe0-002uux-0B; Fri, 28 Jul 2023 10:24:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKds-002unV-1b for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539856; x=1722075856; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JrW+E9zmrfsGjX3oFaPkBn4A96r2qb4c8WZ4XYd4ADE=; b=x3Oe/Q4qOsxcY8IjL3yG4JnY4gK6AHmTirE8vG0bbDs09kUK9jin+p8G 3nsztQtJ1+hWjzFJXnr4WYEmZVzqv6Sb4wo4MH7FXSbs1Mbn3iNUGZtBf LmQ0HUh3yxlyI5YVWstzWWCKKeMxWGdmFyYsLZdX2rZtqaLQdM8yvrOsZ edT20K5C0xxNKpEFuemLdIMsOKY2vBITSJ84BxyrK391DZ1id7hAMqUqd nXW1Y08fNgSIgUdms3axARibCcruETRHLYktqvmM3qRX2dqNiBpzG8ReJ wCrxaXWlvwAdTb9DQ60uvKToZSHh26UzWzVwOL68L97FPF1sy4DNbmm8D g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712478" 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/AES256-SHA256; 28 Jul 2023 03:24:13 -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.21; Fri, 28 Jul 2023 03:24:06 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:02 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v3 06/50] dt-bindings: reset: atmel,at91sam9260-reset: add sam9x7 Date: Fri, 28 Jul 2023 15:53:59 +0530 Message-ID: <20230728102359.265568-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032416_806097_F7698D9F X-CRM114-Status: UNSURE ( 7.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add documentation for SAM9X7 reset controller. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski Acked-by: Philipp Zabel --- .../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 Jul 28 10:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331637 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65170C001E0 for ; Fri, 28 Jul 2023 10:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=alUep7zlYn6nWJbtZ2OlpxVtP05jJPYBD3095X3wd78=; b=O3/M74ni8fN6U5 BR2InjsVRM7uwlOVKaqS1fx/MU2FBJgUwqkNCjv7LCAlCQv/Nq8vvuK6+uX5Oiv8Fb7acsm23qet8 5ydudL7khLpaVdZj2Zmekh2j2lFkbeYe6UDG2QFQfjyFh1AuG6Qog+lfzWLwqDXsATCqSVd7Nh8nP f55kX4fCZ7t6v7ilRs4kv55YzT6ekWeapndoB6saXVJ6+8MaEkjSWZgACOw27dX4axYhVr5EMShZ2 Vr4BKfKiIToGa7ivg2Vb+612tPHMQMZErNkYCmiw8T2/59JF6qoeUovjmy4c2rxQFUi7HJN8hFXga WWuJUuH2N39eCQnkoKzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdz-002uu9-1E; Fri, 28 Jul 2023 10:24:23 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdq-002um2-2i for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539854; x=1722075854; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0QaZS3L2UJX/OqrxdZfZKqcfVOJsQ3ebCPwt06q93PU=; b=ByrJFmfgQ/IHuOR12u8fljlPeS6cn/J6BjCfN7xGjStAB71G5hTRKxms eZrLnpspnIckogPr/5IHNlH9LPo9gG6Xfhl4/rKJB/uGCuWj6aBxd2aos MTGmkGKuYw4xdMc+PnRFwPn9BP6lp5As8vW0JnpCPU68hoWDKYPy2ygDE +TcYka/M9WFwDTdKY9j3Atg3t6NMrnnMtDFtjt6uAD5LusXqcSGIfJiqg KY1hp0lryvSvnGrYxJTnQO2qhYzlFngu3qAkY8jwaOQq5/NVXqlwjpH0R Fhe+h7NMynlKd7JlHv+6wV0O41BAMW/1SvOZjjmUcJPyigxvpnq/ZXXCj Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225812955" 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/AES256-SHA256; 28 Jul 2023 03:24:14 -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.21; Fri, 28 Jul 2023 03:24:13 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:09 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 07/50] dt-bindings: power: reset: atmel,sama5d2-shdwc: add sam9x7 Date: Fri, 28 Jul 2023 15:54:07 +0530 Message-ID: <20230728102407.265617-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032414_901500_3C3A5627 X-CRM114-Status: UNSURE ( 7.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add shutdown controller DT bindings. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski Acked-by: Sebastian Reichel --- .../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 Jul 28 10:24:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331638 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CCCBC001DE for ; Fri, 28 Jul 2023 10:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=x6GNJFZb5qn8HpLv8CvN3HAVMr2AZvPNYlu57STY/0w=; b=mSMhrU28f4vq1U OWpSKzGReaokqmLp91zJarnSxs63k1K/ybL4BkmK4z5se0+Yhc/1dZYXATZWR9QN0ZsoJCk2FnrzN za8rvL6R6MRbQPuf4PYn9CBTrV462X2e75GWPi4PkrHh/56zLLXJVed8TC6cgOVQRsXLUaHLlTnnE fJW4ODkEdQV2QqGDUn/26TLkpLXrC5VloCrxirplmIywyaeSon/8zsU0gTtWsnOTPVADKR9Z3MVSP uGALdyHqBvlBUMOrxUixtTCUIbaO6Ir2rySh6QL5Ws/xQ5nXJ/rGeXMniZ6amhgcAqSZuoJyG70AG EhF+K4LEHI0RWra0Rbmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKeH-002v8j-0c; Fri, 28 Jul 2023 10:24:41 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKdy-002usw-0J for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539863; x=1722075863; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=/3sXIUPjzYrz/PmPsWKLYQve9I+U2VFy5X/CCNE/2wE=; b=2B++US1MGxIFdiriPYGn6iOQ8IJYJ9kUApmJmfy8/M+H6r1uyNGkAmYv Iw3FOlPvKs98svpluGYIsyK/W3U9fmke08BEBkjTbrC0MROLLPv0GUI2V 7mU/x7AtNSBUcEiU4OzT3/+N3fJi/RPrGirk4MSnDfBz32b2c92mrkm7H 9TOeFJT3PtUFvInFLbET8TpFlurvrRwk7jOOtge/Jczs1xAR/OV/atD9B cD9Nvv224x7QCzOmnLoqbZLcVb5Q0ZXEy6+rRBtqIhcYS2V3PfDcLQcHA 5U0Mq5I91dq/pNFomnRX9nse2ccTK+rg2hO3ZDv0QDkfvaaEwjxkp1HjH g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622800" 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/AES256-SHA256; 28 Jul 2023 03:24:22 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:24:21 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:17 -0700 From: Varshini Rajendran To: , , , , , , , , , , Subject: [PATCH v3 08/50] dt-bindings: atmel-sysreg: add sam9x7 Date: Fri, 28 Jul 2023 15:54:14 +0530 Message-ID: <20230728102414.265666-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032422_168108_706DD278 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add RAM controller & SFR DT bindings. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- 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 Jul 28 10:24:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 432F0C0015E for ; Fri, 28 Jul 2023 10:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/wcsFCeUvx3J/MjAwaapyZ5omItJWvvSS2x7SgvorAg=; b=eHPT/M/lI5BuHo YArBJiywJvLEt52jshVDqTHgLlA+8U5+tWWuYqOSxMdHzoW/ahKHAyHj87LdWio6LdLBBC0rqkN16 pLLrrdm3I7wZRtSis3Esc1bhwhAIFbkSspHgue2lL2/QojyodgiXEqmvQ+9ZorfKhUDxQAeKMaQHD 8CL6yWDy+3WLXQPvuVGmCDZC5rtE4tfjqEL5OV95KuEEoDOvBCsCqjCnBuuM6Ks1iFSvXIvZQszbd DEvgO4++jGAlBqNhx1Thx4tl+nxbv8YUfX4qmtJeVZfDe6aTGIBp+SGBL302dJOScRg3G6TGlkLZU xlXrFIVYm1FT+6hiau5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKeR-002vI3-0t; Fri, 28 Jul 2023 10:24:51 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKeK-002vCL-1t for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539885; x=1722075885; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Wloeck04yoAMrjbhj2T5lakE3hjP41+QMo2ggoVCzvQ=; b=HWI2+pf4HnjNu1wQ6MOwtBS8A1COtXtpKn5pV/qtTFf/DIjtCGvl2Id4 0bljQzXaasl/uno/o9ziFr8e8zUr2kK770YsXeFJx5Zp9N1dFgn/TNKgQ 7aCPzTLfsC05/ZyENnrUUZMBKe0ya9nj6W0mAWNVkj0qLMas6t60Dbh2a n0w3rz6CZjfunvHwkBgskG0JOvPifps/Vu25fIXwVg7e4Uw5zZjOZkOWu Al9NDVc8kLa+kU5TlTf0MYchMh9Xd+zb4jbWPG7eBqyef1orkL6mCUoPD CG/++BmmhbwRBk9MBjQZNMEUH7bcka1GDYFQOdpIUKA+zWn6v9cfzTQ4O Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622834" 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/AES256-SHA256; 28 Jul 2023 03:24:45 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:24:32 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:27 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v3 09/50] dt-bindings: crypto: add sam9x7 in Atmel AES Date: Fri, 28 Jul 2023 15:54:22 +0530 Message-ID: <20230728102422.265715-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032444_638038_30B6E53C X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DT bindings for atmel AES. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- .../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 Jul 28 10:24:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331640 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0873C001DE for ; Fri, 28 Jul 2023 10:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qMSxWeDsowq5xipDbEmMd0Ena61oavshWkTOA37bwfM=; b=hwSucyWpp37Yi4 yoEdEPX0IeThT+nXsoPit7OdFcbNzsHYRF4i2Cl3We/7zYzlGCz3yolpPFGmP8mIjDk/YgoYbIOIA QgOTFM2olSTEuE5nkAZWt1ERSO+M27LSDxR7CwASQRr4hs6mSWb9+7fJocqXshkEri9v3RLbFD2bW EbQ2CWejPetTNltMXHFjQoOG2vkgUZfyjPNPI1GSYa+RA6krdkYjfLe5F5nJnXiDxEMDgR+/IF2L7 Bltgb70zC/Oo54xLHFcX2hx8luY7N43fY7/JJfw4pjlY/wgIGwuNaUudH/YT08R84pEjo61w1N6gc pF6G+ufRT2en7S1uok5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKea-002vQl-3D; Fri, 28 Jul 2023 10:25:01 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKeR-002vI8-2Q for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539892; x=1722075892; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DXPjYaor5Qf24EOpgH2GGN2yVYXgC8H1FPKyjlWcbio=; b=fy3UEEnVgnSRHbBox9PmO9mIbslyVMTozzS2dWPRqY0SKgAtgsr/E57b b1LRBesLPXf37YDFMwTGxIbf3+31b4B7I+OF5QN8JxR0nS34+5kJC0r8e 1Ivjj3oOhlElXlToX4UpJuogzscU7cErCDRlcfZrZi9aP1rxhqijevCG9 h6yqd+Ea9mCWZncttQIBDsZZsXbD6W9LJNj0FY65LKjADXv2fyQV7qMPD /RYdc9yeze2GQMo9gIRTp+ZN6Xadtt0fK71Nu1g+bR44H7Wn6bnTAEPJS QKYVZG91V1wjunEp/7KkdjdxsjVpaypdideoMVKWwiO8osSgVKxQ9WdfV g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="222728522" 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/AES256-SHA256; 28 Jul 2023 03:24:48 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:24:41 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:36 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v3 10/50] dt-bindings: crypto: add sam9x7 in Atmel SHA Date: Fri, 28 Jul 2023 15:54:33 +0530 Message-ID: <20230728102433.265772-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032451_899227_2136F3B4 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DT bindings for atmel SHA. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- .../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 Jul 28 10:24:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331641 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9281FC0015E for ; Fri, 28 Jul 2023 10:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DRTpH2ggvOCR34tCnFBDDQa90P/IiA3q8Bj+kj6Hsxc=; b=jWEcUQJJBHb8lO 83yC+V7d5CNY/8kE7GJeUUKz6zyKey0dYLm7dRHszYhIwLVnPH0mmHG1DtPqlZEZhvamp5Zpjy2ts XxnJ7JVSOeBvttvBe7hMsVVEGmYNS9i1+iUNKjegNqpuqHmlcf+oNoNfkJVWka4M5MHqJ8+VxiAbJ /IWI3Rr6papBHp+nN6LCMhrVCzNw4zKsRs68hx11HXSOffbzu/bIl3m7EvI+FxhMWbFeGAnzQ3unL RGYfFJtiwU83GB7S0Uew6Kn/bW6BDJixFmwSreisWROk5piMW175kp8oFIM2crk2xUdSlIzDwsY/B lunK3MsEueuNJnBnxNZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKea-002vQ2-1P; Fri, 28 Jul 2023 10:25:00 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKeR-002vIU-2V for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:24:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539892; x=1722075892; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0bWiq7B4vJ55DoLBtkBNi4eKcSYsW8jCGPwXuAU6VZs=; b=Q/HyMtFzx4ZqekO3OsMmZ9RbUUDpl70FtvIAmdMinSWSPfvWswNwAQjF KQI0b2A34egOebHrxldMyPkUZpDkuKv/gcuD5Ah9/MKY5uNzB/O5QjHKT fRl3FJXdFCazVLAnkIt/XKdkaHoij3gYFHIOZVfMqk96VMtevXaBzcTPh VG6UTMmRb2NpI1GBYMeZIl8NfNqwE5+B7tzAuKQ4KAeBSFcm0gjzxhZWG HuhzmAXb55+gpTQaOKSuqTYKJknSo+yn+szmli/rQ9PcDrZSdzWHI6/Tb bNZI0tnPHSdQmM88UgBf4KnaGKpzhBAa6Q3GeDCa327uoJRuwfBGLfBDE Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622875" 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/AES256-SHA256; 28 Jul 2023 03:24:52 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:24:50 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:24:45 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v3 11/50] dt-bindings: crypto: add sam9x7 in Atmel TDES Date: Fri, 28 Jul 2023 15:54:42 +0530 Message-ID: <20230728102442.265820-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032451_869712_B64E226B X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DT bindings for atmel TDES. Signed-off-by: Varshini Rajendran Acked-by: Nicolas Ferre --- .../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 Jul 28 10:24:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 89287C0015E for ; Fri, 28 Jul 2023 10:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=G7OAwFbnPBfgJfwBQnTopykVh78IhxsXPNnMp1FniXI=; b=oJ+++avtYKuraJ FbZsbKkIjO3lhn++A6O1hkoo0YuVl0JzelG9ifcuL2CxdVp587QI6NygyxsKmGXfPJYxoAxa0AexX H+pkp3rGdBBUegfFBfoI69C17RT6oaeJvRwSsSnz5Aq47Qzo40J910ToQwBmCNwP6CCWI8DpqMAQO EtwzrT5ph/2iTgFA7FNx4BCEz9kS+MasZ+zHAipQons4xiyQeB3hm93sq2hjMIHGqYxIcpiOw8jI3 6BzzKwM//wXP5Ttb4nHR7+SsPiBfYpajoTSCzaZMu7OugVDBgkVH8v+0wVdhmOfo1aHyagDinH+Va Mh0d0VXOWKmNHoM1tAHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKev-002viJ-0D; Fri, 28 Jul 2023 10:25:21 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKel-002vZR-2y for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:25:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539911; x=1722075911; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NmdsIdioGNhECR4FJdb9MMbAPQqdto9pzQBDNtcIUvs=; b=ptnPiGIgt4ek65NSWN9Kqcehd1AX0iQx9c9X0+jPyQiPL4/lH2glvmVr NJP2g8eIb1LkyslDGTPwcZG9bYmFjLJCZGL77/ruILPsirIXuSbTozZWf 24GcLvnOz5WX1eG/on60yReYGy6wvyMyRUrRPZq8sRJ6y7HO7cv/RtuBV bZ+LjVXLNq+Zgz3nqKYxVD+zVAr+98iiBahBQVHK1vrD4s2NISKJlwbgs D9pcaHt3K+cYMZ4ZctpwNOlJA2VZ//cCzX/Op4MMEUBqGW3TUtS24IltD OLYVvZFHAZfw8u6+OLWN/oVYFHx5Skxg82kVQdmgAmLzE9XCz6mQBjSq2 A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813102" 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/AES256-SHA256; 28 Jul 2023 03:25:11 -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.21; Fri, 28 Jul 2023 03:25:05 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:25:00 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 12/50] dt-bindings: dmaengine: at_xdmac: add compatible with microchip,sam9x7 Date: Fri, 28 Jul 2023 15:54:51 +0530 Message-ID: <20230728102451.265869-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032511_975054_94859797 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible for sam9x7. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/dma/atmel-xdma.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/Documentation/devicetree/bindings/dma/atmel-xdma.txt index 510b7f25ba24..76d649b3a25d 100644 --- a/Documentation/devicetree/bindings/dma/atmel-xdma.txt +++ b/Documentation/devicetree/bindings/dma/atmel-xdma.txt @@ -3,7 +3,8 @@ * XDMA Controller Required properties: - compatible: Should be "atmel,sama5d4-dma", "microchip,sam9x60-dma" or - "microchip,sama7g5-dma". + "microchip,sama7g5-dma" or + "microchip,sam9x7-dma", "atmel,sama5d4-dma". - reg: Should contain DMA registers location and length. - interrupts: Should contain DMA interrupt. - #dma-cells: Must be <1>, used to represent the number of integer cells in From patchwork Fri Jul 28 10:25:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331642 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 43309C001DE for ; Fri, 28 Jul 2023 10:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ll2LM/mzG/S9084mIWCheON0sMF2Ef+/E6kEJ2Pjlbo=; b=o8+aLTIiCIVXc9 ctHPGSjB1Csg7uJwpJ0wdKjja4AQi5KC4cfWo9f2lWOI23D5e4NRvmd088NYH3KbaP3+KUFwuHGHW UX8W7tU7cpNb1SoXMLix2ar3Cb3Dbv+5rj5uywjJLX0b/jo3UnrIP6/Fi6NFKA+z3GQkZRfLrkSxi LAWxu4n/X5PldIuZuycJU+ml+onfRIj3gHP3zdW/lOOHUIqGyJnOMsHD1XuyhpG/+wmS+oxzIZCua 2AWvqKamzjvj0Oawq3UZ8aIzQSFo7t6o6bnufCvWSCAt1chk1pZU1Wz+/3yyr0Jcy78KTBZItSgt/ 03eeDWMIfsZ2jhhG6r2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKev-002vj6-2J; Fri, 28 Jul 2023 10:25:21 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKer-002vei-1P for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:25:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539917; x=1722075917; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sXObJvFOIGK/mqhYpuwAgl4c9CSw6fuF7YraS2BMD6g=; b=kxJCOgkOwocom4WlhS6QpLmz7hZsSG1+YuxtjIbUx4UveYP2wg+yPAj4 3Zv4LvT64cGsN1uxk8U7LaPopV9LGDo75n9ys4xaCJZDX/in1JHWAFlVr o7Fi7eeMCDPsFXuOyMtUGrkFbrRKI5voq1bHOaE1uUGyA5LEC5VCLaEBI tekVBq4ThIOmdDRekxhFmIxRBHLZCMefg4QRvbvcNZIY64LwjsdhB7tR8 juimK3pgpdWICkzmcstCPPcTz+PmbUbaaaMqHWtxm8IZWZ/a4y3Yqj5GJ tkJjBxdfu0o8aU3nOnWjp9z75c5WuObYtVDW2BWmi8WeaVxa51p+pLssM g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712550" 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/AES256-SHA256; 28 Jul 2023 03:25:16 -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.21; Fri, 28 Jul 2023 03:25:14 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:25:10 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 13/50] dt-bindings: i2c: at91: Add sam9x7 compatible string Date: Fri, 28 Jul 2023 15:55:06 +0530 Message-ID: <20230728102506.265917-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032517_546436_65F5EB29 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible string for sam9x7. Signed-off-by: Varshini Rajendran --- Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml index 6adedd3ec399..6f3158604d02 100644 --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml @@ -27,6 +27,9 @@ properties: - items: - const: microchip,sama7g5-i2c - const: microchip,sam9x60-i2c + - items: + - const: microchip,sam9x7-i2c + - const: microchip,sam9x60-i2c reg: maxItems: 1 @@ -84,6 +87,7 @@ allOf: - atmel,sama5d4-i2c - atmel,sama5d2-i2c - microchip,sam9x60-i2c + - microchip,sam9x7-i2c - microchip,sama7g5-i2c then: properties: From patchwork Fri Jul 28 10:25:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331644 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A030C001E0 for ; Fri, 28 Jul 2023 10:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WYCL/YGuriDsNLECFvSIxPFgJwjljqLyr43WtGNojjY=; b=YCadJJppcyVvaE Mp6gCv/l9fqr+nJgdTE5ZqCBaXqR4kwvdo24nQE9olKl9k7X8pLd1C7Qu6SCDgwXkQ9/be7ZajMfE suG3m3ZqrzDVudpmV57g/LDxjMfeikVsT5Y6Enm0fumsX0MrvYsrW6zVfEujGYmWZFBY3ljvblD1F hpzvAbwe8r34h3g56UnPr5CJaPsJEqH+lEqTodIblgWJD8uTNq1SuSrlaIAb+Cv39Ftv5vqFBWife 7HiAhyP+L0UuUWlDVy9ppZBhTwqi1X+VPNWufOOelIIvxn8rlislQ1MNhM2e6gpLATEANWmY7RpzU e44//78DuSTzVx3F1iOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfE-002vyc-0q; Fri, 28 Jul 2023 10:25:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKf6-002vrs-2L for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:25:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539932; x=1722075932; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sRLGSv7OHPaSSgY+DXCN/5ykvJ8nOKn3Qv2L9vPlPD0=; b=cdDO0Au/1t+CiNQXKPZR2t2c5rOkjYcH1tMblHZONc/5KfJm3VBXZChb ED/MG0gsL54h4AqiR2Tq6AU0gJtomeB9odwnnhydyOAR2cWPT6/hWg1bL XQyBMGuoWF13Oyw2LuX/bRLKx9CNxpAlRV62kwAgF6heb7CHy14EAZ1z/ VLmEM9lhkDlaq+37gJfjJRRQ1yzTTmiLKD98DuUo2nEmkzdogQto0kJh4 syuLUAtcRanq3n28ThqAoYu2QB96TSj8dqZO4Z/2V8ihCqoclQiYOrCGf kEOYMD26UQyTgy54u+NImvwzGavhEhKsNN50k0hzyEdR2LdHd8yDDPr3U g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="222728663" 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/AES256-SHA256; 28 Jul 2023 03:25:31 -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.21; Fri, 28 Jul 2023 03:25:27 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:25:22 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v3 14/50] dt-bindings: mfd: at91: Add SAM9X7 compatible string Date: Fri, 28 Jul 2023 15:55:15 +0530 Message-ID: <20230728102515.265971-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032532_844255_2B61DA9D X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document sam9x7 DT for flexcom. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/atmel-flexcom.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/atmel-flexcom.txt b/Documentation/devicetree/bindings/mfd/atmel-flexcom.txt index 9d837535637b..af692e8833a5 100644 --- a/Documentation/devicetree/bindings/mfd/atmel-flexcom.txt +++ b/Documentation/devicetree/bindings/mfd/atmel-flexcom.txt @@ -6,6 +6,7 @@ at boot time according to the device tree. Required properties: - compatible: Should be "atmel,sama5d2-flexcom" + or "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom" - reg: Should be the offset/length value for Flexcom dedicated I/O registers (without USART, TWI or SPI registers). - clocks: Should be the Flexcom peripheral clock from PMC. From patchwork Fri Jul 28 10:25:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331645 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C127DC0015E for ; Fri, 28 Jul 2023 10:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=a277QT3sELuQ4Kq063qLKcmQTrg7W67jd7w8ouxJGoQ=; b=1SPcGRK4p+vlW4 yuFoyh935dcp9kDVaPINRyjgrW+++/6bXUAMS3hFRrA6eev5ByQ4ZONFaMo9NLRIXlsrNv/caxUYo 6+NJpUqRVlhrbU79Ihr3PIkIgvn44dfkF2By/MKmNJxxnY+BrYuTu6W57Cn+oCe6rA3Hq4OZPSps4 +qaaYy+skFrYstMOaGuEbRMSIpQ/WIQ+WfupK2g1ukCgs01FCcuk9UxOZE+PXbFZw2IkiECLuWC5j esgWNp/EQJFwxVZyvbNqPagAuWro54nyFVVsrPVXnw3//U0DXWjiDZtsKiVtonotxfPnUwiwZO8wk UxwFHie/xjMO19p372pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfN-002w5m-0U; Fri, 28 Jul 2023 10:25:49 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfG-002w0C-0s for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:25:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539941; x=1722075941; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ywnTS5Lw8wKAM3P0r7KJql/2o/vnY0M20hU7in09Pzw=; b=aMcizL4wBdJTYl+vU/h8sCDui4qe0PFn89Fg+4TAH3Iapmt6+pUpEkrf 31lwVehmiQQAFBzW5EdI+ZgqIJUltnpLowwLeTtcTSQDEOhjnXlHwBord ag8aPJ5keJfIaVC19x+rwLHDztvUAQ72UwOiSdNXffX5/cB8TNxq5oxrp vG/Oa0Rr6HpyGgrudZxqKDmDbAZKdj0ZQqyEUNkiqnH80iRlFfaR4ve+u LDFFA7TtMO5mVbyCn4FwtoMby/mKzsbF0/U1tr9pDGXBPTkQEayHM1Mof qV802xUvaMEcxbxeujS7lOkACDsLbhIQ2pRmvNTdssrFBKzXWfUYg4IZL Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="227047036" 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/AES256-SHA256; 28 Jul 2023 03:25:41 -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.21; Fri, 28 Jul 2023 03:25:38 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:25:34 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v3 15/50] dt-bindings: atmel-gpbr: add microchip,sam9x7-gpbr Date: Fri, 28 Jul 2023 15:55:29 +0530 Message-ID: <20230728102529.266030-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032542_375185_CD1FAB7E X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-gpbr to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/atmel-gpbr.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt b/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt index e8c525569f10..3c989d1760a2 100644 --- a/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt +++ b/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt @@ -6,6 +6,7 @@ Required properties: - compatible: Should be one of the following: "atmel,at91sam9260-gpbr", "syscon" "microchip,sam9x60-gpbr", "syscon" + "microchip,sam9x7-gpbr", "microchip,sam9x60-gpbr", "syscon" - reg: contains offset/length value of the GPBR memory region. From patchwork Fri Jul 28 10:25:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C483AC04FE0 for ; Fri, 28 Jul 2023 10:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HJx0/UEv9kdixDjzElybP59rwP9P5dt4mLNrJPptucs=; b=q11k1B1YX+Rb1d lWUwWtikPO2TX8Z1uiWO1a3dCEc9/bCMLF89YmN5n6rZPQxOoQYcylKLaL7ydj5fnppFydFXyqNIy g+hwvwfyEEHrOiPT/Vh4XhAey59vZCk9K2rhRRiswQqYsSzRDu+Rs67MsVJTx1uywUxcV0+Hb/CvM mB8Pb8V+g5YhnThxeUm09B/ywibTn+xkjdquOD0PrO0NGfdCErz49lvAvj7gTCmiJyrGMmSgiwmd4 yiOw7IDjOTBQk+y9yBOvdAH07j7YHqzT+hhIe+xIxG3vgeGEkJ1um1DhqAXvImeuzbUX1xjgWvx97 Un3QGMM4tsXs8WM+MESQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfX-002wFX-2a; Fri, 28 Jul 2023 10:25:59 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfS-002wA3-00 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:25:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539953; x=1722075953; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=snGvRxqDl4Xo+zB7DnmX/dsdA0/0jKTp/eDmSa1ira8=; b=p/+7e15UL+xMFORYQl4NsKqv1JUkUjPC5xg2cgHqAGVfP3wgCRcVjMwc HRg10fXQ6h18LLggoAugWsV/L/PzIYhuSKLTOl19B4stYV1qOmrmEKxqE JzBa/JSKZH8GVFYBBMSnbt+DoAiRKQRSoAkKuubaZIgBnj5H9o1PrwGWo lPJpizfrfLJY36sU1LccjahDl2ZWSN72tkJxA9PDHtI6cb4nZ74S/Z5ri eMphrcydqf3D1BE6+IascWHiSYL14aRRtRZKXLwwL2J/jV0yiD7F6H2jk he3EjJIhztL3+UutpyjF1aWZBVMv7rRq/Ta1kbPDADKBMQXzqzPef9iWU A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401022" 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/AES256-SHA256; 28 Jul 2023 03:25:53 -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.21; Fri, 28 Jul 2023 03:25:49 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:25:45 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v3 16/50] dt-bindings: atmel-matrix: add microchip,sam9x7-matrix Date: Fri, 28 Jul 2023 15:55:39 +0530 Message-ID: <20230728102539.266085-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032554_050657_CFD4BE60 X-CRM114-Status: UNSURE ( 7.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-matrix to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/atmel-matrix.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/atmel-matrix.txt b/Documentation/devicetree/bindings/mfd/atmel-matrix.txt index 89d05c64fb01..6e5f83614e83 100644 --- a/Documentation/devicetree/bindings/mfd/atmel-matrix.txt +++ b/Documentation/devicetree/bindings/mfd/atmel-matrix.txt @@ -14,6 +14,7 @@ Required properties: "atmel,at91sam9x5-matrix", "syscon" "atmel,sama5d3-matrix", "syscon" "microchip,sam9x60-matrix", "syscon" + "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon" - reg: Contains offset/length value of the Bus Matrix memory region. From patchwork Fri Jul 28 10:25:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331647 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E284C001DE for ; Fri, 28 Jul 2023 10:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=u/pIk1mU03cpmiQ20CdbfmiKKLyQsuuEbyL4FGW4fHg=; b=ZMG/0OwnkbydeQ 4GdNFECYb3mfbZ4AbFfoP+u1eZKVlHQBB0VVeiVO6cq/D4Fv+8TUSuIxXgecSsnsor/oYgJ95Vvja 7XMzBtyJrNGJVMAO81mI/BuoR5NeDmm4H1LKspDT/F+El0Cl4Bh91uw7tMmMVaulJju+lT5ZYsI+f kI2QImE05eQxEXAGk079YhpRJbSbX0MrltC1K8iJM3cIo6KvhhYhwS0Dm5V/c36FaZRWXEefDwuXB gfeCgUiKElZEAQQI59zDZzXn3j/OFD9zNfTTayb/NONNI6LzkyaSyKDtqchHr9TG9d6RMSLIvvV5n NxPHmfqFxhA+DqA3VOwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfj-002wPw-2g; Fri, 28 Jul 2023 10:26:11 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfg-002wMw-1P for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:26:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539968; x=1722075968; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7VI/RuRdm3vWz35tPaEOYSalg/DE0L4tRUllBEaKgXw=; b=EJStcNVnGFnNUtjf7eyvkodb5+H0nOrpaVKt+HR+FLq2/o0vYHLpkLp8 9cmMDSqmyCA8DHiCjpFySdoQT42rv0ehJkOmgzCyaDh74Bf8TK1rYKHcU YxTlCkat3lB+XXVBo/cK9qiOFpmqkyobU1bFyBmHmYjchUgZvaDN1C+eA dW1MAbmGHxpAOo+0qX68HqasSe553qZZvCzz0VTwswuTFWxK6rDXlJNcM ASQk0pqfRgSiNzQcnzdDB88GQrGVvRnXlxBOlSmS57u/ZX87FZIRIjKSP Yx6ujcK4g0t+n5XTNrqSICSi0za4JCgHRw1tCgFJL+IGk9bh5826Uzqy9 Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401132" 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/AES256-SHA256; 28 Jul 2023 03:26:07 -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.21; Fri, 28 Jul 2023 03:26:06 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:26:02 -0700 From: Varshini Rajendran To: , , , , , , , , , CC: Subject: [PATCH v3 17/50] dt-bindings: atmel-smc: add microchip,sam9x7-smc Date: Fri, 28 Jul 2023 15:55:50 +0530 Message-ID: <20230728102550.266134-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032608_479727_B0419ED5 X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-smc to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/atmel-smc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/atmel-smc.txt b/Documentation/devicetree/bindings/mfd/atmel-smc.txt index 5696d9fcb5dc..fd62add38a79 100644 --- a/Documentation/devicetree/bindings/mfd/atmel-smc.txt +++ b/Documentation/devicetree/bindings/mfd/atmel-smc.txt @@ -10,6 +10,7 @@ Required properties: "atmel,sama5d3-smc", "syscon" "atmel,sama5d2-smc", "syscon" "microchip,sam9x60-smc", "syscon" + "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon" - reg: Contains offset/length value of the SMC memory region. From patchwork Fri Jul 28 10:26:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331648 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DDAAC0015E for ; Fri, 28 Jul 2023 10:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GIQQ4mm11NTz/Qnc7Uf11UgnUm5gDLlgjCY4BqlgYHQ=; b=B+VaEKLvqtXJHy M2B8CA504oPq9nrao/3yrJ+UF2yS8L4e1D7q1SXN2/zdOLyGDK/K1z4XetunUMW1/2lepv5xf32lV rQWfncBuv04wMJrtgTNFPOEAfm66azSUC0bJY0QJ8/NvmVgVI15A9dtxh6bCAfUlEjxdzNs1ZIBVB YwuI+7NeWmbecq86rMAZSfW3yCUTm8wpS0mID5BndlEkL6JjxCvCbYlOqFwed9Aj34ectRxif2PO9 5oeUF26ruYdKugxEGT94Y3L4blNLESbewYBl+HhNHeMqLrrcblijFNMYT/4B5M0KUliD3C+u7V9M2 ar4ckHx9/wntNbjRdaVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfu-002wWV-2F; Fri, 28 Jul 2023 10:26:22 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKfo-002wTH-03 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:26:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539976; x=1722075976; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6fKMiU+PfWRqtl/5CLjuItaFEELvgneufB/NS0oree8=; b=jjFOiiBpnfL8Wxxeal7AlPpAyeunIfNej1v7gNFcYkCWMbjhKljU1ZUc 9ZR46mbA2BKOkbxxjR7iga9hvW4B0p+9x8aBgSzYbbub4AxMFmWgxLuhn UbuJMCjBIweBwupnSgemFX/UUItnZ4ZBBT0afoguAppazUVyimM6MiuHX 6D9NvlWwwxBWYkRNOnRUQrwlu5b9KxSzcxE3JGvKmtvBCPTCtX4c5Acxy swZgI9a0/eiIWRDjEsWNry3qNYlfbCH/nRMaWSW8BaixkQQfw5tInICsI Q+j9Sks6gqH4pt8SiWR4agdcp4a4k/CYznCD5MviHQArCeRMPRqn9sgN1 g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226622985" 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/AES256-SHA256; 28 Jul 2023 03:26:16 -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.21; Fri, 28 Jul 2023 03:26:15 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:26:11 -0700 From: Varshini Rajendran To: , , , , , , , , CC: Subject: [PATCH v3 18/50] dt-bindings: atmel-ssc: add microchip,sam9x7-ssc Date: Fri, 28 Jul 2023 15:56:07 +0530 Message-ID: <20230728102607.266187-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032616_066474_D3D6231C X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-ssc to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- 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 Jul 28 10:26:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331649 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5F90C0015E for ; Fri, 28 Jul 2023 10:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7uaNJo2earT7ZV0CDpmkeOr2piCXqokwBRR+aHqQYgY=; b=sAl9uhI3sKFSjk 8urlDnLKVQeC/R6rdTZuZ0jO7OVg7uiM6z3+sPGDhZW/0d2zU0rKkl0YXigwDOmvG1cxN7bYX9YHe FBiE+NwaV1NKzeMVx+KPS9TKjF84TTL3HlEtATO7WTk0DFK+9a5d+BnfTHeK10zM99BJQBt8PUBUA 2rhFAzPv/lWQQn5BU9N68PgvGt17XYu5FwZyni5YoA/H7LsYmrj1Bqj9PrEq2yEcSoQ66+1p+NhoS PhkOS+wSTjDE25VgiEBpOce3/47/C4p5iFKM9YaI2pi2KeeBOc9bvzBTn63DnR34RDbJzcI4qUQTB IYiiwAMb4kzxlFVgUC7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgE-002wdI-2S; Fri, 28 Jul 2023 10:26:42 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgC-002wcQ-0U for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:26:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540000; x=1722076000; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=LN8VqrenpBG04I8zNEEaozrOGLdfnb+5V59gS19DhGk=; b=Ay+xlQKZKpWsx0zai4jSHGslpr35mInExjaqnmnyZCk7jByNrQDYxEWo n+N/2Pu2rZ3+Gm80ySCahFF30ycPXAy3vxVV7Ff+kqr0DdKeYmO/rcsWd lHTlfaDwwwpzsYrfiFn4zMV3JsZE9EIXiu4F7Sc9tqveLO1BRBTyN/JCO aHQJ4NAyaDRN5qZKOs8RGLmYU/hyqBYWLzSUF36drw5RBCTb8Z2atvPWa dVReagGuq+MaTnrDiZzn1U0NnBJyPW1vlvObUXcGjEYSOkLBWCgcBAFsI NXRcENPKfzVq0Ffk/LJX4sCZxaOhQGRmfDdrUN7efUTK2maGGWurBCyH8 Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401195" 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/AES256-SHA256; 28 Jul 2023 03:26:39 -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.21; Fri, 28 Jul 2023 03:26:35 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:26:31 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 19/50] dt-bindings: sdhci-of-at91: add microchip,sam9x7-sdhci Date: Fri, 28 Jul 2023 15:56:16 +0530 Message-ID: <20230728102616.266235-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032640_194169_C6D0A946 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-sdhci to DT bindings documentation. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mmc/sdhci-atmel.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt index 69edfd4d3922..a9fb0a91245f 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt @@ -5,11 +5,13 @@ Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the sdhci-of-at91 driver. Required properties: -- compatible: Must be "atmel,sama5d2-sdhci" or "microchip,sam9x60-sdhci". +- compatible: Must be "atmel,sama5d2-sdhci" or "microchip,sam9x60-sdhci" + or "microchip,sam9x7-sdhci", "microchip,sam9x60-sdhci". - clocks: Phandlers to the clocks. - clock-names: Must be "hclock", "multclk", "baseclk" for "atmel,sama5d2-sdhci". Must be "hclock", "multclk" for "microchip,sam9x60-sdhci". + Must be "hclock", "multclk" for "microchip,sam9x7-sdhci". Optional properties: - assigned-clocks: The same with "multclk". From patchwork Fri Jul 28 10:26:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331650 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A0DBC001E0 for ; Fri, 28 Jul 2023 10:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CAK/WwtawYW5LKbDofKDXiTXCn2Otv5CjmEpQ59ksLY=; b=cT49SyME+0CO7i Ljun4uLbJEuF6iu+vLKON1KF+sWqTMWiCFNaUVjeyQMjNhIGAQA7aXoQ6c4uHPFhxz57NCf9s9HfZ oUtnSTgbxdDipnh0CdvTi98Q0wBfy7wY4Yxb9H+kzC8iVvRevVft4J4jg4trKA0YEX6Lbt1w2sV2E lc8dvhUBLSja8b4wZOxcENE1WXAMDYDNOyZLk6Lnq6Y912oU2FTqNwcGWgNS64quPCS5UGwwaehHT 4rSd8Fc+ArV+gm56kNbIbE9g9+fxRNmXYTRilCmC7iyShv2mPQoldz51/AJhNQL74ijJUfU0uFpxe J7Tsvz9i0rOY08WvmoKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgP-002wgF-0N; Fri, 28 Jul 2023 10:26:53 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgL-002weu-1O; Fri, 28 Jul 2023 10:26:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540010; x=1722076010; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=igHDeF92LiyJV6CYdDteCC2bRTjg8rQRg4+bhnAd1mA=; b=2aQ6dp3mhXjaG+/OpgWx/9TENq8VR9gDG7tN/Dh6fkOX0BJODLClIXhZ rYH7AUpKSDYaVNWDrMzwxKj+rfowipoUA4iCvNVDL+QwA3zhl2rfOFhLW Kyzfea7tlsdN08Ccq/bOrdzxMRtbQmp1K/EDdhmlt0R/BTdnl7Lo56qyE o8VWrnAjCwUPzASrH19ov9mMQlyVlhuVn24Xc5QBluQRkYQKGQQ4PHnc+ Ne8rkp+F6a+e/8RRR/a4+LVwlip6gW+MLqckv5k/yOWHzK2379LatPBSz JRYBE9EHmgWwaKrZOnCLXefW/n6Z2ljSr56W2xhQMcCjVXGUaSw3TIsUd g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623140" 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/AES256-SHA256; 28 Jul 2023 03:26:50 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:26:45 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:26:39 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , CC: Subject: [PATCH v3 20/50] dt-bindings: atmel-nand: add microchip,sam9x7-pmecc Date: Fri, 28 Jul 2023 15:56:36 +0530 Message-ID: <20230728102636.266309-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032649_475185_DBC4B41E X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add microchip,sam9x7-pmecc to DT bindings documentation. Signed-off-by: Varshini Rajendran --- 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 Jul 28 10:26:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331664 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97F50C001DE for ; Fri, 28 Jul 2023 10:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LeYqB+PXWAxL8bY6KNRwCsUPLvGI2eJBixMz9Ua+blc=; b=UhN3Cw8FNFiR93 ahxpd2xBi4zUnqGi/3y4UIzPss+/IrqdMlvo86f1SafTNKMPrHLU/K8vH/QzYfuzQM7bC70MOAgzO RRhQF9pOenY5yYYTmZ94AsW2Ze9SCksGsIjW2bShyuVkI1J9V6mG6122rrl15gdVTejo9uzaadlh/ cXbWcf0ocpx+ab2hT29YZ+WapGO7xhbNEhAFErcnFhU/KMusSAjiMS0AOmuWRf63EVAa64eKx9lT3 lw2vY3X2cRW7mrxUuJYubSSU+CpMnTc76s/qh/JZCDCPf9HlbQ1GHsJxsBALXnUqcQmWzerZ6vaLT Kh6jNklND6oEZzQXzLUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgi-002woH-26; Fri, 28 Jul 2023 10:27:12 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgf-002wn0-1O for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540029; x=1722076029; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=V4BlTjamXLsIY4iiG3CLqens3Fto25dMoGbIlFyLjHw=; b=CPnr8wsc+F3Y73NtMWmPautj2ewfm55aVInSV53SV4bcE+gzNiK6VUd+ 1l0uQlKkUgjaooTyqPoK8gdfIcF28CPpwR1nedidgpP1mtbCP/kp9tS9B SYMi0fmDvklUFJUA5S4HDUr03wgHopEfh/sJyYTdpD8gL/lmFLPqqSTfR 5RS0AXiu5D7oICIvGFCYUjV0f9W1+avfKRlEuc3cBPcOMIckzZDOZD+8n nBJ8sycf6kMDPqPjON6dCD2rVGecsTKfYgdeKA+uuKPfrOHmbPw/MEhTi syfKYuBPaVw5NB5yXlfhk0NLO65Z8osUPMGaCjNQ3K0n+VKfcnjZ9LEvl w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813448" 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/AES256-SHA256; 28 Jul 2023 03:27:08 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:27:00 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:26:55 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 21/50] dt-bindings: pinctrl: at91: add sam9x7 Date: Fri, 28 Jul 2023 15:56:47 +0530 Message-ID: <20230728102647.266359-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032709_478251_18CBF6C1 X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree binding for SAM9X7 pin controller. Signed-off-by: Varshini Rajendran Acked-by: Krzysztof Kozlowski --- .../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 Jul 28 10:27:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331666 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22C68C0015E for ; Fri, 28 Jul 2023 10:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qN9zv5xMs0Qzlfa3uQiqMDvbmDY03YP+tg2jI2Lzv54=; b=gN3hgSEH9/QitM W8ExTqhS13FQcsG1UNl1PDFtVYOpKcza3MyjLyjM9dRQu4y08izojgOOJnFLmu6CBCt8nRcjSL33I aaKcZ4eeT7t3v9g1Oaa0mAnF1BeRO87dPd6gPjEnVM8ScP6HLgG4Vq29CJYK5KwuC78FCpc9U+ppQ 5k9TH81SjscB8I9aD68af+NC/Bc0V3tX911KwKi2p9ZuoZz5LvUKMkoLjxZhgZZNtnk/gVqCKUFs+ F7HTnPnoFfk2QYLo0hdtqett5D1Y/OGguQUhN3ISfNcQ7fU5tGJE/3I+PVJiV8Sh7ChAObhY1Vck8 cmSBq7iNEv26ewanzRmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhA-002wye-04; Fri, 28 Jul 2023 10:27:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKh2-002wvl-0M for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540051; x=1722076051; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=rdI92sqoPeLSTXdYOGgX5TrtLh9Co70Pe8rMuulMOEA=; b=u679zFn0rfJc2nnvlq1UFmJFAM3UjX2eGdiPw71K81nkxnO4R6HsEB5B Y20fzxQoY+0JTugzlXBh7N8mjlMqcjOilnie8KDbPs1DBGJLv3NQyG0O8 XCuog25lYLQNmq7cW/2w9zNQBU3yzmiFtukuL3G1A/mD/GhRqsv1HUBst udNpY8yETpCcvRCs78rO7WPhZvkYi3iE3fN34x/wTJeftLSxkYL76xlgj BtqKBHX1NAC3krCjKDRwWXpWLEXrE+2t5T7Kl94YQAMne41ZT8kMmHeGe OiOgf9us8ckolu4EsMH/I9CJrOEZc0RQwcI+kTX73HPR35MyZQok4RHhS g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712703" 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/AES256-SHA256; 28 Jul 2023 03:27:31 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:27:09 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:04 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , Subject: [PATCH v3 22/50] dt-bindings: rng: atmel,at91-trng: add sam9x7 TRNG Date: Fri, 28 Jul 2023 15:57:01 +0530 Message-ID: <20230728102701.266408-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032732_216219_DE9C2535 X-CRM114-Status: UNSURE ( 7.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatbile for Microchip sam9x7 TRNG. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski --- 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 Jul 28 10:27:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331665 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 974E1C0015E for ; Fri, 28 Jul 2023 10:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LE9+XK4EzFg/K2VKVZiOsUOcTjC1Ce0G6l/lE3k4WH8=; b=4uwrfc0z2GArGv D2ke94AqziMNTBbRWCjgPNnOqDyWfmUi0i+SfORCyXlr51UugYWXIPSRIhw3ISCKRr5a9wDghqPNE CfjasWOqYtfHEl5HGi7g1OXTplH+UXImWLdUNJ2vaPTEj1lj1b/wjton5JrPg5Pb/fjdzfzfv+DUc lLtTjUfZR0XXfkJkhZooBUCbU5Dhqk9PyAQKtj2Rs36XC8Wiqz7Eb120kJ8AGq834kUrBd2+SppqI eIMrn6x8rPAx0GsEaFCGFSmIgLnttTgr88WqWGP/1wcu0NF9uevN0rbwGUWa9Qo+1Nz+s2QjzV7o+ 99gO4e7857n1W37QkO0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgr-002wrr-1G; Fri, 28 Jul 2023 10:27:21 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKgp-002wqd-1F for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540039; x=1722076039; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=rJtzpp4B8syipLQfPojstoT7Q44bLhfc2vm+myC71tg=; b=0fLS2ZT6amOX7Up9KSJLntCxbuXiooqdtZtsrneJhNszKGXa/NynZ5bc 8tmtMiY34eeeTnKzqnF/PAWcwmNLPQMGCmHjIhzH2wHDIutijv0MAFhU2 /yklHdu0vPnVOskzpP1da68wNdVzgxWVqUveXWzae6mfp4TmHBl3IAqT9 Igdm7DxmMkVTjc1tofmJSMlCnunRxDaK5Q543LYmTCf2jXjmDzGGzvlUN PpjeHHaNfSB40eYwqkkxWKnptO6Xvkt7md/0yXUjL7gZX6L31WmCnhZxQ JpFl76zVHgVGaHuvNMT77tGHuxZP7fKP40ulnGr/h2YFt28bm4syCxki6 A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712691" 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/AES256-SHA256; 28 Jul 2023 03:27:18 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 28 Jul 2023 03:27:17 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:13 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 23/50] dt-bindings: rtc: at91rm9200: add sam9x7 compatible Date: Fri, 28 Jul 2023 15:57:10 +0530 Message-ID: <20230728102710.266457-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032719_496395_424F6E12 X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible for SAM9X7 RTC. Signed-off-by: Varshini Rajendran Reviewed-by: Krzysztof Kozlowski --- .../bindings/rtc/atmel,at91rm9200-rtc.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml index 4d2bef15fb7a..c8bb2eef442d 100644 --- a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml @@ -14,13 +14,17 @@ maintainers: properties: compatible: - enum: - - atmel,at91rm9200-rtc - - atmel,at91sam9x5-rtc - - atmel,sama5d4-rtc - - atmel,sama5d2-rtc - - microchip,sam9x60-rtc - - microchip,sama7g5-rtc + oneOf: + - enum: + - atmel,at91rm9200-rtc + - atmel,at91sam9x5-rtc + - atmel,sama5d4-rtc + - atmel,sama5d2-rtc + - microchip,sam9x60-rtc + - microchip,sama7g5-rtc + - items: + - const: microchip,sam9x7-rtc + - const: microchip,sam9x60-rtc reg: maxItems: 1 From patchwork Fri Jul 28 10:27:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46B6DC001DE for ; Fri, 28 Jul 2023 10:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=RobcntA/FqBeMfo85h3MWcrvzUoYQQs+ii9Sk7PnhN0=; b=QYUnCQd6+XUQFZ K4hjq2dpOZ5WgjuSW3ku/3QfX0vuDu8hqWNv5aU0B0njPdcCteKiaDyWmNl6s373ZMFL3nP7hnJQR hUOcSj8yhCDVx+lpIiEvZnJdedOQDNr3gIDz6pFdGhrCcwwTxgCzzgi/1zCWTAgUbdhCqjPEc1uY5 VtMJ2LR9f6eZ4BJHi3lFu+yb1raoew9IMRDNXjL/IJgJdcdZ/yDSeSghy8n0EECgQrgtFndgxw6s7 7NJ7PW51+mEJ3xOjdoY17rwFPueF6aREvuvBHlN2V191B1SKYq4XJUXwTHwnjYeMexHiUPoA/7+kF or2ZxlzIPZpIDDOpeVgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhA-002wzA-1n; Fri, 28 Jul 2023 10:27:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKh4-002wwt-2K for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540054; x=1722076054; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CtUQ7Ed42c3S8j1DbF/KeQU1RlwOzIIywOKkg6O+2sw=; b=yu/Xc3aBQomwNotXBlze5YkVeClOO0O5xOPtRJojLhLYMLoDlOOtxFas QZDHJrAJZeJSFexxYAHscPpsAXUvbXZkj77K63tjMrbOeFwOmJKw/IX6v 8t9lKCmXw6WazV/P0YiN8ZbrS/U4QITQadI8UHoKGXNBJ3WlUtG57/6Rf kPyk8WuNV27iYcqlnhlLFZFChIVFwZqyrYnzKK7b0vuw8p+cgQiH0tDXx JLiJ9Uh8fOMlXvd7j3LZK+vRhYGPAzQ4wOLm8rYzM9UD39HKrCLeSr6aL psj3dKTBAiuLYP6nRwUB+uxfupiub2VK4wxXhsw5bo22o512YSeH08y7C A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401538" 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/AES256-SHA256; 28 Jul 2023 03:27:34 -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.21; Fri, 28 Jul 2023 03:27:29 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:25 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 24/50] dt-bindings: rtt: at91rm9260: add sam9x7 compatible Date: Fri, 28 Jul 2023 15:57:18 +0530 Message-ID: <20230728102718.266507-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032734_765085_2683031D X-CRM114-Status: UNSURE ( 7.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible for SAM9X7 RTT. Signed-off-by: Varshini Rajendran --- .../devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml index b80b85c394ac..8426810518e1 100644 --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml @@ -21,6 +21,9 @@ properties: - items: - const: microchip,sam9x60-rtt - const: atmel,at91sam9260-rtt + - items: + - const: microchip,sam9x7-rtt + - const: atmel,at91sam9260-rtt - items: - const: microchip,sama7g5-rtt - const: microchip,sam9x60-rtt From patchwork Fri Jul 28 10:27:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331669 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7AC7CC0015E for ; Fri, 28 Jul 2023 10:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mqvqOomFE9e5XtWP+j/Y/4Gv+YUhZoXSig8IEdSydn8=; b=KUvkKI/42aCYGi OvMmbYkGrLzUsSYlriHhiZWVqb4vU75C3SsY9LPjzD5PQ/3MDlV/EeYeSTbvT1IhjkB12KmcIwNr4 +zfWkbpinh89De0RYMAcEeopJ27zs5dKBwSId2JggXppsIz2dRZKYk5tKAw0YUE5136UaGB3j8Pfw rpr5mO4QzgWw5lihdKiNDgb9wSq8CYzGhAdR1UxLsb4dNCe6O5CKLqYfwDW4mXui7GBPvL3xFHZqs 8sBH7jFh+9owduMGtTIe4nSEf7LalEc0krAwwFtxbW6J6CCqHqciddJ59j125zUZZ0rZGgaiaFhXN 4yS7laY4BwmVXr9VmadQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhT-002x6q-0r; Fri, 28 Jul 2023 10:27:59 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhA-002wwt-08 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540059; x=1722076059; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=p7AIHi1RFTLbAcGhYX039b6uV3j7YsXbjesnlpkDBZM=; b=C/C5jUjQJ/5YlJ49xVXoHm9w9qBf748dUaJ0z8oNr5xZKqzpIxPamaVT 6TQ7bl/IzgU1y5zYXtyGqEfNXWwPThySQRHcvp6vEx9B2/4cODLht+ztm WGa+9GHx/Htg9qjwSkpQnXL6kvsaOE46GRhes5Qlk7ccqpteUjijoTUU/ WmdoyH+B3nl263DDIu3Nh9gL2t7bOELOrbC2ASmFrX1hLEHQ7WajyzChs jvGV7diyRcf1ZFc7ErLp3fxUaKqnWlCV6Q6LQUs9e+f7ylUxkheXy0FN7 qRZBgXCmYiIgd1eSVkxI9HH/SEjOB2hspq0kAfYuNK22AhYcEZnrJsQNS g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401551" 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/AES256-SHA256; 28 Jul 2023 03:27:39 -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.21; Fri, 28 Jul 2023 03:27:39 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:33 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , CC: Subject: [PATCH v3 25/50] dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7 Date: Fri, 28 Jul 2023 15:57:30 +0530 Message-ID: <20230728102730.266557-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032740_082649_70AA0C83 X-CRM114-Status: UNSURE ( 7.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran --- .../devicetree/bindings/serial/atmel,at91-usart.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml index 30b2131b5860..42644d0f1104 100644 --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml @@ -17,6 +17,7 @@ properties: - atmel,at91rm9200-usart - atmel,at91sam9260-usart - microchip,sam9x60-usart + - microchip,sam9x7-usart - items: - const: atmel,at91rm9200-dbgu - const: atmel,at91rm9200-usart @@ -28,6 +29,14 @@ properties: - const: microchip,sam9x60-usart - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart + - items: + - const: microchip,sam9x7-usart + - const: atmel,at91sam9260-usart + - items: + - const: microchip,sam9x7-dbgu + - const: microchip,sam9x7-usart + - const: atmel,at91sam9260-dbgu + - const: atmel,at91sam9260-usart reg: maxItems: 1 From patchwork Fri Jul 28 10:27:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331668 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E185BC001DE for ; Fri, 28 Jul 2023 10:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OxSkYyjysEafHBxTURW/QzM/HhpzMljdGO74M7Jqhwg=; b=R8VxDcpzvP1jUp gas5d/VGtgbmsUO2qkiRbC2hmHhj1SBg4f4Uio99HaoOAnaajg+ZiY8/BSfcgjq+rJF/m2ksasXMp XB1gMI66JZh8WN00/+CoVW3sc+WWzvOJE4Jeg+2pZai8bfXuZ6AE2DKtjgmCud1Dw55fTX5iU/vxO ugsAuabj0atC5aiOI3eZIjKsyAU6mkxtgB7YKgaFqZi429tqzbARCioZ42UkyIK0eUV28bH3N/4JI 6/+/0K5mY38EjM8m3ksLT+s7i5rY6okh2OfAFE32ezbD7kgS79m2PlaPCVN94l3rrca1Q157jOLJ9 CXby59j9sMSYm3Hisqyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhT-002x7D-2M; Fri, 28 Jul 2023 10:27:59 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhN-002x4P-1o for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:27:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540073; x=1722076073; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=X+3fbC3nQJfHYZI/7JU2s7cSRjz329rkn9qwc+BhSS8=; b=O2O8wyWzAlB/hD3hgCetir97EiLBcgpRVYgZCeNdGuOtFj3jzUId9tyO Ca61mYLUsIQHyhJ01UxY2S2dFpd3RmRElg93vJarzHIJbWUZkpxlj7sKW edtQn/EHwX7m5IRXWnZL4GoNJN3SD4QrvQfdEeLwfdYMDQVfVFSLSf4Xh s7xKqRWqwzRqd7iqCU6VPx5z1rulEUGzzkfYtipwE/iz2vQsSR3sEs9im W65QDGvVN++HNZZ2AM0737gduPCUOjdarbidVki5nQRVWbEAYZ2UxqMo4 7n/3wytGfpFz2npfj2GaXLKDZwISqJMXjXV5Las9dxnkjd8WpZorJO6/b g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401576" 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/AES256-SHA256; 28 Jul 2023 03:27:53 -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.21; Fri, 28 Jul 2023 03:27:52 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:47 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 26/50] dt-bindings: atmel-classd: add sam9x7 compatible Date: Fri, 28 Jul 2023 15:57:40 +0530 Message-ID: <20230728102740.266612-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032753_609574_1A32F371 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sam9x7 compatible to DT bindings documentation. Signed-off-by: Varshini Rajendran --- .../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 Jul 28 10:27:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331670 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8BF42C001E0 for ; Fri, 28 Jul 2023 10:28:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Anas0rQ+w/sDWG4vdlwnOhZSEh5G/ErilEq4iug+P6U=; b=j6zw73q6VlFNtN mNk/VSf20hTGc7TpezWabaCSFwyxVwAH/ETLR8DXVJ46AVsvJdXTYpVp6KiH12ciEQ+ACPwR9xsWq FUNZed84sMKSeVCuIL2nk28BjfTA2+YxOvoT4FSwPSiGN1lHQjUgRYhvbH0324vE7YxlDqia7FpEB LRwx+YnXytq4REdd8voDYsmXAraTx816mI7fofbtKq+dO/BtAaKBM3vmy9lI3T06hr98JwlTSqg0s AU1aOkE5gUbIxBtQqY6Y1hSzEi9C3wt5BEQRk5jDW1syNOfg046e0y4X9KmcTK2hAV+W2yBdtnmIM rNFY42dXFFm5Y7dv31bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhm-002xEw-2a; Fri, 28 Jul 2023 10:28:18 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhV-002x8H-2Y for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:28:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540081; x=1722076081; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=J56scc4lwCw64Hq+Y3iwSMBkAqaw8UYobN/SUdebGoM=; b=graE0EyjMkCzCLWPAb73xwFmqzqzj+4yCRK46Mce2/X6nwXJAukeynpz gRcmwpcEAlBVhKCKBct5TumVbV8S+2pQ2ll7fzsmtEUZp/RBHtio9VDd2 fQjkApDW3Wb0snZHCFrQpPLbmxVrlUejcXDBdeucxt9OObhGvaDoJKkNb PVtTXEFWThe7gHAMjRLoF9ZrzMT2X48m9aldaPTNqaOkvaMsvabbydgEP n9vnTbuM4vJcnDG9+peY61l0nKmSjAtOu2bRFzvx/yjITLq74qIeDyNgG CdgOVcmNPYrZFny0w88XY9uiWxv96aD1Tx7xKkDbl1OX8zqCtaWnFBqWw A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401601" 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/AES256-SHA256; 28 Jul 2023 03:28:01 -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.21; Fri, 28 Jul 2023 03:28:00 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:27:56 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 27/50] dt-bindings: usb: atmel: add sam9x7 Date: Fri, 28 Jul 2023 15:57:53 +0530 Message-ID: <20230728102753.266660-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032801_839550_EFACB0FC X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sam9x7 bindings. Signed-off-by: Varshini Rajendran --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt index 12183ef47ee4..82bd0dbc2a48 100644 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt @@ -3,8 +3,9 @@ Atmel SOC USB controllers OHCI Required properties: - - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers - used in host mode. + - compatible: Should be "atmel,at91rm9200-ohci" or + "microchip,sam9x7-ohci", "atmel,at91rm9200-ohci" + for USB controllers used in host mode. - reg: Address and length of the register set for the device - interrupts: Should contain ohci interrupt - clocks: Should reference the peripheral, host and system clocks @@ -30,8 +31,9 @@ usb0: ohci@500000 { EHCI Required properties: - - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers - used in host mode. + - compatible: Should be "atmel,at91sam9g45-ehci" or + "microchip,sam9x7-ehci", "atmel,at91sam9g45-ehci" + for USB controllers used in host mode. - reg: Address and length of the register set for the device - interrupts: Should contain ehci interrupt - clocks: Should reference the peripheral and the UTMI clocks @@ -87,6 +89,7 @@ Required properties: "atmel,at91sam9g45-udc" "atmel,sama5d3-udc" "microchip,sam9x60-udc" + "microchip,sam9x7-udc", "microchip,sam9x60-udc" "microchip,lan9662-udc" For "microchip,lan9662-udc" the fallback "atmel,sama5d3-udc" is required. From patchwork Fri Jul 28 10:28:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331671 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 172E3C0015E for ; Fri, 28 Jul 2023 10:28:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QfImtvvnuBmPy0sKpoRMq8ogzG1w8gu8Et+Z9Zimnj0=; b=vU5YTJW4K2qxGj Avqaix5AJNOlyQMCvPXK3hH/REzGiUtFLRp/W2YLMiBh0fPwipmyoxafVfDax+aZjBzhDtEoeOMRP b5Fuk3r2MXqOzO25zUZo2zTESWnOoCi1p/ilA+TbpYPxM7ovhZpKP/HJjavsjVAFUKRkNl5W4DAlG 9r9zfQUj0aFDgP6/yZEeEXHrZAeoufNVdb050hBm0kdIl2jzOhOeGHqJAy2ZtXmtadt4erV/a0lbj kl+dCxn0C6hqJ1aaWr2v/EHaa6P2+zrdEc2CM1C5O1Mnr6wbXcySY1fOUEraoLAlOSW3P4B9DNean //tHxreJMSKcjZdlj/MA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhn-002xFG-15; Fri, 28 Jul 2023 10:28:19 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhf-002xC9-13 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:28:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540092; x=1722076092; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZK4suKsWSD/apdAFux8fihXNiLNnU7yVoM0dU8atgjc=; b=XEf5UYdOq5IGOGVY3eQetwmfMG8jCl26RnYD+c4CAUjktPnrADQd1AUr S5kfDlsm3u7nfikzhvubZhqlFwMDeJ7+IIJKcvkJCq8cQEDi759u14O55 jDaxnd5tHqBFgZMX86tgJ7P90LCn+olFD7uIcm1YuUJJbsRWrHUNjdBEd xtIigCl4P0n3oLmgdYGv04NamLgYSZO3YjmMHlOUB1/Utrgu2p4vIO8ay 2uEkGXAlrE+tqJiHDZWdGBjfIyxZ6/eC69YAcILjXiyXMYgY8NfzdbFM3 daJc0WBimmDYaqxKtTME4DhRpYpqRFujOiFzaXhUkJs5vZTcJ92U7OJuc w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623304" 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/AES256-SHA256; 28 Jul 2023 03:28:11 -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.21; Fri, 28 Jul 2023 03:28:09 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:28:05 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , CC: Subject: [PATCH v3 28/50] dt-bindings: watchdog: sama5d4-wdt: add compatible for sam9x7-wdt Date: Fri, 28 Jul 2023 15:58:01 +0530 Message-ID: <20230728102801.266709-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032811_419542_5FC6F530 X-CRM114-Status: UNSURE ( 7.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible microchip,sam9x7-wdt to DT bindings documentation. Signed-off-by: Varshini Rajendran --- .../bindings/watchdog/atmel,sama5d4-wdt.yaml | 15 +++++++++++---- 1 file changed, 11 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..ce3d046e7244 100644 --- a/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/atmel,sama5d4-wdt.yaml @@ -14,10 +14,17 @@ allOf: properties: compatible: - enum: - - atmel,sama5d4-wdt - - microchip,sam9x60-wdt - - microchip,sama7g5-wdt + oneOf: + - items: + - enum: + - atmel,sama5d4-wdt + - microchip,sam9x60-wdt + - microchip,sama7g5-wdt + - items: + - enum: + - microchip,sam9x7-wdt + - enum: + - microchip,sam9x60-wdt reg: maxItems: 1 From patchwork Fri Jul 28 10:28:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40E92C00528 for ; Fri, 28 Jul 2023 10:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UHdZVERCF0SXEQptHfyNvVn+8R1uYhgTxXeUcHjb0Ho=; b=G9HR4GMjzxwPRS L4AOlg79VjAXrOSfi+LWH9BXRsnUgmp2/Hm/iE18xYY+d+i5suBalKPokEHMHiRyE+RkPPrb3FNgW LbAYnVgl7UncUH/fnhObE7nQ0BBWyDy+jyF2Emr1W64TA78Z6T69wcNsZaEfT+mUjEOGHOU4BnC2Z bfe237FOFWCtnPSGAJ54hvDkloDSxCR7VV1Wwty0w0KhQ15wy4JSYYZJhfXpCU63d6HWbpn+8r5Jx rDUKu3poSxGshymT5Cp8eYt5KBArjHzVXRGSWYsWO9aIs9pGfUK6XdMsUzh3sdQwWyMxJ96JU+82k +PqtPw8ldm0tZVDIoCkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKi4-002xMU-2h; Fri, 28 Jul 2023 10:28:36 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhv-002xI1-0w for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:28:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540108; x=1722076108; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=l613YqgfVuGo3pS10BGjJIxh4OsrJCawGN17F2E8C7Q=; b=XcPYmEe9dTuaCQ7Xi0fcG72TmvKtUuvtKPMG6ZOrzzrhMMedJhE83dz5 aXmVd/PEwF4oXy79hwNFWDaLL7V9QWc+u66mDyJXb3U70Db2F5NNzZdLJ MNlHFukNVv4ghaRouAXkji+Roy1F2Z+Qd7PTn8Gxe83Jjs6NKIrol1ieF 8eDFjIiA34YUZ6ny0UiZy6ZJFL4/kKG6vnX/8nodIMBUi4arPgbezPV6N aNuO23TC9hHd8q8JExCRUHMWGxAFlVmLHH0wEm82jxkPu/icWUmGOrOYu taBJU1G+nH8lTU6MmZmlsWAssx5YsU+4Q92sImzHyDo03JCzkgfKvGjDo g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623323" 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/AES256-SHA256; 28 Jul 2023 03:28:27 -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.21; Fri, 28 Jul 2023 03:28:18 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:28:14 -0700 From: Varshini Rajendran To: , , , , , , , , , , CC: Subject: [PATCH v3 29/50] dt-bindings: irqchip/atmel-aic5: Add support for sam9x7 aic Date: Fri, 28 Jul 2023 15:58:11 +0530 Message-ID: <20230728102811.266759-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032827_353249_77615815 X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- .../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 Jul 28 10:28:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331673 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92C2AC001E0 for ; Fri, 28 Jul 2023 10:28:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NUgtK2HO1EFtGIOGBg4q04q7URMGtz/qPluaJyxt7dU=; b=MQcLO+tXOh9oAO b6vm+adH8RWEM50wPmkZPO3Zy5iKiXm8AHFz6K6MT0Q78HRrRfIA05VQJkWVIavFI2VjH227UutiC E/3cqqsZ9ceWBqd16lQwIEfQB/cR6nQahtLxQ9RxDlXLSpOCu/J5+VdJ1mqFfwsVPr/QAHtO9NtJ4 IARBDa45EpHaAKE2nXSrKonFeirEE1LHqYnLyPeA8HMywgn1JpXbqmyjY0QODiHc7+5BxFij8dS6R tFADycD018FmyIzkog3Zi50beV59WYufTWHI80Wl3l8d7O/1NDo1F5HzbxmgbYEs8naumcndbY8Le Vwqk1JpvcDWwolh8hGEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKi5-002xMv-1F; Fri, 28 Jul 2023 10:28:37 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKhw-002xIn-1Q for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:28:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540108; x=1722076108; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GSweIkrUGUAD4SStALMucylJ/QGEPeV03wfRlGauzT8=; b=XaOnKjM8AFWvNzIaK0F4abjmCytTN9mZZF0bKEG7bbGLPphFg6Zf04wK fAsIX/lR/Afs6WcTZN/b9AqOaWU62wroTeJLb7UQUY832byxYu61vY8Dw cUqSzXFg1wguD03CQk2HsoK7wZmOOnfyYJlaA3fjmycszPQtYxL5ZYgi7 c0Q2ttitzAirMIA1k4xoMPuYtSsJxoVjhkzYgo2c59XbOMOFNL+24h9L/ Oj1RIszLY+4EvP/HMB6J7YlJ+Y+11DZR5wtAtrKrfqvx3ZYNC5sucfXA1 WsjWjFLwDbT0BnyBEo+99uKTQlDkF6upz888AtSRSv3q34iMfVrLr8cz7 w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401613" 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/AES256-SHA256; 28 Jul 2023 03:28:27 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:28:27 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:28:22 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 30/50] spi: dt-bindings: atmel,at91rm9200-spi: remove 9x60 compatible from list Date: Fri, 28 Jul 2023 15:58:19 +0530 Message-ID: <20230728102819.266809-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032828_484480_B92E0691 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove microchip,sam9x60-spi compatible from the list as the fallback is really atmel,at91rm9200-spi. Signed-off-by: Varshini Rajendran --- 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 Jul 28 10:28:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331676 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74826C0015E for ; Fri, 28 Jul 2023 10:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=viIQZZ8MHY6JDA2VZEezFFtA2+adQ7oPqkYeScFVsfs=; b=b84t6hhoo9adkv JpQ4cTjIUhWDkfuo3zO64X4Ma54Qs2H9C6yVviu+8zEgvWu78J28pbroQcbRUcVgq7CsZ6swYeRKQ Xl3P44DTs8BXTVbiM2fAE3J4u2tElfoyGwzyvbymnGYnqK8QsbU7ls8MxNTRtR0Nprfm0Own8eFtv B0WNIWT3f0xJjBHN44+JuDRjMHrhq9K8NMNVaQKPHo3367nLeacc/nV+GT8AFSSL7iuWIr0VVMP5G JTITLNttqe6QhLSV2mcd0BnGh7qV66oQpieGY9FvMbqXRJnjC82xrufA6ngDWIlJjiqaY0sDzz8gt cLNOyWAIAQN9JzsY+T6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKj2-002xgd-12; Fri, 28 Jul 2023 10:29:36 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKir-002xce-0M for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540164; x=1722076164; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TjFhqTnBLmMPxvyy40FYkm5ofg7q8wLKisUlMVjtAnk=; b=D6dtrZiDf9GPptvwY5DAD6D0E38P+oE4nfF5OKpD35CE8nOXkwKY6SlJ RvKRr0cZQ883s3ofZVS2tAjW294oQ3jtiQNIUhb6/b3vYtLhr2uHtfQVF Lo+S3LnkHFc9Qe1U/pOMbeNDcgqQ1eIL3QJ9RtyzjwXP2z0hA1efu27QS Gph20VEVZWLMqgcibGxQTNQDfN5yTthpYYO8pbVT3gMWjcH8/H4pChc2f /TBHvBpBuCAKcaSONP2zGlrEeZsEk+YL56GyrVUlS4jOlE6ym3P9n0NHq XuxVn6lY6oNVOVhlVe0wo25zGprOhUcx5wvV/IYgTHed4Jke10t6fkQ+7 Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712795" 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/AES256-SHA256; 28 Jul 2023 03:29:22 -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.21; Fri, 28 Jul 2023 03:28:57 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:28:54 -0700 From: Varshini Rajendran To: , , , , , CC: Subject: [PATCH v3 34/50] ARM: at91: pm: add support for sam9x7 SoC family Date: Fri, 28 Jul 2023 15:58:51 +0530 Message-ID: <20230728102851.267029-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032925_211434_62A0BF63 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 437dd0352fd4..b2d62a63e37a 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -232,6 +232,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; @@ -1131,6 +1142,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" }, { }, }; @@ -1358,6 +1370,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 */ }, }; @@ -1495,6 +1508,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 Jul 28 10:28:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331674 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C47A0C001E0 for ; Fri, 28 Jul 2023 10:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GE2DfPjUsTPiCfw8EllCqKL0es/VZs+yzhgP7RJIhuY=; b=YbPHYYZKapTUMt yOZ7nzg5ltFfLtyRiB07S5LsT8SMTSWV+wK5KzVraxPge5RI/oqhg+YuJ/A/NbmbUomKotLvX0I9o OdBu/c+RJ42GZPA0iK+IvObcFz6poilAf39IXwle7FITEuClSQdC9CmKaJvD/NpBQY1yLTb7db5lw Y4BC6i4bfL1f+3bGhRyPKyBH9bIfeAsYqB7ONORv155X7tSoO0iyLKoGn87X7ojt+fPCdm6KFnHjO 19hEiYPpfQZOkpFeBKgx38hBaBShtwnF+eOQqTGtVeGo6jmpi0OXTbMviL3uJBsKHkqMjIjWX+DqE x5vT6bP5jxWGtjKu3TmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKia-002xZN-1m; Fri, 28 Jul 2023 10:29:08 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKiX-002xXc-38 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540147; x=1722076147; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ig30gwYZkr/IoUPy5H3F0pxktm0wBBqBXGc48gOkR1U=; b=s1zPfhRqBV/u1XxGD14jlz/pJsyJe869a+x9HAdi7bNfeBLqgujMXD/C Y2IQy1tBSKEfU8wTatm7ZPE+NitEFBAW0msSPQkL4ax44OgqJddUtZ5ox 5V8UYCahKyd6tHOX7EYT426cYKN/C2SMFJ7KoY5lZdeMAIoF8sb5V/ZqU qOaxqLU91dDVzPi2Y3PJfLvv5Ld39742uKbKH8NaHm/dT3YXZgSWHzP2+ giutIyhVQSUwaVkv1uyOCkwxorBHGj62g8pl1dXzLt4F86T7sE0ii2El7 gXJi6wS3fJGEhAegXOg13chldzu9ub1vQg4nRDTKDQTAIP0zsN4ynxGS0 A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623395" 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/AES256-SHA256; 28 Jul 2023 03:29:06 -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.21; Fri, 28 Jul 2023 03:29:04 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:01 -0700 From: Varshini Rajendran To: , , , , , CC: Subject: [PATCH v3 35/50] ARM: at91: pm: add sam9x7 SoC init config Date: Fri, 28 Jul 2023 15:58:58 +0530 Message-ID: <20230728102858.267082-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032906_023221_07B1781D X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 Jul 28 10:29:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331675 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2374C001E0 for ; Fri, 28 Jul 2023 10:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nR0b34wSeonrLaHo9VRzHC2O5Jlw8ekKAjQJgH2G/mE=; b=R5EPzPFjj83ouz MTlZeyrbRINq2AtgPf17WVuoXp3lQx4V8+DXUR89okWccpUGLk72ZNVStyZhbqCw00G4hl83YIUl7 GomF/NR/JNHyPzdtz3Q39CxGeuraq2F+HH/z/9sli2zcrEycuROwNkb8xJNiI8VsMIql862HKk5EU WL4kEOtMT2eVZqk4W/50E5EGXXZYin4EN88stkZkynAcHfGSdl3tjsF+O8spK94Rk1vOG6WUeAdvn GN9LmsdbGuLEdT6NhFuAnXVjkODMm/ZnzgnlxFClEZqoR6vS7hAd+O3InQ1YFHT35Mt3aaf2F/FWF 9KG85R6XihXpd2I9Pm9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKir-002xdf-1a; Fri, 28 Jul 2023 10:29:25 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKip-002xce-1l for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540163; x=1722076163; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=2bSiBv2FojN9c484FZ3qABscvuszGS0eBuzoqr7FiLA=; b=11/yEHMHp3gTKIGEmDoAOkzatAPY7OTWhePz0Vf5dOo0+RuNKSK0TJhN X0Z5mmjJUDh6Lg8WQa7sBTqZXJqrAPvB6jt3LsL5lLXi03fAgIil3wqLh aageCRCOQFqMis39uwYk+prJDZ5tQqXvJijmJ8FakW1CNRy+1Txhm3Uib QUbp9+AdtAwKchlnGKYGTbgHWZMgG7HNbTk2rGmnOeK1YYqpdyfvkLPQc xhzZ3jBlGex9A83aH8tInBYxQBNfinlvjzYM8u55mf+UXuB3iiHvamTpv tcg4PoduT5skJEPy7jAxGP8vlTuZ4G5bsoOCU0D/TOvd5d7Gm19eHKItp w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712793" 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/AES256-SHA256; 28 Jul 2023 03:29:22 -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.21; Fri, 28 Jul 2023 03:29:18 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:15 -0700 From: Varshini Rajendran To: , , , , , , Subject: [PATCH v3 36/50] ARM: at91: add support in SoC driver for new sam9x7 Date: Fri, 28 Jul 2023 15:59:05 +0530 Message-ID: <20230728102905.267131-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032923_654096_9A5A3ED7 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for SAM9X7 SoC in the SoC driver. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- 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..26dd26b4f179 100644 --- a/drivers/soc/atmel/soc.h +++ b/drivers/soc/atmel/soc.h @@ -45,6 +45,7 @@ at91_soc_init(const struct at91_soc *socs); #define AT91SAM9N12_CIDR_MATCH 0x019a07a0 #define SAM9X60_CIDR_MATCH 0x019b35a0 #define SAMA7G5_CIDR_MATCH 0x00162100 +#define SAM9X7_CIDR_MATCH 0x09750020 #define AT91SAM9M11_EXID_MATCH 0x00000001 #define AT91SAM9M10_EXID_MATCH 0x00000002 @@ -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 SAM9X75_EXID_MATCH 0x00000000 +#define SAM9X72_EXID_MATCH 0x00000004 +#define SAM9X70_EXID_MATCH 0x00000005 +#define SAM9X75_D1G_EXID_MATCH 0x00000001 +#define SAM9X75_D5M_EXID_MATCH 0x00000002 +#define SAM9X75_D1M_EXID_MATCH 0x00000003 +#define SAM9X75_D2G_EXID_MATCH 0x00000006 + #define AT91SAM9XE128_CIDR_MATCH 0x329973a0 #define AT91SAM9XE256_CIDR_MATCH 0x329a93a0 #define AT91SAM9XE512_CIDR_MATCH 0x329aa3a0 From patchwork Fri Jul 28 10:29:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331677 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94E51C001E0 for ; Fri, 28 Jul 2023 10:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LESQ9jAdMEwtsy4F9K3F+en0rMZhlg15U5Qk2h8ieyk=; b=kIWcwiUsXocNF2 RnEbd3xOuhFHRHmZk57k/5NINZYCXIXBo7cxZOL1Vyg6nbeRDKNk8FHptMWmyxmtNznaVEWyPM2jz VzZaQhMxlGoMaSmne26Wx+iaPX4Zio3GwKTecImTOD5tMJjKoy0iVOWsK+kTGtnxD9R6YBIOBh23/ G+4m5l8dxebXcsQ9UciDvhBp4t/nEUqQsKlmD+O8bAYHHJCt5DIdPslM7BGKLjpnS+D9f8/85lr/3 Ewspr6cufkKjTX2n5oDfcmh3feF0elwyHIzw5+lX3vgKI/3vz2dPsTY6Cb01uDEY2n+OxpdS/wLEV YhskC/AQNNDDCi8iVV1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKj2-002xgx-2Y; Fri, 28 Jul 2023 10:29:36 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKiu-002xen-2k for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540168; x=1722076168; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=yupO65VLUPyZffIc75hdCj1FpXzK+t+KpMhOK2JtQgw=; b=m6Tjnvn/4mW6+JZFHbMS/lc01wajt/1ERU2YPApqgjZjZuwcb6dkUOEa llpEJ8DetOU1+X8oP8jmfagSfdLAWp3jWwvXRBJEKix3oA6EPvVs3LFGn /gC3gGGqNDG7VPKh3WVXHvwXlOXdSmltWVNvySuCUiVdin/ZWdKPWMcbQ FRBzvMMdyb7sNyI6vlt62FsMlKjWbxeK778iMGYszs9kZd3YXN9Y7q+cY OlfeYo1K7WnO5zCgaa1PCCyD2uOZjs4T8L5MAKpWW+cH3gZ7A3lzgfs3r yWZadLRwG3I35G/PK/1GAMk5cTkav5vUm0MUbaIDeUc5ozBI2jvJMuA3c g==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401737" 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/AES256-SHA256; 28 Jul 2023 03:29:28 -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.21; Fri, 28 Jul 2023 03:29:27 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:23 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v3 37/50] clk: at91: clk-sam9x60-pll: re-factor to support individual core freq outputs Date: Fri, 28 Jul 2023 15:59:19 +0530 Message-ID: <20230728102919.267179-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032928_900876_20375E84 X-CRM114-Status: GOOD ( 17.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Jul 28 10:29:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331679 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB67AC0015E for ; Fri, 28 Jul 2023 10:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XpiE7FpgYPGPMB+AxaBcmo6Ef/6F9CntNLsncHxsR88=; b=nql+Yx4mLey15z 8TvQHrusO+PY3l7/qD5QVnrmyWDAYDSFNxqHPQqK7+7btq/d85AxxEiUJq83WoyYp4rn/F+wEb7PD wGT5Yka1xlh3ZYgQlcr7+lK0J1QaHx4CgaKnvtTMC4vuQTNnwY1Raez5f0PdA3MelryB6nix8GCTK suL13cbGQQdwSQomVcObdYOZ7lFwCFmsDIqkxYbsov7UzkNHf7a3gyw1JWPaXF6ptQdAU2uzZvUgN vUP+Oq4zjDJwGhuSPJBT5CGOieU2j3g4WtXMHH0eaSs1P53unJ4Cp9YIB6lx1NGpjxhrVak9BOjzR qi9hdashR2IZWb2pSRLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjM-002xnz-07; Fri, 28 Jul 2023 10:29:56 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjA-002xk0-1y for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540184; x=1722076184; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=+9RuzNpYmHyqf7fIjBX42rka1JAIk57K6KkiNE8I2wU=; b=SAa9NmWCsD8bBtXchbkvocJHyHF4BQf137++8RY3aKuXwagVFN8t0xay KBk//+dk4t0cI4cWKyQ0AqvHGo3kH5WWYBqiHCbDJ/2/+O+ZTSc4wPteH b2pZv7yDvJT0+driVbK0ZGRYSS5uLxFUgCaONAuaUTJZthtMCL+lk5Feq 5THgaquH6re89d13qIcChUcqr7hQTyWw47hSGmgE/v+n4C9MxkjT33RAd gwb0/9nuZopmNM9U+H+6HHod2d7UvCcVPhyheZbGCYhbGUQPKp0uTjr9C oW8sKLaazs4U0vEXOp+L683BYpp3GJ66nOkmi4Wt0zZF/Qal6g8BB4tP/ Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813731" 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/AES256-SHA256; 28 Jul 2023 03:29:44 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.21; Fri, 28 Jul 2023 03:29:34 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:30 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v3 38/50] clk: at91: sam9x7: add support for HW PLL freq dividers Date: Fri, 28 Jul 2023 15:59:28 +0530 Message-ID: <20230728102928.267237-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032944_656111_FCFC804E X-CRM114-Status: GOOD ( 16.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 Jul 28 10:29:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331678 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13772C41513 for ; Fri, 28 Jul 2023 10:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vISR8sPB7BD/fcuhOnINqvCIBmCR7EZg7XkTqz4ohBg=; b=MTQvu9UmxEhp0Q bFHNGh8Rvod5r93BIsKuHMuMJIcwFP1nxs6RzTiCvakzJnjNIZaSxnwg2r68UBOiBEsheW9qcwIAl SKlpf+/FqyvCz7N3YIg+Gb6bLIRYKLAHseaiWdj5+AFEzvYfpM9bZJ6gnFUCiOJP5eGW+BU+RLCXH 68SIWWbv9PzjkKW2Em9hl9nMETAp2tLBXGOZUA0w1qR4X2t7pjuHLCeRfRRlKmnHAAYCFcILzzm1e wcWbUXU+Xh6ngXrvW6298OfGMmkHZGziPjtTzAjyEzZ0j2kEw44hh41Rp31H2PlaGYfMhDAfWDGpH Chzv+tU1dLOHYZSeHCwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjL-002xnd-1g; Fri, 28 Jul 2023 10:29:55 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKj9-002xjY-2E for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540184; x=1722076184; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=f1dps+oGiDe/KHzYb18t8lFz4154pwNNCSulv4GCbrs=; b=M+u+t1c47UTTFcjcduhk0MNpeMYUFTwhVVarH4FtIpnOIRa7u2+RVsqr AMlBb/tFSjUqLrgi2U9dLnCUIULcfuRSZmdxkXJUttGQDDd8YLJJRdgCu ImB/iHkcMdCs7zJcPQu3YToOgKw0p1hdE03YvHBVo4R+BgqqLvcnB/msX W9XKRVE8Sju4bqOf0chC1E1DDhdt/CkaQpsZBoUb1V4xt9tZnj0vRPffr hPLHOyIJIwlto/j2+4Ar+uKBVkWhMyot1LNmFpZqE25sIv0PLtZn69yGI weNRKgXWMTE5H9NuLVsObKicj+/Y7BCcPnDoncrUl6LieMN1lP9n1DJs9 w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623427" 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/AES256-SHA256; 28 Jul 2023 03:29:44 -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.21; Fri, 28 Jul 2023 03:29:42 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:38 -0700 From: Varshini Rajendran To: , , , , , , , , , Subject: [PATCH v3 39/50] clk: at91: sama7g5: move mux table macros to header file Date: Fri, 28 Jul 2023 15:59:35 +0530 Message-ID: <20230728102935.267294-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032943_784034_B8F71EC3 X-CRM114-Status: GOOD ( 13.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Jul 28 10:29:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331680 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94647C0015E for ; Fri, 28 Jul 2023 10:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hH9pdTAAIHAzKA3n4aBpQpXJmhfBwamXh1+jDv1hAaY=; b=p6RgIzIO3ncM/6 JpPy0bNFUTKBBRFO8WNu3nRMfVxzqh951I0IiVZ5oEtAAs5G8Jykpfwl6DHHznhsfdHS0hzJ2JS8R wfSYXjP6Lx1ujUds7yLnHHrSL9fzexX39B1/5EDchwegAONjxISE9DERcYJiyXdjOqV/mzjJUULri 0lJikr+/QKxw2JJtzNJ+Z62EiTUtD5iUbJURrLhWo9yRH4lrj0HvfkB2VNc5pNAgWoOd4qoeZ7K4b ycX27cvj560whkkPahYfIDoEb/yXIfisuWoD23mPkNK3lg2/YhRetghTL31kB1s3QSwCxqm9+53KD F1t0zqR78o1ufCH2nf2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKje-002xtr-0Q; Fri, 28 Jul 2023 10:30:14 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjL-002xnJ-0B for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:29:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540194; x=1722076194; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=EDSMF3KpdZJFrM1zcY0RzUGcphR/aMUmi1WoZ4tRDvM=; b=jfbnmntT2IY6+G9wlTbc8Sc/LjoSbuKjIIP7d+WOgQP06Gjx5iQMdjcY uHs9DYPEe1qa8Vqxe7kB/j45EFis3/S6CxtsfVZpupyfstRotY2rysNxN LYJOMOESq8ulLmBDuM3l1vFTff0zbAbM/08lzryeRTv7cv+Fpc0D4NZKE 1G1u6nRWGW0PPvxvwc6aElxjhBev//ZiepJ+wceM/Xm0j5qAmsnZ0o2/H DEYZYMR0eyI4Z8df87mhuki8MxA/1zfelYZeidlrCJk/reIt9xNJ4N0k4 G01PZVI05bg90jROSOhMEr/v+VEX/Yc7U+9AJfsYYsGLsgqa4IxxUZ+2d A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712909" 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/AES256-SHA256; 28 Jul 2023 03:29:54 -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.21; Fri, 28 Jul 2023 03:29:52 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:47 -0700 From: Varshini Rajendran To: , , , , , , , , , , , CC: Subject: [PATCH v3 40/50] clk: at91: sam9x7: Allow PLLs to be exported and referenced in DT Date: Fri, 28 Jul 2023 15:59:43 +0530 Message-ID: <20230728102943.267342-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_032955_158039_4DF4D48E X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allow PLLADIV2 and LVDSPLL to be referenced as a PMC_TYPE_CORE clock from phandle in DT. Signed-off-by: Varshini Rajendran --- 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 Jul 28 10:29:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331681 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8A9CC001DE for ; Fri, 28 Jul 2023 10:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LtJxqULzEynOISznLFohZN8Vf5vhHUBcU+OkxxrOT8g=; b=GcHbgVQll+2lfl M8/PzBO9qG4x8/VxUiXPr6W85CmpZ9K5YYFC/kBW+GCQk4Yu9QUcXd2pt+LzVI2lCe1sUBK5hJHrY sqwTJD8dnJi37B1fO7LtWASel87xen4IR5s94p9RcR5+JYSD1HwixJmPscPKOreKrwcNmATNv0VQ0 CgiFGxAg5KQWt51NrmrOP26anp7FEpN9RvHJ9pXWJ3uEnokSrfZZth9xz4hqgdhbG+tvlKlh0mPvL 9s1Uu59IBtGiRbMkga/rc4tb8Blr5WQwf415WXxeHsRDPCNEEJqYVE4GIF6X8/09uJzMSzaL0EoQn L/E0QrZ1Q2qiXFsetpSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKje-002xuD-25; Fri, 28 Jul 2023 10:30:14 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjU-002xqr-2x for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:30:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540204; x=1722076204; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=jo292InqBt1jABPT0MUK/42QvS208sysRRhleZvSgAQ=; b=cxWoMesqJSmDam0RNtTih7mR1UZ7j9ZpL0gaKF5cscQ9ULbZjk9QmBq6 cNri0YOia8j0q7ZLpw16BJkz9MuCCn7eVzS6T8EG6MKxvC3yGy0z/Y5Q3 DC9WXNTxKj+JRSG4SyWiBKa+lrFsjkEA4AA0zLwi656ktzVHYBK0Q/LYw zDWYY2HW3tAwzln3NMH+p0ZpeScH4wet9Yew/C4St9viHTIaY7pC8E9Nv /np1zuQZmwsfa4J75mAg5/O+4x9Q6oyesFB2cj8r65iWmMCL4AATKKtC4 P2cp8SiqWGGhPzABfKN2k53g+C2SNHueJJouaa7elfpOBfs9nczbDZn/U Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163712917" 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/AES256-SHA256; 28 Jul 2023 03:30:04 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:30:00 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:29:57 -0700 From: Varshini Rajendran To: , , , , , , , , Subject: [PATCH v3 41/50] clk: at91: sam9x7: add sam9x7 pmc driver Date: Fri, 28 Jul 2023 15:59:53 +0530 Message-ID: <20230728102953.267391-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033005_068406_0D61A216 X-CRM114-Status: GOOD ( 19.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a driver for the PMC clocks of sam9x7 Soc family. Signed-off-by: Varshini Rajendran --- 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..391c86f07df1 --- /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: true if clock is critical and cannot be disabled + * @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: true if clock is critical and cannot be disabled + * @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 **alloc_mem = NULL; + int alloc_mem_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; + + alloc_mem = kmalloc(sizeof(void *) * + (ARRAY_SIZE(sam9x7_gck)), + GFP_KERNEL); + if (!alloc_mem) + 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; + alloc_mem[alloc_mem_size++] = mux_table; + } + + of_clk_add_hw_provider(np, of_clk_hw_pmc_get, sam9x7_pmc); + kfree(alloc_mem); + + return; + +err_free: + if (alloc_mem) { + for (i = 0; i < alloc_mem_size; i++) + kfree(alloc_mem[i]); + kfree(alloc_mem); + } + kfree(sam9x7_pmc); +} + +/* Some clks are used for a clocksource */ +CLK_OF_DECLARE(sam9x7_pmc, "microchip,sam9x7-pmc", sam9x7_pmc_setup); From patchwork Fri Jul 28 10:30:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331682 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E71D9C001DE for ; Fri, 28 Jul 2023 10:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=21VDUUqrlKKnzzXixbUT6n8Du+VDtIYlhkIZ3ctZQ84=; b=SklanSrKNlj21b HPeqcAHv31gwD/w2Ko2ql88c8U6rvgk95QiCjk8cJNJFAEqsLhXkpJPorZ0O4EMj5Dqv0Zxr3wLEr o3Qx4QIKJPPQdQ3aiaHe/NqVd5ea3/WJr+gMIhKH6ELr2RkeQNWbBtEugu9qMT2YIrqC4HMOJ4NXO 5EOvwdEEjDayvQtWVAiZq7rYBp18BMalL6ViNJKfyUjzjI6GURwprpy1XmGIU23XaK1qCUxEMxkEd GU3cCjWSUb2jLCX157y55BoDm1ePzMW2G8QFbI2X2hAaDaXJB0IK+BjLulxS5SpZj7itUXSfwQun4 obOYAzQfnXYppKvOPbIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjv-002y0Y-2A; Fri, 28 Jul 2023 10:30:31 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjf-002xuj-2E for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:30:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540215; x=1722076215; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xbMFJDkuvSAVzLORTJHW0ZL04qI1N0hFjbaAsJ5qgb0=; b=fWJ2VOaFPiuHKihW0Pqmcv4BKZverh6zS+feBTDuHwwU4TS7JYg0T+nc S2CNEJ+wPy4f9sZRm70K93BfhYQ+RQAhFmqp2wl7GYnsZgZFvByGpKLiV 8b5EL765Tpd8eHZEMuyMK84ujwqp2rcktq/0KrjqqWY/ZXSgNe3ILkjLF q9brXBfVpqHhyPUj+r4yaEIV1EmaV2yxXKfl/vXcc8HLZaVOZOtFMKxdX 53WrkAH4Lq5ikcnx0dRUuUuoUaWW4AJEz+cAbqV1PI1nmtVFxTosIT7aV XT/jyst08N3XsGEXEl4BgsE+g2arp6uJ5cKVuRMzRg5W1+iKO2SM+PljH Q==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="222729088" 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/AES256-SHA256; 28 Jul 2023 03:30:15 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.21; Fri, 28 Jul 2023 03:30:14 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:11 -0700 From: Varshini Rajendran To: , , , , , , CC: , Hari Prasath Subject: [PATCH v3 42/50] irqchip/atmel-aic5: Add support for sam9x7 aic Date: Fri, 28 Jul 2023 16:00:02 +0530 Message-ID: <20230728103002.267440-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033015_798365_FD9DED34 X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Hari Prasath Add support for the Advanced interrupt controller(AIC) chip in the sam9x7. Signed-off-by: Hari Prasath Signed-off-by: Varshini Rajendran --- drivers/irqchip/irq-atmel-aic5.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c index 145535bd7560..bab11900f3ef 100644 --- a/drivers/irqchip/irq-atmel-aic5.c +++ b/drivers/irqchip/irq-atmel-aic5.c @@ -320,6 +320,7 @@ static const struct of_device_id aic5_irq_fixups[] __initconst = { { .compatible = "atmel,sama5d3", .data = sama5d3_aic_irq_fixup }, { .compatible = "atmel,sama5d4", .data = sama5d3_aic_irq_fixup }, { .compatible = "microchip,sam9x60", .data = sam9x60_aic_irq_fixup }, + { .compatible = "microchip,sam9x7", .data = sam9x60_aic_irq_fixup }, { /* sentinel */ }, }; @@ -406,3 +407,12 @@ static int __init sam9x60_aic5_of_init(struct device_node *node, return aic5_of_init(node, parent, NR_SAM9X60_IRQS); } IRQCHIP_DECLARE(sam9x60_aic5, "microchip,sam9x60-aic", sam9x60_aic5_of_init); + +#define NR_SAM9X7_IRQS 70 + +static int __init sam9x7_aic5_of_init(struct device_node *node, + struct device_node *parent) +{ + return aic5_of_init(node, parent, NR_SAM9X7_IRQS); +} +IRQCHIP_DECLARE(sam9x7_aic5, "microchip,sam9x7-aic", sam9x7_aic5_of_init); From patchwork Fri Jul 28 10:30:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331683 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C5D7C00528 for ; Fri, 28 Jul 2023 10:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=d05LmWkrXLjk82EJFqXEpOfzbbimsbOt7QmT1ULAQSE=; b=Gxu2JLgmvyUhNi V8QAEQfpmMdeoBQIKUL3vWUZO59KrgaZOVFxlYQlV+pyffSyL8oIvYcGR4BoxBv6OCkLFZHh3+V/J Ym5slEucwpyeul5XS4DNwRTMyk0AcOVXvpL+eivTKBNcI9Ygtw1MWdSdOJKvvElbfX6pPVUJ+5Gvf R2iqFrejWIilO07BCdhtu4LBhBmcXLm/QhI6Tc5iJh6XPzyK9isSCYpggkFuO4bpfIUlFRAL46m+X qk9VKLJdIsOG2NH3NoxPuyv+VNBisJLH9mGIeKqUM2Ix25DOvAfYHTuM+5b11w1S93x7agT9ynUQ9 dxDVNNSSrVvuGrWNv8Hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjw-002y0t-0V; Fri, 28 Jul 2023 10:30:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKjp-002xyF-0H for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:30:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540226; x=1722076226; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FQaqOrc0da577LMZqP/Fi64MeTY0WzHny0EnnioIJsQ=; b=WFdwPvOjF32V08KfsGrLxTvcEOpXPv6uHc7gUov27vYsWywWgYh9riWi Liai7n+ZQQAfbZYmno+q881mFxAZIQE1h9NSBPmReZXGtwZJmjdVZaBqX 30JMXD0svwiAeQsr96gAV0TebNW+GqihI7AtspdC+//FXOGk5NfDF/utS PrR9FK7q/u4Mie71KD8+cWa2m/+FRYYdbVdHsk1g22/aQGu47NrTlwBTB U0IteiLuX8267TZVZjQhy+hPnDq1pdWs1kA+sjvjzcX0uCHZTc4hD5rKE q+sOgUp2oy7lN4/KwpCl1lOFcrM8xxqD/IEmCxRROv1XHEUfK9aTzEOKA w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="226623559" 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/AES256-SHA256; 28 Jul 2023 03:30:25 -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.21; Fri, 28 Jul 2023 03:30:22 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:19 -0700 From: Varshini Rajendran To: , , , , , , CC: Subject: [PATCH v3 43/50] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Date: Fri, 28 Jul 2023 16:00:15 +0530 Message-ID: <20230728103015.267490-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033025_129221_99BFDEC6 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. Signed-off-by: Varshini Rajendran Acked-by: Sebastian Reichel --- 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 d8ecffe72f16..d0f29b99f25e 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 Jul 28 10:30:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331684 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CE7DC001DE for ; Fri, 28 Jul 2023 10:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DAZKJ34jXQG28sf1qGrzSzoj+F68yFmfa/ImrC9dp2I=; b=dCx7RsdMdp3Gcs l7DacygkIbhZnrYXWaflaNUQCGSWGczzOUSRmlboDbsPqx40m7Ghtreo4LRmME21SVTu0Ov3e9WAh EMQOeY6kDA/r7yxb2K5BCJxgJ9UgRRE54XlB8YrWxAtFC4pIVM0wYzqejdEh29UGOSIuWHtEZLRVn McJNvjb3Buc54Q1B0gAlh2gFxE7mpoVSrbc7GM3OxvzEw2CmwMAH330Vi9acCXAcfK+mCMZULrYv/ GBuQXaT99r+Hirk4JpnE6e9SkSOMmAF2nh6HEZouJPbMXDkJTWk1c8d7i/9ADfurb9+jOP3mFfWHt NzHYos0G5YJ/RojZI55g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkG-002y7P-2e; Fri, 28 Jul 2023 10:30:52 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkF-002y6f-07 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:30:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540250; x=1722076250; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jCHL+Jd5EMSndMzWvV72eKzuixuestkfs6Y4izjdGGM=; b=sEAGvNDUEpsAs74mahdoMUvvuV6kmpoBBAnOZVoJaqzYXB+HzvaCh+Xj QWAz1qjPKQdnG6F+dXjSCphR+azeHuz9qsNrAE7zTyQ53IHtU84l+gt94 Y/qdpgxGDW77HQNZxWqQsjFRzcTeOUnkiwAH7NEnSkvikg9+GNeQ1678d 0wUKePgmedfKgN4qy2ZeBmeLm6ilSUsQ2iMnk6j3AtxJBhoO09E5NKRGK p6QRStn4UQMjBKoxiMFfuONR7NxGJEZ+dWTahoBHWxWgD4FoSrg44qIyK TrV9wlTEyhJIKP+iDNwnkM8/FNxATOhUP8+fwgftVkifZaA1WLHckDhMe A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813947" 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/AES256-SHA256; 28 Jul 2023 03:30:50 -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.21; Fri, 28 Jul 2023 03:30:50 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:47 -0700 From: Varshini Rajendran To: , , , , , CC: Subject: [PATCH v3 46/50] ARM: at91: Kconfig: add config flag for SAM9X7 SoC Date: Fri, 28 Jul 2023 16:00:42 +0530 Message-ID: <20230728103042.267646-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033051_076997_D1269F55 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add config flag for sam9x7 SoC. Signed-off-by: Varshini Rajendran Reviewed-by: Claudiu Beznea --- 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 Jul 28 10:30:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331685 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4A27FC001DE for ; Fri, 28 Jul 2023 10:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CzdT0f2xkVA0jDnxV5znxyT1kRgFk7BLb1nZrCvso/A=; b=O+x+3+kFrl8ioU yRlZUbJgUIODWIOZs7uipSy5dNXGN9cm+NEGUsRxu9e/0qxbYzC1MYd8c11AayBfGl+jq+rGjSELi MFz7TZHvZa8n9q1lV8fSzGlMhkBeIzXxAHli64Kf/rYfEKqjpM7+T85g0iFJTc0tGhPoD0fjtezjL deINojGPSvCF4TrNQkesBgLABvufjVo4N9EUdYnK2+jbhR5rqcKp+UkiUVD7NGEW1r/rjc8RUkwWM 6j63/IZw9NRrgTDM5REdlHr+zwiQctbmGsB/BV9gteTS6hYEzjzekaiNyYEez0tSNNkArZwccbaio v6b0RuJFtVG6jQGu3XVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkP-002yBX-2M; Fri, 28 Jul 2023 10:31:01 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkN-002yAP-0V for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:31:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540259; x=1722076259; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=0EGq0ZVfpcCJM4IAcCqavy7vjelv4zEARyppyJL5U7Q=; b=1FGUear4uJsMqKP7VXG1KJMtY4kqUOTJBkzrK2XZ+EaiuQwCnoel6m8T TzyniKwGV2t4I1J1hH7DubD3AjkOhzVdB3WvRfGQnESLnN5LQCidNh/9T LdaVtTBTB/jskcWnJlU437JSBI/3WI6kqPt39ZyxYCLvyQWWc+fiJ2Qr+ dnKf3po6hlCUH474oed9AtdF1iSHQKPefBjbg1vMLFhuPSiXx86ugkYU1 VPwG8iBdH6cFsXOZJAlbSRnNHL+Ax/Zjcsu5GZcsjDwJy3KtP08o/sBvh XIxUiTa1yGAV2WdP+k4HDS2tfSrwpgeNQwHG/j93UTIXTDFnIpEqGXqkZ w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="163713071" 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/AES256-SHA256; 28 Jul 2023 03:30:58 -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.21; Fri, 28 Jul 2023 03:30:58 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:30:54 -0700 From: Varshini Rajendran To: , , , , , , , , , , Subject: [PATCH v3 47/50] ARM: configs: at91: enable config flags for sam9x7 SoC family Date: Fri, 28 Jul 2023 16:00:51 +0530 Message-ID: <20230728103051.267694-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033059_260146_C92FCC8E X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 8cc602853cc5..342ceeab5aaa 100644 --- a/arch/arm/configs/at91_dt_defconfig +++ b/arch/arm/configs/at91_dt_defconfig @@ -15,6 +15,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 Jul 28 10:31:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331686 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C4C3C0015E for ; Fri, 28 Jul 2023 10:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6srh39o63oqWl1vZ4Q5x9x/C/I3pc+iJ1Yd2gTkO+ns=; b=N2SMGj+ayDmcWP uJM1dWcICCYgOtD1+ZouKi6GKmGU2sBFYjS2Rek40+z/2XnEVlBqSQiPuWrkcCKOS/16Xhmu9xVzw vU5V/WrGqCDh7TW2fqCGwW5mfrUbDHqZYsudJABRIzHoOljEGUy18LAWG9+uUi/+vdtj5j1CVjwjA sugAInUppRbFLWn84ly2bOUaerhUqrxdzbWLIJfRGUNPu1Uxut4z+Mk7RYpWC2fLgW3J74kvwyihT EgloHmFiMOLUhhnlPR/w2XKP5kCXWc8A1wgIKo+yziEwSw5JfOEgG4e82BbHXDKIDEdL61emNy38u kw90DPrhtUdocJLpxkNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkm-002yH8-2n; Fri, 28 Jul 2023 10:31:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkk-002yGK-2a for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:31:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540282; x=1722076282; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=1g44sE6+Od6SMEJPDEyOlmg+p5HZYIyXIwcF8EJ/S8U=; b=cO8k2NkymyCvfB1Mvb/9rrGW1m/dgpKhzJr6mK4mUWVkDZ7R8wjAglPV pdOnS6X4PLSZdHaHZzHZjnUs8AxQsdmJsgYZI2vFBm+e+8NP8QAntQqXw yyucTc54hOWRDy7JD3guZ0k/+vhe0dht+A40tHF+DlUfvqAd2Fzpswi6w MjidW3fxx+/orF1UUJ4TXjgqL9MsNBIdNGB9c/X9lwG6W+IJvCAK1XGK5 ZvU2Psqbj09B/lRqpSgDFdjTEZ8RqPqmlC+31DVEpZqFR6c3rydXBq/8d rG8NHqp/w8Aj6xyBlUggB+RmGQl+kf++S5eBRjzKjR54D2wNG+kKYf+a3 w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401945" 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/AES256-SHA256; 28 Jul 2023 03:31:22 -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.21; Fri, 28 Jul 2023 03:31:13 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:31:08 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , Subject: [PATCH v3 49/50] dt-bindings: arm: add sam9x75 curiosity board Date: Fri, 28 Jul 2023 16:01:06 +0530 Message-ID: <20230728103106.267793-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033122_844704_2377701B X-CRM114-Status: UNSURE ( 7.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add documentation for SAM9X75 Curiosity board. Signed-off-by: Varshini Rajendran --- 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 dfb8fd089197..15b11feae46a 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml @@ -99,6 +99,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 Jul 28 10:31:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varshini Rajendran X-Patchwork-Id: 13331687 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DAFEDC0015E for ; Fri, 28 Jul 2023 10:32:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Cjwhv6avUemHEFP+0P+blpm0MjV2ioEoVXXm+H8esfw=; b=F0cGhM/I/hB9br TUYidk6OgAYQRe+bge9uP61ojMIQUzPez4eJSSKeysQbjweGyVQRwwgGGFjR5UKSt8wAECZSJYv6I LK+BfBm2DnrWA74K/GC5VQLhf2qssesMd0Kea0DmilDW1SVcPmFQMq+ooIDtmCB+acgO3nZt2zvk/ D9pFhFyLbzp1Py3dqwr9ed1h+DA942tNC74iA3SD2uYhcfe2+h2LyBIcPh3J2S1Cg7TjZf6MRj3Iz Su2MvCXVeQmjSpVw+9P9wFUCbRH4XncaMvXryL02NASNoPhaFBu01eXA0CVoKuINzHbTFM5PuyN7w 1n/7wLMRiloGgtFyVyqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkw-002yJL-2F; Fri, 28 Jul 2023 10:31:34 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPKkr-002yID-0b for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 10:31:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540289; x=1722076289; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=EBzGP6WnxviijVISZi6yqDkJC+1RwHcRaalxK6q0ZDA=; b=g3Vsl6bMP3ecWCcX1uKZFOBK0wp3ss3+D+7BZIXZ1ev3Zh3v28hTQCs7 m4SxzMCauON6pulm6zsRH2OXYJAMtecGnzWOco/yqmx8hiWkQw0GRHMiR u2NyEm1N5vHyMk7hy/LS77hMMhPBSDiLrQmjWzPebQkLOT6K7LtpPUvkE ZIlzNCf+fbuvZ+lcih7rlMGwW337hJAuUTFnZsS23G9Zv3/aFAtQ6ETog 3h3aUAonBxoHqhFY+jCyc59cf6NC5JS4kRz0tbtIHAh2gRhymwaonfZ+M IIZ/Pu3ph++ERCT/htlWnbBRCLGB1UHcrDvKOEWxNP8CjNF/+340c0+MN w==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="238401992" 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/AES256-SHA256; 28 Jul 2023 03:31:28 -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.21; Fri, 28 Jul 2023 03:31:21 -0700 Received: from che-lt-i67070.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 28 Jul 2023 03:31:17 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , Subject: [PATCH v3 50/50] ARM: dts: at91: sam9x75_curiosity: add sam9x75 curiosity board Date: Fri, 28 Jul 2023 16:01:14 +0530 Message-ID: <20230728103114.267845-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_033129_237422_F818CE95 X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree file for sam9x75 curiosity board. Signed-off-by: Varshini Rajendran --- arch/arm/boot/dts/microchip/Makefile | 5 + .../dts/microchip/at91-sam9x75_curiosity.dts | 311 ++++++++++++++++++ 2 files changed, 316 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 0f5193d05a31..f3d604c30325 100644 --- a/arch/arm/boot/dts/microchip/Makefile +++ b/arch/arm/boot/dts/microchip/Makefile @@ -10,6 +10,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 @@ -61,6 +62,10 @@ dtb-$(CONFIG_SOC_SAM9X60) += \ at91-sam9x60_curiosity.dtb \ at91-sam9x60ek.dtb # Enables support for device-tree overlays +DTC_FLAGS_at91-sam9x75_curiosity := -@ +dtb-$(CONFIG_SOC_SAM9X7) += \ + at91-sam9x75_curiosity.dtb +# Enables support for device-tree overlays DTC_FLAGS_at91-sama5d27_som1_ek := -@ DTC_FLAGS_at91-sama5d27_wlsom1_ek := -@ DTC_FLAGS_at91-sama5d2_icp := -@ 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..a9ecb02a9f3c --- /dev/null +++ b/arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts @@ -0,0 +1,311 @@ +// 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; + i2c1 = &i2c7; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + clocks { + clock-slowxtal { + clock-frequency = <32768>; + }; + + clock-mainxtal { + clock-frequency = <24000000>; + }; + }; + + 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-0 { + label = "red"; + gpios = <&pioC 19 GPIO_ACTIVE_HIGH>; + }; + + led-1 { + label = "green"; + gpios = <&pioC 21 GPIO_ACTIVE_HIGH>; + }; + + led-2 { + label = "blue"; + gpios = <&pioC 20 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; + + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x10000000>; + }; +}; + +&dbgu { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dbgu>; + status = "okay"; +}; + +&dma0 { + status = "okay"; +}; + +&ehci0 { + 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; + }; + }; + }; + }; + }; +}; + +&ohci0 { + num-ports = <3>; + atmel,vbus-gpio = <0 + &pioC 27 GPIO_ACTIVE_HIGH + &pioB 18 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_default>; + status = "okay"; +}; + +&pinctrl { + + 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 = ; + }; + }; + + leds { + pinctrl_led_gpio_default: led-gpio-default { + atmel,pins = ; + }; + }; + + ohci0 { + pinctrl_usb_default: usb-default { + atmel,pins = ; + }; + }; + + sdmmc0 { + pinctrl_sdmmc0_default: sdmmc0 { + atmel,pins = + ; /* PA5 DAT3 periph A with pullup */ + }; + }; + + usb0 { + pinctrl_usba_vbus: usba-vbus { + atmel,pins = ; + }; + }; +}; /* 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"; +}; + +&power_management { + debounce-delay-us = <976>; + status = "okay"; + + input@0 { + reg = <0>; + }; +}; + +&trng { + status = "okay"; +}; + +&usb0 { + atmel,vbus-gpio = <&pioC 8 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usba_vbus>; + status = "okay"; +}; + +&watchdog { + status = "okay"; +};