From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79E0EC7EE29 for ; Fri, 2 Jun 2023 07:08:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233953AbjFBHIZ (ORCPT ); Fri, 2 Jun 2023 03:08:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233828AbjFBHIX (ORCPT ); Fri, 2 Jun 2023 03:08:23 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 441961A1; Fri, 2 Jun 2023 00:08:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id B9DAD8111; Fri, 2 Jun 2023 07:08:18 +0000 (UTC) Date: Fri, 2 Jun 2023 10:08:17 +0300 From: Tony Lindgren To: Nishanth Menon Cc: Conor Dooley , Krzysztof Kozlowski , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tero Kristo , Vignesh Raghavendra , Udit Kumar , Nitin Yadav , Neha Malcom Francis Subject: Re: [PATCH 2/6] arm64: dts: ti: k3-j721e: Configure pinctrl for timer IO Message-ID: <20230602070817.GI14287@atomide.com> References: <20230531213215.602395-1-nm@ti.com> <20230531213215.602395-3-nm@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230531213215.602395-3-nm@ti.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org * Nishanth Menon [230531 21:32]: > 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 Technical Reference Manual[1] under > "Timer IO Muxing Control Registers" and "Timer IO Muxing Control > Registers", and the "Timers Overview" chapters. > > We do not expose the cascade_en bit due to the racy usage of > independent 32 bit registers in-line with the timer instantiation in > the device tree. The MCU timer controls are also marked as reserved for > usage by the MCU firmware. Reviewed-by: Tony Lindgren