Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9564BC433EF for ; Tue, 23 Nov 2021 17:44:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239296AbhKWRrd (ORCPT ); Tue, 23 Nov 2021 12:47:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbhKWRrb (ORCPT ); Tue, 23 Nov 2021 12:47:31 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C377C061714 for ; Tue, 23 Nov 2021 09:44:23 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id e3so95433647edu.4 for ; Tue, 23 Nov 2021 09:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vrY1zJ4n68tLP0TAn7XBsH+/OL/+n5K9MMhzClHSR88=; b=NtaY1WjxJpV5MjxOKVpDj1uFrKbVrKpI6DVvdeX8Ht1XJUXZriIQ5DhhkgAdAgnldl v7UmAi1e5Tmv0oYC3UlrR3T57eAuLPEEUSg4kLaH9r0v4gBSX4OvwFGbRsT16+cMc3u1 Ylcp39f/XlSsozadGkaxofs6OtqlOX8homjkunZk91MmZFztibTADvfQ1WhKBCAECE4S AakzKFQkZbmzkOmR4lO0xJPOdo5QRm9R/mBXKsmlRuq19MVgGNlHf7vzIH2dd28HxR59 PnPdPvprPnnYtjafQDka/cvN5QOEsEOmcRhIrIHQYGX/Odgn6smtWVWvRU1OXiWMgmqq db0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vrY1zJ4n68tLP0TAn7XBsH+/OL/+n5K9MMhzClHSR88=; b=FCRQN9DfnP1QbgVD+5yqUcghaB0tME3mGmYevYBbHsWzaS9QaYXpopn/lf8Ej1se+J pHK2tTOlG0Hi5jM5nTnkKL7S7zUin2Er+vLCnybshHCs6YhEpcRjC1HXkRPSYSAa/cRa E6E6RcuhwTVzvge286wUYgCOLHsK+NjJ0FtGr+2iON7Ern0azSkjhDeLQu6bRST5+dH9 Z5alA/3El1idhqmduAyJVe3jlX3rzqrveUfViccWfeiD8bLjcnJHsc4zi0N846Qlbm4K E8+ovJsokNlq+ODyUm+jBamP4hB8837kIj4YxBhhi8B5GlzeSANxtKU601VwUyu6NSo6 Negg== X-Gm-Message-State: AOAM53160RbJob/gB9vezTlpb54zUoMoniFEmEhrwMOSlRvPlyw4/o7r rDxkUJpxLvkMM/I4bh2FMxmDBfB6OQQxCoO4hgHeLdIpQNCI1Q== X-Google-Smtp-Source: ABdhPJwDddXRJ/odEdDjW0g5a5Ipj9Bv+URAsRCGMS9nCn9jivqxCoNCrrOhZVDV5lH8UnS+BwmUJTFB7d5au1f5aWc= X-Received: by 2002:a17:906:58ce:: with SMTP id e14mr9672142ejs.525.1637689461995; Tue, 23 Nov 2021 09:44:21 -0800 (PST) MIME-Version: 1.0 References: <20211013172042.10884-1-semen.protsenko@linaro.org> In-Reply-To: From: Michael Turquette Date: Tue, 23 Nov 2021 11:43:55 -0600 Message-ID: Subject: Re: [PATCH v6] clk: Add write operation for clk_parent debugfs node To: Sam Protsenko Cc: Stephen Boyd , Russell King , Chanwoo Choi , Sylwester Nawrocki , Krzysztof Kozlowski , Mike Tipton , Andy Shevchenko , Andy Shevchenko , Geert Uytterhoeven , linux-clk , linux-kernel , Fabio Estevam Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 22, 2021 at 10:03 AM Sam Protsenko wrote: > > On Tue, 19 Oct 2021 at 16:32, Sam Protsenko wrote: > > > > On Wed, 13 Oct 2021 at 21:04, Fabio Estevam wrote: > > > > > > Hi Sam, > > > > > > On Wed, Oct 13, 2021 at 2:20 PM Sam Protsenko > > > wrote: > > > > > > > > Useful for testing mux clocks. One can write the index of the parent to > > > > be set into clk_parent node, starting from 0. Example > > > > > > > > # cd /sys/kernel/debug/clk/mout_peri_bus > > > > # cat clk_possible_parents > > > > dout_shared0_div4 dout_shared1_div4 > > > > # cat clk_parent > > > > dout_shared0_div4 > > > > # echo 1 > clk_parent > > > > # cat clk_parent > > > > dout_shared1_div4 > > > > > > > > CLOCK_ALLOW_WRITE_DEBUGFS has to be defined in drivers/clk/clk.c in > > > > order to use this feature. > > > > > > > > Signed-off-by: Sam Protsenko > > > > Reviewed-by: Andy Shevchenko > > > > Reviewed-by: Geert Uytterhoeven > > > > > > This is useful, thanks: > > > > > > Reviewed-by: Fabio Estevam > > > > Hi Michael, Stephen, > > > > If there are no outstanding comments, can you please take this one? > > > > Bump. Looks good to me. Acked-by: Michael Turquette Stephen, can you take it into your tree? Best, Mike > > > Thanks! -- Michael Turquette CEO - Los Angeles, CA http://baylibre.com/