Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2188802ybi; Thu, 18 Jul 2019 04:46:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3YkF9GgB9+grSHFAom8WPtPh75ZkgqFc4oNQtzqsByc8hFbTfHls8u1SnfPbngFVN17Rt X-Received: by 2002:a17:90a:8d0c:: with SMTP id c12mr48732105pjo.140.1563450413217; Thu, 18 Jul 2019 04:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563450413; cv=none; d=google.com; s=arc-20160816; b=guZycWkHMzsc9Qrd8ERMi3vBadPN1aSPYhHl0I2XzapaMnmEj0hk9STvZKhXUiclX3 kk9C8NE4JIzjZbBKvl8lmMG3MZTx0HBnHz2uHz7FAb/WhI6tHywf0npp2tXpdWsLQKR0 hDvPH6VUXPHNlCjGnoQEwZhoOBGJlqu11/Dmr/lDgXw2Tgjo0F7KrbVgfEdpQwpK2+Sc Jg+Kfa7bXzwM7VbQ0srAC5Koc6Q0ZImf5djQ05S3pKKYMPqYm2tNLXISChzNI76YhJ03 3Eh+ymLzzPivThfkSXSwMkdQwl6+kZ0V6p71qB3uj1zY4OIsRrVx1NkR3993H7JefHR2 avLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=DeKDZOFHUlI3nMz/EaT1o5xWxfybZf2zd27CHn8oOdg=; b=EkgAP7w0D5eAKobCc4/zsKXHrD3jkTD3zaQ6nELrp8ox5tbvGwLyGKzWf1rerZrhpR NFrocVEWJm8CAx0NIYmQNPLsUaeclozVuvT4cHFqP+HJvFQpDOm+e2TnisrtmOdfoj2U alYiCV9z94EZtbKRiNQyYNQ//8O5fjkvwtey4DRCJikyzF4IbeyFElMf0H10NHxdDIqN 7zwKWpRg+Bt+NPBbPfaBMtfuxDhCe7+fWs/4i4HTUVlhyGn1YqtRAqnA87g5WpOyKAn+ AiisgZqpAvjeup4wM4kXUbuMeTAsguAYshlMlQWzfoL2eyyY6lcx79AcniAEnVZohzNV cNHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=r+zSM5op; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si615066pfi.257.2019.07.18.04.46.36; Thu, 18 Jul 2019 04:46:53 -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=fail header.i=@gmail.com header.s=20161025 header.b=r+zSM5op; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390184AbfGRLoJ (ORCPT + 99 others); Thu, 18 Jul 2019 07:44:09 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:43592 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389994AbfGRLoJ (ORCPT ); Thu, 18 Jul 2019 07:44:09 -0400 Received: by mail-pf1-f194.google.com with SMTP id i189so12507554pfg.10; Thu, 18 Jul 2019 04:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=DeKDZOFHUlI3nMz/EaT1o5xWxfybZf2zd27CHn8oOdg=; b=r+zSM5opOHjy7dH4d7v0u+BRJBKTy02dx42DCYFCSSgH5tsJvbfd/kPkhrAfVOLScA YfBoN6vWyD1zEBAobw/aSdJX6ulvvpLC1aBNxZn0uvt8eGc8Vb8OC90ekh4DX/iOYKIw +H/nrgue0rfam/MkX1gLpzub/79AepLYPWrr9oDTNFEKu07KQG5g45aRcB8nBfUvnYBQ iPE6PR9DkS7hQ3uqDJdTwzRsdNcGS6SUabUDUgHv91VCXIigIxnNeG+QMsBzs2ZcSMiM YeT2Zv9Ozqukq7Wxagdfgs3wXc6ixzvXjlgHG3E9wJQTnq1/nYjtDatSlHctEqau8o2C IjMQ== 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:date:message-id:in-reply-to :references:subject; bh=DeKDZOFHUlI3nMz/EaT1o5xWxfybZf2zd27CHn8oOdg=; b=mJ9DAxRnw8AdqEZfvZjtX3GyYbyqDECxKYqutYHbuZZzlhZwZ8IYteohP5xSbxOzP/ JtJ16Hz/EapcemsHoEaMT8BPoW+O+tvoQ/S3bj/5CUA2WsWZYIY8uddjz3QV7wthiRBm oJl/nponhVIAQnzUSgig1iaHjeupP28kf4Z5gbFT7a2MeIuQH4wigKz1vRIRVy/mNyKP NI9t8lJ9yfPKX+qA3YiutSevlDmDuGNwm3NiVCFdwQ69s4p3pB20PxRbJlWtHBqHLBed IgId0ZSxZKUXDaEltsIlQqtUwS3iSVXZ4KycokloZH9EQh8Ok7xKnkXSZkoMJTi2eaPT 69fQ== X-Gm-Message-State: APjAAAXGqwfA3inLr+OI5NgFd+E5hT0Zy1khsxxbLMNvWWTMsfd1GlKf k13TQMlugDH9JfzO6MyyxGDp1Zxl X-Received: by 2002:a17:90a:db52:: with SMTP id u18mr51038726pjx.107.1563450248226; Thu, 18 Jul 2019 04:44:08 -0700 (PDT) Received: from [127.0.0.1] (FL1-133-202-12-40.iwa.mesh.ad.jp. [133.202.12.40]) by smtp.gmail.com with ESMTPSA id b136sm26298472pfb.73.2019.07.18.04.44.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jul 2019 04:44:07 -0700 (PDT) From: Magnus Damm To: linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, geert+renesas@glider.be, daniel.lezcano@linaro.org, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, Magnus Damm , tglx@linutronix.de Date: Thu, 18 Jul 2019 20:45:38 +0900 Message-Id: <156345033835.5307.9206628986166423962.sendpatchset@octo> In-Reply-To: <156345023791.5307.6113391102648394591.sendpatchset@octo> References: <156345023791.5307.6113391102648394591.sendpatchset@octo> Subject: [PATCH 7/7] clocksource/drivers/sh_cmt: Document "cmt-48" as deprecated Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Magnus Damm Update the CMT driver to mark "renesas,cmt-48" as deprecated. Instead of documenting a theoretical hardware device based on current software support level, define DT bindings top-down based on available data sheet information and make use of part numbers in the DT compat string. In case of the only in-tree users r8a7740 and sh73a0 the compat strings "renesas,r8a7740-cmt1" and "renesas,sh73a0-cmt1" may be used instead. Signed-off-by: Magnus Damm --- drivers/clocksource/sh_cmt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- 0011/drivers/clocksource/sh_cmt.c +++ work/drivers/clocksource/sh_cmt.c 2019-07-18 19:31:01.917491800 +0900 @@ -921,7 +921,11 @@ static const struct platform_device_id s 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] }, + { + /* deprecated, preserved for backward compatibility */ + .compatible = "renesas,cmt-48", + .data = &sh_cmt_info[SH_CMT_48BIT] + }, { /* deprecated, preserved for backward compatibility */ .compatible = "renesas,cmt-48-gen2",