From patchwork Tue Sep 22 10:46:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Li X-Patchwork-Id: 11792191 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DD34459D for ; Tue, 22 Sep 2020 10:54:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99CBC2396D for ; Tue, 22 Sep 2020 10:54:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1a0pkDwx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dlF84oEL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99CBC2396D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=POV/u2ND2ZdoBWcbkBYQaGbjINFX+KTsn9VCcrR0TZc=; b=1a0pkDwxvColgkfcx8KdHzGhc 49nGSsFddSnrRrKXGeZFvx3CLQeVO1STIb/HS9saX4AB9k1kfbyoNR87DMLJk7Z9o2vFI9pmOJb2M 70m4qyaWD9esqtnJC+VMqB4YS8wXwmpcibmPOEH3vFqKKdh3bhHtxwdV5e10fZBIXSdTm6ky1NLVH oeJg1FagV12c7FRWRsY+PPCCn0S0bhgBEHhRpBYVuz+sAfUkWKBIOCVhEv/r4mXTV0wr8mAFX2ERT mJO1TFrpgcI9Mw0V4rP4KWmmMSZCVaiGp4kD9w+jcNUK/m7NPe2rdY4m7OZXfVgkeRTBa/GvRZOwP oTk6AxjKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKfwM-0007Jr-A1; Tue, 22 Sep 2020 10:54:30 +0000 Received: from mail-eopbgr60056.outbound.protection.outlook.com ([40.107.6.56] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKfw8-0007Gg-Dt for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2020 10:54:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KR0VRtxxgNvqgVoOLnCrkAT/wcQBocdiT2FtxVP1LdCZ1NOXzyrvA+7NTLbnP8/gpePciX7vDQzkiPz0aicqtPlfPUWiCcITnE8wt/B9hLi2iTf8GqRAPH2sITfIsvk5HnqATXwLGoBDRtRMheDGlT0FLsS9mbTNKYFBToP8O5MlMTH9FD6coMQOHlTlQ9HbORMJQatpczFS8ao9HYvFkr6yRcvcrwIVsrdydd4aS3Hm156FjNzJtmEA0r42clJYq1aWjfk0hWdHi3XXowVkRFI3tD2ArKaszfk09lHo/w6eL1tvzyJfujSJLFoOoBSeAQwwFPoA17BUtGulqmc4mg== 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-SenderADCheck; bh=sFy2fXuiEpKYhzI0Tqc9zHGXNcryPKf6Q8hUDAg23wI=; b=ifNBC8SmXBC+kzShFwARQiAM7YEslhsNLMo0AM5njNT+RT88bi5tJL9Q66L5+LPgVH8pluPLXTHqFQrfkerDMAD7pLWsZPQTKOLBTV3ImHKFLbAZuot+KAblctrbhJwhWuwvaK6Vr4LSLTD46r9Rdd00Qu7UFaFku9tg1/LJ5R4afFqSL/xiFFTkA0nQ4V7sQQxjuCg7SWga6RdNkY42tdiTqkUNErGkN0aq3ExPKFSHi/D2gvV1PaYiMpH7jCG5IwhefTR1LHjlyz9a68iQj/unBQzi+OF1qv7F5EciQSQGQ3TmS318ZmE8EPKQ4sjNEXj42EVDY6PXdrPOon7eFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sFy2fXuiEpKYhzI0Tqc9zHGXNcryPKf6Q8hUDAg23wI=; b=dlF84oELjaVHHdFBd/D9BcfnTDiC/Y1x0YNVn3ZV5GV54yC9gemdMLpKVDrZNuVb5CdWad3wgDHUIA9h4CanQoUndjif1mmCFRdBHPOKvTlgQd4MjuXfAdkwYPT5AY8TZi+h1pX+FiDjnZcEZiGfo2lHdDB9OkXHwxzdWdtQQx8= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6528.eurprd04.prod.outlook.com (2603:10a6:803:127::18) by VI1PR04MB4255.eurprd04.prod.outlook.com (2603:10a6:803:3f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Tue, 22 Sep 2020 10:54:14 +0000 Received: from VE1PR04MB6528.eurprd04.prod.outlook.com ([fe80::acd3:d354:3f34:3af7]) by VE1PR04MB6528.eurprd04.prod.outlook.com ([fe80::acd3:d354:3f34:3af7%4]) with mapi id 15.20.3391.025; Tue, 22 Sep 2020 10:54:14 +0000 From: Li Jun To: robh+dt@kernel.org, shawnguo@kernel.org, balbi@kernel.org, mathias.nyman@intel.com Subject: [PATCH v3 1/6] dt-bindings: usb: xhci: add property to disable xhci 64bit support Date: Tue, 22 Sep 2020 18:46:47 +0800 Message-Id: <1600771612-30727-2-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600771612-30727-1-git-send-email-jun.li@nxp.com> References: <1600771612-30727-1-git-send-email-jun.li@nxp.com> X-ClientProxiedBy: SG2PR0401CA0017.apcprd04.prod.outlook.com (2603:1096:3:1::27) To VE1PR04MB6528.eurprd04.prod.outlook.com (2603:10a6:803:127::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 10.192.242.69 (119.31.174.66) by SG2PR0401CA0017.apcprd04.prod.outlook.com (2603:1096:3:1::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3391.13 via Frontend Transport; Tue, 22 Sep 2020 10:54:08 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8aef5c4d-91af-441a-896a-08d85ee5d805 X-MS-TrafficTypeDiagnostic: VI1PR04MB4255: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oDvuuxs2W1LpIgqYanwO98xx0KHFpcU1y1QeGn10524JGfiIFnPgkJtvckJZFdnWuTwZ5WLLNIvxVAUgG05GKJAg7kOVUMEYqS5FTiAntmTfs1lANfiVieWZE7j6Djc16NPJoYc3YWs9orpsUNN4oMh4GB2eosAPEU7EOBOfNhesDE4TscenGKTEzyVESBGFm7ne0laF9Si18nzE5WCA5fjRdaED+ZAytFE8lap4NAle48NTpz7qBydP6f7VsGlSs21T1MqBGj988PZ3VI1karguI9Ng9ChQlOLCO4vmgVmeNTCvKraVfN1WtjevL0JY X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6528.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(39860400002)(136003)(346002)(376002)(316002)(16526019)(86362001)(956004)(2616005)(478600001)(8936002)(26005)(52116002)(5660300002)(8676002)(6666004)(186003)(66476007)(66556008)(16576012)(4326008)(66946007)(2906002)(6486002)(36756003)(7416002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: B107vV4EKZ/5haqje46+R98iPd9n9F4pgvExIjUpR+weP5PpWXBZROZpswA/R5qiAWUQCPlttqxtzedm8cr9agYYXmiXmqXL8dNnzR6aXPQZNo2q0+/1GTcIUeo0Mldw+jtnFrbbrTgMvSDF8FzValKdfAzSUMx9Xcrs/srsCe8mCtOBuzleSAYVpSMBSZsCkgTafac7RixmpVkzKfT27Ir8cTvNn//MQBT9rrPi69gJ5mL6UXkjv87gTgAmExF7+zrQcJRVwTDzfJSVDYq+Nssj18mZ45KrHmBGWlCpB+RzifKWXLdeqDZO4FA5KduPqbbbEOhFM4MKGJwtLCYVFo9LqStWbmWI7VozAbFuJhrcW6AFhrG32wE7eLTLnRkla7glDjwXDJPoL9AWSzLYuMjlpbxEqg2AImASZ2/7zbzn2eZk3hnmmjxM5N2eYRAkESiWwpk4Zopu5e1G0KOxV2gaE2oVNAgyEc1hO65XQY2RYJqiGx4HuXAfsjydRqdIeLlTMB8vy2wAvP0ZRHtkPa3eu69tHSlnkNAVLRhHirDZt3q8q/cvI6kLZ1D4CvDhAQ3kQFWpDzdr3P/XWSBIn773hW9gOV7xXrnsMAjZdu0nkp1NFZBJNgzH9h62s6x8JX8a5Os0XPV/cL95alWs1A== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8aef5c4d-91af-441a-896a-08d85ee5d805 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6528.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2020 10:54:14.1996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 02a7snJbpPgHcmKJ8eJJ0JlYfeEMfER0X/3rXvQw8CjR2idytee8Oc9qF+4p4hvF X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4255 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200922_065416_504222_612978F4 X-CRM114-Status: GOOD ( 14.27 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.6.56 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.6.56 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org, peng.fan@nxp.com, fugang.duan@nxp.com, horia.geanta@nxp.com, Anson.Huang@nxp.com, gregkh@linuxfoundation.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, qiangqing.zhang@nxp.com, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a property "xhci-64bit-support-disable" to disable xhci 64bit address dma, some SoC integration may not support 64bit DMA but the AC64 bit (bit 0) of HCCPARAMS1 is kept to be 1. Signed-off-by: Li Jun --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index 0c5cff8..26446fb 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt @@ -28,6 +28,9 @@ Optional properties: - quirk-broken-port-ped: set if the controller has broken port disable mechanism - imod-interval-ns: default interrupt moderation interval is 5000ns - phys : see usb-hcd.yaml in the current directory + - xhci-64bit-support-disable: set if the AC64 bit (bit 0) of HCCPARAMS1 is + set to be 1, but the controller actually can't handle 64-bit address + due to SoC integration. additionally the properties from usb-hcd.yaml (in the current directory) are supported.