Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp433384pxb; Thu, 7 Apr 2022 09:16:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2CVoRZcAKAnPOUKydXS7hhbxQAQLvedywaf/zt/a8M+OoaZ2LRax6fqK/zOgeKDBXp3Cd X-Received: by 2002:aa7:df13:0:b0:41d:1360:27dd with SMTP id c19-20020aa7df13000000b0041d136027ddmr1814339edy.301.1649348204808; Thu, 07 Apr 2022 09:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649348204; cv=none; d=google.com; s=arc-20160816; b=rJmz1gb6gC/DSBPiJyQgtbwXRj7fzoBLjWUPwwO3hCkXClQ9ZPhHI6D1A5xbLFCPLm VBAwBTyJmP9IS7vFfVPAIrMggk3aHtv7uIytc41CGPI9vAAB8AFRtxwPwUHHlxpuvdS5 qXVUfK7yp8Em6Z0HAA0qy5cQQyJdnokY8QKNmTKHTzChr30CEN94m9u/qi05C2ztJqwO KaS0ZoEbAy6MJy54VUXCyUGWYcT7U/+YpUojhrOb8dar7iJxKCU2QelEbfSOlhPzgGsv csHMOJOYlKkAx7z1CSWHcw24QevKANWsS+otdzY0FuIbn05DnSIC6PWCDlczKCU38O7A 9wPA== 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=lpTr8yMU6KaZM/KSaBdB6A14MqXhEQSykJeO7sbvUgY=; b=xsGKG0ML9aQW9LqkNJMgmGd0lRL9ja/Tbtg3lFUPeCAnTHISqMV0pvVNMb7eSQyTTY FTPgAQTRk5J0VbFKPYmPgQgoHYj9r/7tDeLJll/o9eyYj1aqFCvbuaJxEmlMnySiWMBj 7ikuJ0mLEv+K3b8oHEjKdjPI5tUAOaS8+lY2D6I08iENC7oquxJOPC+rOTc9bNLZvFJE Q2mdLqgTUdIQBlxNMhNiy7yu+Z99yEf9UorEfDTS0hRcbI9fxdzogEXnFlBT5UerOr01 TRLmAkGcdbXnCN2Srt7vC+1R8qHXrlRMIXkfWwP/bOW4USljQBeCLDEB8D+whAxa5Z+Z 6E9g== 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 hv11-20020a17090760cb00b006e748e41ce3si13954098ejc.385.2022.04.07.09.16.11; Thu, 07 Apr 2022 09:16:44 -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 S241393AbiDGHMY (ORCPT + 99 others); Thu, 7 Apr 2022 03:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236662AbiDGHMU (ORCPT ); Thu, 7 Apr 2022 03:12:20 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2831612AD8; Thu, 7 Apr 2022 00:10:20 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 55B7F8153; Thu, 7 Apr 2022 07:07:56 +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 , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 3/4] clocksource/drivers/timer-ti-dm: Add compatible for am6 Date: Thu, 7 Apr 2022 10:10:05 +0300 Message-Id: <20220407071006.37031-3-tony@atomide.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220407071006.37031-1-tony@atomide.com> References: <20220407071006.37031-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 am6 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 @@ -922,6 +922,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", @@ -950,6 +954,10 @@ static const struct of_device_id omap_timer_match[] = { .compatible = "ti,dm816-timer", .data = &omap3plus_pdata, }, + { + .compatible = "ti,am6-timer", + .data = &am6_pdata, + }, {}, }; MODULE_DEVICE_TABLE(of, omap_timer_match); -- 2.35.1