From patchwork Wed Jul 3 16:59:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 809789 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010002.outbound.protection.outlook.com [52.101.69.2]) (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 1F4FC181B8C; Wed, 3 Jul 2024 16:59:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.2 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720025990; cv=fail; b=nWZKId7la2TFbCLONVkO9ECi6z4HFGOtfVcKghBLfYJ5jsQO47DzNXyAbZ8dxXDS9GKvznEzOeKq1t3FlXyBbbGeEERfqOHuwWwKPfIFzN2242XLdXioi9RJdpF/u2mYNN+1LNcIJjwH1jg0/SqLlOMzj5YhYfFB6psFYpAq2TM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720025990; c=relaxed/simple; bh=KxeI9dIDFo/NdOvOPm9EBo7G9s7a1zdQ+RgsqVuXaYQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=F0geiPLLXfBIsV4oWANaa7OpU8V5HWtYxcDPlnGbYJwKzrWBqZArW5V023XM9Xyl6nT+TINKbVmYDdU5BhyFhFzLHdzMaGB5V7PTFWqWsUpLb6jbnV7q5ErsQ94cTkYLXWog4aC4Vqv41OXDOtonXW9Y/VaZSwlF7IFK/PARpIk= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=N8G6QWYm; arc=fail smtp.client-ip=52.101.69.2 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="N8G6QWYm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I1sJglLAVgJgqKaIGGvq1osiZ7RYivthUr3WkyveKz26TnI0P/rHlitn6Fc/DGrvZcdrcbcM9XGhExhJ5pC8AEUbXdSGTsyrHRZlPEBatuBL5TpH89KuLaPdvvk3cN9JJeVuWXbWF8CMwZg8JnOi1OzIKsSWQqClyTW0mcfmyFf3xMQCOmB6vILeDD20Li0QhIX5WJMvLtuC/SXzkkJRl0iJYYEWYS3R4ai0ZRWJSlWfn9bwAk1XwbhVsTnnyf44OEac5lNreSGgC5WQRoTyqPuYSJNr9oN0xiy6/0mQCtkBS3+Yv/M9NCJOw+f80Bi7hZZn9wXJf+/xWzHwI29w6A== 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=o7pPFPkD9SwQLjURLCowIpcqvnR0VgaS6CKK0kzHI0s=; b=LH7IMLvuWoftrVXeTvoEj9eWtnmSgQ+fiZ640x13lbaHg9RCQsz1pLuJqDgTnMvyOUN+IOvpzCh17EJiY3zSqmxJUUEkuEkF8hTp9Ed7w195QriuXufuc/veb5j30ShlkBvAxS52ncBZ4H8iCEOBJbbaKzKzqS7T0U7tJsWzK9PXiQ0UlC3sc0kExh5LlCEukHmxqj09xQmOe/J+6k+gkR9BGyHLGg+OkCs6lQZOsJnVvqAEXHmrZQt6ZSk9krZiDiXrzdMZ6kbUJNgmQXdSFiEGk2H9pZ8V6HVUoQ0LPVzOF/4Yz+B6FZJOu+S+kU9Wb/Q5xb0a5MKFhp1doDZaqg== 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=o7pPFPkD9SwQLjURLCowIpcqvnR0VgaS6CKK0kzHI0s=; b=N8G6QWYmck25NfXFqfs6R8gj/j0xJ75eGzPii2dEP1oxfLSAMnlPUp6FscwhbPe3RaOM72ONLGQeEfU7jakCSLE2v9ZhesAxEpz5/fPyY/MExvlqU37pUlL5/OSiJi2jO+TbLpNwRhu74czxGzDBgNWZ9dEp6PQqTiOn8eplYNc= 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 AS4PR04MB9435.eurprd04.prod.outlook.com (2603:10a6:20b:4eb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.23; Wed, 3 Jul 2024 16:59:44 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7719.029; Wed, 3 Jul 2024 16:59:44 +0000 From: Frank Li To: Vladimir Oltean , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-spi@vger.kernel.org (open list:FREESCALE DSPI DRIVER), 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 v2 1/2] spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Date: Wed, 3 Jul 2024 12:59:30 -0400 Message-Id: <20240703165931.2325807-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR04CA0023.namprd04.prod.outlook.com (2603:10b6:a03:40::36) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS4PR04MB9435:EE_ X-MS-Office365-Filtering-Correlation-Id: c6fcf8a5-3a7c-4bf4-d4a7-08dc9b8189c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: ur6Av8DV0nFl47rKDUpGNDlqXz3btWA/6RPrab+9PSY4E8KnI3XWZrX0AZL4+Ci68XpuFd7Owqm3a+FpbGRz4qpCpjD8gyDnCDWKgLsh4arrvgdh8PPPBMumno4fUpLBGH4H5DbGBUgkPjAy75JCua33zsbWAM3B//6CniYmGPLQ8+Oo2glMB3akrs6s8s4zeTFdUFMD2G32E0PqCQBIMkwKSYJ0I2QT8h1j6yoIjrlsGsFjxtd1zgTr2WE8tvqyqx0verXfXGyu7xwtnSUqUrSy8IjkaPOw2pNmOO5Xs1I2eSalzUwrhOXvMygTaYZolojlO7DL93OZSKOQsi4kUsg4wYgNqkYxAnH3TCiqFUqhiPTQVKjEZ7Srw6T9P4Ofy7MDQ3/3jt+LNbH3KTJIuW8TqFruXqRQpzTfYYHC8zK4dVANBCvmVvkZ4YQblUxjJ7ylX6QNFv5Lh02GDuhKF/2UOboM8HTVB0DFZks+L48Jz+B7KXVQGsCSBSn7COmUPoS3KeTs1WN3jX1GpkZC8t7cjNy+B7Pab7aZEuMIFWVgZSbwN4kv/ryhtsmLBvB/xbn74AEOePILjzDECSScKsMnbQ93BGBjnRgxBvOMD37+r+R20P2wagBycFuBeRQ5cgMxTfhH6Sb2BRb2bowarp1k2L5rouidHk4dbtAqiYcZUeAQfSRy9AEl6Tuixb1r7J4WZ0JDBw6MbC+g3DNg9X/kyis9yO3i5VESfa8Z5A9LaxdQ1O3L+ofWHFRcfrnnPMJ3k0J+advNbTGSepQNrTyvjGVOxG2T63ZeWNA34m550y9OgJSI61fD4r4lm/rZUWxlxF0qFl2Hmf88L0XntAvKDAIyfTVI9Qc/9UkIa1rGLh5H0niaICECdzKxKwpSg5oI8I3Drj9wwlkoV+2Rfa9h+DvYSd5fVhPG4x3tqKX7TVvLJvh2V9xFGsiGkl44eCtNxeu/UBXrbB7yqdTbB1px7Sr+rl/9jGo1TTmgR/naxH/mN5qk90IjmHK5QjlUM50lNgdfZGRBuYdRQYppCjlJm5NLAPoteLhvrODt3Oj1sLerszCxbSOgYqh0KOYrJt7JIk9N8qheZYHJBgqfv1n+KY54JyJrrJXAWxZtgnOyAJS3px//DTk0gFiNpXpEVKmEr4V6FlGTG0WRM/t2CJvdgil/gJkCsOEks97IWnbe28uB4ED6u9MucutEC7Bi4NTgmOnAJHYlMej4D2Ox/jOCJJNMqAarQS0iV5wavvFpWd1x3mKPNZfc13wrvQaoaDiePXSIzH6Ujh75mDm+A2a4FDS0B9xKPak0aSY4LTBMDHnjnqrCrm8SFdXcSYlqp6nmm5466+X5Iv19hDjyoisdfWsjrJVjS3tVRWYJqcw= 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)(1800799024)(52116014)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AbTcH253pht+SStuUOwu6TBzi1Rb5Akqk86Q27lGZISg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0bgjnoaR6iDBmOb//1RpGvk0rldtSKx5+b/ndshtyP3LBbIJ+XGurnYqIzFF65d1meJTIsotep62bQKXqrzchqyqTCSZaLpImD6wRxWXu8+VkhxwG5x4/wXNHPrixiW/bDattluElXfNCgOTsQWv0MNyfrvGYAoyK20MiVmKSKP6rDc15iytMrPwkZ5EIGXRhU0W5APwxnSRI2R5OIDEtNqr7hAb4m+ogdVRi+NUUdIUMf5vrEetTH8zwmCU88CLHh3MgBOcJT+gpG3vHh/sJXOk/MlF/uUMpWEM2LjaLXaGyTQoQhhHQU/qLUnHJ2hFkLqtbRC0V4nC3Kx8/u8C0WC/xQiFSl7pN1Ng1v8e3kNOIlfZZfWAqtTXm2Cxrbu3btBi0RsBe8HDj+wdGgca+gB0FzvtfFIFcpqEMJomC07Z3O3ycFPiAdnGWHOlJonxZctF/W/BHHBjQ= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6fcf8a5-3a7c-4bf4-d4a7-08dc9b8189c0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2024 16:59:44.6857 (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: +kdEr+fsC7fka4QlIE1PnLsUm2IbqR6NidV1Nl/jhCBpuJLjx1gHM+/2/pONaeRyvlO17Baf9pzwycnwzioVVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9435 Add dmas and dma-names properties because dspi support dma transfer. Fix below warnings: arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected) from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml# Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- Change from v1 to v2 - Add Krzysztof's review tag --- Documentation/devicetree/bindings/spi/fsl,dspi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml index bd28335a6ac86..f16ac22291456 100644 --- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml +++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml @@ -48,6 +48,16 @@ properties: items: - const: dspi + dmas: + items: + - description: DMA controller phandle and request line for TX + - description: DMA controller phandle and request line for RX + + dma-names: + items: + - const: tx + - const: rx + spi-num-chipselects: $ref: /schemas/types.yaml#/definitions/uint32 description: From patchwork Wed Jul 3 16:59:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 812287 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010002.outbound.protection.outlook.com [52.101.69.2]) (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 3FCDF1836FB; Wed, 3 Jul 2024 16:59:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.2 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720025991; cv=fail; b=e5IkcflXJGtmNW2HUvv6kZ3RLi4Ii+bcDxF4aXivJwqcUm+u5lmlzImuC3fHr9RPtLTAS73sC3pVBIHZHNWsVLyaA9Rr4pVQ52gO8DVqLtiXzKRJUhDOJPcUOVwYKsRd57Dc5ySGymY2uE8HvKFPK0xrPjLoIpRWft1NIybegt0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720025991; c=relaxed/simple; bh=/lv0BfadPxL0XdGjOmqTO45Gx0WqRn3UBc97a/+AayE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=HsbxmQr5BHNTgiynn5ytHr69itUnUa4N8xdwyjvb5Ez8AziaRLO8B0JtGbMa0mKJu/gots5DabQ5TdKF1zAOeNWTrGVeFn5/FwG6YwQkOvaVqPV/JcA7hcyHqHDJtOd2NKzwO+0xvZ0XlOcpGzGeaKEYR69wkIMY/cx3y52474Y= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Gylv5GDD; arc=fail smtp.client-ip=52.101.69.2 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Gylv5GDD" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rm2e1cMsYKlEvXGazQjrohVoDynBS8xSvlPPNcSEVz+tVIQarhyjnC83gvYSS7QWoYh1xWprjU57GSzp1SsgYNV8socpMmNmmb4l6hLy20muqKNHXgUgZBZl422m/HJV1E2RtEtklD//99EigJxYUiUQctE7+vyT9fqLQGsM1KMO8uI0xlUipxkky4MtuMtHJ5LzORXzf/T3wGCdf1B6KDeIwAk8oJVqKl4Ob62B6n/us5BTUVcML+iTIgk7yUg+v4qKu+YrtbDPwF+O+Ue3SgqKEp81+J+JinUB23y2cq0jajTcCWOgFosdZgdxtO11nHXMtyzF2OfahxewXcq9fg== 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=MusBSkIdzPfr8YLej69KMmTg6YKAfCSCh6OAfo+vd0E=; b=HrRsWpRTJE03PM2si3L0+aMU8bJJOhFeNSH/qArG9CYe8mN/KhdrgJBvWdFnGqVNObKd1lyXS3SGi2ZkXpB7XhzttgAggCyym+QykBK3Irj1bDlUEZmzMjUKC8zwHayo5KSO2lRTccwGKS5hT2WjN4KBj5iVbKvwNsbRg3+krd/c6QV3bWrkpwcscvGId04pga0ghJ2lgsb5HfuO8iMF5RNtiujBvsWv+wioJnfheRNWh1evKBdjLb8SSt14NdWgrpxagfCXXmst/D5k+Lb6xaQFN/QOIM3WqXf1+PGyGrzUSu8YSbJcMppxKNesppg6T+FhhSvKPXcNbcxXBSna6g== 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=MusBSkIdzPfr8YLej69KMmTg6YKAfCSCh6OAfo+vd0E=; b=Gylv5GDDJDWMTbDvt7otVwk9YSWDgSXcoHe1Mpf3lLqfB+s4AdpIV90hXVzguWyN2+ksgwNI0LlptaqjOM5nAOqba6uWUZUGcK1W2lnoZMqRQlTRUfzsqHsUGscYBD2rnjN9kPLnJ8bMj5BE1FrMasq6lKEF1rvGeqCqaamlgG8= 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 AS4PR04MB9435.eurprd04.prod.outlook.com (2603:10a6:20b:4eb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.23; Wed, 3 Jul 2024 16:59:47 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7719.029; Wed, 3 Jul 2024 16:59:47 +0000 From: Frank Li To: Vladimir Oltean , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-spi@vger.kernel.org (open list:FREESCALE DSPI DRIVER), 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 v2 2/2] spi: dt-bindings: fsl-dspi: add compatible string 'fsl,lx2160a-dspi' Date: Wed, 3 Jul 2024 12:59:31 -0400 Message-Id: <20240703165931.2325807-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240703165931.2325807-1-Frank.Li@nxp.com> References: <20240703165931.2325807-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR04CA0023.namprd04.prod.outlook.com (2603:10b6:a03:40::36) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS4PR04MB9435:EE_ X-MS-Office365-Filtering-Correlation-Id: 70bedffe-825a-4bdf-a8ae-08dc9b818b8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: gsHlN8Xp0ClrnROjLRoOcLxCXZu0+AHym1iNz7tp6mn+SbCOP1rHVKsNlQNdRHadF4AJh1Ds5W0cyzufh2VMbLmi3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jxGF/PlMCBPq9MKFWdEvbZup3FrBzgVTGCloUq0svsf2ks2aO+hNcfTecFEqdWBq8hsbJKgjdpZYMxbHVtukb64dfrsv7fZgK3MsXGeV+7h51CRxheZ6kMszBkB51UsprqcY5kkNzGanTlxMD/iOKkOBNTGanbPfYqwudJqXcyEhWJTv96ewEya/CgPID2yy2NZjrrIfJPoKaxN/cGeFzTlGrtloCjFCSC8gpKtqlcxmrtTaaemsgyxyVYmhx3JwS01aE7I1u1xUsA== 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)(1800799024)(52116014)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RbWzr9d5CsqSeP82hGBchxWSFcu+Hgvnv9+qC9lh0B+gGnnN4REsKjuv0dkVM7YFOR0heobVuN0gadAyM/GXbH1ACeisu0Mx6tTCtVHdM622dBqB4DabjUhI9qWU4IBl7bCNmbDzhwN0+nsAZMFTjZiVuAqb/YcUephklu9HGTHab+OJL6VU4aT92Tmytu8/RlPM35PdBO3b27I5fkdLMmGikT/fzHJlbejb7XpJpLVLwIpl55PJyjZft3cCOG/RqeAjOSHAsiZGgugyaTZoq38aGi9UNivRLYJocG5lW03af4EDrIyGnu0m0u+1SwDFOA1pBeVOiGNtyU+tjZr/s2b5qMu7QZzbXdCRgg4hhCszucNejcvDljJeuDqJWIvRLBVb/NECfsHpgpKoeNqcXbDBPm0T4xvqyEbzg4fKlYpgrX6qMpGe1PLFx3+s4c0b49F1UL6WCKHfZGrG++vMDBeR9dVKDZwju2YGA0Yei6CVCcyc+0Xqmp0iW6lA62Klml1aS7rl3zhqvXgiVx5FYpL71XhCPXDcoQ/9/YmJS8WJVLcvmv3441h17feOHe4vmyy6Yr6xdkU25pePjR/Z16yUphWujXF+vV3sN1p7rVMygp0B3n+P2xHwByIzi/cjx17dZXdowpy97s7MbqU2zqgPRozA3HUpGSrMecoCpr0Nn1TABpnX5IjIa50zHPHA6xlsM+rN8+EQr8SAGEllqYEQT1INe/ciDWItbc/A5S/SZZyESpVN7bNks4MoZVnf3gDXWNJvH2563eCKhM64gJEfvRsApk09jXklmG/Anm1uY0czxm6cpJ5TLJDgKZfyGyR/EWynka0n68Oo226BGY2KWxfWb1SaAMCatyrsBf2DtW09HyL3231psPMN2gl3kkvqepvXWxUGkp3vbUlTyH7tQflagapV3QyJshcJ290U4+zHDBPJ9c6zM9gKxCMu/paRoX8+NCowau0Mf+hAArIv1wWc0O4bFhXO5V0PLpSNvgzC9aYe8EmGZHGd/oXWJxHIOZao5p6LddqIlQdVEk/avwk+YvA/HX0HKBhamEYkhsHdNzXieDAUlQ6nRwDEHhpraLF3OYdcAIDoL5X0vakL2XlMklyx415T4jiSblF5qqDbPm7+/wRr0+CaVB13waykFKL+R9mOgbtYONo68FMsKnnvwLw8ZmR0BYnRZrPrzYVaqdVUQawxLihkRDTvZwIaa+ooxXAnlyQgTIs+XfmTnRwmqoX/t9dIoASZIarT98hlrtbXiA4lUHzV+fJ8xN6injDpU4rKEoOOV7j7g2ua2qZW+pasAYsh0NLAvMABkFQha9l7u6a+ZXxdOTkqqLM8YjWwXEZoxv5qvBLbPYrJgc5UpKGOLzvL51HyhYuzx9lIlV678P3ZLKJ7riTq/1pBnnVLG7VtGDf3WFLtce4BGtQ/9Yeran5ns635y82tjHxmVoJ5Q67rlDnb1rPiI6eDUPhG9T0z0MlGiMlLW7/j5zQgHlddjxdAW366Z+AKohxv1RQnQF+FM1JoDHEiKY5B6+ga41btNa24hyzWrs1zaPAtbt7I5Z1jfbJEk1/Xe+rusTOY9iXVQl7PRVEE X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70bedffe-825a-4bdf-a8ae-08dc9b818b8f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2024 16:59:47.7034 (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: zhHLN89/q+wXZKlb8ozki9ez1apZSvdm3A+QdP21FxTbhh26n1DlgJEuj/GiP+KL++Ik8pCIpcJeCxtLrrMc3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9435 Add compatible string 'fsl,lx2160a-dspi' and allow fall back to 'fsl,ls2085a-dspi'. Fix below CHECK_DTBS warning. arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb: spi@2100000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,lx2160a-dspi', 'fsl,ls2085a-dspi'] is too long Signed-off-by: Frank Li --- Change from v1 to v2 - new patch --- Documentation/devicetree/bindings/spi/fsl,dspi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml index f16ac22291456..7ca8fceda7179 100644 --- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml +++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml @@ -34,6 +34,9 @@ properties: - items: - const: fsl,ls2080a-dspi - const: fsl,ls2085a-dspi + - items: + - const: fsl,lx2160a-dspi + - const: fsl,ls2085a-dspi reg: maxItems: 1