Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1840330rwd; Fri, 2 Jun 2023 00:28:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7d/MmgeBikTS9FxQrcw8ZlW6JDDNR8vfop8JKIS1LHfHqre4pTC+emhws3lr+sJAZmS9YH X-Received: by 2002:a0d:ccce:0:b0:565:b76d:3af7 with SMTP id o197-20020a0dccce000000b00565b76d3af7mr11804746ywd.3.1685690881139; Fri, 02 Jun 2023 00:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685690881; cv=none; d=google.com; s=arc-20160816; b=0SgonsbafS9NHq8jWqnukrtnR13sQkOJvSYTgblHWHEZQhzhiPgsKAoLKW/8X5REKt PmNVNHiUuh+cb2hJRDd2WLqCZeaHGq+GrDRJQLQtOJ2qi4LRKid6/7q5Wv8Y4XxJdiyZ 6iq6hB1g/bN6sPG8m+i36Qd40PwXPwnJlKhYYP9HcbfzxYCDhjNbqCE4vSBFP8U79HTH ykMqYxx5b99FaJJiX8LlpaH9ag1ze3pz6VmyjoAqcd3HvSznoLOMd5P06S3ENzKBwqzV RST7RxrUAIg3dlWN7lOGpeGE8pe1O3LnMOuieZaisDMeicVUbrDMthx5Y9IBIfbfBfZt rj+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=l5VcgeOxGHDRyF4W98Wk+OU/IRlsimW1ygz+qtKM7eE=; b=h+q7NglexLAnwSiIqQASVBQ+8V2ZbKF7NHe3ELZSINc8CI6spn4jOT/pMcX11JojjV c9qJWyOF2MGK9T2Erb9b0sgjQI9qaLUTovRrpACY+FIQj4852kEQBhCayV/bb9hYmp/Q QwN/iC21nGnRd72RT4KBzLO0n6Y/F+fsOG/1ygOVNVx7xCi41D+pAdMKYRqzGuOb91HU CTl1p1No9NjP2bUk+spUwoRot13pKhv5/LuwqG05b8eESXJApowCa4V8WEbSW6f6wdBU 1GmzE1y8qGA/ouyOqKGV4uLVT1K5UDGWiyhe0XRbpo3ODKu9w7KQ4ZD+AW4So/eIcMeo wIAQ== 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 y11-20020aa79aeb000000b00643a730d50bsi247716pfp.389.2023.06.02.00.27.49; Fri, 02 Jun 2023 00:28:01 -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 S234352AbjFBHMT (ORCPT + 99 others); Fri, 2 Jun 2023 03:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234300AbjFBHLn (ORCPT ); Fri, 2 Jun 2023 03:11:43 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5107A1B3; Fri, 2 Jun 2023 00:11:42 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C62558111; Fri, 2 Jun 2023 07:11:41 +0000 (UTC) Date: Fri, 2 Jun 2023 10:11:40 +0300 From: Tony Lindgren To: Udit Kumar Cc: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, conor+dt@kernel.org, m-chawdhry@ti.com, n-francis@ti.com Subject: Re: [PATCH v2 2/5] arm64: dts: ti: k3-j7200: Configure pinctrl for timer IO pads Message-ID: <20230602071140.GN14287@atomide.com> References: <20230601093744.1565802-1-u-kumar1@ti.com> <20230601093744.1565802-3-u-kumar1@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601093744.1565802-3-u-kumar1@ti.com> 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 * Udit Kumar [230601 09:38]: > There are timer IO pads in the MCU domain, and in the MAIN domain. These > pads can be muxed for the related timers. > > There are timer IO control registers for input and output. The registers > for CTRLMMR_TIMER*_CTRL and CTRLMMR_MCU_TIMER*_CTRL are used to control > the input. The registers for CTCTRLMMR_TIMERIO*_CTRL and > CTRLMMR_MCU_TIMERIO*_CTRL the output. > > The multiplexing is documented in TRM "5.1.2.3.1.4 Timer IO Muxing Control > Registers" and "5.1.3.3.1.5 Timer IO Muxing Control Registers", and the > CASCADE_EN bit is documented in TRM "12.6.3.1 Timers Overview". > > For chaining timers, the timer IO control registers also have a CASCADE_EN > input bit in the CTRLMMR_TIMER*_CTRL in the registers. The CASCADE_EN bit > muxes the previous timer output, or possibly and external TIMER_IO pad > source, to the input clock of the selected timer instance for odd numered > timers. For the even numbered timers, the CASCADE_EN bit does not do > anything. The timer cascade input routing options are shown in TRM > "Figure 12-3224. Timers Overview". For handling beyond multiplexing, the > driver support for timer cascading should be likely be handled via the > clock framework. > > The MCU timer controls are also marked as reserved for > usage by the MCU firmware. Reviewed-by: Tony Lindgren