Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1827812pxb; Wed, 10 Feb 2021 18:57:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJymiM643zlzWB4kv5LwBmgqYny7rlV5CjkA9WAzxOqDKgL8PncRHhlvIzvAmglXM4D9CgY9 X-Received: by 2002:a17:906:b890:: with SMTP id hb16mr5863173ejb.420.1613012276605; Wed, 10 Feb 2021 18:57:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613012276; cv=none; d=google.com; s=arc-20160816; b=o3SbhujSfjyuEPiYm4UAlDNG3+1IdB6MKAunW9enhibRUgNEcmKEIkNNpHIP5gzTOk ZiMwqhj+wuXl/v2Av+bNS7vLvTM7tefct/8TTNBI/n9oeCGtW21FL1D8SKLR26MPrpZg k/YgMmwXJiDPljkG4C+yni8h5dSdg8AlAGrVNY7U4/zWdYu3PI5vqVBSPN4SWQZE7pLZ GQZqHI+h2x/fLKd5F8EsuXJYGVa9pHNkaF3j3E69XRoYO1AXQy4IyVRJAmo9DTQibiTS nu3bNcGJCkLU8AYgm6C6pEU890dFPshYS0Ml/uUieHos9j8rxMNGMbEUsLbFqBMLOtJT h/aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=/IWRxwCmtIxZBUuHS0+t/oVWw89lAGEyoFWFw7vLZNU=; b=apPQWmeFKRS6Vsn7aTWkzocULd8y2bJ2mGHsTtU5iI+gc/hEW1MrPdbQE5UTgeSaac EzRxGmrfpbVC19LMmj3cmwfpMM8ssz3rO27NSYRVxXxE+8b3Wic9mOCiJvQR1oOuBYS0 6LzWzgdfZ7QFTCanM/svw/VmWjXxu0RCRbKu57kFmhr4ka6nClBRExeMNzW6Svye1WRo N6DA/lWuJ/n/rNJs9j9UM1kkx8h3t+8wM6YAy3Zg9rZRW5+VwgmFkTwl+dO33bD8Y+m5 pMPV2BP6plzbfwLNgdvo/K0ka8dJQQfAnBylkGVHYfyXVXmXWIrdxbNF/vDCf6MBprGE hi7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hp2BHKSi; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si2926167edi.139.2021.02.10.18.57.30; Wed, 10 Feb 2021 18:57:56 -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=@kernel.org header.s=k20201202 header.b=hp2BHKSi; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbhBKC4n (ORCPT + 99 others); Wed, 10 Feb 2021 21:56:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:57018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbhBKC4l (ORCPT ); Wed, 10 Feb 2021 21:56:41 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2C5C264DBA; Thu, 11 Feb 2021 02:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613012161; bh=/IWRxwCmtIxZBUuHS0+t/oVWw89lAGEyoFWFw7vLZNU=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=hp2BHKSigiWBJ4auAFAQ6iKu1WtfeLill9ls1jFg3GuePoSNk9+5tMCIBLdX7k7YG 8fVxmka87bPLRL9+X6MP7N6SjEsYF9h2f8L0ui5MQYMkd6M2xYjQk6opDgHsrliKOn 6JnUmL0g0a8mAdcZdwN13JApKWhjZI/Y6rGQ+Dh584ZQBV2dOqWCPRrDt6/Ep28e+7 CvCNINsSdusnRB61L2Vd1AwbYLWVFiBKy3kjE3uBtATeoiOjQxTb5jWm+2u/2Ge5+s iSetek+wSgfHrYX8SfBMWQfIi6Pz1wbVWiMT0pQhJHgMJT0lJwsKo86VNyEcxdtdtf /qrJrlnE7KCAA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: 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> <161292417080.418021.13416197091150418216@swboyd.mtv.corp.google.com> Subject: Re: [PATCH 2/6] dt-bindings: clk: mstar msc313 mpll binding description From: Stephen Boyd Cc: DTML , linux-clk@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List , Willy Tarreau To: Daniel Palmer Date: Wed, 10 Feb 2021 18:55:59 -0800 Message-ID: <161301215989.1254594.8224717086717364802@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Daniel Palmer (2021-02-10 18:28:40) > Hi Stephen, >=20 > On Wed, 10 Feb 2021 at 11:29, Stephen Boyd wrote: > > The child clks should be using clk_parent_data to point to the parent > > clks through DT. That way the name of the clk doesn't matter except for > > debug purposes. >=20 > I think I get it now. I was using of_clk_parent_fill() to get the > parent clocks sourced > from the mpll but I seems like I should be filling out an array of > struct clk_parent_data > with the indices of the parents and using > clk_register_composite_pdata() etc instead. >=20 Yes that's the idea. Thanks!