Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3987549pxu; Mon, 21 Dec 2020 00:54:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkNGTa9dmJhMKCyHDc9qS4ekagI6fhQzs7y8ryA6SlQEUM1PWCrW1TF+3PUq7A7St+Wiaf X-Received: by 2002:a17:906:82ce:: with SMTP id a14mr14550771ejy.421.1608540879258; Mon, 21 Dec 2020 00:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608540879; cv=none; d=google.com; s=arc-20160816; b=NS94jcz0Qjme8d99XHYbPC8kCiIC/sshP5GmXrE1KZJymxc1i+I0I4v7LxrYE2HRrU zaajsvYF1Qhx0rFn6pY85WqjY8KV0rAhL4upTBgocfgDPp2TvgwXtM57nZwmj1B+t3db sqIDvk9ICNItEceWdRcb1MdSGX2GqDi95/thf0u3SA2kaNmue6eARDD5RThVtim1H4XF wnOR63l2ijqWWQ5biBv2m4s5aSQE++icIPvwXgsJGbNy480Effs67qcn8AZBsitSZw/n 0t2aDsz4beF18Z4eLQpQxSwGwN4v2NxYB5NeY5NnccZkOy5/lzxH5ktuLIOspsIBNoZ3 MbyA== 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=8qKCILQuPxtNGC0KokeuabRQiz8j0EzP8ss9vMtRJ/s=; b=KIluWU5nI8kmy2sG50oLMFN11ZVUhmeYpdHMu8GK3FN9O3uBMeRqpxoHLJEbDkbwG0 vgIJm67x+1/hpfnzoOxIuhp2d7y+R6o+umO8hWpNMD5OY4Av8gs1y3WvzgYN9YJ+ha9O 2yBscHi6/oeJcT2Y9TCPAAgQSE1U8BMj9/QoSus650/HGbURZWO9bo4zApWIPPnWzpmq QBIKNI0aS5BOoyt7ol0EWZMdYmhK051pN91TGA+uqPNkahG4Hm47/RxWiRg8apmJvvA+ MXLzTpV/vP/TASxvRNx3401JHvRCDWTt2gGZQf2Y0fg6O5Ejc6g27/YUecq2jX46jHEO O2zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=ljMnF4kX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo6si9961707edb.434.2020.12.21.00.54.10; Mon, 21 Dec 2020 00:54:39 -0800 (PST) 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=@0x0f.com header.s=google header.b=ljMnF4kX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728000AbgLUIws (ORCPT + 99 others); Mon, 21 Dec 2020 03:52:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbgLUIws (ORCPT ); Mon, 21 Dec 2020 03:52:48 -0500 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E46B0C0613D3 for ; Mon, 21 Dec 2020 00:52:07 -0800 (PST) Received: by mail-qv1-xf2e.google.com with SMTP id p12so4088206qvj.13 for ; Mon, 21 Dec 2020 00:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8qKCILQuPxtNGC0KokeuabRQiz8j0EzP8ss9vMtRJ/s=; b=ljMnF4kXTh+rlfgGGfOtBXETNoDO/OUEZZmp5uyi8291WY0rW5X2Oen/kUUr4FonP7 ntvV2pPq1HzUSUbnefJsOk2xnzK+yBNgXyau02As3Tk+bBbhxgXHgL9L13ZMSJxQe26+ u4fVxXjCyfDTO9isZhlZf9xDNsR4afKI+LqoA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8qKCILQuPxtNGC0KokeuabRQiz8j0EzP8ss9vMtRJ/s=; b=f4BRl/7yUIsHmbeJe/9g+WEabE53Pg5zLfrYWSiks7Gbs5GLm670E+Po3qHLE3VbJR uLLfl0824atnjOC6cRwDkYxIplN73fXgLuJbSftdue7wBYTKr/PIe39tIT9oVztMfsU7 b0iTZjuWnefnnFsFrwXHuo3cQlsXufUcWVYACEKYFUFhzOsrtTnNII7SXdR2q0klOpur mvpe6yv5VV144qUo97KTYRQRnIuz+kcwOKUXi8fpxI3XO2KnYYtcqdas+Lg/WJChNxFs KBIpY6s0xNNTvsBxOtViCVvQIvwvpWrLJ2hHpAOuygE2ZvWajsCMRigMfrU4rkv4e48v 11nQ== X-Gm-Message-State: AOAM5336ZHy4zmvgm9a5JUFTqcXpom1ElgrhxFv54soQ4iveCiUD/Tec 3B05PiAvT/IgZTqUSW1CSWA+OVPZYvrIhqM1K+o+JA== X-Received: by 2002:a05:6214:140d:: with SMTP id n13mr16093482qvx.45.1608540727170; Mon, 21 Dec 2020 00:52:07 -0800 (PST) MIME-Version: 1.0 References: <20201114135044.724385-1-daniel@0x0f.com> <20201114135044.724385-3-daniel@0x0f.com> <160843556037.1580929.13575770228476494246@swboyd.mtv.corp.google.com> <160848984935.1580929.936824086681978646@swboyd.mtv.corp.google.com> In-Reply-To: <160848984935.1580929.936824086681978646@swboyd.mtv.corp.google.com> From: Daniel Palmer Date: Mon, 21 Dec 2020 17:51:56 +0900 Message-ID: Subject: Re: [PATCH 2/6] dt-bindings: clk: mstar msc313 mpll binding description To: Stephen Boyd Cc: DTML , linux-clk@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List , Willy Tarreau Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Mon, 21 Dec 2020 at 03:44, Stephen Boyd wrote: > > Quoting Daniel Palmer (2020-12-19 22:35:41) > > Hi Stephen, > > > > On Sun, 20 Dec 2020 at 12:39, Stephen Boyd wrote: > > > > + clock-output-names: > > > > + minItems: 8 > > > > + maxItems: 8 > > > > + description: | > > > > + This should provide a name for the internal PLL clock and then > > > > + a name for each of the divided outputs. > > > > > > Is this necessary? > > > > I found without the names specified in the dt probing of muxes that > > depend on the outputs but appear earlier didn't work. > > Also this same PLL layout seems to be used in some other places so > > eventually I was thinking this driver would get used for those PLLs > > with different output names. > > Still seems like it could be auto-generated based on dev_name() + > number. At one point I had something similar to that where the output names were generated at probe. Without the clock outputs listed in the device tree clock muxes that source clocks from the mpll couldn't probe properly as they couldn't look up all of their parents if they probed before the mpll. Maybe I'm doing something wrong there? I couldn't find a way to always resolve all of the parents or defer the probe of the muxes until the mpll clocks are registered. Cheers, Daniel