Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1088566rwo; Wed, 2 Aug 2023 08:32:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD0ZgRO9lXLg7CsCDxq0HKSwbUTLFtAwbUi4wnt6NhPQXWUtptxrDHNbb4ysQhDhxToAnc X-Received: by 2002:a17:906:4e:b0:99b:504d:d9c7 with SMTP id 14-20020a170906004e00b0099b504dd9c7mr4545615ejg.67.1690990363086; Wed, 02 Aug 2023 08:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690990363; cv=none; d=google.com; s=arc-20160816; b=n36fyx5CEEpyuvLLDSJGW6YdLbIC05tSqpa+MnRFEeDlQBjVCDeeEf53Pd8P7uNX4F kplGYGAuqqP9Vd06tdaO76yd42Lr3nA7wikn3D9L1tMO/9l9AvOtOWjwHTXYZckyOlAj y3vYJ8gvfjut4A6F51j+gbjCCr+twgwVoyeL11OoQBgbNhL9VtmtR8mtqARAZVOBk5DO jwpQtxkuKCMGnMC5M0pkTlPMyNfyGk/n3lnMtiXtT/teZXKTtehgsb880Fi5KKFq97j2 lzT0QXOCxmEejY69rJZCwrYiwt7p92wavTaChp9rpFoZ0B+3y77THf1LsTK7lNV0vSpz uvsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fMKK42wAH8Nnsvw63GKfzyP6R9L7nXqVg3xURLy8OK4=; fh=H0DCcgtjb9r9OuoLiveSQZP/9/98uXGG33QVn71jwO8=; b=pdpuX4XOjKhTb9hGm98z3v5EETIfoGzQrIS6ggGtJl2YGd19x4YZEy3dJrxCJ1BWU+ Da62YLfjFvUaLTijLCGbduLjOsnL7AQ+n9xfdIs+/RlHfGNCxnnSjlgEQWyFAkSRIpMu YZqzk7nCLTzwISaJI3Xc8NWfhnqXAiwmR93tW/m1M7hhkcyJyCVbDUwOO4b6Z4UgRNtf pP7RkTnZpgr2mQokG5CfRyStHJ0VSBO6WKhnmEtfTim2yZe88oYPjUkMe6ST675uaivj xFBY5CrR1m+ydhth46yW+OMo8U61ifB5TsqvQF1p7EyhBSdfkOe8dYgO6sGsk4iCppEY 6VzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DzngAnTH; 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 dv22-20020a170906b81600b0098e31cd1411si11029979ejb.736.2023.08.02.08.32.18; Wed, 02 Aug 2023 08:32:43 -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=DzngAnTH; 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 S234177AbjHBOkJ (ORCPT + 99 others); Wed, 2 Aug 2023 10:40:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233950AbjHBOkG (ORCPT ); Wed, 2 Aug 2023 10:40:06 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE4810FB; Wed, 2 Aug 2023 07:40:04 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 372EdmaR009457; Wed, 2 Aug 2023 09:39:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690987188; bh=fMKK42wAH8Nnsvw63GKfzyP6R9L7nXqVg3xURLy8OK4=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=DzngAnTH9zKrAGnE/DM4ePAfcPfTZSGU+16bl3VimKR7DVl5IQ1m3MAOuLjAWkGK6 5CJNOSUL6iqqqILXnnISEAy7GK2rqPUhjzy2QcHtqgKOqjUXgNwBVOfHcU7VmYQFOb xdWAzKwO/kFwev2IGF8ayMGnq4ruMGsk4TP/e+Jo= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 372EdmVW118309 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Aug 2023 09:39:48 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE101.ent.ti.com (157.170.170.31) 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:39:48 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) 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:39:48 -0500 Received: from [172.24.227.6] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 372EdiEH024344; Wed, 2 Aug 2023 09:39:44 -0500 Message-ID: Date: Wed, 2 Aug 2023 20:09:43 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 4/5] arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A Content-Language: en-US To: Nishanth Menon , Jai Luthra CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , , , , Jayesh Choudhary References: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> <20230731-mcasp_am62a-v1-4-8bd137ffa8f1@ti.com> <52pbbqnp46h33gymoydnjtxoo3dsb6wnytvjnmomtjdtwck536@ewhb2rngomr2> <20230802133502.zjvf7sslmcuayg5z@defog> From: Devarsh Thakkar In-Reply-To: <20230802133502.zjvf7sslmcuayg5z@defog> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 Hi Jai, Nishant, On 02/08/23 19:05, Nishanth Menon wrote: > On 17:10-20230802, Jai Luthra wrote: >> Hi Devarsh, >> >> On Aug 02, 2023 at 16:15:12 +0530, Devarsh Thakkar wrote: >>> Hi Jai, >>> >>> Thanks for the patch. >>> >>> On 31/07/23 18:14, Jai Luthra wrote: >>>> Add nodes for audio codec and sound card, enable the audio serializer >>>> (McASP1) under use and update pinmux. >>>> >>>> Link: https://www.ti.com/lit/zip/sprr459 >>>> Signed-off-by: Jai Luthra >>>> Reviewed-by: Jayesh Choudhary >>>> --- >>>> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 77 +++++++++++++++++++++++++++++++++ >>>> 1 file changed, 77 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>>> index 752c2f640f63..5f68d2eefe0f 100644 >>>> --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>>> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>>> @@ -125,6 +125,41 @@ led-0 { >>>> default-state = "off"; >>>> }; >>>> }; >>>> + >>>> + tlv320_mclk: clk-0 { >>>> + #clock-cells = <0>; >>>> + compatible = "fixed-clock"; >>>> + clock-frequency = <12288000>; >>>> + }; >>>> + >>>> + codec_audio: sound { >>>> + compatible = "simple-audio-card"; >>>> + simple-audio-card,name = "AM62Ax-SKEVM"; >>> >>> In my opinion better to give the codec name instead of board name here. >> >> I agree, maybe calling it "sk-am62a-tlv320aic3106" would be the most >> clear option. >> >> Running a quick ripgrep on next tree: >> >> $ rg "simple-audio-card,name" arch/*/boot/dts/ >> >> I see a healthy mix of using both board and/or codec name here - with TI >> almost always using the board name. Maybe we can change the convention, >> but it would be a good idea to at least update SK-AM62 as well to use >> the new convention. >> >> Is it okay with you if it is handled as a separate series? > Yes agreed, the naming can be taken care of as separate series as it also applies to other TI board (AM62x), we can brainstorm on the naming separately and not block this patch. Reviewed-by: Devarsh Thakkar Regards Devarsh > Will this cleanup of existing board break any userspace? If so, NO and > follow existing "board" convention - I'd like to maintain consistency, > even if that is not exactly clean! If not, cleanup in a later series > is fine, but please make sure to follow through this week - with this > patch following the convention of choice. >