From patchwork Sun Oct 29 21:20:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 117433 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1855339qgn; Sun, 29 Oct 2017 14:27:32 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T8YbBNUbEZGd/OIXbuObMmT+jaI20KWIiMbgMJSHXx9HBw78aniZFSC+8BSWRfHwAULLGY X-Received: by 10.98.102.74 with SMTP id a71mr6570673pfc.23.1509312452500; Sun, 29 Oct 2017 14:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509312452; cv=none; d=google.com; s=arc-20160816; b=uBdBCRRraJcmV6ap2zrahZoIS9fM41helu+5xd+8AP5O7JhWSkZcUGqXchHhQ7fDxM ZCDlwswJHNKsaPlDV5PeMt39JNualDg+OnGQeMPGpM+V96xnDvnIdzvn8zVmRn0Pln3Q 6ODL/cOj87v6SML2pqEHgKWyjP9esF8kpVntP91wtxWSvAwmmoxNeF64iV+YjQBRmRCB Q9zL7LWeRZHVtnEnNGkeD2O9o2myBIqQR5miOfefF1YWNZvhwAnWPxQyUjciDQGJWqO9 FwFHEQVWzdIrHQSE75GjYlFSJE/Of+fEGaQ0LAgMzpnlB1crWXxjAFaVPqNbu8wjrtTG hj7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=LdXW+Rt0UqiRStJMD39C8PoF88+lfU36mO3jEQjGWt8=; b=lpr1R3hIdAFctBmT18VgvIXzr/E28ToQN3DA+cYsDkjKpYqik0orBUZ5lSAKIh3Mx2 NhYX0DP1Mz5CsH4beH7MyBBtncfHqGbnla69mX65Whdu/NdACpomdaHysf75RIEe97lr 5g/lXhLTDFPw7ljU0/DuWRtxuDt/oxFzMmc+8mqr2XSaoXz5yf+r8s88FnvMFDdvoqc5 t0s4xbyVujeXm+2nt6XaXIRUI/+JKwc7J7dBwv5gpciwXYWGSfD6INumg6n/RUKRwTTI HyHgY0yi3H1Oi2HSQBqcOFtwoTtZ6uFAi2GPUPGmCO0yZlZHCJZSSn4q/up5IVmZ9Zr1 9fMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WmxipG3P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u66si9359775pfa.109.2017.10.29.14.27.32; Sun, 29 Oct 2017 14:27:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WmxipG3P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbdJ2V1a (ORCPT + 27 others); Sun, 29 Oct 2017 17:27:30 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:56615 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbdJ2VY1 (ORCPT ); Sun, 29 Oct 2017 17:24:27 -0400 Received: by mail-wr0-f195.google.com with SMTP id r79so10672205wrb.13 for ; Sun, 29 Oct 2017 14:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LdXW+Rt0UqiRStJMD39C8PoF88+lfU36mO3jEQjGWt8=; b=WmxipG3PIjBAyfgYKfp4LAH3eIgGUETwdQ7ku2QfIXugqKTtx044HzpdM6Ppi1XX4K wE/xxW+QPl1oFeOSyu/h9j/74AddacU23AdoKEIGa8tw/fIaJu1w7QdirixTBMHEVybp IFKaIrLKQuZRHrcxDircUaHwnAhymucnQcK8A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LdXW+Rt0UqiRStJMD39C8PoF88+lfU36mO3jEQjGWt8=; b=H8vg5BCdlsnqqMNdFZOIHQoXHrdGplLQSVw6LKVS5kODZ+I90NoF7xc3AwKVD7pZES SngzS+4evFdSB+tob5m6GqXwZCrTmwmdg1N6bCaHhM5/vKxrOS2RjVWKGHzUnRE4E8iN h3QUlf+DmefbcGQR13Vyl8Tw2JarL0uTCMah5u5Q9s6/eFJNWxPCSK72ZDE7ivWxENZE o/UOAR+7+URGdZpAT1RChGgGD9fPKNcbuKPgXWrsCYtBf3ZW35vYV6vVrRcwCXvq9Piw /b+AWFZJiTTpsY08Jo0kRg6tcWKzdrxwYVQwUS5CGWBsg/Ty26qQ2RR7vzXZZw4W3i9o F/Rg== X-Gm-Message-State: AMCzsaUrVGMA2NGXMb1XD0z/jvj5kIg9nyGsdM1bi+Lp/SxAMZYYFc22 yGnF0n84wqaN4IuLvEJNWLMDOWTW300= X-Received: by 10.223.139.85 with SMTP id v21mr6064858wra.70.1509312266242; Sun, 29 Oct 2017 14:24:26 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:2c92:b7e6:9f71:ab86]) by smtp.gmail.com with ESMTPSA id z20sm10067264wrz.62.2017.10.29.14.24.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Oct 2017 14:24:25 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, daniel.lezcano@linaro.org Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 05/17] clocksource/drivers/sh_cmt: Mark "renesas, cmt-48-gen2" deprecated Date: Sun, 29 Oct 2017 22:20:22 +0100 Message-Id: <1509312035-17368-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509312035-17368-1-git-send-email-daniel.lezcano@linaro.org> References: <1509312035-17368-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven Document in the driver that "renesas,cmt-48-gen2" is deprecated, but still supported for backward compatibility with old DTBs, cfr. commit 4e18111ff38f0664 ("devicetree: bindings: Remove deprecated properties"). Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Daniel Lezcano --- drivers/clocksource/sh_cmt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index 8546736..61a9225 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c @@ -935,7 +935,11 @@ MODULE_DEVICE_TABLE(platform, sh_cmt_id_table); static const struct of_device_id sh_cmt_of_table[] __maybe_unused = { { .compatible = "renesas,cmt-48", .data = &sh_cmt_info[SH_CMT_48BIT] }, - { .compatible = "renesas,cmt-48-gen2", .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] }, + { + /* deprecated, preserved for backward compatibility */ + .compatible = "renesas,cmt-48-gen2", + .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] + }, { .compatible = "renesas,rcar-gen2-cmt0", .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] }, { .compatible = "renesas,rcar-gen2-cmt1", .data = &sh_cmt_info[SH_CMT1_RCAR_GEN2] }, { }