Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3444892rwb; Mon, 7 Aug 2023 13:45:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHM+t2OhKweu3EKINDz2YQlwbmhmUcFJ9tZM6se+hZuxoHTyFqfd8oF1edIpIyGtREnDcJe X-Received: by 2002:a17:906:10c9:b0:991:ed4e:1c84 with SMTP id v9-20020a17090610c900b00991ed4e1c84mr7928166ejv.25.1691441131843; Mon, 07 Aug 2023 13:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691441131; cv=none; d=google.com; s=arc-20160816; b=L5/I3wXBF22LH5N1l/jpoq/864tDJk4ARS/JAJYzFtktgd1NZzoXmkmZEpJOgjLAy4 h8elPDxwQDFW2UfF+r5gQcx2O6GsD80G/Eadx4iJo1rxqI4u6YI1y4NgEfrXjHoUjD2q AzclhoWkJF29NrEq9k40RCKg6ijNhWr31Z7qJ38MBtzBHsR0U3/kcqLLnNWh/WcSHzx0 Q9WXsIawMeP+1+GkVl7Xr32kvl1x1qPUwDnuz8Ohn8bss/b/QKywxLByzuy6tiFpuAME kb8L3tE7YnmPIWWrN1qam/B7ZVNUZ7IY4p5cJFILw7tu3PA562qP2zXFkGmHLX6u7uFy jGTg== 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=IoJhEBxRe7pimEnx6xbLyUv1YQsNNveP3aPaWln0cuw=; fh=kEyOfiXD5Xz1QIMrU63fnHv4zlFI5uPSfoktbLe4MFQ=; b=hXPq8ivBjwuEDqrM161rzYPhrp5wk8/7vQ4s91fh9f9lI8Vv4UmhAEDVZhNnzR+d+2 JXwokgEcQbgpS5fRAyMP1nVPBn24Tj8o1YSLoCWsMAVoe8E4hAGiHrCqdmLzAn1XgA2E t4/ofogFt7xziZKS4TzAiAY5j58eATLkl0DmcG9tJ5PyEK/MtfrTpK+yKxCxvVN27u0e h6eoKMhgfVl70rHIGUHV9L3JbRLcqkgQ+Pyo1ofKC3sST126rEihcYgKSQXtGhUFep1C nrF7MtUi1Tbag4bTXSw2fiT0Oqj8+EOa8Z2Fge1qD57A/LGeSNS+qUL7kWhr8A6h9h4y NAKA== 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 qo3-20020a170907212300b0099bd7765448si6326867ejb.464.2023.08.07.13.45.07; Mon, 07 Aug 2023 13:45:31 -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 S231344AbjHGUWM (ORCPT + 99 others); Mon, 7 Aug 2023 16:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjHGUWK (ORCPT ); Mon, 7 Aug 2023 16:22:10 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2753C10F8; Mon, 7 Aug 2023 13:22:09 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id BB8CD20718; Mon, 7 Aug 2023 22:22:05 +0200 (CEST) From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jai Luthra , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v3 1/4] arm64: dts: ti: k3-am62: Enable AUDIO_REFCLKx Date: Mon, 7 Aug 2023 22:21:56 +0200 Message-Id: <20230807202159.13095-2-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230807202159.13095-1-francesco@dolcini.it> References: <20230807202159.13095-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS 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 From: Jai Luthra On AM62-based SoCs the AUDIO_REFCLKx clocks can be used as an input to external peripherals when configured through CTRL_MMR, so add the clock nodes. Signed-off-by: Jai Luthra Signed-off-by: Francesco Dolcini --- v3: - removed k3-am62a-main.dtsi changes v2: - s/clock/clock-controller/ on audio refclk nodes name. --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index ef90b2bc81eb..5f19ef46d44c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -60,6 +60,24 @@ epwm_tbclk: clock-controller@4130 { reg = <0x4130 0x4>; #clock-cells = <1>; }; + + audio_refclk0: clock-controller@82e0 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e0 0x4>; + clocks = <&k3_clks 157 0>; + assigned-clocks = <&k3_clks 157 0>; + assigned-clock-parents = <&k3_clks 157 8>; + #clock-cells = <0>; + }; + + audio_refclk1: clock-controller@82e4 { + compatible = "ti,am62-audio-refclk"; + reg = <0x82e4 0x4>; + clocks = <&k3_clks 157 10>; + assigned-clocks = <&k3_clks 157 10>; + assigned-clock-parents = <&k3_clks 157 18>; + #clock-cells = <0>; + }; }; dmss: bus@48000000 { -- 2.25.1