From patchwork Tue Apr 26 02:24:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changming Huang X-Patchwork-Id: 12826424 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 5B4F6C433EF for ; Tue, 26 Apr 2022 02:24:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242092AbiDZC1d (ORCPT ); Mon, 25 Apr 2022 22:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241949AbiDZC1d (ORCPT ); Mon, 25 Apr 2022 22:27:33 -0400 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20044.outbound.protection.outlook.com [40.107.2.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEF7FAD131; Mon, 25 Apr 2022 19:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n5EWoBT2oe8ushvdYwvxuwGNghpudwjA/3cIbT/B85GVdfd+pwv+YC0grS6qkPNcSBwGu1J7LKfYlEELTkUaPaCqxXYyrTqk/04iQlDDKD+Bt3I4mNEIc8EHMTO1hQi/mwTuaGPc9OE0933Frx2Q0LwMBrQQsUj93N68xZfrzh1saM1Q4CPBFF5dWgPFoxffK2RN580MeSwHFVplhkemAMt043/0wCk2oSk4Z7f7aCJgYsR3XEYS+exq27hdfHogOcu3JNQPm6+9YqsVEKi8x3aPkDQUEUuxZ1uIkLFMxMeZYVAoKk+hCe8rP5efWKDIwm6/itK1D+HP3guuYRh1Gw== 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=EMjVPGa2ZvyrlfuABVg3JPk4xJXkPDOJ8l2PpruaOjo=; b=TfI9/nQktBJJwPghF4z7x2htrLySvl1zz3Jm38qMUtXOseDA4IgkLsMn4bx43Fr55KMvjgVjam+oNv2AEYbfCTVlYCRvcHg4RdnmfecBMP2rkdZBK/CPWKLq+VLR4xkeBp/fJezHCLjYYcEqqOm32uWNpEFeFeLCPkPzifrJw4sV0P4JeoefAsUpVpQm1m42MgS9Ruz45TKoxbCnZNAZgVuuaZzPiSwByLtf80YFyqjXahrso444Svt69Ccu+ta9eHAsGcZoV9F4GpctywtcUCqLh65L46SN+wZIlG1fC9wZiLnbrvqxSYk8x7CnG/BB8R15ARDCVeHZMWBTaq/kcQ== 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=EMjVPGa2ZvyrlfuABVg3JPk4xJXkPDOJ8l2PpruaOjo=; b=lsRPkePCETxGqnIHYNS4v0UKsnkCL96qgHsFhEW3RglRsfULu8BglYPa8s3IUYxAzKTimHLVV5bSgyEHda+m47AcKVwG+5aPDs/DFavLpyD61HIXLSksk2RmdXaxSsvP+cf3d1GnJyE/X1gjp4GKkAYiLQZNrb5abZeDemR309I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) by VI1PR04MB6127.eurprd04.prod.outlook.com (2603:10a6:803:fa::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Tue, 26 Apr 2022 02:24:24 +0000 Received: from VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01]) by VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01%3]) with mapi id 15.20.5186.021; Tue, 26 Apr 2022 02:24:24 +0000 From: Changming Huang To: broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org Cc: Changming Huang Subject: [PATCH 1/3 v5] dt-bindings: dspi: added for MikcroBus socket Date: Tue, 26 Apr 2022 10:24:11 +0800 Message-Id: <20220426022413.885092-1-jerry.huang@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: SI2PR01CA0046.apcprd01.prod.exchangelabs.com (2603:1096:4:193::18) To VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 224f4c99-e05d-4fec-1435-08da272be0ea X-MS-TrafficTypeDiagnostic: VI1PR04MB6127:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iPzBbEZb17kdRVU2H2pNLPAuKQPpem6colng2SPSo0AAQcjfmoto5qTP0VRXhL56psHjtmm1sA7r1GFY5+7dofu/B27AcsWdS4SIOCaIuf+fjyjDl4HfYX6q7emDfs6VEh5Ad0w0PjyAssSDYKGGlTKlsqnLeeDg0uTgMIMxK5RG5McigYolgRZkHRTSbsa+HREG4rthOC3xUzGH3ZFc8RevegM5EAB4kJonPjgBIqqe7zBft9XeFN2K4f1QSkpCwMQe2Mo2EfEDlNtG/+p++NgFCt3YQqie2txuMXEqVHClhuxsNHd2QkcTP1fWh5sfhPrLRprlr+LKbyParJCpXa/Crt7mmTZ1jDPegdFXXmA4SDLKOx4bANVHjq5E46PHUDiAzLsZluFCFvTVnEAM3jfR1rEmtiy9ODPxgEdIw7lse5sv4G7OLieiYn5wHAjjYbHlCRjwuPb8G7IYDN9OPJFRki7ki05CqzecUC7NfiipihrVYL0zgASwKhw922z7u67CjFmr9tp6dS84j2kwkP9ekwJroGphN0wzT0N3X3A6DkQtDBrl0EkMlkL/LfCoqjYssQD9jR7v9r7O0AaCG18VoEnXLW2hrnlU0xu1Cn5ddOyS0kCf5BngKYnx8otqszD0TwhOJmfQMQpis2Ptdklchstb8PTouKKODKyW8HDGme9Sr2y+bKTb1Z2D/c1F4W67R7Ml+I8lKKERJvGDDtpqP8/lmedXsC/yhQGmMZXpyCHU5NNPowT9qTsbXQ7CJPwCDwRP1QptJFsJzgmXXuzaIUrFPKzdA8bZB6wUQtejNqLNz3szbwSXM241XdLo1lyxs2C7QP/UpWUULpgPjw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6477.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6512007)(26005)(8936002)(316002)(86362001)(5660300002)(52116002)(6666004)(966005)(186003)(2616005)(36756003)(6506007)(1076003)(38100700002)(2906002)(38350700002)(508600001)(6486002)(8676002)(4326008)(66476007)(66946007)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: smX7xQ+5nC7SeQOLj4DR4bCqEGXMGDHqbcHjOs8yS6S9a6z8po2U9XJbxGx5E8WRmAmcUUjNxs3gfGxkV0n0nqdhopG6wfY/2ctJMO/ZMscaJJCFOYkf22V/AQQmjDy/tb++aqQqjhDxbt7T3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dSKSO/tmE59s85l51l7um+zlO80J71yjhr4DdYNY5Azr6NubXx41NQXQUvAA1RVCN2glMKAkHq7PIAwsfpdId03imLgGK3/Sgyqx2PH807vjzcnrXwn7khCZlgFk2Nrg+GcX/UHNcqzTeOOltnf0iEHxeMULfXr/mXBc5wcqeP4wWPAkVJGwh6pBaY93yR9j4cIa1uH1o+1FDpT3botRvWiF2lNtjUU5OflV3HlO3ruJtDWs/hFOAj4w7jRxcblMd630N+fDXnQ27bYQdwg5dXH/4yytjYq0CXAoEtSKDYDI/vOPHvHaE6Y/zaYUf3LWcAGj+aL8Pt0CDxV7i2fPARZfMM3VIbdA62RZUtzQtpALthHfDsAg92CgK+eWYMwTnZHVUNWu0ccen8ts9+mEoR/RwcPJxOWPuf26mlKYuwZL3Wy6pXjNPqT8pUjgfd/yY907wWUlJuEZEaIXGgx2d/ko2WGebvrcXVZwGjTtfpALAQSU23V/pgseGYdx+IgLc+mF3f36OLze3vx0g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 224f4c99-e05d-4fec-1435-08da272be0ea X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6477.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2022 02:24:23.9204 (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: TReVTkkGtRoVwJq0wL7OkvXF7hSaOr/81/9NeBpRhKGPb8ZH9bqMg23a67nCFgstRbo5aKxSA8j5aqfiBALBBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6127 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Signed-off-by: Changming Huang --- changes in v5: - rename compatible name to mikcroe,mikcroe-socket changes in v4: - rename example node, adjust description changes in v3: - add the dt-bindings .../bindings/spi/mikcroe,mikcroe-socket.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/mikcroe,mikcroe-socket.yaml diff --git a/Documentation/devicetree/bindings/spi/mikcroe,mikcroe-socket.yaml b/Documentation/devicetree/bindings/spi/mikcroe,mikcroe-socket.yaml new file mode 100644 index 000000000000..2b0abf7f1d84 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/mikcroe,mikcroe-socket.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/mikcroe,mikcroe-spi# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MikcroBus SPI device bindings + +maintainers: + - Changming Huang + +allOf: + - $ref: "spi-controller.yaml" + +properties: + compatible: + const: mikcroe,mikcroe-socket + + reg: + maxItems: 1 + + spi-max-frequency: true + + fsl,spi-cs-sck-delay: true + + fsl,spi-sck-cs-delay: true + +required: + - compatible + - reg + - spi-max-frequency + +additionalProperties: false + +examples: + - | + &dspi2 { + bus-num = <2>; + status = "okay"; + + spi@0 { + compatible = "mikcroe,mikcroe-socket"; + reg = <0>; + spi-max-frequency = <2000000>; + fsl,spi-cs-sck-delay = <1000000>; + fsl,spi-sck-cs-delay = <50>; + }; + }; + +... From patchwork Tue Apr 26 02:24:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changming Huang X-Patchwork-Id: 12826425 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 182DEC433F5 for ; Tue, 26 Apr 2022 02:24:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241949AbiDZC1g (ORCPT ); Mon, 25 Apr 2022 22:27:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242200AbiDZC1g (ORCPT ); Mon, 25 Apr 2022 22:27:36 -0400 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20070.outbound.protection.outlook.com [40.107.2.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F01EDAD131; Mon, 25 Apr 2022 19:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hIFa9gygNcxYPco862Vdxviefx3Z+VgNGZXnn4IL+hQWAKt8nUqNhQCrfhXEjI7B7LoEQVtdxz2AhGEzT9NKxb6F/JXRxlBkNgg/4hv4kFfcGGxWe2FMiCtEO1erf9fZKkfSU0eI0UdLMtyoBvkKZc6vAzTTQMtZdVOlOb2yb5YPqbCulz6edT1WdjjuU8Y7bYdZXkutNuzNkGe2fs7iX2ICbefxpka3K9w7rRLxKhrmI47r0mvSr91bnhsdEgkl9VgGiVIlbGzmwHytvbvLbO/jRwvkp3hIjODNtm4VFwHMxCsO/VGPgBKj2k2ZtE3bv4Z9Fz82kJ5UaLQXTZgjvg== 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=VagV6/iOpxGz48v3Yp4Z0/oiks+1AcBG8k2fEEH+RCU=; b=BLsaiuwNMWRnwNxzfZhjXvTomb1NGPvEPmMFMlI6O+uLL9ZfIZxRmOX0fMnY+0zWWFBP31iadjiyWDfB5/LbrwTHner8PyCmcOyeQSs4o4epW4CvaDlFfEVoyAO+/1LA4JufvHHBnth51imhEBjFKFgWy3VDIPN3393RlwFXJgYu2ZZSfCQ+AG0Wvr8E/307egQqWs6prkubG/7aeP5V4oiyh/S1QZO6ytJOXUNuAkUdh3cqA2dWo3yzKYIZlpus650l7PtZNqrkfNW51+V0ag1OgxAFP/VSNKbd3jFdKHN/9v3YrNxD0ehU3Y6zaqCu8akdKqNlGIpu6KMTKMBvfQ== 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=VagV6/iOpxGz48v3Yp4Z0/oiks+1AcBG8k2fEEH+RCU=; b=rgLNuuWnpyKhhPTp0a4T5q3RIz0SJOa7LZtqBItseHxv6rtZOnGtkptWZj3YXHfB7MeWoJnwBjyq8A8wfeiRXSXDP8U8Qd6k7aWwZyq9rQtsnQJFUgvUHv/dCdSV1VxMTX5lRW9woZ0oJd+WOPfWgxi0Xfrr9fk0WD6r/rAXj4g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) by VI1PR04MB6127.eurprd04.prod.outlook.com (2603:10a6:803:fa::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Tue, 26 Apr 2022 02:24:27 +0000 Received: from VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01]) by VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01%3]) with mapi id 15.20.5186.021; Tue, 26 Apr 2022 02:24:27 +0000 From: Changming Huang To: broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org Cc: Changming Huang Subject: [PATCH 2/3 v5] arm64: dts: fsl-ls1028a: add dspi2 support Date: Tue, 26 Apr 2022 10:24:12 +0800 Message-Id: <20220426022413.885092-2-jerry.huang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220426022413.885092-1-jerry.huang@nxp.com> References: <20220426022413.885092-1-jerry.huang@nxp.com> X-ClientProxiedBy: SI2PR01CA0046.apcprd01.prod.exchangelabs.com (2603:1096:4:193::18) To VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2271eff7-c80c-46e3-b522-08da272be31c X-MS-TrafficTypeDiagnostic: VI1PR04MB6127:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9D9HdGP4fioiXdZO7Th1T+jjI8+4yGBDJ09O44SWj5655/jVhCYQ8giC3uuYTaBh6Yk4V5cMXvS0A7+7SYlxLy+KoedwqBymg9H/uS/Z/y9p64I0KArqI3w4pNyuGubx0bcVFXN0g+i47w5UHSWFvzYvMNmh1uaeXyag7MG7c2aePPZZtFR9sSv9gSoZyoBVDjRWxKpCasILdJOsipO2NK5KM7QEAyJgIkJp4lvO3PFe1j4fZzLQ09BRSMD0+P4mM1jeQFlKISIV4rXRvGrAbzb3uBSkcrgwtQvA+JntiCYZv0PnLC/YHT1Stcea/Q5nwsGe6DiWq9w3LmhEq7+7Y+fHzx3K73DdGzkG8j0/gkDMizUNTj2eaq+t34PbcmkO/fl9sYW9C6YMshiwunhFKC/7NvI/DzViweOguSGgtM61UWvtT6TXGm+i9PYNUTcUPtKx7EKQZ9JdygGHp1Cpyvqj6Nsv9KJBYkFGfOu13ek/TLA6PTqtkRdSksN7cnwLifD49LSm6mM2/AyLV+cqt83kg5JjayOAPeXjbaE7MbPcpWZimJici4lhiXn1hgbqz0FCnCx00Bkty5k317GE7rUo6jHVIQ5BP2yuNe7pSKu3CxhGtGN8ETCGwZHAj+V5TRFpsQOCBP1gyrSptzYRdBdiiOc7QSeFY0KAzN7MaaGGJllgT8U3LkWrKoQV2/Htk7o9l5moYbO//faUOE4WVw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6477.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6512007)(26005)(8936002)(316002)(86362001)(5660300002)(52116002)(6666004)(186003)(2616005)(36756003)(6506007)(1076003)(4744005)(38100700002)(2906002)(38350700002)(508600001)(6486002)(8676002)(4326008)(66476007)(66946007)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ps9NgiflEH+vZnq/2AeARewwtIh2fg4uMsNr5FnMD822sgiHTpYeRDVTAdMBHMTb1//ifj2WkXfNGop07p/fvMIxWU6LnpMYctzbBEx55BjVtQfzxxOzpIpjzNL2cn4Oubo/gloZ4uhjaK/Tawx4w7TSRQMUOjIcjqoc1tmxWQaRYlBHqW/3zzwifweR6l3QoqRbv4j91568TO7GJHF4w8lFQ5Mne0qdw9/8o0wp7VYBP5X9HSld5qFon83gglbVe5Pi/in/C2CjM0iziY0vvKaTtBAfs9z1e0TMwur6E0BybLME8cPXe048CAZ9FseBBs7Ww+BygcpkqQn1ebyd+HSJNKribLCychEdlHCsk0k8V+KLW4u2/oIAxpAJ30RGMUKDSMjMvqTmr1c4I2BByZxaHWGR+fi67pSM/2k/eO3wmMvhHj6Pw/W0EvZtrxekESUk02iZj5bC1/EMe5raC+HA1n/RqvmMkg2hLm28x6UKQWiJ/GB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icW+V4IEQBr804iin9ju81q1hxhoqnyjeffFMLpmTbkThZO3xNI/vz/x2yQjv480XRfH52S9hvZ/aRStqDdpBaT6FZXiychX6fIUoVfO/9Vu9Dntbcl49FaAjx9VKR0e82bzEsqiURub042ydhl+sVoeiscW22QJRp4RE9n9RalQldRmQw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2271eff7-c80c-46e3-b522-08da272be31c X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6477.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2022 02:24:27.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: uYjTjJ+J6EIA599IWnwBeXd/PDYn6kEV9EaeSjNXHluHoTbF94VfiagwxJGd32WRoYUtxLkcZb3MuTZTlVEGzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6127 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Enable MikroBUS SPI port. Signed-off-by: Changming Huang --- changes in v5: - rename compatible name to mikcroe,mikcroe-socket changes in v3: - add the dt-bindings arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 68c31cb8eead..d2cea39d4966 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -117,6 +117,20 @@ &duart1 { status = "okay"; }; +&dspi2 { + bus-num = <2>; + status = "okay"; + + /* MikcroBus1 */ + spi@0 { + compatible = "mikcroe,mikcroe-socket"; + reg = <0>; + spi-max-frequency = <2000000>; + fsl,spi-cs-sck-delay = <1000000>; + fsl,spi-sck-cs-delay = <50>; + }; +}; + &enetc_mdio_pf3 { sgmii_phy0: ethernet-phy@2 { reg = <0x2>; From patchwork Tue Apr 26 02:24:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changming Huang X-Patchwork-Id: 12826426 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 9FD5CC433FE for ; Tue, 26 Apr 2022 02:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242200AbiDZC1q (ORCPT ); Mon, 25 Apr 2022 22:27:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242265AbiDZC1j (ORCPT ); Mon, 25 Apr 2022 22:27:39 -0400 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20057.outbound.protection.outlook.com [40.107.2.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C3E4113C92; Mon, 25 Apr 2022 19:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fCHz19dDLQs/B17t8OoYfAIJusZVIG2G2qc9sDsqqvkUILcNYmoAGRJVkahTEoll0oK2NIf0N6PacUx9ZEKH95OHIoQK4GZu5jBlItCOJIliPC3Q7Ct60tkzXTFD7HpNpQ2xpcwz6fipMkWTVSA9MCZswU7te6vMmfid20IYwpQHMZzuWMBLvk4pGTwBkfasNmOJvI+POAcA2OlWXfHDE9g8ka3wewXZ5+ZcuhkNvFL10FJypuSlArlkcelBjLBSkqeBPE+Q8X+L05lEITcrOcO+TzjYlpfxaqwiSwVPH31whHQbrSf1h0r/33lyqnZtESW60YcHVW4mDX7Ziz3WoA== 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=IYGwNWuwXLx+0CAKdzUZMqI8mFF8LNVwFZ9uFpVGZlA=; b=aefZb3whv0bo6rzXgVv9EmOyLqeeMSC1DQFtVpv4GYqPRDmoiK/mK9LC3nghKaBkVMSVrgGWAf+HH+KEHSd2sodfN7rlt8RPxr/yY7fcS0zFnd1TWTu4w7R8ZMjNoAq/6dtNI6xWMR3s9Wyr2VI708jQnZ3yujo+YJEacGSAJaE4iOtegJcbrKyHOgmRp5v/VMSGyRm7OL93E7XuO77Q0cr8OCiqw0cmlTK5+3rRbJ0IWhjQJpMGlz+Zmu0i5ViF6QdRcxDjeM2Qh1G9Z970Ccv6fNQqLjodSRnL5sd/fqu9Pzdzay6KTZPHWTVv98BdqWVqgp+lERw6P5/S6nJxEg== 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=IYGwNWuwXLx+0CAKdzUZMqI8mFF8LNVwFZ9uFpVGZlA=; b=n76C7zSgCZx4MARXjVordR+QxFs5ttBVT/L2ooUCKr2RVH64YotrX4P7afqHeFrqX8nmEfI5icw3TH+9JyEaBcq7uK5tw1yXP7nZABK7EY45H2xg/zHM7EzWTW1+gAKZzsFUES0yn7E4YdscqGqkggIBp7NYLqAHMJVs1MTuY4s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) by VI1PR04MB6127.eurprd04.prod.outlook.com (2603:10a6:803:fa::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Tue, 26 Apr 2022 02:24:31 +0000 Received: from VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01]) by VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01%3]) with mapi id 15.20.5186.021; Tue, 26 Apr 2022 02:24:31 +0000 From: Changming Huang To: broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org Cc: Changming Huang Subject: [PATCH 3/3 v5] spi: spidev: add MikcroBus socket to device tree compatibility list Date: Tue, 26 Apr 2022 10:24:13 +0800 Message-Id: <20220426022413.885092-3-jerry.huang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220426022413.885092-1-jerry.huang@nxp.com> References: <20220426022413.885092-1-jerry.huang@nxp.com> X-ClientProxiedBy: SI2PR01CA0046.apcprd01.prod.exchangelabs.com (2603:1096:4:193::18) To VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 337695f5-4722-48fe-4198-08da272be55b X-MS-TrafficTypeDiagnostic: VI1PR04MB6127:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YnbL9bUs6GUVXpY44FkXX0wSi+72YuBn4xqECP/N34HK6Zf96uFyECWWjA8D4JQo4sFwntm5DXXWhNo+moj8wZ/1pADmMWUm97myEBhZORolH1Uk95Hnt1SUlyLRCgyqbElnVbmSJqUw79Ibo7B2+sO9Z33NWMiOII1QM7q94tsAMu81FPHWIRhOIgbhia/DK+Dg//W5aRQgjDcxQUIBog+gp5UCxvjkNV4/vqOxApwnrfUSb8NcF7Lcx/6dLYU3x7vCZoKHx2crG9//Auhe/5Eq3I0wI8vDn0C6FZB93+fhQMmSCWBtsuz9R2387r6w411R63xcIuTH9zXYZaENPb9oVccU9G1Vov8FA8ajjkaPeJyLSpIFcddTXJmulcVGSNnBnamcsgqAcTVBQ94xKGP9HUGeEfJfFLcVdCap6HBC0rKk5qbczexXx5I/Y2ktgo3Z6W2LctArQUBBSzrXrJF8if46kUqpNSkU3vVQqsPxjWCPodAYuXRcaDtun708hEj8DycoDGwhKmRfPwif2lXoegSgNc5hJQ9Dhkofj1qnzijPl4ypSBImlyR1niihJ4cvRYDweBP9v+jISSZkAW44FF0IghaBKRPgOq1dXHMd6UR+ZsVJMaQhh7HAIISCQwuiJtHDoaq1sjSXwXYNSRdc+N/HTHvyyjLOETwv7jdkjbeKltf9N/SXS2ZekF1nbFivIhQihVN7Ts3mDlUMXQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6477.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6512007)(26005)(8936002)(316002)(86362001)(5660300002)(52116002)(6666004)(186003)(2616005)(36756003)(6506007)(1076003)(4744005)(38100700002)(2906002)(38350700002)(508600001)(6486002)(8676002)(4326008)(66476007)(66946007)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zaN/pNuWAWmGaBn4paaK+37f9mYyyeIct8PcrcQ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EMm37cKjzJFWnIqBBW6UBpUnO2fq2Qz7vRU0sCvPt6aDjPwewwxvxQiew3ei5JcAGV/zjh3uaXprc6+xetuRGp7gD0w3fxDjtalJsmUwuFvMQPNHO4p/fsHBuKQohE2zRU9Vwt6tpSp+o+EVvwEnJK9bY88QQ6mzebZKa8hPY2TBI51HVy9VnrQysPuIIk0CDmrABlbajSh8L0JGLj7EX+1v7lX4fRcpaTdYWXIhjmDt4TdfAIBqHc4wCA5HHQ7zO3F+G9frlEJ4/OlypWBqIm/kkZ5rXqxs9mmbYYuAYDn8jkZvK7jCGujO2IFigt3tk2Pp8WLT9lYrsYHnWkU/SwYOwCoVjJXyXf6IW6/EBEX5JM6NMSFUNf57rCfk12nnggJWviZI3FV/SX2MVB7RgRcHjP5QbVguY9NQ0B2F3XnwLUOXjsc1kdIiEkRPLaCUd28lG2F2ZCSBiIGD14pMIe+oONdLeL3cLwkFiuKB0e+OUshRZAWmAz7+6DEHy9vShOcKb0IUYDnGYU0zyR1E+O4sBzLi+hAO+qB9I2drF6N19x4aKIGAIvCvstesjnAdbQemUPr2YrZzST+3SLXsAgHldkE6hoQkCg2OQjS+23rH3cd2wn5C1g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 337695f5-4722-48fe-4198-08da272be55b X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6477.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2022 02:24:31.4355 (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: ry0vVnI3+vF5vmYck0+NrLNbpKnZJKn+fqAqDUIMOz9DUfII2Yh6vqAQwmwWXmW1/2UckfZZxvi4z+FCwOiT0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6127 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Signed-off-by: Changming Huang --- changes in v5: - add compatible to spidev drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 53a551714265..f9ecedd1dc23 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -703,6 +703,7 @@ static const struct of_device_id spidev_dt_ids[] = { { .compatible = "menlo,m53cpld" }, { .compatible = "cisco,spi-petra" }, { .compatible = "micron,spi-authenta" }, + { .compatible = "mikcroe,mikcroe-socket" }, {}, }; MODULE_DEVICE_TABLE(of, spidev_dt_ids);