From patchwork Thu Aug 15 15:21:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13764948 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2085.outbound.protection.outlook.com [40.107.22.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CB361ABEBC; Thu, 15 Aug 2024 15:22:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.85 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723735340; cv=fail; b=nABNgCQnlJoKtfCcr8mE/NEmqbiw6nttK+xBiVYn2qqyOBiCu9DuQK90BiIEWH/jTg0TM70gkQOM/tTIWErT1OgoG1Nn4VSsopAJcg7ZveU2mWCopiarbVpNkc/s0jb8sWBCqrALIf0Ktdc/tqotbzuZwAJG4LEMzse8cpYQRpA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723735340; c=relaxed/simple; bh=DuQvaMJKxVvC1xvSvHgx1N6PIU6W5AT/8j9ua78ESxI=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=glUjvRkiGwaH9YKfF4Imzos1DRlGFs8dm6mZBjEO5tyf68m3qaX6kehI3ISViOiohLwRqIRvluFbsMAWNf8fpFz0L3gSsJ3RQzqOsHNZqpUS75cahQhgIktDJyQuK38dm6p/muqg50cKUpvPXf/elZ5JpG0Y8bherD8A/dPHmec= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=UxZcRqAh; arc=fail smtp.client-ip=40.107.22.85 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="UxZcRqAh" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XP7lbE/giuPAaoAN4FSmdvh3d+GFh1jHH7QFCxrkYVffhsQI3Lwvoq0sMAZkepcLTB3qW+7D3roY1W1H7l6hJKNG0pt70/J0zOLuXCe3paxeZqAV2pjGkSE6bx8H7Pr7JjFoDNvO69WQN3iLHY3sldZGYrTBYwrJhHZxpQCqs4VOi1dnSmqNdpF5gIqr4t8QB/j93PeQYrvZqFUqO6NtyZsMZBAszmr2Mm5b3vdJyucZLJ4FOCVa4NpMeW3oM1gdHdtb0l36H44jOJkFq3pvOmEPdKsR3Ntk6/ov/i/J9uxZpkQFlqCKoNkRf1EY+TLVbL/7PzVLX8ikeIlQ7mMaMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=tXqUAhCkkFo/6ANdxtPZFi/EmJBngkMm9MtlsoQ5+3s=; b=L6l/UHRqOA7BzlwtdlzMap2nu3IUQAHGvYCipvdmsJZXgqKAHnRnEDnHTO822wrrpL8a29sEZGiq5Im7jtcnd24Taux7Yolh3n8mN5WnhcKGKyOxwAEUnEuIJrAAdJH6X6iOo9PkRSf5nU3lkgGz7z5n1HhHgPJDFJdsdpBY4aLzpOftNuQi2Kmsje1zpv5WV/sDAa7t4ZSoicUkPnJBu3m2iIu69e5jvPuYGnhYDqzrbDU7JJoC6I6LBRSUCHaYn1C6U24ipxUG5lfBuxAbckKUE0jNDKmRyrx3/uAJWO4l3/ANFDFzYfc+uBBmvFh/fFBdmdFmSAJzmhjeio5lBA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tXqUAhCkkFo/6ANdxtPZFi/EmJBngkMm9MtlsoQ5+3s=; b=UxZcRqAhKJu9dFBPwcMdXluVpM7RgTF0rI8XqisGUVJJwEzIn9+RT9d/lts9YazNn129CaCifDNF4CqK+UX229HKoCQ7yUP3TTmEArgoh2BwG96WHdUIHD+H/W8E/9e/I2OcoRObWU1dpB4eg+6nQhZgPzOVauN/mcSfM4cw7NyeBKqbuxVAGGLR0AJrGQAoCLFB85JjdHyoxAFY9CKzGW0aztN4OnyzcvXBOaI7e6aatTVV4S4jvAyC0EZPr5AdmeRdnquMC1NP2D4VsVbbKrhzkGSXdQvm1gvGkry6oSO9vWcwxb5Q9gojh229izHOWOSQK3gSpLOD1HV5HKep5w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by VI0PR04MB10212.eurprd04.prod.outlook.com (2603:10a6:800:243::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22; Thu, 15 Aug 2024 15:22:15 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%3]) with mapi id 15.20.7875.016; Thu, 15 Aug 2024 15:22:15 +0000 From: Frank Li To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-usb@vger.kernel.org (open list:USB SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/1] dt-bindings: usb: add layerscape super speed usb support Date: Thu, 15 Aug 2024 11:21:58 -0400 Message-Id: <20240815152159.4177782-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY3PR05CA0055.namprd05.prod.outlook.com (2603:10b6:a03:39b::30) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB10212:EE_ X-MS-Office365-Filtering-Correlation-Id: 95ab00d0-63de-427d-605d-08dcbd3e0b1f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: SLt/sTSXh64s2mZwMyjKR5pEFDkPsw1wN6ymOfYBIRk7PFayIoVnWW15BfQd3/xcbXmAcExuHfpcfw8S6cuasFkEfLpOn6U+R12peTd6o8rogw3bR3IWLh8HNtykbsmcGf9cLPmao51kmYpoOpM2pImaWMnpaUQcWteQuGaewdciy0TruDgSzCBpcmljcai3NmSvWzkFN1D5Pq86pRm2l+V547JadVSVxn4T4dpRP7oUNk9akPsTPauCCA7/LOuxxna/yBSBSBOa6WwaUblvC28kOiHG/hZ5XEh0Y+yCeAAeEZQH/qfNHBaBablZLxGdq73VDVknWF4enEw114PUs3+AQCPBl9WunvMKwXNzP8Eq7aYTnROkQghO84Fu5+mI/lQcR0alHkTXy0dDVvG1zNUFGAKa2SHduAd3lfv70LuoJ2w1hAwIYQr65HmsIVh0HckDYmWWZNjvugDQyDrNdKaHE+i7fCG6hXZVIbENgXXiciMs/wTZTi+fQwjTlyKbdoMxVBtmNfJLh5KgcHU8Gx3LKWnnEJI3LUoDNcKTTd/BRMxiRTKDeS4eR+OM5zDw8Oy89h/zbxf4uCpwhRWpHxRJi6FAv4MTgfuhkR4Zofp2GHhK+9Q4ySeHe5V9Dgl/QKps1Dfl84lgWeyaAKSzQeTgGjENRpFpQSXp0jmjQmH0seia3mArj4BUNfjRMeDBSRWtetdBki/u0kwv6zJrVM8/sRazec/3tpDujgSkdoVAfI9e1au1gLEy0D/22AfbfsOreCNSiaOF6dpR79BX/1N/OaxrwOwcNOITqzNVRoxBdhjSPd7izEPYiwM0hDZ5Lt3pW9Hv+34uACt4CvjbeBtkc61CXw3gskpj+1JFtbSBw2+ZraB2JUt1k1qPeEIDGXkmlxRqWmCt2JztQqqfQMTc4hIz0BQnExbap4nvw/4ih7VHYX2GxMf0pACCR7IMsHqdW3yXw73h6v/f8UupJOc3O5oD2RpHwDPGKSYiyvZwRWPSC5tF7/dl6u+7JatRQPx6rFRFuQ2spwkiwMnLegakrSKekWkEvVUIJmhvyI1TEeTbVomNNSdwl6dAaIRmq8IMmSEj6zmCWeM8Dh2D4ccXrDxohqkIbbdgd2iGI0K4jeBPlhRhP4FWjmxCPareFvA6TGIjbzQd9q3Oj45i6s24G0wpYCJPaIvnw5r5x/SEKLItzPWiAD9xrbML3+n+3mLXes/IE+UzlmjzyeVw3AcT33je28O1NAIPohVb+3HVjlfbNlg3h7Garm19yhLF+7sSfM/8+u1QzakiuLxeQ7rBKmEXkyH3Kxf70IiGDpm3Y5uArN1vwnMNbpnM5pIYD9LYGc4JQxL7V909MbQePJbtzSkWksYR4P7jvUh9n0I= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(1800799024)(366016)(38350700014);DIR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7hS7b1X85f9jnkQrZIH9K9EP28mMsmfSJ4Wez+HCcZT7LwZTeV+q5LyaacBupHQ1GA4KebhmHfVksVdDMNweG8q5lYK651reOxCYKoANY/fBYn7ZXkWeqA+BUtxxdASt0+Qg4RR0ha3GbmXdSallOAtS1R8DDw2vGHGuYZbl07lp9yR/TX1yRvnZvUhHS8MUGdZOXlUev9eZ5fE6dRhIIyLcKzKUdzIcHD092PnaE3QL3miNZJEUgvI6v5Wb2KygIGqb7p1tkEjXK2cTsxDk0u8D2Yr0vqoT2WOOA6nsYE/qQqEH71HzNAt0mWu5OyBOc1QWprnXg/Vl4r/rqfpiS1BPyU9DcmgWLzs7asE0iKeLHOWL5TZ1QUa/Nx6p8ibo+8gUxUqJnZQ8RWvwU7xZ+RHS4qOZqOJUSJ2dhF5XHauiCcbFnPMB4uElMLugXFH62ZhbOq8Om9T9mLp2vTgqOEz9OUXXUHZD5q6rRDU/wMohRHnKvxB5dhO1yDkSqI7gtl/8yr8Un/rUy3+fp43k9BCZjdp73g3CeajtqvBlL0H7L8UsfONqrJhVzd4h/q03ACJ7fcKFwhjVL1xpVy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95ab00d0-63de-427d-605d-08dcbd3e0b1f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2024 15:22:15.3294 (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: vD1qkLMtE//UMrfHkb6rnIHBlprmeIJ5IQ8JdI5yDUAKTW5/016ISM3SY1s67zviSRcfPLRbNseur+Au5F9VIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10212 Add missed binding doc for layerscape dwc3 usb controller. Fix below warning: arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dtb: /soc/usb@3100000: failed to match any schema with compatible: ['fsl,ls1028a-dwc3', 'snps,dwc3'] Signed-off-by: Frank Li Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/usb/fsl,ls1028a.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml diff --git a/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml b/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml new file mode 100644 index 0000000000000..a44bdf391887f --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale layerscape SuperSpeed DWC3 USB SoC controller + +maintainers: + - Frank Li + +select: + properties: + compatible: + contains: + enum: + - fsl,ls1028a-dwc3 + required: + - compatible + +properties: + compatible: + items: + - enum: + - fsl,ls1028a-dwc3 + - const: snps,dwc3 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +unevaluatedProperties: false + +required: + - compatible + - reg + - interrupts + +allOf: + - $ref: snps,dwc3.yaml# + +examples: + - | + #include + + usb@fe800000 { + compatible = "fsl,ls1028a-dwc3", "snps,dwc3"; + reg = <0xfe800000 0x100000>; + interrupts = ; + };