Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1394655rdb; Wed, 20 Sep 2023 08:02:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG44u5Aju364Web5T/zHvPnIOA7SiZzUFeoivbT+zKzlzHePm7saQqY6lEStdVtSWVJ05RO X-Received: by 2002:a17:902:db03:b0:1b7:e49f:1d with SMTP id m3-20020a170902db0300b001b7e49f001dmr2572615plx.62.1695222171715; Wed, 20 Sep 2023 08:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695222171; cv=none; d=google.com; s=arc-20160816; b=UD/z3k8uP1TvZdZOaTMotr1lQdH3ylOMxI4Ll6QKVtHJDQbsQNGdAP/rqWSFhd9ACS vsPtsOwJg+I7G9wPezoB20AiPmEfebzUZ0+9VTJES2iBzZ1qyW5OkGn7VSwWx1TM31KN jDXJ1vSeQ3M84/LsBV5CnwbDek0xK5CrnGeUgKID+q8lpNGeSOS7NJ/BLZLzxHXHAhTm 0DLdG9wIG/0jZqR0xJ2yXAz7lIGLLGjCq2G6iiXLUmhga4WbjGFC3i8mXS0S/1gCV3jT v0WNybHoqSZLXR0UdGlyMg8XXyzNNti7GMXOiFXi5NwnetivPwdwDC9j1XhQtcbX8kOZ JFHg== 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:subject:cc:to:from:date; bh=d7skkG8UDd4kLsdcKP6+woMVLZUaShwZHEZbJ81/LvM=; fh=kF6a+Ekga0UqWoSJTED8gdBqb/OCVntR3w2eULMz6go=; b=xPi3OCl7LYfR6bFzECEuCbe4i8/sEt368OqesTuoW6hIZl3EFdCaZqU/PKyaKY9VlH 5BueFz1Hd5M/Wqm6hxQjaWNtCw/cgzY9IPPMHNvKzGoBjs5yvxLIblSsBbnpjqxuxy6+ vfJTYLfxkpXPb1GCeYgA71N4FoiNFTh5EK4zl9UuouMxoTCgKpB5qhQp3yFH1gjgct1r cQH+ClQDdnRTzDlFEVEVCkJe9MCb4HDmA6hzj9bo7DUbnq0EYpsxyktaM8fYRXjxnDi1 r4dvHt0l3NPXbTGOuqHyxXEru9CTyriSecVioumwFIjyQHijcfJ/YCyElr/h7dYyRYyt zhsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l10-20020a170903120a00b001c3e13018ffsi12398813plh.51.2023.09.20.08.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:02:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 22A6D83271F3; Wed, 20 Sep 2023 07:52:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235011AbjITOwm convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Sep 2023 10:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234330AbjITOwl (ORCPT ); Wed, 20 Sep 2023 10:52:41 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56C70A9; Wed, 20 Sep 2023 07:52:34 -0700 (PDT) Received: from pd9e2f2b6.dip0.t-ipconnect.de ([217.226.242.182] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiyYh-0040UG-5J; Wed, 20 Sep 2023 16:52:06 +0200 Date: Wed, 20 Sep 2023 16:52:04 +0200 From: Andreas Kemnade To: Tony Lindgren Cc: =?UTF-8?B?UMOpdGVy?= Ujfalusi , bcousson@baylibre.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, jarkko.nikula@bitmer.com, dmitry.torokhov@gmail.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 1/3] ASoC: ti: omap-mcbsp: Ignore errors for getting fck_src Message-ID: <20230920165204.0fbc0ff3@aktux> In-Reply-To: <20230920063353.GQ5285@atomide.com> References: <20230705190324.355282-1-andreas@kemnade.info> <20230705190324.355282-2-andreas@kemnade.info> <7d58d52d-2087-45af-b29e-2515b63ead13@gmail.com> <20230920063353.GQ5285@atomide.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 20 Sep 2023 07:52:44 -0700 (PDT) Hi, On Wed, 20 Sep 2023 09:33:53 +0300 Tony Lindgren wrote: > Hi, > > * Péter Ujfalusi [230919 18:25]: > > > > > > On 7/5/23 22:03, Andreas Kemnade wrote: > > > Commit 349355ce3a05 ("ARM: OMAP2+: Drop legacy platform data for omap4 mcbsp") > > > dropped prcm_fck for omap4, > > The prcm_fck should be there in the dts for each mcbsp interconnect targe > module as "fck" alias and get's enabled/disabled when the mcbsp driver > calls runtime PM. > > So maybe the description should explain that things broke as the aliases > for prcm_fck and pad_ck no longer get added. > > > it also dropped the pad_fck for that matter. > > OK so an alias is needed for that too. > > That's the MCPDM_CLKCTRL pad_clks_ck alias, right? Seems like the > pad_clks_ck should be claimed by the mcpdm and mcbsp drivers if they are > used? I guess it would be for some external device use case? > > > > so the clk_src might not be >available making the > > > clk_get(src) fail. > > > > Wow, so OMAP4 audio is pretty broken if would ever need to select FCLK? > > By default we don't on OMAP4, but this is astonishing. > > So sounds like we just got lucky because of -ENOSUCHUSERS? The mcbsp works > for me, not sure how come I'm not seeing this issue, does it now only work > for the default clock source? > Well, I did not run into any problems (besides of no sound output) as long as I tried to use the codec side as bitclock/frameclock-master and that is what droid4 does... Regards, Andreas