Received: by 10.223.185.116 with SMTP id b49csp5723855wrg; Wed, 7 Mar 2018 17:22:00 -0800 (PST) X-Google-Smtp-Source: AG47ELvjHEYOiiQatHHZWv22XlLWWiFG5sMl2irdwSjhhE43M1KFYxridPIonjNS6YGXEKIZ2Oy8 X-Received: by 2002:a17:902:76c2:: with SMTP id j2-v6mr13615281plt.250.1520472120567; Wed, 07 Mar 2018 17:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520472120; cv=none; d=google.com; s=arc-20160816; b=tt8qMzjyG3TjL/r5mC27J2DgiS1u+nakFLjau1UTi7aH15ldTiDrq97tOwgfsT5t15 1JJXrYvqz8qHToaRtDRc5baOMBrTTWRJX9IxnBq9bbtH3nen0yA30Lyuy6H7vyXSKHS7 Om8QZIZQ7+tuzuMx1KcH5uwYl1//feGJaX4GZTyEVR4LOVG5+yrMRx7GZmMqz2ay3BW+ zkHcrRJDYYhuqK3X2WYQw9ZLM+LLWgSZ1tAGXeQk3+/TQX06QcZRBPROpZqwz82c+909 v/H6qoV7h9aY6gEombxQ0gBLx9MNq295LBS1c0y4HWLPy46aJtc0oJHvECDevjG4LLf1 ryEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=7ERRgoYsqX52ivH2iTuAO5jQp/rsnhSei1TX7LdcPGQ=; b=rgTI3QqhMN35E2vGsAssdXs+LPd8Mus7IRDC48chiN4HNl6EQ5wf91a9BEGvsfxLPG RQ+QPA+VDbbpdrcnZSi1Nl7m8U5a1PZMcRJHNjwZqoILpyfHgjSpMcH17iHGx5l7DdRb +kpRiQ5WmbpsBC1xZpHO2T8tUNCq/3NMzei1qjpUmCbqeif0jbS28LsK/PZZOd07TewP yKAgGm+6b7OpQ+ZlgXC30ZAVtebvURq2FCSJQoS3QhsruhgNv4AHyb02VpO6lAFOOQtf dKdyKHTaVdyWMxmt/6yxWRey7QmvZu6rk2T3xBbq9tcrUB4wkpgEx7L1Y4KF9k3Pipzq rjzA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z21si15077050pfa.33.2018.03.07.17.21.45; Wed, 07 Mar 2018 17:22:00 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755160AbeCHBUZ (ORCPT + 99 others); Wed, 7 Mar 2018 20:20:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:58354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754875AbeCHBUX (ORCPT ); Wed, 7 Mar 2018 20:20:23 -0500 Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4AF172178B; Thu, 8 Mar 2018 01:20:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4AF172178B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org Received: by mail-qk0-f170.google.com with SMTP id l206so5053185qke.1; Wed, 07 Mar 2018 17:20:22 -0800 (PST) X-Gm-Message-State: AElRT7GzMSIufg0R4gnr4XfCQrLj933UJ0fJ8x/OuPh2Kl2EXUUjXzvf dYdzfVb1aK40BtkdX44p8QZmndR82EugP2DRCA== X-Received: by 10.55.131.7 with SMTP id f7mr37359781qkd.348.1520472021363; Wed, 07 Mar 2018 17:20:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.178.131 with HTTP; Wed, 7 Mar 2018 17:20:00 -0800 (PST) In-Reply-To: References: <1519856861-31384-1-git-send-email-jollys@xilinx.com> <1519856861-31384-3-git-send-email-jollys@xilinx.com> <20180306014549.6t3ae5adzc3cpi5v@rob-hp-laptop> From: Rob Herring Date: Wed, 7 Mar 2018 19:20:00 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] dt-bindings: clock: Add bindings for ZynqMP clock driver To: Jolly Shah Cc: "mturquette@baylibre.com" , "sboyd@codeaurora.org" , "michal.simek@xilinx.com" , "mark.rutland@arm.com" , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , Shubhrajyoti Datta , "linux-kernel@vger.kernel.org" , Rajan Vaja , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 7, 2018 at 4:47 PM, Jolly Shah wrote: > Hi Rob, > > >> -----Original Message----- >> From: Rob Herring [mailto:robh@kernel.org] >> Sent: Monday, March 05, 2018 5:46 PM >> To: Jolly Shah >> Cc: mturquette@baylibre.com; sboyd@codeaurora.org; >> michal.simek@xilinx.com; mark.rutland@arm.com; linux-clk@vger.kernel.org; >> devicetree@vger.kernel.org; Shubhrajyoti Datta ; linux- >> kernel@vger.kernel.org; Jolly Shah ; Rajan Vaja >> ; linux-arm-kernel@lists.infradead.org >> Subject: Re: [PATCH 2/3] dt-bindings: clock: Add bindings for ZynqMP clock >> driver >> >> On Wed, Feb 28, 2018 at 02:27:40PM -0800, Jolly Shah wrote: >> > Add documentation to describe Xilinx ZynqMP clock driver bindings. >> > >> > Signed-off-by: Jolly Shah >> > Signed-off-by: Rajan Vaja >> > Signed-off-by: Shubhrajyoti Datta >> > --- >> > +95 dpll_post_src >> > +96 vpll_int >> > +97 vpll_pre_src >> > +98 vpll_half >> > +99 vpll_int_mux >> > +100 vpll_post_src >> > +101 can0_mio >> > +102 can1_mio >> > + >> > +Example: >> > + >> > +clk: clk { >> > + #clock-cells = <1>; >> > + compatible = "xlnx,zynqmp-clk"; >> >> How do you control the clocks? > > Clocks are controlled by a dedicated platform management controller. Above clock ids are used to identify clocks between master and PMU. What is the interface to the "platform management controller"? Because you have no registers, I'm guessing a firmware interface? If so, then just define the firmware node as a clock provider. Rob