Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1606092rda; Mon, 23 Oct 2023 19:20:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBqeXovpwl8P2LpH4vUXWpOEQgOgvMHhzmrMcgSrc+ja60I8hz0igyggL4bcVBdt53Z2Ol X-Received: by 2002:a05:6a00:2d0f:b0:6b6:9f05:6507 with SMTP id fa15-20020a056a002d0f00b006b69f056507mr9180315pfb.30.1698114036504; Mon, 23 Oct 2023 19:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698114036; cv=none; d=google.com; s=arc-20160816; b=WD0ehZ1Kh42aHj1wYUxdocoL7szmT7MclTxYrVIyuQFqN7chRz6/BgM8qnA0gV1GYs WnfaqRGERzJHywrqT4yrAuQ2+lNS/syE/EP5kLu/UWcRZgAl+QTPFajAdiI+FAyBxzwB Emt5Nr6oJNnAWs2AHF51t40swUjhpadl5+9kmi0LF/3NstNO9n7+sOQsU9VEAtd5clfv wkhIMDRGnF7kKvwKGL3fXXX/2kQmqoIGEsUvtJO5rrdJJUXmdHVcxDhHo0SxekixzbPF xyOwrdSxKESArmpKbEFURhk/5lxSj5S4E2xQ6PIfj8n51UVCZdCGHUagfjPYDZ248UR/ z4CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=ijtX0JdZR6feRfmER3BcoWiLna3c6oUxEcguBpMO1IM=; fh=NnxzfPVred4Fi2F7+NFE5tWzWRIg1YTK0hcPOQGm64E=; b=TxX7tO783AoTiUutlorXy39PVMp5gLCtiFNwl6WqO0qxoD+rOpfU9gV9HrCASfH9zr zDqOGZf2OTyNjSjYhUf6h9+IVWaQk0Wot4dEZqOVRahoxCkp78q+sg53NZ6n+vlSK9L4 bsitJW8bg5MpzQT+M35ALJLcAmrxJ4LyAarzKA7MRIlIxzMnllB//nnFLLmTOu2DjP6l mGXm4iyc9ElM+6S7DW4y++TKMYI6YURKRTHRtxWd5TBu8iA4CU5pYe6lsvlp5JFwt4x2 uScWhs/18W/G+VpCyR3/0aTaIl1Bqt0Yk73VvRll5jjAYJqMGa2jXO491ifXbRxRClY9 +ICg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DhxjRn0C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id r19-20020a638f53000000b005b8ddd276absi1248705pgn.81.2023.10.23.19.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DhxjRn0C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 70F2A8060C8C; Mon, 23 Oct 2023 19:20:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231740AbjJXCU0 (ORCPT + 99 others); Mon, 23 Oct 2023 22:20:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230284AbjJXCUZ (ORCPT ); Mon, 23 Oct 2023 22:20:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60F4AEA; Mon, 23 Oct 2023 19:20:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEFDFC433C8; Tue, 24 Oct 2023 02:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698114022; bh=qHFLDEl/5h5NDJ2DKT7apAOR/E+2WF1tok1bPg1QJzE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=DhxjRn0CqvsNqrIgvbgk87C2Hy+mTnx8SQ7/T+a1G4OqW5UFCd62uBf97MBu7lGwM qy7dGKNTtvtSpBsBqoW0DO3siX2NBhobpu69r2k+fsEdug2q/W7LkLJJLKTU8WD89X g6OapBxRpaz8hjf4Z2fcUD7/Rwh2apTLmIE2+Jkk+j8dsXmX/xx0b2Eb++/8C6R4YS EtW9UXxcP7fpk00jsEYeKHRwpTfiQboMEhbXRX6WPrJdT6Zy7vq3a0sNjRPS6U+7NC tGkGHjBoAHB6PHcN8gshpR8zV361YyPQUd9KJ1bcygp6ibOTltir0VqvX4p6euM5FD Mdi+2/eAqD7rA== Message-ID: <28dc00c3f15f3023e0d963eff2333e13.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1669569799-8526-1-git-send-email-badolevishal1116@gmail.com> References: <1669569799-8526-1-git-send-email-badolevishal1116@gmail.com> Subject: Re: [PATCH v5] Common clock: To list active consumers of clocks From: Stephen Boyd Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, chinmoyghosh2001@gmail.com, mintupatel89@gmail.com, vimal.kumar32@gmail.com, Vishal Badole To: Vishal Badole Date: Mon, 23 Oct 2023 19:20:20 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 23 Oct 2023 19:20:33 -0700 (PDT) Quoting Vishal Badole (2022-11-27 09:23:19) > This feature lists the clock consumer's name and respective connection > id. Using this feature user can easily check that which user has > acquired and enabled a particular clock. >=20 > Usage: > >> cat /sys/kernel/debug/clk/clk_summary > enable prepare protect > = duty hardware Connection > clock count count count rate accuracy phase = cycle enable consumer Id > -------------------------------------------------------------------------= ----------------------------------------------------- > clk_mcasp0_fixed 0 0 0 24576000 0 = 0 50000 Y deviceless of_clk_get_from_provider > = deviceless no_connection_id > clk_mcasp0 0 0 0 24576000 0 = 0 50000 N simple-audio-card,cpu no_connection_id > = deviceless no_connection_id >=20 > Co-developed-by: Chinmoy Ghosh > Signed-off-by: Chinmoy Ghosh > Co-developed-by: Mintu Patel > Signed-off-by: Mintu Patel > Co-developed-by: Vimal Kumar > Signed-off-by: Vimal Kumar > Signed-off-by: Vishal Badole > --- Applied to clk-next