Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1675724pxb; Thu, 7 Oct 2021 12:38:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsS6BKCWYpZTPZMKjhBquORkfcGY4DiYYqP05HiRz76nez07wOp5IxQ7PzsJ6u2YQ6IHHF X-Received: by 2002:a17:902:b583:b0:13d:e495:187a with SMTP id a3-20020a170902b58300b0013de495187amr5473449pls.9.1633635520436; Thu, 07 Oct 2021 12:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633635520; cv=none; d=google.com; s=arc-20160816; b=RCe+s4CnJ5gpBGEGFO3lEwzOOh0N0x73tvEZLONvidi02ZDAKWBjLufL6KDG8OpDt/ nC5RNcXYk/jf/3ifPk0CKDd1QOXkDgK7yeoWi8EYCslPIUZbDXnsqBCkxB6tGPS0mzX3 DYIZAVT5P7x9uBvM8eqLKIIvxpuNpugeU5TGLW18vICltDskJZQci/O4KrVCLCbVVI1k S77UWn/cLwOmER8vBW4xNeCtc6P8CKNIeKRc9Xu9CbZINLEc97+T0QJlGTP4NVQ+j1/G HZ6qHRWfovVznnwYN1k4ySStB0ZIUFo/Hnl0eZhQQd32yWOknz8xhKKYaFba0hq1Dg6x 3FsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kUGVALwRFhn7djzeqRAdJzo6PRnh+KyG51uBsyXq45A=; b=TyDq3IsNqBBgy5+FBtsPHTnmLiehL14UI7R1nm6UzH3z08ZcI9wmdIphIGbjTDA/kL nWo3hUKT9y1kZuD9kJOmZnFz9f1qC//lV/GL+x4IdTRsJSnjrVKs3eZpbUdSgULd7Kt/ omzgW/gsdeTSvvfmEl3392yVjIPRvlC/S2tzk0UJLsg3ew7gzhkXFtJyIO0bkPtbDtdp vPOYmLoNi5W+XHcvdtFFfSE0CUalKFL2iJXZONJrMPFOcXAJPpmOHPs59kdzmaNA69qz YVblAaM5qSc5InLxrx8ug8lqgCm/eOnCxtPVWUion8V9crstp383DmFl27XzgQTPjbSV 7uaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jaqZE5e8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q85si8040155pfc.232.2021.10.07.12.38.27; Thu, 07 Oct 2021 12:38:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jaqZE5e8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242008AbhJGOTT (ORCPT + 99 others); Thu, 7 Oct 2021 10:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241774AbhJGOTS (ORCPT ); Thu, 7 Oct 2021 10:19:18 -0400 Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB533C061570; Thu, 7 Oct 2021 07:17:24 -0700 (PDT) Received: by mail-vs1-xe34.google.com with SMTP id l22so4481703vsq.9; Thu, 07 Oct 2021 07:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kUGVALwRFhn7djzeqRAdJzo6PRnh+KyG51uBsyXq45A=; b=jaqZE5e8m5DWhlR6wa0Cu5GO/KwD5ezq5Wetl77u6k/WSOF+OIFZtB5X06sEoc/eBU 8jklJ6331LWgdBOdJ6ihpU9/FMM2ZIpG2j/sWpwks0Wn/IECHVu5gG7X16EzoLjOm7w3 N+o5falri+AAh5u6BgfRcJZ0YB1LosYX06v+s1AxINyXGelKYk5oq0dEKjbR7oPe0n+2 92p0oBQfgaE5sxepI3+b44MvB3eWWdaOiZZRW56ZP8FeJvqmkGkwO1BWZHHbbXESmD8Y /0KUaIecdq094kwDftzR3TakbNORF3+uj2teSr3f1VisoLVcnNbCqUofoFmwFRPPBxdA gi3w== 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=kUGVALwRFhn7djzeqRAdJzo6PRnh+KyG51uBsyXq45A=; b=F5REJmo58NLyuEhGEpL5HRjaFR+qFw38Xw4w9nXUNSjaDBCG3NfigYL0Nn8WsGUT/4 SYGbuc1byec8+LwDuyBSrY4zqocz42bXA2tOnRRbOwFg2/aqJYeR0HH2Khkz+aHqK3nz 7WMyxn/Jq5zbacJ9M8oMw4MDtfPgrx7mwefifd3UHa45NEZFzn6Mfi5NToEkRzsrCHUj 0cCnP9eWXiHhrfaWIr5wNpHUke0R9Bt9+hsHX0crmIuWhVyxxIp3cnH4xqQM8vfoa1n/ 3hRLoaUN7yAXLK3tisrGgtcYE4aT6Bl7P3qh1Nf56/e/flo/z4gpTptYBGjDoSJBuiqg 97JQ== X-Gm-Message-State: AOAM532HNH/Bc5Ppmn83sk0pNEQF4qetsAh7R+zTHB3Nz/kmfZiPBAqq RK9hLZWZGSIbI1MX4g4+83pCFwX3Xg0m8teTeWg= X-Received: by 2002:a05:6102:3e84:: with SMTP id m4mr2588359vsv.51.1633616244112; Thu, 07 Oct 2021 07:17:24 -0700 (PDT) MIME-Version: 1.0 References: <20211007135635.2717-1-semen.protsenko@linaro.org> In-Reply-To: <20211007135635.2717-1-semen.protsenko@linaro.org> From: Fabio Estevam Date: Thu, 7 Oct 2021 11:17:13 -0300 Message-ID: Subject: Re: [PATCH v3] clk: Add clk_set_parent debugfs node To: Sam Protsenko Cc: Michael Turquette , Stephen Boyd , Russell King , Chanwoo Choi , Sylwester Nawrocki , Krzysztof Kozlowski , Mike Tipton , Andy Shevchenko , Andy Shevchenko , Geert Uytterhoeven , linux-clk , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, On Thu, Oct 7, 2021 at 10:57 AM Sam Protsenko wrote: > > Useful for testing mux clocks. One can write the index of the parent to > set into clk_parent node, starting from 0. Example > > # cd /sys/kernel/debug/clk/mout_peri_bus > # cat clk_possible_parrents s/clk_possible_parrents/clk_possible_parents