Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2240206yba; Fri, 19 Apr 2019 15:16:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQTJwJgxB8o5oUUJVoHyBfNA8RaaIFI2kejDJTdlNiu3Nv7VggN1ZGzXEnfgvvoZKSeS5u X-Received: by 2002:a63:5d4f:: with SMTP id o15mr6222180pgm.443.1555712175407; Fri, 19 Apr 2019 15:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555712175; cv=none; d=google.com; s=arc-20160816; b=Wptc/NuiIzxL/NLudVsuhkaR9GiPL4es9gbdN5Y0n/3UapqXtu6z7tflX/8X9RTdBm eq8pYQWIC36wwLKGua+ARNviHJbSLV9m5BfnwuSxk/o00ub/fCY2hXzWvt+r9JpLfOz6 IMU1g7MXSFxSKjdGKMhnQcIRg656jGBgL0HU2C88J1ikJXKWXlFrdgLGJXKoGO2cGt3p kasE9ae4WXULxJfyk7TZfIzg9PSjcEHhEeqBSek0zCos/wDvtXYOO78R0TY5A5M2oHza HLVFPmA6SY8w90WBv2b0yHhaVHuMinXW+zF7gKnEaU/zmbPsDpe01U/JCgoTd0RIlE33 OYgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:message-id:to:subject :from:cc:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=+8a0vu7tBDyFO1+w5wX00D2H23CwoNmd50qBZt4K3js=; b=mIBrcbCSPhsw1OkQCaT18pSQnH2shwT31VMA11PrDw08fnCkeBGTj+yfKsPiSPRNhi LfbrREtiaXp/XyOod9wyPeDX/gSjFw86qIokrOdga04rz1BqG/ogDEMb6BBDrwH46eQc 21HpkauLnMyOtCvVof1SgWv9w9H2xjmWstlzZ/HuvKcPoNdIjg2uYS/0HAj1kyjAJ7y2 A43aIph0SDn0bsoM0Zw85kACJ0ou3D/ZHtv+iNA2fhYfxb0xg2DHq4ShU6VTNOxcSjFF SNN7eoT2KPUE9kHWZYQSWc9lmjPIR1z3TuPnOERbpGgRiYtwMAhBMR18/d2vFi6bVKBE vx/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sIPZi6ez; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id p66si6924532pfp.228.2019.04.19.15.15.59; Fri, 19 Apr 2019 15:16:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sIPZi6ez; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727755AbfDSWNJ (ORCPT + 99 others); Fri, 19 Apr 2019 18:13:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:45460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbfDSWNJ (ORCPT ); Fri, 19 Apr 2019 18:13:09 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DD9D21736; Fri, 19 Apr 2019 22:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555711988; bh=+8a0vu7tBDyFO1+w5wX00D2H23CwoNmd50qBZt4K3js=; h=In-Reply-To:References:Cc:From:Subject:To:Date:From; b=sIPZi6ezwnCxmwWGrL42h3cWCo92kPgaNRS9XD4tRDPUeSMe5rxzHglnf8EY6wqA9 U4mbzHGQIGEz3zBkSXuJRCxIJ1UB2FDmjRy6/FYKGYqwEIUgUBqDYMYKDXhZdPtqFj 6g1zOwI7XTBRgmNFVfG0KTrnrlsR3zgqvy+PujTI= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190412183150.102131-9-sboyd@kernel.org> References: <20190412183150.102131-1-sboyd@kernel.org> <20190412183150.102131-9-sboyd@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Miquel Raynal , Jerome Brunet , Russell King , Jeffrey Hugo , Chen-Yu Tsai From: Stephen Boyd Subject: Re: [PATCH v4 8/9] clk: Allow parents to be specified via clkspec index To: Michael Turquette , Stephen Boyd Message-ID: <155571198753.15276.9424090005111204689@swboyd.mtv.corp.google.com> User-Agent: alot/0.8 Date: Fri, 19 Apr 2019 15:13:07 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2019-04-12 11:31:49) > Some clk providers are simple DT nodes that only have a 'clocks' > property without having an associated 'clock-names' property. In these > cases, we want to let these clk providers point to their parent clks > without having to dereference the 'clocks' property at probe time to > figure out the parent's globally unique clk name. Let's add an 'index' > property to the parent_data structure so that clk providers can indicate > that their parent is a particular index in the 'clocks' DT property. >=20 > Cc: Miquel Raynal > Cc: Jerome Brunet > Cc: Russell King > Cc: Michael Turquette > Cc: Jeffrey Hugo > Cc: Chen-Yu Tsai > Signed-off-by: Stephen Boyd > --- Applied to clk-next