Received: by 10.223.185.116 with SMTP id b49csp3889785wrg; Mon, 19 Feb 2018 07:39:17 -0800 (PST) X-Google-Smtp-Source: AH8x227/yZIvYFk5Q4k72GsTGLcNDkGdp3UhBjyMIUsxxm/3giKHCbkvTbvimFyo38Azopcgab3K X-Received: by 10.98.72.10 with SMTP id v10mr15090901pfa.128.1519054757369; Mon, 19 Feb 2018 07:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519054757; cv=none; d=google.com; s=arc-20160816; b=JqQtm5EtfDHE0TajAR4QwucQKUy+8mL5DGsUbADfL5KMYB5RFv1nrMWSeRNkKz+1MJ aa/B0/Acrs0Ajjeq3HwO2zmbVFHSTK/m1FEBeVOGtsVIotMvU9hzgaCPCL7c80fpV8kf i80PWIwXK9vEz0mH3KTtqultyzWHce8tM39e6YDlqIO28jrGpkd9WT2YEdse2iBZaBGH Xkns4AgrnadkX5961s53BBxegrgUG6x5ixBI35TCrzL2ah0OPV9v3uowVky9F8GHPWnT PA7SYxX+PUFYYFOqyMhUwRu2aIK3cuyHUR3/VP8XXxcCt0lqR2XEcTfDGr8dKVSyUfmE ix3A== 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=duTxt4ppHlAUW2beuaF4x3I11tifGXvxPfYRsxKY5Nk=; b=fFoM90Gdk8/BZSzdb1Ujqm6jCBWCUlkZfW8PtO47BJJLn8C2ZTT1+P+6aXF+x9DUe0 y26U1DfdKMi/7TgGhFYG49ltYg84Vv9XKIsyGBpbYmtd48qzL4H+5JdFGC6ODQfLCTf8 mcF8hGW5OCajhubY4+kT/2GOMK7NFEbYnfktRStiAkjVurdo58xskdBvDj5kADs6Gll+ eXQXBW2haPr/+PmLKCI8L3W81CnY5+/1nkMOATTtqJjIrk5aHtuHL3NYBWilkd01ltxR BF27TZF7/LQut/WiJVTYg4MmAAib8m2aSfxifzRt6rOa9kqn4HIF4xt2S662O5LPJXuN bMbQ== 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 x10si3515035pfj.54.2018.02.19.07.39.02; Mon, 19 Feb 2018 07:39:17 -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 S1753135AbeBSPhB (ORCPT + 99 others); Mon, 19 Feb 2018 10:37:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:56308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753086AbeBSPhA (ORCPT ); Mon, 19 Feb 2018 10:37:00 -0500 Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) (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 7066F2178E; Mon, 19 Feb 2018 15:36:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7066F2178E 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-qt0-f172.google.com with SMTP id d14so12713719qtg.1; Mon, 19 Feb 2018 07:36:59 -0800 (PST) X-Gm-Message-State: APf1xPAICOW4HPj1I9minTbTaCY+MInkYES/z0ykfuomtLrxmR4QCuoj n9Q7rTeOHEcFTp1eF4trgtBfKSBlxzBz1V8Oyw== X-Received: by 10.200.42.114 with SMTP id l47mr1643137qtl.164.1519054618642; Mon, 19 Feb 2018 07:36:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.245.67 with HTTP; Mon, 19 Feb 2018 07:36:38 -0800 (PST) In-Reply-To: <49fc21ac-4630-b90c-04fb-31740354b35b@kapsi.fi> References: <1517901757-15353-1-git-send-email-mperttunen@nvidia.com> <1517901757-15353-7-git-send-email-mperttunen@nvidia.com> <20180209225402.uexw7vlzwflo7zmr@rob-hp-laptop> <49fc21ac-4630-b90c-04fb-31740354b35b@kapsi.fi> From: Rob Herring Date: Mon, 19 Feb 2018 09:36:38 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 6/7] arm64: tegra: Add Tegra194 chip device tree To: Mikko Perttunen Cc: Mikko Perttunen , Thierry Reding , Jon Hunter , Mark Rutland , talho@nvidia.com, linux-tegra@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.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, Feb 14, 2018 at 5:56 AM, Mikko Perttunen wrote: > On 10.02.2018 00:54, Rob Herring wrote: >> >> On Tue, Feb 06, 2018 at 09:22:36AM +0200, Mikko Perttunen wrote: >>> >>> ... >>> index 000000000000..dcc6eea52684 >>> --- /dev/null >>> +++ b/include/dt-bindings/clock/tegra194-clock.h >>> + */ >>> + >>> +#ifndef __ABI_MACH_T194_CLOCK_H >>> +#define __ABI_MACH_T194_CLOCK_H >>> + >>> +/** @file */ >>> + >>> +/** @brief output of mux controlled by TEGRA194_CLK_SOC_ACTMON */ >>> +#define TEGRA194_CLK_ACTMON 1 >>> +/** @brief output of gate CLK_ENB_ADSP */ >> >> >> These comments don't add much and make readability horrible. > > > The comments allow mapping each define to the clocks defined in the chip > technical reference manual. If that's not obvious from the define name, then fix the define name. Looks like in most cases it is. > The file also comes as is from the firmware team > so I'd prefer to keep changes to a minimum. I can appreciate that and perhaps if this was something imported at some frequency then it would be worthwhile to maintain formatting. But this is an ABI and defined by the hardware (as opposed to BPMP firmware) so it generally shouldn't ever change. And bindings should be complete, so if you plan periodic additions to it, that's a separate problem. > We have done this previously > with the BPMP ABI and device tree binding headers for the Tegra186. Generally, we don't accept doxygen comments in the kernel tree. There's only a handful of cases that seem to have sneaked in. Rob