Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3423144pxb; Thu, 10 Feb 2022 22:09:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9LjogQvSVFeXGIU/xrTM52/sFbRkAlEWG0fIRFGXoI9I4CiIyZJfZTIKKOqo3DLw6igVe X-Received: by 2002:a63:2b89:: with SMTP id r131mr115928pgr.578.1644559797051; Thu, 10 Feb 2022 22:09:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644559797; cv=pass; d=google.com; s=arc-20160816; b=Deo5CxFByDrwhVXmw279OPqd4MlPGqhs71aLgob6TvY1xaM5xCilK4w8MCqfmTTslP 0Q3BCLhMik9YB0S1bVWW9dt5cmyjCeCo+PEC8FU36aQDCA7syS+YmybKRvVOB1WKO3AU qiZeA8Gx8iIWMCBkP9OY/+C/UkyljP5wpcrHWWRBtx+YY5YDlXGVluxp5DAqXoGZSx9D SREcEopu6ocxtfDc4YjsvRofYwNBqeidRmOomX5FggDD8156QmqOieXsNW4h1Tj0D9w7 jg+S//ir/NdlSp7bSlOyesW/97tEosmkA75BldcnSHV7K/Afb33w9k3kQsLQU/6KG6Kx 1NjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=RP5HXQWNQDu0kPu93Qi/cyxG6HflqgTsAz3rl/SoNIU=; b=SE7vKK6bxjYvJLm4bIBVLL30oWUa7u5dnHOFBpq8O2NodW3K5tCOGDwk5duIlxjPQL EM98AyJn1Se2uOuwH4DLb8HDkiLw/TOmzDNsZhL/k3bDLAfDBpLgD9a6IbgR+bbvuyB7 jkrBrvJ6lfbPbvQxnqxh4dZCae7ITM77hBxuNAZPrUM4SJ3ttu7kTuDQtC23cqrCRj1A QtXexiqjxBx08k1OZUAIk44XIRP8vwNENN5hiXgYZBSdPaK9w5EiTBWVtmGSWxu8Q85A Rd9avhxr9Em+HAD5waIS7VPtN/71UR5Ziijnuop6X7lChcNFKetwN0OV8BTkBcQfprpl EzGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quantacorp.onmicrosoft.com header.s=selector2-quantacorp-onmicrosoft-com header.b=mmYZFYHj; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc8si4006299plb.587.2022.02.10.22.09.41; Thu, 10 Feb 2022 22:09:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quantacorp.onmicrosoft.com header.s=selector2-quantacorp-onmicrosoft-com header.b=mmYZFYHj; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347014AbiBKBof (ORCPT + 99 others); Thu, 10 Feb 2022 20:44:35 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346969AbiBKBoV (ORCPT ); Thu, 10 Feb 2022 20:44:21 -0500 Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-eopbgr1300092.outbound.protection.outlook.com [40.107.130.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 633005F99; Thu, 10 Feb 2022 17:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YLGCuIyJ68wWXc49jif6v95V0s6wSjN9ILRlMUdeM7se86rctUczD67i/kBWqdy2sLa6jjZyiryX7n8uS2Pp6rTqSZy/qj03awgmGxHgSY35jG30zygqLlzyOK8KW4xlsry8gbTv+yY9jU7+7PYHVlFP7Ef0O6bCJqm8WJuqZ7k7t4yXoePJsyNvFtlfGOj5Wp9+uAEDXYUQ+xsveGOVhEzXh8yxiBlLmzIuPGonD3fHtn5o06LNWLWwOIfte3RVb4YGCCkukpIHqfBaMirQoFpa2v12hxIfDEsJM6dVvIiwh5glaE7aghmQCFWY39Xgk+u5TaF6qSkaijf0OorWhQ== 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=RP5HXQWNQDu0kPu93Qi/cyxG6HflqgTsAz3rl/SoNIU=; b=nPamJw3go1a8IFBLK2c3vUdS48yCNOViUPODO8kvP4gbrmwFEAr4ix49ms3s+3a1kmC2w9or0ajA1xqLSKptunvA9ek486m5gNW/RX8C/A5Omytg3T47jahm3sZjMkRCh0G5R2bZzKgQEm6mjGZtF0LCMyXyHMGP0mrB/QXyjZjSZ9muwA4OfH1COttQgQqr/B9SSZNQWmJ1R6RZqfR1JXDnDqam+RzBRMNlHRKYTRNMjm0HyU/2ynCkSMXHPbY+pfxAUaTMfS9+OPsYnKS0rI2aUBYuUpjGLgHpWT5JI8y7TFWXypFAfulVxjqIo3CPSQMquIIvOHpyUzPFyqzxOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantacorp.onmicrosoft.com; s=selector2-quantacorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RP5HXQWNQDu0kPu93Qi/cyxG6HflqgTsAz3rl/SoNIU=; b=mmYZFYHjQtgsovaVmHnsdZAhOEQMk55+Yk28BmPMJ/TY4PpUpyWk1rkHLASo7vSiABVcWoNyAabYpCN2C8GVxrTUoDcqEzyf/iE1qVAVrm3Sg7mru8/XTpWr3o+tSFGZzEhP59YrMAMNAplpFKi1jToRtMsp5P+rAPWhHDe56cY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=quantatw.com; Received: from HK0PR04MB3282.apcprd04.prod.outlook.com (2603:1096:203:89::17) by SG2PR04MB3577.apcprd04.prod.outlook.com (2603:1096:4:9e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Fri, 11 Feb 2022 01:44:16 +0000 Received: from HK0PR04MB3282.apcprd04.prod.outlook.com ([fe80::8160:1a0:97e1:9e53]) by HK0PR04MB3282.apcprd04.prod.outlook.com ([fe80::8160:1a0:97e1:9e53%3]) with mapi id 15.20.4951.019; Fri, 11 Feb 2022 01:44:16 +0000 From: Potin Lai To: Rob Herring , Joel Stanley , Andrew Jeffery Cc: Patrick Williams , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Potin Lai Subject: [PATCH 05/10] arch: arm: dts: bletchley: switch to spi-gpio for spi2 Date: Fri, 11 Feb 2022 09:43:42 +0800 Message-Id: <20220211014347.24841-6-potin.lai@quantatw.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220211014347.24841-1-potin.lai@quantatw.com> References: <20220211014347.24841-1-potin.lai@quantatw.com> Content-Type: text/plain X-ClientProxiedBy: HK2PR02CA0143.apcprd02.prod.outlook.com (2603:1096:202:16::27) To HK0PR04MB3282.apcprd04.prod.outlook.com (2603:1096:203:89::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bce45ce1-0110-4868-f807-08d9ed0002bc X-MS-TrafficTypeDiagnostic: SG2PR04MB3577:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:418; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OhR4IiNnBy7WXDsek94M1J1LVCvsC7D++Tt2oTpZBKQXUF9hx1BkwFXS1CYHiDAWi4yPfofkXJCNwP6WX8RLCbH3Zsa81XUas/olXgjpjanlQKdbNtgoS4uefPJqDaHr3IlZ2McL7R46wzaxk42+mp+2sf67GGuWOJ+atWuu5J44ISwm+WBAXc6lWb3np6WKikvLdVwvQGYWlejjoMjhp66JR6GvS23rypzBGNvI1RtHDQlVzTZ5S6x2OVRuHiL15biZkAnIfwoEywUlWGVMP0OolukU6TCie+K91NW4HXfErUgn4zFBR8YqnCASAaX8EZBe5jHg30j0Z1iSsUe6jvWVdpI2aeSFH/PXNDFKDtuZMNIKFpHmycgLRScgLIeOv6nnwBY43TQEcRTlxo0fsJesDY5gPfALbDYWAa+GLvM8Rsq/re8lV0KBWZ+0d716b+uDKVM0GQ8+JEgQNoTK7epJTtlHwYREE5lOg8cXi/JTrS1CywvnOmG/TzYoRulr6zvXImQfULmiBhRxY26i40d+qmBlug02cURivKc+rMpzzVMDST0nOzfwtYZjBMvnSU8IRH2EuAAZLFUzhlay6p6cWDPtPa7ePzhiyh85vQE86OuwPqXfaPv05euk40TzOSe0qI+P9imN4ICUvlSnjieQ1NNvZvo2dmN6oDmYzv0WGxH5+L7DU8HVqTDZ20eq+dOwbzYW7qEnZojNfypOjQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HK0PR04MB3282.apcprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(5660300002)(110136005)(107886003)(86362001)(54906003)(8936002)(8676002)(66476007)(66556008)(316002)(66946007)(186003)(38350700002)(2906002)(2616005)(1076003)(38100700002)(6486002)(508600001)(26005)(6506007)(6512007)(52116002)(44832011)(4744005)(83380400001)(6666004)(36756003)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?v/7ff0wYUn7ldU4siuZ79EMEA396nx/X1oSrFj1BZYIQIIWnLYwQIUJCBhVT?= =?us-ascii?Q?Eg5lo+zWrjL1W/cOS7v3TVBNZfUBLusAzznlAplZ+LyLzcUcQVnBnYE+4rtH?= =?us-ascii?Q?ed9Wc8F2brywrEPIGt5V36EOhKUUL6kCtN71OKO9cLNOGXF9zwOHO08KHih+?= =?us-ascii?Q?KXgcJPgjnQlLmu6PP7t7OejmhbRizncgXH7Kw0rsoxtG0Dh3lx9smHUOPtIg?= =?us-ascii?Q?8H5tzoub0Q5dRgtI9ZmLW5VAPcuRscp2i5pmQ/r2Qo1EIJZDlQABRKSFhecU?= =?us-ascii?Q?RRxNCYBYuEhZ17yNQi5j7XxpDxQPMvnICiE0syrdM4VelaNA1EOQXMmn/zJd?= =?us-ascii?Q?7G0Po65ZlLrj6GBkC4jWgiHhGwxIjVl7/DSsH7ZmWC063xgnCLx2FfmsQ17s?= =?us-ascii?Q?GD0wdr3D2aI5QNxlwVxGrE3b2rlc1JmNfvOkxPYlXgez/9/17MlqcvDqh3uy?= =?us-ascii?Q?65w9Bn7/aYMNPhJQLABmsT4FGdQdKGrKCAFebVsUUnXUFp+LfGO14igYZgtn?= =?us-ascii?Q?W8isXzBg6UYj58YG9n1xli12MnUPwy3Ht/q+/3vI7OpCNijuVgulOpsOjVTv?= =?us-ascii?Q?jXKyBcsTq7oBtBc5sZlXwp9Ru5mT5z7ZASjzBJiiHf0BzuwUbCsleGyotmTL?= =?us-ascii?Q?k4jCRK8UPP4skYDqNKiK1UkfucRwz5D7w0YiAMy8WpI7/EMe1YDkkPVHrg7J?= =?us-ascii?Q?8pZhm1Ov3PC8UhCBQnZy0Pf+3kFIFPmH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ascii?Q?HisoD5j3elyrErQL2jHTbic=3D?= X-OriginatorOrg: quantatw.com X-MS-Exchange-CrossTenant-Network-Message-Id: bce45ce1-0110-4868-f807-08d9ed0002bc X-MS-Exchange-CrossTenant-AuthSource: HK0PR04MB3282.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2022 01:44:15.3076 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 179b0327-07fc-4973-ac73-8de7313561b2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Esi7m2+qbfz53OzVpY7pwaB/wq+axuggfvAcmiiYBkdlbCRVerEOvqzORdZgXjocCgTtV7gfWX7WMCe69dm6wQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB3577 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org Switch to spi-gpio driver to avoid unstable signal issue with EVT HW Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index b01f1e7adb81..3c54e4a892c9 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -227,8 +227,16 @@ &spi2 { status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_spi2_default>; + + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(X, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(X, 0) GPIO_ACTIVE_LOW>; flash@0 { status = "okay"; -- 2.17.1