Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3469127imm; Fri, 19 Oct 2018 11:05:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV63A5henzHZA9HJck9zS/B0d+s82lsRkv2eSVKjtPwhB+wDIesZpttl67og45BeI43lFaF2r X-Received: by 2002:a62:1f03:: with SMTP id f3-v6mr35593021pff.168.1539972311536; Fri, 19 Oct 2018 11:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539972311; cv=none; d=google.com; s=arc-20160816; b=JaZhHh/H7CMj95NZyTq3RxuyoJxRDWyl0HKgkSc9PCsxhDwHpqFVDrSN5wWeFSl3WR aCTqyvSPqAQeE8+2K9MYhubdeNDeVx40pG238GbmG7XvsnLpn2C4F1RMZ5QwWQkE1UOd LSMW8XMuOEsf81rqy/gp+PE1Xj0hZ4NQpnkrSUctlre6sw4pVumWerQLJhBx4Q0y35mQ aGnQ4TUmhqnwu4yCOGNXykSBV5pL068fSCmidhVITwYFk0djPnZYHz875swxyJUvc1oJ 8CJHKg+GX35sP90jMqptIJbpXROvqprg0cKcH3o+VqVjWVhcAT7widVw9YYvooAxVQPL VUhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=4SFfv1RPql9fk3YaKYtWAsS6EnngBAazTWBxS8lKncU=; b=aPm0TuUByin/curSd6Qacfj/I0n/3vIpLt2vV90IWdOaFDQfHpbEa18yf+DI4Qf10g 1jRnCkMsXAODosOaiTsTJ4euSSivsglciZotPNJtD0vPd4qYkPk+mUlMw1b2ifNKzdbd YE5cYXpdLG/AgqbcN3++A9GX3hmjoO8e9VYqG46JXAQpE+8lTWZW8KX0XkzVS3Z7Tcjg L/DUBjROgCw9eWsxNDH3JZXz7YKqbQ6VblWmaJs9Xr9QipCPotDua0YHsPz4pH+Bz+c1 m+LHzkwXMxsQD02KJY61VQkNfHYyTAC9K8DNuNCO+DOADtHhyb6VOCgO8JUOxDp3h5Os R8+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="G/6quLI1"; 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 r13-v6si24167339pfb.43.2018.10.19.11.04.55; Fri, 19 Oct 2018 11:05:11 -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="G/6quLI1"; 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 S1727613AbeJTCLR (ORCPT + 99 others); Fri, 19 Oct 2018 22:11:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:43592 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727050AbeJTCLQ (ORCPT ); Fri, 19 Oct 2018 22:11:16 -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 25BB421470; Fri, 19 Oct 2018 18:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539972248; bh=l+48uxuwMCp7aRsfH+1ouqo/EKevGKWiDgWwWjFUyQs=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=G/6quLI11VAdoY6U1q62BFJM1SRRDiLucuJraWbh95MdyrmYwdLbSmly4rkLnnw+D uX+QD9yckHwORS7SpOI38/j9v5RT4FncaxOjlkW+IxPhZm2Y+FNrCMpMcert2pAO3H gKdTgpc/2ygdBCW59vEIgqDl49Jj5+Z6z7+y43Ek= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Jerome Brunet , Jianxin Pan , Neil Armstrong From: Stephen Boyd In-Reply-To: Cc: Yixun Lan , Kevin Hilman , Carlo Caione , Michael Turquette , Rob Herring , Miquel Raynal , Boris Brezillon , Martin Blumenstingl , Liang Yang , Jian Hu , Qiufang Dai , Hanjie Lin , Victor Wan , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1539839245-13793-1-git-send-email-jianxin.pan@amlogic.com> <1539839245-13793-3-git-send-email-jianxin.pan@amlogic.com> <153988248599.5275.8444799485095155762@swboyd.mtv.corp.google.com> Message-ID: <153997224756.53599.3138050846693192599@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v5 2/3] clk: meson: add DT documentation for emmc clock controller Date: Fri, 19 Oct 2018 11:04:07 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jianxin Pan (2018-10-19 08:50:08) > On 2018/10/19 1:08, Stephen Boyd wrote: > > Quoting Jianxin Pan (2018-10-17 22:07:24) > >> diff --git a/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.= txt b/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt > >> new file mode 100644 > >> index 0000000..9e6d343 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt > >> @@ -0,0 +1,31 @@ > >> +* Amlogic MMC Sub Clock Controller Driver > >> + > >> +The Amlogic MMC clock controller generates and supplies clock to supp= ort > >> +MMC and NAND controller > >> + > >> +Required Properties: > >> + > >> +- compatible: should be: > >> + "amlogic,gx-mmc-clkc" > >> + "amlogic,axg-mmc-clkc" > >> + > >> +- #clock-cells: should be 1. > >> +- clocks: phandles to clocks corresponding to the clock-names property > >> +- clock-names: list of parent clock names > >> + - "clkin0", "clkin1" > >> + > >> +Parent node should have the following properties : > > = > > The example only has one node. Can you add two nodes? > OK. This clock is used by nand and emmc. I will add a new example for emm= c too. > Thank you for your review. Maybe I misunderstand. I thought the clk controller was two nodes, but it isn't? This wording is trying to explain what a consumer should look like?