Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp188501pxw; Fri, 8 Apr 2022 05:06:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm2K64x1I2aBQey9nHuhBluXya6dif91ILhA25AwNUBYtTk99Q7oTl8rrgqai+LcxtHdJd X-Received: by 2002:a17:907:8a19:b0:6e8:a7e:5f50 with SMTP id sc25-20020a1709078a1900b006e80a7e5f50mr18389808ejc.322.1649419615451; Fri, 08 Apr 2022 05:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649419615; cv=none; d=google.com; s=arc-20160816; b=RaZgFi0w92CJmRzfSqcFoG7hmhZ2BOR8jJVdK39j67CAyMQou3a+OEjVkgGxqP9jW7 Natrdk9nz+1IhbzKq5lWQftqazZTOZqvNsTe5ZGjFZjplCzbNYVumS1gN6hqmZDUrzHn 2Ox6HhPEzAiwl0M2zkdVQx50YM4XfYIAhOkuyylsUC0y0hCoRLQTVWstXrl6yNh0x6e+ kPr8KRkluZ8JlmP6qBd3qz0TAOO9hdYx3wqmGFTud2w4xFFQjarzDEM4YZqTVwydo9x6 QQAoIKc27w6WW82DJ5+Qo4nOnDwvwiYnvOKbB9DpXL8lMEaVdc79ruzD8aRebkVr4dvb OTlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ooVjPZocln39ZKjW05ITzssdtDCJYtP1SWFcmn5FxgY=; b=kDmRQvuol4xvsPeYr3nVHJAvICazDmNUz+yhlKgsiJpkZwjx7w+1KVetoatAJosSCE 7TMeIIgRelwjDNS5t26bkfdZZ5tCIwh7zvWU489YrckexNdVzDufJrxGvj4nVSInYc3m OcCYRWQNp7Fp3wN2/weskVfIMz7Hi5yJhWTIJiLEcntM+v7tSgEoe1+dsZX7L5vy8Kib I8aGyOn0nqAc8Gt6Z1x6HfreQu4VXqUumn2kxTQgKBZI7+CYoR9nx+CNJiyphe81RBpl 4eHQUqcazqlkX8XvH8wwsH6SHMw6rB5/dsI/gE21wf+0iR1a7higWWXppek049Qjfzqv kZbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho38-20020a1709070ea600b006dfd10f9edfsi1263140ejc.759.2022.04.08.05.06.29; Fri, 08 Apr 2022 05:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234341AbiDHKTm (ORCPT + 99 others); Fri, 8 Apr 2022 06:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234288AbiDHKTd (ORCPT ); Fri, 8 Apr 2022 06:19:33 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE2EFCBE77; Fri, 8 Apr 2022 03:17:30 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 5D4AF807E; Fri, 8 Apr 2022 10:15:04 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Keerthy , Nishanth Menon , Vignesh Raghavendra Subject: [PATCH 3/3] clocksource/drivers/timer-ti-dm: Add compatible for am6 SoCs Date: Fri, 8 Apr 2022 13:17:15 +0300 Message-Id: <20220408101715.43697-4-tony@atomide.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220408101715.43697-1-tony@atomide.com> References: <20220408101715.43697-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add compatible for ti,am654-timer to support the timers. For example, am654 has four timers in the MCU domain and 12 timers in the MAIN domain. Cc: Keerthy Cc: Nishanth Menon Cc: Vignesh Raghavendra Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-dm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -1037,6 +1037,10 @@ static const struct dmtimer_platform_data omap3plus_pdata = { .timer_ops = &dmtimer_ops, }; +static const struct dmtimer_platform_data am6_pdata = { + .timer_ops = &dmtimer_ops, +}; + static const struct of_device_id omap_timer_match[] = { { .compatible = "ti,omap2420-timer", @@ -1065,6 +1069,10 @@ static const struct of_device_id omap_timer_match[] = { .compatible = "ti,dm816-timer", .data = &omap3plus_pdata, }, + { + .compatible = "ti,am654-timer", + .data = &am6_pdata, + }, {}, }; MODULE_DEVICE_TABLE(of, omap_timer_match); -- 2.35.1