From patchwork Wed Jul 24 08:13:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 11056245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7C35A1398 for ; Wed, 24 Jul 2019 08:14:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BE7528737 for ; Wed, 24 Jul 2019 08:14:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E56C28774; Wed, 24 Jul 2019 08:14:13 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EFFCB28737 for ; Wed, 24 Jul 2019 08:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=q/e8RByES2n8ObQeFVlomC9sMHeaN1o1t9DGjI2ppsk=; b=LazxlgyNPg8nEC tOwSmRbVzU9p5ksNMiNT5OvWDweSaetr5Uo4hoox2xh603buRT0zcCwGVO35Qzg5HBxQ4kT77YwEm egYGLNDaMNeFEPtBlwFfSOB3TOK0UzopDInM6M9S9s8QtU3RG/TTuwXIbTdgRRpY1eeaU/5Q3li/l tCkW38liBAYBbnbPf0wOlul7MWio0E4RAFYe4k6TLReqaHU8SyqA8w2D89rTlHvjuZvg65gdqk1ZN +SclqnIc48SRtl1Q1qYE9eK/Cc8yFYigUhHK+X6PbrnF1lLs7CTWs2pPxMdjbFcMIqR7/LVr0YLUA oLPqU4RrvLc7ASTFhrSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hqCPc-0003fi-2k; Wed, 24 Jul 2019 08:14:12 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hqCOk-00038j-Op for linux-arm-kernel@lists.infradead.org; Wed, 24 Jul 2019 08:13:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 2E09B15EF; Wed, 24 Jul 2019 04:13:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 24 Jul 2019 04:13:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=cmUXGTItnE6GV H81XcleXlJaOd7fWAre1oKtPY17jkw=; b=LQOKtAL12oayKyiU9odpP/ruor5Ku 9tWk/BuisxAvi3hDQJbt4kxr3+lFgj2mXvBmqCYM51U//mjyK0oBpjh8RCKutr+Z sJbJwX8cIBSrf10rbAAD3KU+11C0Bs3Xmy8yEAxlaAg250oYSXru1G53F8O5oNmk MLCXivPSxHvcrCLEDEztAPB5h+IL75OSAwOSZiExw28VXqWTSh1+3aA1g3Tt+7UQ H29G6K27sn27oCvQRryX07uK51X7nXHAAcqA1IrJhE/d2oyNau9XSSjp8vGnF2UW IhpXucVPJbHg3c8Vy3K95VgGeagOzNYaOEAFXjrHtiTRL7tWOVq2kN5bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=cmUXGTItnE6GVH81XcleXlJaOd7fWAre1oKtPY17jkw=; b=fmfvulHL WotHA6oU1mJHho9UkAy9Sem1KQOVeiLhiLkyhPkmIX1r+tMJFMB01nlLPAAClaSD RfMKk0WnGrvnUs0FTMAnx6KH4/VePL61O9jstIc+XyABo2imV6DXiSEqp3TuSVmF lrNlNKd/IBDf3NWA2Y2qP0M4iOqdlBxjZ4PQltRQhdASCAoauEIEOEDJZgDRSCkU l4HwPVleln5BhFL0EoxYqsZaTlaIWT7Ftl9TkSIiignw3OZsLUAaSDqgX7O5DUoA jRwkpYtTfzWQcLB1B5XToJUngbvEfm3VVZeBAuFZEDoNq/Ck3OtQ0EukXDc5Z92z JBTeethB7ejBTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrjeelgdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegr jhdrihgurdgruheqnecukfhppedvtddvrdekuddrudekrdeftdenucfrrghrrghmpehmrg hilhhfrhhomheprghnughrvgifsegrjhdrihgurdgruhenucevlhhushhtvghrufhiiigv pedu X-ME-Proxy: Received: from mistburn.au.ibm.com (bh02i525f01.au.ibm.com [202.81.18.30]) by mail.messagingengine.com (Postfix) with ESMTPA id 7A65980059; Wed, 24 Jul 2019 04:13:14 -0400 (EDT) From: Andrew Jeffery To: linux-aspeed@lists.ozlabs.org Subject: [PATCH 2/3] pinctrl: aspeed: Document existence of deprecated compatibles Date: Wed, 24 Jul 2019 17:43:12 +0930 Message-Id: <20190724081313.12934-3-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190724081313.12934-1-andrew@aj.id.au> References: <20190724081313.12934-1-andrew@aj.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190724_011319_033394_064B5583 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Andrew Jeffery , linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, robh+dt@kernel.org, joel@jms.id.au, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Otherwise they look odd in the face of not being listed in the bindings documents. Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c | 4 ++++ drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c index 384396cbb22d..0e087fe759d2 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c @@ -2531,6 +2531,10 @@ static int aspeed_g4_pinctrl_probe(struct platform_device *pdev) static const struct of_device_id aspeed_g4_pinctrl_of_match[] = { { .compatible = "aspeed,ast2400-pinctrl", }, + /* + * The aspeed,g4-pinctrl compatible has been removed the from the + * bindings, but keep the match in case of old devicetrees. + */ { .compatible = "aspeed,g4-pinctrl", }, { }, }; diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c index 053101f795a2..49255802735b 100644 --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c @@ -2676,6 +2676,10 @@ static int aspeed_g5_pinctrl_probe(struct platform_device *pdev) static const struct of_device_id aspeed_g5_pinctrl_of_match[] = { { .compatible = "aspeed,ast2500-pinctrl", }, + /* + * The aspeed,g5-pinctrl compatible has been removed the from the + * bindings, but keep the match in case of old devicetrees. + */ { .compatible = "aspeed,g5-pinctrl", }, { }, };