From patchwork Thu Jan 19 10:42:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1728742 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=fdT+44oJ; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NyK3D54Ttz23gM for ; Thu, 19 Jan 2023 21:43:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbjASKmq (ORCPT ); Thu, 19 Jan 2023 05:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbjASKme (ORCPT ); Thu, 19 Jan 2023 05:42:34 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2076.outbound.protection.outlook.com [40.107.243.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF644630AE; Thu, 19 Jan 2023 02:42:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B5SjaixVfpuVitO9zvwWB7xnSVYltUo3Y4lCSXTWKxvdt4AqUAdHZjPMDdOWJjRm4v0crEnjAFTZiidVeWka9JzEf8cCk90/bAxVyb8RJRRg6orU0NM7c3kIWhAmiUCqOHmDcmuIoOjdE2sM6+ySQtzypcmPTyHMVgY/K9oAqc/DymoPPPlT2i5A0DII1Vh70LuEMquZcT1hHbF0ZDA5Ez++6ua69dWZh1xKsuks0NLaQZ2+sFdvlseSRaKVpWGsI/0/fmFsylYVB5xRkxOeo9FhnV8wbIjWVvHfX/0bc4ruRBkCaLNNB2+kbht8a2/iRukL1shbeULXtyC9LRxYZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y8DdMiE4uCvveTeyWzjTZd1vS3BdwrJbQAWjnzBS4hA=; b=J5pg2jvIiBKFbLEmT0kEj/cIJuA3jEdMQpMDFwvuQxCdMugpqcucPuHZn3GcefjuxdeJBMPJd0Kiu3xpULLGvyVs28OG99wYEk05mDbUZ+jtpr/+qTKH9B0ORiaR4HO+xmyVVjSwND6p9ueWE6IKvqEG2O9wI2RX6QTJHi1+l1pqIjXHvfIXWa391Yj8dKwenZak0xuSiJM0oGJu4LVwq+JWnMfXInnzmQObtMmSCUxRbGDzDhuu1umOJSu0JQ/wUxcHG8BvDJZ7oWe1jsAjB9KgR06gCR0PYNAOqddmQ3ZMq+4LBhIBUPS4E92eJbPlQGuM9VmMcZdm1FMaRdgOfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y8DdMiE4uCvveTeyWzjTZd1vS3BdwrJbQAWjnzBS4hA=; b=fdT+44oJVB8r24BRI/ydRlhGk+UeOkCPmthaJo3gmsTXUsEZM0F2DIVjtylLlERjUG9+fSd2MQI2DG477XY1Wy9eoyA/4lIj6wPFCIdQRoemNYm0SrJGhDKvoikSBcYU0BT5/U82RVoBJ+mvs4NS+frN9ALWharqawL6P5aO4gzs69uF2QCMbPWI8pZ9IHOrK5cwHGVmYkBdVes7tyQ9T1XLxb8HjHmYKydYLHboCBsKuXUkFh8geRsWJ00lnE6uvXebRpZZMowmdtZTA7Pq+SGSC2dlMKGxba5EwCZgaoGpF9vOwx5jXVXoLsRMZQm5qhUAlKlRNWsHgkzMW6UDlg== Received: from CY5P221CA0053.NAMP221.PROD.OUTLOOK.COM (2603:10b6:930:4::23) by DS7PR12MB6264.namprd12.prod.outlook.com (2603:10b6:8:94::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Thu, 19 Jan 2023 10:42:28 +0000 Received: from CY4PEPF0000C985.namprd02.prod.outlook.com (2603:10b6:930:4:cafe::d6) by CY5P221CA0053.outlook.office365.com (2603:10b6:930:4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25 via Frontend Transport; Thu, 19 Jan 2023 10:42:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000C985.mail.protection.outlook.com (10.167.241.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Thu, 19 Jan 2023 10:42:27 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:19 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:19 -0800 Received: from moonraker.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 19 Jan 2023 02:42:17 -0800 From: Jon Hunter To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , , Jon Hunter Subject: [PATCH V5 1/5] dt-bindings: usb: tegra-xudc: Add dma-coherent for Tegra194 Date: Thu, 19 Jan 2023 10:42:04 +0000 Message-ID: <20230119104208.28726-2-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104208.28726-1-jonathanh@nvidia.com> References: <20230119104208.28726-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C985:EE_|DS7PR12MB6264:EE_ X-MS-Office365-Filtering-Correlation-Id: be8f62d9-506b-4fea-f0a5-08dafa09dc0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rnytVhBQ8uS5xAYI89ynmIFl4ZuiSDngombbJuP2HJugtyQIQRhiJXv+6N7qpu0Rc/s6HKQSgplxNPSbJ9ESPMXnBd7+xqOIAKhgYbijfHN5PMbIQfwEQlBJGYSm9M3YIyq04+RUCG8B61E97MfQEoxZ3paDqUla5FMHU2MMDnyQMIizXeMYn8H2YKu8X9vOhpPm1J/B6+M2gvzRXUPTnaOMBO4HkqGjjsSBuEuXo8Z1J5I/mi39ExZIGrVBD28PPz7APmepiSTavvRwK6ulE6aUe1dRwDUrj5vFzaajiON7uv7TObmpUPpyl06UYfJ7AuCNuUpFX6lmqYyuPNAQAPA1deZECHXN9Ygx3DUD3A4O1mMYxuuGVetF2SK0kvDbmFHJQNcNbk/qVMfhpiJvK+Om0SOx78SSxJ62zHQ2ThDx819XhUqNxHzU4RM4IDwC+r1AhwT+D3xvZR2910yDe3Afp6b3hcsAs8egThQ357+ty7Sr5bc2l6qQOcS1dBwZdYWuctNCm0jjKnCG7L6AHKBLqkF0wq7xDb8ywinc8iyaxvo5uvXXxJWmok2dR/EWMP044+U/F5qspVGibxmjir1C8EwqxhDWjs64soDrrpSdJVFzJ6CJTl8+ebOc45AiuoGwvr4pMZ72GH5NLdQTBXoyMZw/6Ek5vCHuKSlPWwHrQuuw3LZqirgINviWOSbk5mGjeEQZVl9zwvX5/kMB6Q== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(136003)(396003)(376002)(346002)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(36756003)(356005)(86362001)(8676002)(8936002)(70206006)(70586007)(4326008)(36860700001)(83380400001)(82740400003)(7636003)(5660300002)(110136005)(40460700003)(316002)(7696005)(54906003)(6666004)(41300700001)(40480700001)(478600001)(2616005)(82310400005)(426003)(2906002)(336012)(1076003)(107886003)(47076005)(26005)(186003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 10:42:27.8935 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be8f62d9-506b-4fea-f0a5-08dafa09dc0f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000C985.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6264 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org DMA operations for XUSB device controller are coherent for Tegra194 and so update the device-tree binding to add this property. Signed-off-by: Jon Hunter Acked-by: Krzysztof Kozlowski Acked-by: Thierry Reding --- V5: Dropped fixes tag V4: This is new in this version .../devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml index f6cb19efd98b..4ef88d38fa3a 100644 --- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml @@ -112,6 +112,8 @@ properties: hvdd-usb-supply: description: USB controller power supply. Must supply 3.3 V. + dma-coherent: true + required: - compatible - reg @@ -164,6 +166,16 @@ allOf: clock-names: maxItems: 4 + - if: + properties: + compatible: + contains: + enum: + - nvidia,tegra194-xudc + then: + required: + - dma-coherent + additionalProperties: false examples: From patchwork Thu Jan 19 10:42:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1728743 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=Oxju54Yw; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NyK3c6hfDz23gM for ; Thu, 19 Jan 2023 21:43:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230331AbjASKnQ (ORCPT ); Thu, 19 Jan 2023 05:43:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbjASKmw (ORCPT ); Thu, 19 Jan 2023 05:42:52 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1975619F; Thu, 19 Jan 2023 02:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TEi0GIajcgB8IB2VnKmTTUQIPbkiM26gYeiTip4Q781Zt0xQnRu/CYz4mo7djayvLfC2qgmltwfD2lbO6WibDvuSMg8WGVvLiuEfXcYc3oyKhKdLVr9qTeUXSn4m1RA2ks5NiheDgQJLngVcytqWZFHX1JZm5N5NDznhK7aT0mR4/nNVj6dt1jpfwrOYJl8a7tv0GXA5GZ3OQnW1vHQREG7lj/6VCnhFiwcO3+FVWHwOHNnKgq7UmTqzR1Q80mCb8kQiFv5b+Yx+Lemx+MzxAyXy3wHvmdMeWYcSmhBTfrgJXjlewhQD0YdwnE4RkJ87zciYHuTtgISw+stMD5D40g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZQwyYTHKWueLj0JaSuElzhvTxHbVUjkNlObsyx7r1Jo=; b=W02yc+Ew6XGs3oLWv1zYeq2SieId6o0JqrTlnf4PCFOERH9yJWIlwHmRnXl4mNVtHejh/v1/bX3RX+R5Pi3o4RcqtPHzLTle4tRIukL27GfEqRA9Qw5awVXbL2KXJSDqUYi+Rx4eIooMWUBKfPxAPhEYmDmZ31p3oDUAcSBge4IHDIaZMpmfHQ0DAdkrJ5vhU0aosEyyhXrXjFhIeZooM4DDnf38LE3GWUgZKJ3Wlaa8WO86UtGJiP2a/IoRJrLiMgaOaQAdZQg4FNlep35NMkdC38j1Sx6Ry0u4UCaq0ghXPHSJwnlCl4NUDCriYT2Gs1cHx4hhm/OImcC7HCPGqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZQwyYTHKWueLj0JaSuElzhvTxHbVUjkNlObsyx7r1Jo=; b=Oxju54Yw7gGIGufTSeYEFnSXFUPl9DunxljZts550BBrvV1KKSQ2YKKEIU/4ExP1cJ10q901jwPYujnS2C6hyK2bHam/Ejh62KsSMEOQ0TgjthhcEMCeTM1YSMEa/KgRJS0dhcFGoRN9kS5Cn+6cQpYegfdrl058gBLKDVbRmU20N66Zzhc8VMPSAAhW1MbQXt58Bx5mg1m4q+XkVIp+79ixIfeJEnUBP7e19lNlt9SNPhbxm91eUsIkoOWHeLjGfsbIntCmRUYP3zwl2Sr7UnrOd4F8zWiJe4Wke44mSP4SMoHjF0t62d+YBnH9NbqNmIqTDz6lxLcpCOD1RHiq1Q== Received: from CY5P221CA0053.NAMP221.PROD.OUTLOOK.COM (2603:10b6:930:4::23) by SA1PR12MB8118.namprd12.prod.outlook.com (2603:10b6:806:333::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Thu, 19 Jan 2023 10:42:32 +0000 Received: from CY4PEPF0000C985.namprd02.prod.outlook.com (2603:10b6:930:4:cafe::c) by CY5P221CA0053.outlook.office365.com (2603:10b6:930:4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25 via Frontend Transport; Thu, 19 Jan 2023 10:42:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000C985.mail.protection.outlook.com (10.167.241.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Thu, 19 Jan 2023 10:42:31 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:21 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:21 -0800 Received: from moonraker.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 19 Jan 2023 02:42:19 -0800 From: Jon Hunter To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , , Jon Hunter Subject: [PATCH V5 2/5] arm64: tegra: Add dma-coherent property for Tegra194 XUDC Date: Thu, 19 Jan 2023 10:42:05 +0000 Message-ID: <20230119104208.28726-3-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104208.28726-1-jonathanh@nvidia.com> References: <20230119104208.28726-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C985:EE_|SA1PR12MB8118:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e379578-ab40-4948-5faa-08dafa09de66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /xQtZrEVhXWBf0LragK8fPkUuNEPJRwFDqM/CLCclQtI7lIbElFYcnHPQjBn0vrQIgHn9wcBMj2IZiI8Mdo1/PmgOKxD7mOFbt0PF9iPjWbq/pXOuUrpTOzmI7yuCqTMfrWZzYeZF3sdxQXBKDsJZIIHHMjSQH8JdiPLY1YS6cqYcHqWEDQkYKAopEecUYBocy8UbBA0M+5jEw0AcCYmkt+ayK5B0UX8Juu6hL4J6CoTCc6NltXvpzs2IovQ8Ei7cyScqBVqSiZi2B6MvsRdO4ieuIcJmZHV2j+yaVy9pyNALDjki8YhuNemw9YPcpy0ha/6vsqlcSy+517HMXQPq9dwcu/M0H+3Wz04JJrpu4j8dmfmxIBFjfU4GkUY2q8bjNl9ofHHWKHK4XoJ+7UpuiEEIBntPp39jm162z9pdLtuHyS1b/DcM6shoDjvaIq9Z8JCbSnbLKUR5utwDw4kpBRl+3wOMtcAHzQXDOGIO/CigQe1oeStQkY8EpYuY85xNy1bgxJQCX1PE1be6s5CYeXdiCsF70sbGnXLVCgiebhI1q8Pkgc7epi3wg4JYXoppsDZK46a/w/+Zp/QqFQ072k28On147DB8m+78tBkWO0m5vzDzZCtBVEbROvNNmyy1yjo4qAd703JoHfu1H+HYLiwsV4BVJeIDduU5c8mUAyva6p3c/4QLHSatg7EYMQnupzP32tIh8MutqAYV6hYXA== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(39860400002)(136003)(346002)(451199015)(40470700004)(46966006)(36840700001)(36860700001)(7636003)(82740400003)(4744005)(316002)(8936002)(2906002)(70586007)(5660300002)(70206006)(40480700001)(41300700001)(8676002)(82310400005)(26005)(2616005)(40460700003)(1076003)(186003)(336012)(83380400001)(47076005)(426003)(7696005)(54906003)(107886003)(110136005)(356005)(86362001)(4326008)(36756003)(6666004)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 10:42:31.8153 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e379578-ab40-4948-5faa-08dafa09de66 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000C985.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8118 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org DMA operations for XUSB device controller (XUDC) are coherent for Tegra194 and so add the 'dma-coherent' property for this device. Signed-off-by: Jon Hunter --- V5: Dropped fixes tag V4: This is new in this version arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 4afcbd60e144..99eeba8de6bd 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1291,6 +1291,7 @@ usb@3550000 { <&bpmp TEGRA194_POWER_DOMAIN_XUSBA>; power-domain-names = "dev", "ss"; nvidia,xusb-padctl = <&xusb_padctl>; + dma-coherent; status = "disabled"; }; From patchwork Thu Jan 19 10:42:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1728745 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=YqA1aFdy; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NyK3m5M6fz23h6 for ; Thu, 19 Jan 2023 21:43:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbjASKnZ (ORCPT ); Thu, 19 Jan 2023 05:43:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbjASKnJ (ORCPT ); Thu, 19 Jan 2023 05:43:09 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2040.outbound.protection.outlook.com [40.107.94.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C6981BF7; Thu, 19 Jan 2023 02:42:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWunFg52cInvZOVdGOX5sj+efGISAQNPzwF3YGCJoZEXcjPbKHcUD2mdcROXKwnGjcInITusPZ+1QM4yRpu2JAQY7dmQPvybmYoqhRi15qYaA0RkeYIV3lqUcaTB5feDfogoeZYbYADnR84UPmf0PavyN2GqTsVZplgaxXseIFVaQpXQW5uvCk7HxXRIVcSvpDAqTt7EjwmrgZh0jrNO1vGCAyXv3XpmRPPL+pO2BcocXhJ94tjo8YRZakhTMHv1ZZ8l+lRKTYBFs//5BIzOFHhlJQCViDfQ/B3tMbwzz+5a3JgO5qYY4l6KKLAzn1N9mT/e2SzLRZKzxG7Vlf37fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SP06qtiTu2EIg1o9YTXjLcip1hhN+7qpuv7F+XuyjOY=; b=Jcr/8N7I9qOl2Xrm0RlJER58dBsx5DnK0SWd/YUhqw4/PnizAPyXYsUXFl4+TDpiPMmtFTcrUFaSzOB7ImMCCL6KmXFkGwuznxYsQCtLeJSifRCCE5TUARYjCqN8Bs+72Gr9kJio1XFdcanKfxUr2xl3Bl1jKSaaicJm9Lq1nt/CU18JMkMJ8kq2gSEFBfMQlTKM+oshAYxlu1n+PfmfBersEZPm3EIjAETf2mPgRslLmLt/sW7UWUEkdvfc0IhyYGIMAYb1ybQWQ34mCA1JeJQSarGeywfcTAHwBkzUd5oIIdTITvVLySRx9vtBP6GkNmOs0MbCjsFgLs9I2N51BQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SP06qtiTu2EIg1o9YTXjLcip1hhN+7qpuv7F+XuyjOY=; b=YqA1aFdyZweJG6QYlOww8h7SHp6omRAqsW7zqqlEpFNpCX6+aj6yeGNwrEDEMmMxiUt7HWClsrJeTDvk0nWdcjsSabCaXwnnL93rrQv5OBPR8QobmsvV/UTGFKdxYrZHlSP8f9jX+VeIpGMJRx7skBGfKrbstZm6lMVqHogIImfHGOWG/CZFLgq/zS4rf45pxO0Nh0lcFg+VOTj2ul31lbkC7NZClDbdgav8Tkwdua67ncgp+I4nl4hyyOsDW2FA8LHEViG1PTHVPI6ldjZuDZD3oL22mhR4eW1ESB0qKl4pkuRcxGWYHUaKmylHNuXDadpW0lig0n9OR4Ve1EUZvg== Received: from CY5P221CA0053.NAMP221.PROD.OUTLOOK.COM (2603:10b6:930:4::23) by MN2PR12MB4206.namprd12.prod.outlook.com (2603:10b6:208:1d5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25; Thu, 19 Jan 2023 10:42:34 +0000 Received: from CY4PEPF0000C985.namprd02.prod.outlook.com (2603:10b6:930:4:cafe::7d) by CY5P221CA0053.outlook.office365.com (2603:10b6:930:4::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25 via Frontend Transport; Thu, 19 Jan 2023 10:42:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000C985.mail.protection.outlook.com (10.167.241.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Thu, 19 Jan 2023 10:42:34 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:24 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:23 -0800 Received: from moonraker.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 19 Jan 2023 02:42:21 -0800 From: Jon Hunter To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , , Wayne Chang , Jon Hunter , Krzysztof Kozlowski Subject: [PATCH V5 3/5] dt-bindings: usb: tegra-xudc: Add Tegra234 XUDC support Date: Thu, 19 Jan 2023 10:42:06 +0000 Message-ID: <20230119104208.28726-4-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104208.28726-1-jonathanh@nvidia.com> References: <20230119104208.28726-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C985:EE_|MN2PR12MB4206:EE_ X-MS-Office365-Filtering-Correlation-Id: 39e9963b-3b0f-4412-506f-08dafa09dfbb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JMfPv4ry+56U1yBtkeRWucHe2fi8ZxEZHxou96TUkcHIbyU1xMm6OSajwtiLcRllQArvFCZokAqbTD0Px0tORZ8/1JRW/XrjCtwDliYoqqy98f+x1Ay+2NjDgjXJ1eN/0OVeKNOErj6jCik2+kNbp4tRVJ3/ZHyMoXiiIS/3Zn2CEEhv3fJrjiesQSG5BV2teqmr4I+XSn7rKM+6g7AXy07PJF90jaUzerXfKsj0BkYgfHkTl6umR2mA6YnsjBnTB8R+gTRFC1pf8HZpXiScVlXh5YArVUMtOHX/OlmVUtEcYY4X2E+xccGjSHSm62L1O70VpJtUJ4eZldwxqKYFttZzyC/OA7mrH5sbULuv3OHEv7YYc1h41ii2sfDDafiN+BJVhUDbckkfGNpNSx+jxo+SDuFUQFnkcU7+0O0csD5KGMDBRgA4H/7Y4wqx9140Q64SiHIME31tNxvBUXYhWcAKfApBBrHiBNBuNspSPtoBNjEhnV+TI2pT0zxcFAp9QNKX90SAicQ9OymwtOmIuh0mYfwTNediudlQzE3t8/c5ySd0tyJSwmTtwLdX+PCWgW/9x5TKQSPTj+AkfrgaLQLH4hh8SfKW6L+pM/Y/hKcg6nvhty63OoKH9UH1sWJJi5RWhTIb8+Pz3GznWRIAO51idtxbmDAhMo3hhM7utnbEkCgauv9KJ7tH88AHPd279/Ksxj+aoK9X+dyvFItDQw== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(346002)(136003)(376002)(451199015)(40470700004)(46966006)(36840700001)(40460700003)(86362001)(6666004)(478600001)(36756003)(7696005)(8936002)(5660300002)(316002)(82740400003)(40480700001)(70206006)(70586007)(8676002)(4326008)(41300700001)(36860700001)(186003)(356005)(2616005)(82310400005)(26005)(2906002)(7636003)(110136005)(426003)(54906003)(47076005)(336012)(1076003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 10:42:34.0497 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 39e9963b-3b0f-4412-506f-08dafa09dfbb X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000C985.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4206 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Wayne Chang Extend the Tegra XUSB controller device (XUDC) tree binding with Tegra234 support. Signed-off-by: Wayne Chang Co-developed-by: Jon Hunter Signed-off-by: Jon Hunter Acked-by: Krzysztof Kozlowski Acked-by: Thierry Reding --- V4 -> V5: added Krzysztof's ACK V3 -> V4: added 'dma-coherent' for Tegra234 V2 -> V3: nothing has changed V1 -> V2: address the issue on phy-names property Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml index 4ef88d38fa3a..e638f77658fc 100644 --- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml @@ -22,6 +22,7 @@ properties: - nvidia,tegra210-xudc # For Tegra210 - nvidia,tegra186-xudc # For Tegra186 - nvidia,tegra194-xudc # For Tegra194 + - nvidia,tegra234-xudc # For Tegra234 reg: minItems: 2 @@ -155,6 +156,7 @@ allOf: enum: - nvidia,tegra186-xudc - nvidia,tegra194-xudc + - nvidia,tegra234-xudc then: properties: reg: @@ -172,6 +174,7 @@ allOf: contains: enum: - nvidia,tegra194-xudc + - nvidia,tegra234-xudc then: required: - dma-coherent From patchwork Thu Jan 19 10:42:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1728747 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=OUhZ0OFx; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NyK3s1ylNz23gM for ; Thu, 19 Jan 2023 21:43:37 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbjASKne (ORCPT ); Thu, 19 Jan 2023 05:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbjASKnJ (ORCPT ); Thu, 19 Jan 2023 05:43:09 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2044.outbound.protection.outlook.com [40.107.220.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C7651BF8; Thu, 19 Jan 2023 02:42:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iU0zjIm8szGhnyZBDIMt8r4p6ZCOpuuZXOBiCjWHNVaA00d+GWXYAueJV4CAt9jLOn1/+AdH2I/QzFQGUwUNmxpxWtbOC9lwwxFU7dp9TZrLZmISPSquBkf9dGlMHGwJbTws+ImxzWwr6SiiBzQpSUqLA+fhLqiQKdKEtSH5jLBOJ9j6/4LUsQZKt9mAWlAAZKqOGDdS+FPt1fp12pf9NYoPE4cw/ca0AIUXT7SVWsIx8q/WL9AvHqbUEyxafgJMySS7+sBCxzFp6jYWtOWuiHjE+Tg8yTjxJX+kOI2ObljB3ZPR+Pe2WtIf6XY0/WMTDP5t41FBU2UtNbe/eaKzrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gLE+hrYD/9gAV+MMK7dZnNQ/AraIxHAtouiGwBOCpbY=; b=ev0Bj83h0V2LbsVA/sjdqG7znvJqtU19WNgWfSlQhnklZYfnt/Q0UmtPkORKTCUOF12UxqNnFF8o5zd0L3Fku9nRRGFwAQ+ahwnyNwvrdLFUdwv0G8Yn2xqjwKqgKsPV1JANNSWtBz11fbbVvsDluv/UBLOiXo4x+f4CgeubK+3mJrulDxyTlM6/F2VHPDGtVw+acmk3+7aS+GA6Y1pSE9OmO2B3H80w0hydp3WPV+gW4iz5MsueJTzW603pmF2kQ2lreQ5Ts+qsLFyDB8OociEpydqJBUhKI+LPyC9c/vYVFadqmJ7VTq0CQ7bf/XOEqnAi9W3KvlEUz4GwAtgUNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gLE+hrYD/9gAV+MMK7dZnNQ/AraIxHAtouiGwBOCpbY=; b=OUhZ0OFx5trYzoqThk1DRaKdf/NOwf0ehd6LXnuXpFVuV9Y+62sZtrwQFqHm34sIb9Ecxq+HZl9TDFYhLIoEFZJHZSosnK4FbXcE8oalW/fKhnQGvzD9DUnXqZI4Kg4JJvUaAT670Alcpy9eqkg9bR9DtRTyCO47J7xEetVl/vTPDzzmsUm1wpmD2gx1bPf4maRYfrhj5ZukAsYOaEMRL7PdgUvIwe8H29qPEsg3NTNYuBQ+0tEy0XOs+JVYLn/L+zUY/PpwsrHP5vZBlZzYJ8xaLEDScSmXH8LtaKp+GpwCGwX3MDjmJnmKCS8UFTCS4SITWYW9lVcBeFDfjMy2xQ== Received: from DM6PR06CA0085.namprd06.prod.outlook.com (2603:10b6:5:336::18) by BL1PR12MB5756.namprd12.prod.outlook.com (2603:10b6:208:393::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.25; Thu, 19 Jan 2023 10:42:34 +0000 Received: from DS1PEPF0000E65B.namprd02.prod.outlook.com (2603:10b6:5:336:cafe::bd) by DM6PR06CA0085.outlook.office365.com (2603:10b6:5:336::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24 via Frontend Transport; Thu, 19 Jan 2023 10:42:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS1PEPF0000E65B.mail.protection.outlook.com (10.167.18.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Thu, 19 Jan 2023 10:42:34 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:26 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:26 -0800 Received: from moonraker.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 19 Jan 2023 02:42:24 -0800 From: Jon Hunter To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , , Sing-Han Chen , "Wayne Chang" , Jon Hunter Subject: [PATCH V5 4/5] usb: gadget: tegra-xudc: Add Tegra234 support Date: Thu, 19 Jan 2023 10:42:07 +0000 Message-ID: <20230119104208.28726-5-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104208.28726-1-jonathanh@nvidia.com> References: <20230119104208.28726-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E65B:EE_|BL1PR12MB5756:EE_ X-MS-Office365-Filtering-Correlation-Id: 27e6f112-cde9-47fd-dcd2-08dafa09e01b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VhBS6KDFpqFqQuiXh79kFHQ345gCmSw0qXnag5tPc4e/xvZI9l9HGMymyTLALmFyDtUXX8VwriVQX/CFU5VpN9jcKPIKPAYJ1PEDw5q7o1WsIKbqXz64h46+Y38F+TlkQVXekaHvnYh44HZRCHrU9ZRrejNcDZRA7QarsyaP0ovSVb5LNRkLZwyRS+r9gvrpS9UYeI2/IkJBwPCbC+1SuTy9BjlBteTO6GuimsLzF5qKToPq1fsf/NFMKEO/akiZmkncQvUYIVrPGhi6vly6nRA4OKrZ1JVu5POEDll0rgAaS2BNMFhFIG7F0XQekzQuq2C73uBMdPjvaQY6g6QiJHMCcQUrx6XyKEz8X01IHYWNl+fnUaKrC919UVtsfbsuE3WOL8gLCdPqnjHYC2g43J4iXkE8gobD2HDrnVYUp3Mpvtw65gyv8y9fOJ7wnTa2LcU+f33znBZie9c0KLjyjuxD5Q8axkDZ/fJZAaFGQGyFX3AzSMrgIXsaHhX5N6wUhKAOD+/mFRE9+HxLsdajfEMM6sHgsjnGWj/IFrVNeijUJTN60ILs1VTBTa6P2hOHAQmp/weiCthko2loxNE/4kDPbfEm9MPezXVMPxm19IPweNjHjs6XLE/UFqS8qy7KMzj+tDb/eyf/EegRed5iy6qdJcWjEu/NKXjFLOxK3GmOUiwEkqC3EU9aJ7EYgZ962Ba1pe4fp7zHlX7n/tGwfQ== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(136003)(39860400002)(346002)(396003)(376002)(451199015)(36840700001)(46966006)(40470700004)(40460700003)(86362001)(107886003)(6666004)(478600001)(36756003)(7696005)(8936002)(5660300002)(316002)(82740400003)(40480700001)(70206006)(70586007)(4326008)(8676002)(41300700001)(36860700001)(186003)(356005)(26005)(2616005)(82310400005)(2906002)(83380400001)(7636003)(54906003)(47076005)(110136005)(426003)(336012)(1076003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 10:42:34.6199 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27e6f112-cde9-47fd-dcd2-08dafa09e01b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E65B.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5756 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Sing-Han Chen This commit adds support for XUSB device mode controller support on Tegra234 SoC. This is very similar to the existing Tegra194 XUDC. Signed-off-by: Sing-Han Chen Signed-off-by: Wayne Chang Signed-off-by: Jon Hunter Acked-by: Thierry Reding --- V1 -> V5: nothing has changed drivers/usb/gadget/udc/tegra-xudc.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/usb/gadget/udc/tegra-xudc.c b/drivers/usb/gadget/udc/tegra-xudc.c index 76919d7570d2..ff697190469b 100644 --- a/drivers/usb/gadget/udc/tegra-xudc.c +++ b/drivers/usb/gadget/udc/tegra-xudc.c @@ -3660,6 +3660,19 @@ static struct tegra_xudc_soc tegra194_xudc_soc_data = { .has_ipfs = false, }; +static struct tegra_xudc_soc tegra234_xudc_soc_data = { + .clock_names = tegra186_xudc_clock_names, + .num_clks = ARRAY_SIZE(tegra186_xudc_clock_names), + .num_phys = 4, + .u1_enable = true, + .u2_enable = true, + .lpm_enable = true, + .invalid_seq_num = false, + .pls_quirk = false, + .port_reset_quirk = false, + .has_ipfs = false, +}; + static const struct of_device_id tegra_xudc_of_match[] = { { .compatible = "nvidia,tegra210-xudc", @@ -3673,6 +3686,10 @@ static const struct of_device_id tegra_xudc_of_match[] = { .compatible = "nvidia,tegra194-xudc", .data = &tegra194_xudc_soc_data }, + { + .compatible = "nvidia,tegra234-xudc", + .data = &tegra234_xudc_soc_data + }, { } }; MODULE_DEVICE_TABLE(of, tegra_xudc_of_match); From patchwork Thu Jan 19 10:42:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Hunter X-Patchwork-Id: 1728746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=Lk+ifcfw; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NyK3n1VDTz23h8 for ; Thu, 19 Jan 2023 21:43:33 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230159AbjASKna (ORCPT ); Thu, 19 Jan 2023 05:43:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbjASKnM (ORCPT ); Thu, 19 Jan 2023 05:43:12 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2052.outbound.protection.outlook.com [40.107.243.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A8B44BF7; Thu, 19 Jan 2023 02:42:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FwzhDmz1+ket15G68nTn2i1QvenqWZ8b7ZuRrFZaESs931T9hPPQUHPHxwlkm05l5HuYNBz9f+WJ6v8iuSBQ+Vsqhrq+Tph3dXqnv23CGxZKsbtL/iwZzh5CRRNxGC3IaqbdkW+Wv+FscrmdIROo/83E6ZBJiqbMjn2rTc7kbSS5mVvD2PvLIm14vVL1e277CcvTIZBaJXAq55Lk7a659dv1maAKDrKCKSUb+NsRIE4JDzragbAzUjGMCcYM9GQVNDt9h63t4iZWlG/F8uyuISOahZdi/zQv4NLlE1UvoWWbdE2pKiOUoW8yfZyeXrWCXEHtjUhVZvxf9xED4y/V1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2ktNQcZcw7Tnz+Lzteza0SHXXEQHQcszCvb+eseQEq8=; b=EPxGf4NbcDl41DufMnoImy+c1F5oTbDA2VZHCNaFQnDKOzHIBq4B/CGS2fdYhu8+TkXvTpGtP/bQ0LszUhMX0zPFLMP/SPGUdu3rwfMlu/Dfa2CIzaS4wr4xG8KlrGbs6R8HXf9TahGt7MZ2RF3p22UXcWPP0YqDcnsKAITcWQEbuihUiDvaFKw7t1djU2YfbJP1B0EwOQS8GkrTs/1Hze2smx1wa22eeIer0gpNgx2wEd6Tqq5fIwf/UWJw998pHsMY9K9PR7odbhqpSmeesugxLlSczQR10hl1VLpF53Rk9P24Mb6ZVRTFimgnfhkuIw0ygCDrhp4x2+DviuL5qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2ktNQcZcw7Tnz+Lzteza0SHXXEQHQcszCvb+eseQEq8=; b=Lk+ifcfwzGIS6TxLwJQ7ImUcBRX9c6RraWAQd85JMq4fjeSmHmpur+Qe2dHVwSCWKcfv+fQWbUgpz/rS2OGrKmFChZOosS8ALIzHs7TlfcKtC3amY/ymsWJEodtu8x2KkFV3sVY4GoSscYxx8WUqGx8IQf9arc5oBxL1pt7yOJgClPO0y55uQbI1dF6MeEe5myrizBwY19aDuLZIXZUtY7qJta923HXBz2ZNloajjvhnCMnHvc9zUFsvYla6tkeYEngtd6F7BcbeYaNOBFmY+RyThMAFwByZ1ZvncDpKOVd4jKVhSbfOZlyY/S2Old24gAE0yebfUSycYmFcts8snw== Received: from CY5PR10CA0020.namprd10.prod.outlook.com (2603:10b6:930:1c::10) by IA1PR12MB8335.namprd12.prod.outlook.com (2603:10b6:208:3fa::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Thu, 19 Jan 2023 10:42:39 +0000 Received: from CY4PEPF0000C983.namprd02.prod.outlook.com (2603:10b6:930:1c:cafe::83) by CY5PR10CA0020.outlook.office365.com (2603:10b6:930:1c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.26 via Frontend Transport; Thu, 19 Jan 2023 10:42:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000C983.mail.protection.outlook.com (10.167.241.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Thu, 19 Jan 2023 10:42:38 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:28 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 19 Jan 2023 02:42:28 -0800 Received: from moonraker.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Thu, 19 Jan 2023 02:42:26 -0800 From: Jon Hunter To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thierry Reding CC: , , , Jon Hunter Subject: [PATCH V5 5/5] arm64: tegra: Populate the XUDC node for Tegra234 Date: Thu, 19 Jan 2023 10:42:08 +0000 Message-ID: <20230119104208.28726-6-jonathanh@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230119104208.28726-1-jonathanh@nvidia.com> References: <20230119104208.28726-1-jonathanh@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C983:EE_|IA1PR12MB8335:EE_ X-MS-Office365-Filtering-Correlation-Id: 6df32588-1cfa-4b72-0032-08dafa09e28e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xAsKA+p+Bk83I4u/t4F/nZXrwBn5l/D2h5KrH0vs2m+Y2GLHv0uBW8v0lc6E9/OC1g6MWAXHZnx9B6dMuO49Jc+A7FeLdI3kGiaL0e8NfW6XaFbjKNR0P6vGjHEHLJFM3+OokYuIIR/neyDf5ESH9rUrfdDHvg6HcyKiINpOd2kqQSzQyniAuERndLHn3bvuMWr2DxK33qHj3+sha9naVax2tg70CJPxUfVjCKNtDLb91HVrm89viRrgozg1y7aV/ax6WAPIr47wPWVCQjsRtDWNIzlQLEVst7d/iddAGufb4bzIk6H0wj0Y6KP37EZ/777/699+K/ExnH+ioWFEOhhlN3yL9R2G07hBInXx+8XPJEslgg2HdDRRxgk/Qo3RB91MJoszfZggdaRpUxdDKAM1ymn0Xscpq4kvtDkmyZGR7kfzLwy2OiScxPa9TaSdcyIq2lqFArb5su6svel6+ck6HgdclHbonavISSBYGHupJLirZkFnhNY/1XNgKHetX4BU94Ld7/xOWCI+Sjb3a5cgt2Bu7PPTLE6MtxSLmbzvukX6F8XMjWtLws4iOmrSx3UNGLgJOf/IbiKYghvsdyUeZblR6BkqZnP0vzQeCAehIUdMa8lC68avYdumNeJrgbWZw4mP82vdhRASVMiTiWtNdyhTQ79N+0VSsK+PR+DRS1fN06EQrKOV9+N9Cjfv+95JfXr9eOI9eMaby98uQg== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(136003)(346002)(39860400002)(451199015)(46966006)(36840700001)(40470700004)(40460700003)(356005)(82310400005)(40480700001)(36756003)(7636003)(86362001)(82740400003)(7696005)(107886003)(2616005)(6666004)(36860700001)(478600001)(186003)(26005)(8936002)(5660300002)(2906002)(8676002)(4326008)(54906003)(70586007)(70206006)(110136005)(1076003)(336012)(41300700001)(83380400001)(316002)(47076005)(426003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 10:42:38.7703 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6df32588-1cfa-4b72-0032-08dafa09e28e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000C983.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8335 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Populate the Tegra XUSB device controller (XUDC) node for Tegra234. This is based upon a patch from Wayne Chang . Signed-off-by: Jon Hunter --- V5: Nothing has changed V4: Added a new patch arch/arm64/boot/dts/nvidia/tegra234.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index 242bf59711f8..728099116dd0 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -1199,6 +1199,29 @@ usb3-3 { }; }; + usb@3550000 { + compatible = "nvidia,tegra234-xudc"; + reg = <0x03550000 0x8000>, + <0x03558000 0x8000>; + reg-names = "base", "fpci"; + interrupts = ; + clocks = <&bpmp TEGRA234_CLK_XUSB_CORE_DEV>, + <&bpmp TEGRA234_CLK_XUSB_CORE_SS>, + <&bpmp TEGRA234_CLK_XUSB_SS>, + <&bpmp TEGRA234_CLK_XUSB_FS>; + clock-names = "dev", "ss", "ss_src", "fs_src"; + interconnects = <&mc TEGRA234_MEMORY_CLIENT_XUSB_DEVR &emc>, + <&mc TEGRA234_MEMORY_CLIENT_XUSB_DEVW &emc>; + interconnect-names = "dma-mem", "write"; + iommus = <&smmu_niso1 TEGRA234_SID_XUSB_DEV>; + power-domains = <&bpmp TEGRA234_POWER_DOMAIN_XUSBB>, + <&bpmp TEGRA234_POWER_DOMAIN_XUSBA>; + power-domain-names = "dev", "ss"; + nvidia,xusb-padctl = <&xusb_padctl>; + dma-coherent; + status = "disabled"; + }; + usb@3610000 { compatible = "nvidia,tegra234-xusb"; reg = <0x03610000 0x40000>,