From patchwork Sun Mar 12 11:11:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayachandran C X-Patchwork-Id: 9619299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A635A604CC for ; Sun, 12 Mar 2017 11:12:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 920A328428 for ; Sun, 12 Mar 2017 11:12:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 833B8284F3; Sun, 12 Mar 2017 11:12:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED8DA28428 for ; Sun, 12 Mar 2017 11:12:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755667AbdCLLMP (ORCPT ); Sun, 12 Mar 2017 07:12:15 -0400 Received: from mail-bn3nam01on0070.outbound.protection.outlook.com ([104.47.33.70]:17976 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750899AbdCLLMN (ORCPT ); Sun, 12 Mar 2017 07:12:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=n32UW0O+vYwXbAO5uYijwyzpxBMmF07lBqICqo8OzGw=; b=Mkr1321+ZBoy2zMbJdZnQ8H6RH8/VDLKYTfXsrFq09/BK05G66PkX0iohANH/JT5rAV5RVTns8EsIBWy8Ss8sYcfOrfwfOPW6xj3RLCaORWFInbX4u1uW/xETftRmRq1iVld1DLQQlBIkbMxPjKM6FrhJjDsn3NqF1MjoAGXKC8= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from vulcan.caveonetworks.com (50.233.148.156) by BN1PR07MB213.namprd07.prod.outlook.com (10.242.216.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Sun, 12 Mar 2017 11:12:09 +0000 From: Jayachandran C To: linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org, Mark Brown , "Rafael J. Wysocki" , Kamlakant.Patel@cavium.com Cc: Jayachandran C Subject: [PATCH] spi: xlp: update for ARCH_VULCAN2 Date: Sun, 12 Mar 2017 11:11:43 +0000 Message-Id: <1489317103-5329-1-git-send-email-jnair@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CY4PR1201CA0017.namprd12.prod.outlook.com (10.172.75.27) To BN1PR07MB213.namprd07.prod.outlook.com (10.242.216.146) X-MS-Office365-Filtering-Correlation-Id: e81297b1-6240-4d54-427d-08d46938a08d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR07MB213; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB213; 3:6IFfvoV4b7VhTO8zipxBi1Lxgxrqi+A8kD+mUG6i/v6wHh7HlWeeBWIxAbmuEqZ8Cq5pF3tZhN/a92EuZx+IHN3EOi1niOZb3vsyockfTZMtWgrFk5hBXsWRoKce1pd4QWaWRxaFSoZ9l1Ag8SH2XDW6DS1xKJYputXN+xvm5RSuzFQqNUUh0b24f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S0nzGGAdjCHJktJ4HdgUU0e/jsxpWct1IBdOr0TJtcEbLKacgc6MV3sWI95AXedIlZYZaT/XDPqF69s1MABQQjO9mRUybUgn1dUPvro/zCJy1JY/4w390M1U/VR6H8CsxYrJF1Up5MBuqhuUblcmNu+QHktLEC+axbMVKZQHxPfMuJbbuUd4uUWpxq9N5qt7E6LSJGiG+ky3W2/riy2qF4h0f7SpkRjlX/kYPwj9nsoO0V5Bvvxv8W2S8+768Jw2l1SYd4CRcjcfqvUTO9K/7dA2w6uwT7C8u7w55D8yymtmNh65d32QlWmnaDLef1+JAW+R06jk0+Bp8uX4KnF/+7qwxJjLpG2K0B9ah//4qTjKdSBPVCPPNNsrD2E0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558025)(6072148); SRVR:BN1PR07MB213; BCL:0; PCL:0; RULEID:; SRVR:BN1PR07MB213; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB213; 4:f7XFbq8f4WFWj1XYwRQxAx4NPJCozfyEO2S8+7bi6s/EzxP6EK6rkkoVlCS/IRJSJQ2eH5d9W5lpy25ulYjdGEdCVRDhuKaz9A+BYvYfmiZ7Tkh/DMTa8OdP/51FZJj1/8k1U9c1FW7lsHIy3c/U5VUG/e5jmxMuDNP3UFdLMlA9Io30MPhx0s8qUsHKjKiF5EsKfi6tEvEgs3n+9ChdQLc8qEHnMY4gFDcX/4UjETUaml3aGwav+w4yzUH3PNCy4i6ADdnNifULRXPyROpb1nrK8xdqsYFRXomJw5Sfvzob6fsoYywSF5QPqMBa1wsQNFFlDdQ50EX5ponUdxTAZBjXQXP5o0FBOdI3ELoqocGlS5L1AS1qdxueHO7Jwmr7M8YCZxzU3ZwrBzc3EGhWnAab6BSahfS/pPoZh/vbhifo2/FTVj7VmWvIFv+5nlYyjQhldPYbdgzcf9stSchrs9VPOhN1GgUyE51NHnefKzKqSr+x1NkzQma7nTeqKpwhOLk1ZSfHjER8W2HQaIoSLmyKmp/GDJyzQojJf8c9ogPx0zmlyMDOgWLusaAhrbhavHu5mitPn+qjQCkvkVxKxn3lBfYV8fd3quBlIbSC2x4= X-Forefront-PRVS: 0244637DEA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(15650500001)(6506006)(53936002)(6486002)(47776003)(33646002)(42186005)(25786008)(6512007)(6116002)(3846002)(53416004)(575784001)(66066001)(6666003)(5003940100001)(189998001)(8676002)(305945005)(4326008)(36756003)(7736002)(2906002)(42882006)(50986999)(50226002)(107886003)(38730400002)(5660300001)(81166006)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR07MB213; H:vulcan.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB213; 23:vc2VxzsXHU0E2oCT7fmzVvxLjssRCZNXET7SC0wlOcvO6DLFtoHrl3sbzJL3w3zVzgKFCdC8zV9WTTjImC/raJ2jkaBFaH8LKrZpXml9qxT3hn5vkBAjO9DFqOpQK4wamvvXD9YF6oSBKYezQEjhbi29lHxJtXZr24YSRvrSSdCsUpIQq76ULA2bW2yCLL0eVGoSMqIUyx2kDe8MtOghmQfGGIRkmZPHl7PjFbYjnYU+frdza75F/XAonY472WfnvPUk1yS7VEEpHgabzPZi3j/lDngznbD6a5cYwI3bSZO+4hROyhwbmn+KpDyb49JviHNDOUUHLgJpsT+2f+sl1DinxlrKzVVpPB5nfqrE9HUbgxtCJs4nZMXGxQ6D43crZC+xAVuo37DR/xElpl3/0isQViWAwJV3moYZMsyIkNfWJ2KefoLY0s8Wq4KXu3MyvzOz8wkRDfVb8NziVDU2fu+IyvFbGV4RII6ndlHwX4lQNG9EXB5TbptvBygAodX9rpZ01b5TeYrpQ+wsfm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dIgyLIy4G5QgQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR07MB213; 7:0YNcQ+CxSLL6pMH1D8efVlAIWggw98ImEIH8fnLFm3HyNunrtwIsvu0opuV/c3R17MvCBM5J6gFEWJawrD7ZxvSyHDMFLfilkUE/cd8+puwk0NMfN8yQhO95ZzEPat1HU3ObLbdO9c+1WFWXYYBoEIRqLBwJmen/3o/bvR0LaFBxGVkpmybNh/jyke/vYlTrPTdeFPMwQKVyONAUFxM+SKZkId4rWcDnJTIGxWJSuEDQdHjY+HVhtJfitVczwzfC8VnZLjXDxqX2yym9+sOZOAURO+RipE3vuRFAgKC3lwZuKs3BediMakd9lQXQ7gQGpYOjisQOvJPoT/6/PjEtEw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2017 11:12:09.2071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR07MB213 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ARCH_VULCAN arm64 platform (for Broadcom Vulcan ARM64 processors) has been discontinued. Cavium's ThunderX2 CN99XX (ARCH_THUNDER2) will be the next revision of the platform. Update compile dependencies and ACPI ID to reflect this change. There is not need to retain ARCH_VULCAN since the Vulcan processor was never in production and ARCH_VULCAN will be deleted soon. Signed-off-by: Jayachandran C --- [ I am keeping both changes in the same patch hoping it will go in thru the SPI maintainer, but I can split this to 2 if needed] drivers/acpi/acpi_apd.c | 1 + drivers/spi/Kconfig | 2 +- drivers/spi/spi-xlp.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index 26696b6..17a1eb1 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -169,6 +169,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { #ifdef CONFIG_ARM64 { "APMC0D0F", APD_ADDR(xgene_i2c_desc) }, { "BRCM900D", APD_ADDR(vulcan_spi_desc) }, + { "CAV900D", APD_ADDR(vulcan_spi_desc) }, #endif { } }; diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 25ae7f2e..1761c90 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -715,7 +715,7 @@ config SPI_XILINX config SPI_XLP tristate "Netlogic XLP SPI controller driver" - depends on CPU_XLP || ARCH_VULCAN || COMPILE_TEST + depends on CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST help Enable support for the SPI controller on the Netlogic XLP SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX diff --git a/drivers/spi/spi-xlp.c b/drivers/spi/spi-xlp.c index bea7a93..80cb4d6 100644 --- a/drivers/spi/spi-xlp.c +++ b/drivers/spi/spi-xlp.c @@ -442,6 +442,7 @@ static int xlp_spi_probe(struct platform_device *pdev) #ifdef CONFIG_ACPI static const struct acpi_device_id xlp_spi_acpi_match[] = { { "BRCM900D", 0 }, + { "CAV900D", 0 }, { }, }; MODULE_DEVICE_TABLE(acpi, xlp_spi_acpi_match);