Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1046609rwo; Wed, 2 Aug 2023 08:01:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlHd4IpqeaE/ze/AUxHfIOhbjDzGOcM0aCwuo0SHbak6G783Tqnmbb+6aK8GhWOdF0NI4oGf X-Received: by 2002:a5d:4bc4:0:b0:317:5b42:4264 with SMTP id l4-20020a5d4bc4000000b003175b424264mr5314929wrt.21.1690988509898; Wed, 02 Aug 2023 08:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690988509; cv=none; d=google.com; s=arc-20160816; b=J2SvaMGid/xF61FN8zwW6DIGJ5YPA8OddKYLB4wPmgRpf58sp0NzqKNu7jl5Fh/n3b 13Bs+qIFR3kXzzByB/ee38zqTe816HD0DvL6WWD/5wmF1EzmkXi3OI1b/9YcSLMRE17m kQ/AXM6wchrF61pruGO+8R0Sf6PlVhlCaWVxhbcMjwdwPXl5a6DhuRc2+hdj22GYFyKI K30gVZvR3aXa4lZHXZjwb1GiHRnUJtl8sxjHphy7MvzrO8JyPSsgIzxU/vV38acnYzSP Cd9JCvSY+wVVwXRFGwx8o6U9bFm1rJjPzf4RG+sM7qWa7TdngUoyrrv9R4kd73400DY9 FppA== 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:dkim-signature; bh=QzqUq95aQ6oOsHQEGnGJgGG3G9lbd6Qhpv7J5KatXFw=; fh=oUnmg+B21fFMjpfpL7y17/x/Mncpn16Nmz/K8bkYYgo=; b=ZUQmILk+V+ZE7QmrB0kGmh+jD7Mpmk6CA4QR8DqRv1ueXI7kq4eJM7mR1EmhazB6Ni MMjr90geMqbZ8yRxVvBtm1TLb0BJDS+QbJUoY6i/F6lQBScTtQXz8k5l2LIhW/UQZrFi CiZ7sbUT1cnHiGaTtEZbjzVaOCg5KWOofErzz/EjeDpgoocwIh0tcQbZRDc4L4qLAFJt sXkmF/xYYA6/yLzyVHjhdWBg+u4FKuDse/rE4YQMU+ZL2o7b8750D/7YFRKGFBTPExw1 AHlFPqXk6km4aC/okAUHX5W+uAMwTveTKRpjmV8Fm4gAAl60Uds4bbP+pTM5IEY8qkgG vK5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AchlSEZZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a170906340f00b00992acfe04b8si11186474ejb.150.2023.08.02.08.01.23; Wed, 02 Aug 2023 08:01:49 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AchlSEZZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbjHBOAi (ORCPT + 99 others); Wed, 2 Aug 2023 10:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234604AbjHBOAh (ORCPT ); Wed, 2 Aug 2023 10:00:37 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5C762122; Wed, 2 Aug 2023 07:00:35 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 372E0KxD084046; Wed, 2 Aug 2023 09:00:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690984820; bh=QzqUq95aQ6oOsHQEGnGJgGG3G9lbd6Qhpv7J5KatXFw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=AchlSEZZiQeb+b18wnz2ff3sMHKWIggDanc0l3IzevUUB0QAatH+EUXxVP2mPVl6T Fr+Ph9NqTNRgXn1kg7RZIRS/YnTPGE/GuhFgk1KIhVdbOsUO9gMmJHGXHGopawJv2M 8A+g3y4NLqOk80ZKCOqQ8EboKkX3hnIhbVGvvZbU= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 372E0Kjv109363 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Aug 2023 09:00:20 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 2 Aug 2023 09:00:20 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 2 Aug 2023 09:00:20 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 372E0Kmh118210; Wed, 2 Aug 2023 09:00:20 -0500 Date: Wed, 2 Aug 2023 09:00:20 -0500 From: Nishanth Menon To: Francesco Dolcini CC: Jai Luthra , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Francesco Dolcini Subject: Re: [PATCH v1 1/4] arm64: dts: ti: k3-am62x: Enable AUDIO_REFCLKx Message-ID: <20230802140020.k233zqpjar5ag4iv@outbreak> References: <20230731142135.108477-1-francesco@dolcini.it> <20230731142135.108477-2-francesco@dolcini.it> <23C6E13C-3F10-490B-A18E-C67B91CBAF35@dolcini.it> <20230802133244.b66pg3mztotgqotm@steerable> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On 15:41-20230802, Francesco Dolcini wrote: > On Wed, Aug 02, 2023 at 08:32:44AM -0500, Nishanth Menon wrote: > > On 13:37-20230802, Francesco Dolcini wrote: > > > Il 2 agosto 2023 13:23:50 CEST, Jai Luthra ha scritto: > > > >On Jul 31, 2023 at 16:21:32 +0200, Francesco Dolcini wrote: > > > >> 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 > > > >> --- > > > >> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 18 ++++++++++++++++++ > > > >> arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 ++++++++++++++++++ > > > > > > > >Given currently none of the AM62A boards are using the refclks, can you > > > >drop those or just mark the nodes as disabled. Whoever is the first user > > > >can enable them. > > > > > > I can drop the 2 clocks from AM62A, however, should we really do it? > > > These clocks exist and they are just defined in the DTS, they are > > > not going to be enabled if not used, "ti,am62-epwm-tbclk" is also > > > not disabled for example. > > > > Overall, the SoC clock as such has nothing to do with board specific, so > > leave it default (enabled) in SoC.dts - just want to make sure that the > > clk-parent selection doesn't get in the way of platforms and is a sane > > default. > > When I looked into that, months ago, this looked to me the correct and a > sane default. I had the same in our downstream way before the addition > from Jai Luthra to the SoC dtsi. > > Not sure if Jai can add more on that regard. > > > pll2_hsdiv8 output - which looks like the default mux value anyways.. > > I am ok for it being explicit, but wondering if that works for boards > > that do not use this default. > > IFF needed, it would be very easy to just override from the board dts, > using the labels that are already there (audio_refclk0, audio_refclk1). Jai: This sounds sane to me, if you are OK as well, I'd appreciate a reviewed-by > > > (sidenote): Fransesco - your new mail client has line wrap issues ;) > Yep, I had the crazy idea to reply from my mobile phone while having a > walk. It's already a success that I did not top post ;-) hehe ;) -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D