Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8630891imu; Tue, 4 Dec 2018 11:26:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/WLD2iFhYI/TRIN60znOF+4mB5MXLJj/HUNSx2+X/zDcZo/g1F1TSvzRikt9T5JrJ31y3UG X-Received: by 2002:a62:5716:: with SMTP id l22mr21869612pfb.16.1543951615961; Tue, 04 Dec 2018 11:26:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543951615; cv=none; d=google.com; s=arc-20160816; b=c1SQpAkfkToCpp85/4ov+6if4qAaMObrtkqZ8LN2+4Fxq3k+OT+g6d82yyubgvl2UV Rs5WqD7nNY07WmjGWWt8bcFX7Nlk7nUzNrmnq8R2C1nzPHFIYM2vJuq5J/SaQciQmnA3 uH8xdJQA1rl8ALvsJudwx5Qdkkg2cJfEX+wN1bcRm2TTuG2pvZsyFesigcBw2VTUVPo2 V9JDDnGFP/tRNZnRT7L1bNrlb3daaBt5BRZR3ly+v6WPnZ70xKKl7pV02OhX/TQl7eGM Gf6sAYjsWeqBLfPcb7b6ZAafnBOqF+0qfplXf/MXHbGDm53XTJ9oKpMZdCXQed/+o2Nh 9MGQ== 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=qYCVGzw/ee3CcKqCeY7foMOVaAm2uUzzReZLPrcP4Ek=; b=dwKKF2TMvIHHxEIZBN6iNsTxVFVgqoXjgUu/h9oU3zQLBBEjEWQO5iEO0PGZXDb+K0 P57ENi+d9uPcafF6ASY2TWCdGbT60dxnglkLat3zmmLbTpnIEPRGpb5vcMvapZzIzKCh GhIkL0fBZwhaBM2TUcdE60hBfq9cyvHdEGkCizdGQQQll2FwKe9lBoFGRvipr1ibZKVj //CwnNT3ThesRcKNq8f8yeOebJQ6bWhz/p3tw7DAFfVB2t/bDWCdmX+5jkVLOnG/v/g5 gDPxOaE27L7Zg0RfuvqJiIKe1lb+5Sv+XG+f4tB0z5B/MX4sLDi7pQ0u81Ay5cfZsG4D VE6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ljWe3EFK; 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 a81si18216576pfj.195.2018.12.04.11.26.41; Tue, 04 Dec 2018 11:26:55 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ljWe3EFK; 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 S1726197AbeLDTZR (ORCPT + 99 others); Tue, 4 Dec 2018 14:25:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:37778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbeLDTZQ (ORCPT ); Tue, 4 Dec 2018 14:25:16 -0500 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 2977A206B7; Tue, 4 Dec 2018 19:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543951516; bh=p1VHy5qqvyLZJrku2O0wFxd6wj1gXaTCaZTYqP2k+N0=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=ljWe3EFKzcG8sKAeMSRUnjPCAd85/EvAEfD5kUYSYD99Ubx7Otv7nu+8skMQkzKJW 1PbhAfHR0wB2C0bQFD3tEdgVQbzY1yF61n43gjrA5X+iCJ+ClRfm2GopKYXBRyRB2j E0MqznTsrf9yQZ7UpFH09Z4NNnmp6mXc3WAfAzWo= 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: <1542284312-55418-1-git-send-email-jianxin.pan@amlogic.com> <1542284312-55418-3-git-send-email-jianxin.pan@amlogic.com> <154387713374.88331.16436869339024592009@swboyd.mtv.corp.google.com> Message-ID: <154395151564.88331.17622786431747155066@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v7 2/4] clk: meson: add DT documentation for emmc clock controller Date: Tue, 04 Dec 2018 11:25:15 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jianxin Pan (2018-12-03 18:39:34) > Hi Stephen, > = > On 2018/12/4 6:45, Stephen Boyd wrote: > > Quoting Jianxin Pan (2018-11-15 04:18:30) > >> diff --git a/include/dt-bindings/clock/amlogic,mmc-clkc.h b/include/dt= -bindings/clock/amlogic,mmc-clkc.h > >> new file mode 100644 > >> index 0000000..162b949 > >> --- /dev/null > >> +++ b/include/dt-bindings/clock/amlogic,mmc-clkc.h > >> @@ -0,0 +1,17 @@ > >> +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ > >> +/* > >> + * Meson MMC sub clock tree IDs > >> + * > >> + * Copyright (c) 2018 Amlogic, Inc. All rights reserved. > >> + * Author: Yixun Lan > >> + */ > >> + > >> +#ifndef __MMC_CLKC_H > >> +#define __MMC_CLKC_H > >> + > >> +#define CLKID_MMC_DIV 1 > > = > > Why does the define numbering start with 1 instead of 0? > > > The Clock ID 0 is used by CLKID_MMC_MUX. > CLKID_MMC_MUX is an internal clock which defined in drivers/clk/meson/mmc= -clkc.c, and it's the parent of CLKID_MMC_DIV. Ok, thanks.