From patchwork Fri Jul 28 10:23: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: 708275 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03F40C0015E for ; Fri, 28 Jul 2023 10:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235818AbjG1KYA (ORCPT ); Fri, 28 Jul 2023 06:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235836AbjG1KXw (ORCPT ); Fri, 28 Jul 2023 06:23:52 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF246421D; Fri, 28 Jul 2023 03:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690539819; x=1722075819; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8Jf6mTT0NG93rr1p7HYLhKRrI65Z3mrLqeiz6Xw3TYg=; b=e7OODQby1qQ16al9a3lz4h0JqEboRVpz7ghj3aqI4FfNpuyj5f4ojFdB rinNljzZ8OQiYzaxzbB7Cqj2E/Q/GZxpqGPQcLLJkSG9XAFKb0KgqBrSn H4kvhGMOe0BBG4x+900fbIkSvEVVgV5kg4yusIKSFwd6pYVuigYCqupQD SfQpVZwm2jxuLyBOe+0snHD/zclyBSfmW8MvVu3WrgrsJFUhik8VLjhUn moH+2mrkvRviD7DpGsy9+rmfWJkWwQJ9HONttHTcX7NKHPYoHYfZeey+/ OPqod5kRqd41Ka5C4cf/5pgm9GhB888O36nraDRDK4W/3EUUhSopaP8xE A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="227046886" 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:23:38 -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:23:27 -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:23:23 -0700 From: Varshini Rajendran To: , , , , , , CC: , Rob Herring Subject: [PATCH v3 02/50] dt-bindings: usb: ehci: Add atmel at91sam9g45-ehci compatible Date: Fri, 28 Jul 2023 15:53:18 +0530 Message-ID: <20230728102318.265360-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Document at91sam9g45-ehci compatible for usb-ehci. Signed-off-by: Varshini Rajendran Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/generic-ehci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index b956bb5fada7..e5c8f4e085de 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -67,6 +67,7 @@ properties: - const: generic-ehci - items: - enum: + - atmel,at91sam9g45-ehci - cavium,octeon-6335-ehci - ibm,usb-ehci-440epx - ibm,usb-ehci-460ex 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: 708274 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21D39C00528 for ; Fri, 28 Jul 2023 10:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235899AbjG1K3P (ORCPT ); Fri, 28 Jul 2023 06:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235641AbjG1K2y (ORCPT ); Fri, 28 Jul 2023 06:28:54 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B40420C; Fri, 28 Jul 2023 03:28:01 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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: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: 708273 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48CF8C001DE for ; Fri, 28 Jul 2023 10:30:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234302AbjG1Kax (ORCPT ); Fri, 28 Jul 2023 06:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235834AbjG1Kab (ORCPT ); Fri, 28 Jul 2023 06:30:31 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3FF059C9; Fri, 28 Jul 2023 03:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540133; x=1722076133; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=MRaQpZ0O+GmIjSSPmtCqS1RhB+CH/HoJ5cNyVqtoWsM=; b=ZoecFRhzSBWUpzK+ahVPhg7Yd2xyujs3qvG4HUWDlqk6InTcD+Qlhfsj UrNV4rrOlYW2ANYMkmgUmg9+Qydab3m4jTipj3hlm48zUJkTNJ7titFyZ HvkXDqWnmVKJrEfa2jamWeTU8d2DS4FAUs/064yJZbSbajb1lUwh9BX9/ Tc8mxdXiK6UoU07eWJru+HqawmkmVm5O9CeJifah02YOo5BVuBfxHvLwM QCsteCWRQHekgHlZKA8m+f6J/G/OQGxyX+K1UbSpz2Gjg7VnqLPN09X4K +h4R5Mxqm9bKpfXnqbv5+jXmaWmTuNeHMZ6h0dOAMrLyq1s3RS19OCTPg A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="227047467" 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:28:50 -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:42 -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:39 -0700 From: Varshini Rajendran To: , , , , , , CC: Subject: [PATCH v3 32/50] dt-bindings: usb: ehci: Add sam9x7 Date: Fri, 28 Jul 2023 15:58:36 +0530 Message-ID: <20230728102836.266918-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Document sam9x7 compatible for usb-ehci. Signed-off-by: Varshini Rajendran --- Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index e5c8f4e085de..afc4da89dde5 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -82,6 +82,12 @@ properties: - nuvoton,npcm845-ehci - ti,ehci-omap - usb-ehci + - items: + - enum: + - microchip,sam9x7-ehci + - enum: + - atmel,at91sam9g45-ehci + - const: usb-ehci reg: minItems: 1 From patchwork Fri Jul 28 10:28: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: 707925 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 637DEC001E0 for ; Fri, 28 Jul 2023 10:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235606AbjG1Kar (ORCPT ); Fri, 28 Jul 2023 06:30:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235329AbjG1Ka1 (ORCPT ); Fri, 28 Jul 2023 06:30:27 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE8659C6; Fri, 28 Jul 2023 03:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1690540133; x=1722076133; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2p0mZJVu+p3/bzhmij45EcuZNnb/S3hGj7wJ9TXid3Y=; b=cfZvuJf3sO5BpzNKMJll7Xurb/jpOhksaZULxXpayM9CLcXNf31CHoGt qgegXxSP6YtbG06QiHl0M4kfpFNbxLuVOrTBUVqVkgjypFBpsY0Chqbvz NS1bQFEPakWyAny9bY2KYCga4YT1JMawGBvYEECxWGzF0h6c329BaDj+h 6/ZaJO/URJx2m8b2FKahWtmZxHBWXE6U31yHPTU+iUHH8/VAiGqVYaeRH AE4n3oQiHDrcbUsAlfvEa7kK5L+cF1ft8OYjVMooORRCaH86MUorNyPnH kyer22No2MEjhE/4Dpw64sQhCuSdeqrtywU/nWz3gUnUvoweA0hoBUCvr A==; X-IronPort-AV: E=Sophos;i="6.01,237,1684825200"; d="scan'208";a="225813662" 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:28:51 -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: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:28:47 -0700 From: Varshini Rajendran To: , , , , , , CC: Subject: [PATCH v3 33/50] dt-bindings: usb: add sam9x7 Date: Fri, 28 Jul 2023 15:58:43 +0530 Message-ID: <20230728102843.266967-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Document sam9x7 compatible for usb ohci. Signed-off-by: Varshini Rajendran --- Documentation/devicetree/bindings/usb/generic-ohci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml index be268e23ca79..a2490759f694 100644 --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml @@ -57,6 +57,12 @@ properties: - nxp,ohci-nxp - st,spear600-ohci - const: usb-ohci + - items: + - enum: + - microchip,sam9x7-ohci + - enum: + - atmel,at91rm9200-ohci + - const: usb-ohci reg: maxItems: 1