Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp309154imm; Wed, 13 Jun 2018 00:19:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJcrHi5Rlfj9Xi4xbbXmrmienw2qKpmMHmpxjKfXRZD23NB2CZoGyzD9npFSPjojdi5hpvm X-Received: by 2002:a17:902:7c16:: with SMTP id x22-v6mr3826612pll.77.1528874356757; Wed, 13 Jun 2018 00:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528874356; cv=none; d=google.com; s=arc-20160816; b=IdoyYu4RpJuS0YlBOR8iuHmx0pFIW812m9gKigzAC53b6Jj8Qv+5YfL5XgaxYDJhiL OLSDIOTWMC3B8E5+PWnBFF5Vn2wB5BPpkabAz+pZxjsCsntGpGIPSu2OJaD0ZBf2e5qW qwmGEMNoROcQAgF3YqHabclAhRMkvgb+8t+JdTIdOtuP2empIakCgmsypz4vlcKgJ5kx WD5hBhesIyMi978f4qAMqe3YETkY0GztNWYLKXdmJ9Iu+NiJi4ZUWVOBZ6yd/5woekyS 7iCtIkbs7MCORcA0kUjTORJcKVuL6uf3zAHeuOMGSaeKH1R3JW1JqZq2CiSJTgGM3vl+ 7tLQ== 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 :in-reply-to:references:mime-version:arc-authentication-results; bh=7kiYH9DwiIFzBD3/Rt5861aLo9fia85zzfXULsZivXM=; b=frI4Fr071AcMrny1gdjmFaVnnPe9sw3OaLAL7b2ThGGzgzBPJp3CPwSiK1FfqArb6Z ojP3lNapzizOLWQYxUXC27jStt/FgxejfhzXIJxAnOexitZamaYDEHGP3wLmxwPNm6yD 8TJEhahTAFUNvcle0ozH9vnMYZqzleTLMz4/Yudt3SVhtqLMkn8dLAFg3oAjVDd8mHJ9 30Sx/Ol2F9cZMfJBBDn4pFXGENXujYW++pjGm/mq+S/lzfIbHlg8r09IeV7I1VBthj84 ZhFsbNTtyXeP5KmyACLnc/pdWxJ3ZEu/YzQ/dQUhCJFGoRG/oaqxUi5u+maFgvEYRaJg d6Cg== 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 n7-v6si1745785pgp.434.2018.06.13.00.19.02; Wed, 13 Jun 2018 00:19:16 -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; 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 S934480AbeFMHRj (ORCPT + 99 others); Wed, 13 Jun 2018 03:17:39 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:34878 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933999AbeFMHRh (ORCPT ); Wed, 13 Jun 2018 03:17:37 -0400 Received: by mail-ua0-f194.google.com with SMTP id s13-v6so1050469uad.2; Wed, 13 Jun 2018 00:17:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7kiYH9DwiIFzBD3/Rt5861aLo9fia85zzfXULsZivXM=; b=g2sECHrBs8FQiNdTzKpt5hSH0YxPLTRyWrfcbWZ0qU79BEtwOut5FCuqB9wQMFKx+r oaSTIDF4cZOCS+mkB9TVQ3hZepEZ/vI+kTolzjQaM0Wyxfy8RPX633EIc6ZaFS7GQbjr lMBYajd1MwsyO0MWPJ9yle3nfpD7Ohc5Cj3RbJlCCMBkFdYY4EC93nXWxNOzyaZ/OI2M no6xCbbjx/Ao+N2E2ctZCriSgCGd2LfWNpxbn/ZEc7uDO00OaPsAk3adSDDvkzsgTXSw G6mf1oVOi+d8vUiyhi8O/nULl+lpPKVQukDEcaITKHWflBp4f9fRPvYa8oM/rHU849H4 ekFg== X-Gm-Message-State: APt69E36MBVDd1KjCT/H1bq+swfrmAyY/C0z1eqT6IcVGaeEphnoWicJ lVzVSCKsPoE6poeIic37GhC9qCO7b2OowwZs2t8= X-Received: by 2002:ab0:5105:: with SMTP id e5-v6mr2679815uaa.33.1528874256573; Wed, 13 Jun 2018 00:17:36 -0700 (PDT) MIME-Version: 1.0 References: <1528187462-47093-1-git-send-email-michel.pollet@bp.renesas.com> <1528187462-47093-3-git-send-email-michel.pollet@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Wed, 13 Jun 2018 09:17:24 +0200 Message-ID: Subject: Re: [PATCH v8 2/5] dt-bindings: clock: renesas,r9a06g032-sysctrl: documentation To: Michel Pollet Cc: Linux-Renesas , Simon Horman , Phil Edworthy , Michel Pollet , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Geert Uytterhoeven , linux-clk , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List 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 Hi Michel, On Wed, Jun 13, 2018 at 8:38 AM Michel Pollet wrote: > On 11 June 2018 11:01, Geert wrote: > > On Tue, Jun 5, 2018 at 10:36 AM Michel Pollet > > wrote: > > > The Renesas R9A06G032 SYSCTRL node description. > > > > > > Signed-off-by: Michel Pollet > > > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/clock/renesas,r9a06g032- > > sysctr > > > +++ l.txt > > > @@ -0,0 +1,32 @@ > > > +* Renesas R9A06G032 SYSCTRL > > > + > > > +Required Properties: > > > + > > > + - compatible: Must be: > > > + - "renesas,r9a06g032-sysctrl" > > > + - reg: Base address and length of the SYSCTRL IO block. > > > + - #clock-cells: Must be 1 > > > > (repeating myself) No clocks/clock-names for the external clock inputs? > > > > "RZ/N1 has 3 clock sources, 1 reference clock inputs for RGMII, and 2 > > reference clock outputs for RMII/MII." > > Well, I'm trying to keep the binding as simple as possible, to dodge any > further discussion. Adding these will be possible later, I don't need them > for the moment anyway. Don't you? The external clock inputs are at the root of the clock tree, so I'd say you need them. Bolting them on later may become complicated, especially if you care about DTB backwards compatibility. The reset controller subsystem is optional anyway, and used only by a small number of drivers, so support for resets can definitely be postponed. > Did you have a chance to review the clock driver proper? I'm pondering > sending a v9 since it's been a week (with very minor changes) -- but I > don't want to interrupt if you were in the process of reviewing... I had a quick glance. Looks OK mostly, so it's definitely heading for the right direction! One remaining question: do you need CLK_OF_DECLARE()? Is there any reason your clock driver cannot be a platform driver, which is the recommended way? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds