Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3996807ybl; Tue, 20 Aug 2019 05:35:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIwkxk/yslENgDgrXJRNdtbU+PGbLUD1HG78llhQQqA3lyOQWneB0RWKXJt1vHresI7qD3 X-Received: by 2002:a17:90b:f13:: with SMTP id br19mr25774368pjb.124.1566304553288; Tue, 20 Aug 2019 05:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566304553; cv=none; d=google.com; s=arc-20160816; b=PNpxunmuc28xFmaphdhPRsL63WgPif68E9KXAlbThKu5f9YZzVVoR7yQp3Ru3V01jA 5aKP6FXbqVxGX+jeI05Vli7M2yCuceGuRJk5h+YRICB5sQAuEzVATA9xUcyZ82o5p05l cUB00rilDGOkZBaq4KMlJC+dvlEl2rTG8xR3Hy9VI1umL7bJ3DnvJouc6uesfJYhVAKA NyR2CMo23bVZQTyJ9iUJcxhlF25phczimosrfi19/y+sUCfNQSfDIoDDv6HyAFoWBqvu jDCC+Bl2e0uCxCAoeMwNc/j0yBqzQzwUMWgOfdiRtSBlEKeen3wVbnK0l5Qo23u8n567 jpsg== 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=n2dMRsdwfpn3m4PSgcPafEcsJ0ybsqqrm3x2kxCkFU4=; b=JRGiK4u1dNpIJe6J/GO4uc6+vcad8QvDkIYjPKOvlj7YSWVXQJDycVDVkZbDEeVv9P 6XTIu7e7LA66XGrVL9o2cZ92COb3XjeHIY43Wm2+iN0Tb/YnnN6KslcrVtXiVVYacdd7 WXf8uV2pa5YyrrKOq2uWFbFW0o6/0rl55U13IntVDhWNoy7ZjPrC0sbsaoSYfrGzMZhk KRe5MrSdIOS+dQfkohqZgAexB3xsscuIUpsMNV0Ok0F13HzQlVdhnXzzC8ajiBIs0PGz 4hVgUBGcj5v9OF9l6daa6xjOVT3S3ePF9plIZZ50jacv5gaHWiaOL48b39r0fbig1moQ XgfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=IQBdSDx5; 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 w8si13028903pfn.190.2019.08.20.05.35.38; Tue, 20 Aug 2019 05:35: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=IQBdSDx5; 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 S1729975AbfHTMeT (ORCPT + 99 others); Tue, 20 Aug 2019 08:34:19 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43462 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728366AbfHTMeT (ORCPT ); Tue, 20 Aug 2019 08:34:19 -0400 Received: by mail-pf1-f195.google.com with SMTP id v12so3306420pfn.10; Tue, 20 Aug 2019 05:34:18 -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=n2dMRsdwfpn3m4PSgcPafEcsJ0ybsqqrm3x2kxCkFU4=; b=IQBdSDx5npIsXlkVKLmiajWWOdVIw0frQ2S/oR16GzVRggAWFsYEo7i1c1a/w8ZGIe 3pl9WSI6CBmjwyyCFCJPEjsHam61G6NWkxGuLxPw7ozXZqMefmNRYED4ZniYIP8xITAH iv0hVbCvQi86Ti0KqgVuiiXt7srueAE1S7/WB5JIW3QjloeHFkA/Ics63cHDiwsVYo3j z0pODXNRhO5qV0oJjo7g7M9LKYtzyWCuNr/fRbuVXbHlM55JCCcRtz+z0HvyIzaGiX31 KhC/O3F3xYcMAFwz6OiJvXjWWJb3s80t6H8LnG2v/kUO/bqi0evOkXoeW75bU+dCq2ri pd4w== 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=n2dMRsdwfpn3m4PSgcPafEcsJ0ybsqqrm3x2kxCkFU4=; b=O0dAqO5LV94+Okbdd0k1D4BfSPbYpgLCmZLBNNnEdXFseQKrNxe7krcUYymWh5HXMr WGgP1q8YFqwg/sks9Y+DIXH/YCLmnw2foXKnk4cPtzvyUJQJi7ub5IqVe0hu2rmZkm7Q 55oUh3Sy8X50CQAPfcirgvVNG9Vcb5jZyfVVBh8EckCgm08Sx+0itifYGNWbXqpWYBTJ ZIHFsS+5xYGBS8LREFiKR96Vig9IMXpS1DiVCC1mTw59e9Yl34Zgx66R7TGwFguVk7ew 32xt/rs1f7WPg+7dIQIs0/Hl0nxon4bhFEZPqGk4HVqlpEth9e/zLPzWmxgYCyyz5p9O +Iuw== X-Gm-Message-State: APjAAAUPVrs6+zy0NmqYa2uU2/ydjQWyx0UrxAKYUlZLHQ77q3dCy0he mIHn1P6UXFXX2D+JkE+lH2bxo33F X-Received: by 2002:aa7:8dcc:: with SMTP id j12mr29947006pfr.137.1566304458143; Tue, 20 Aug 2019 05:34:18 -0700 (PDT) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id o3sm5104992pje.1.2019.08.20.05.34.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Aug 2019 05:34:17 -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, horms+renesas@verge.net.au, Magnus Damm , tglx@linutronix.de Date: Tue, 20 Aug 2019 21:35:56 +0900 Message-Id: <156630455678.17444.15308898250025256159.sendpatchset@octo> In-Reply-To: <156630449239.17444.11157306180861080402.sendpatchset@octo> References: <156630449239.17444.11157306180861080402.sendpatchset@octo> Subject: [PATCH v2 6/7] clocksource/drivers/sh_cmt: r8a7740 and sh73a0 SoC-specific match Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Magnus Damm Add SoC-specific matching for CMT1 on r8a7740 and sh73a0. This allows us to move away from the old DT bindings such as - "renesas,cmt-48-sh73a0" - "renesas,cmt-48-r8a7740" - "renesas,cmt-48" in favour for the now commonly used format "renesas,-" Signed-off-by: Magnus Damm Reviewed-by: Simon Horman --- drivers/clocksource/sh_cmt.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- 0001/drivers/clocksource/sh_cmt.c +++ work/drivers/clocksource/sh_cmt.c 2019-07-18 19:29:06.005414716 +0900 @@ -928,6 +928,14 @@ static const struct of_device_id sh_cmt_ .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] }, { + .compatible = "renesas,r8a7740-cmt1", + .data = &sh_cmt_info[SH_CMT_48BIT] + }, + { + .compatible = "renesas,sh73a0-cmt1", + .data = &sh_cmt_info[SH_CMT_48BIT] + }, + { .compatible = "renesas,rcar-gen2-cmt0", .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] },