Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2820641imu; Sun, 23 Dec 2018 08:31:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN68abLSwkF1tJagCnAdKLgF1TZArzAcG7TOriNTvzC6tkD1EFRGA1hPXYDssX2QHD8eZwBB X-Received: by 2002:a63:160d:: with SMTP id w13mr5361402pgl.43.1545582690832; Sun, 23 Dec 2018 08:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545582690; cv=none; d=google.com; s=arc-20160816; b=WKs7FRkKih4Y5I0mFJu965G39xZIyTomH061P5gEOYkOlAavDZuUZ8Pu43llSWkJ4x B9wW+2D25NpKpkLyQINixa7e87s4Ej8Dsl/qK4lsJVXWgm7jBl7mNgyaxQ1pq5GiyShe hRRhAxwO+Ek1hqbzrjWjTd7TjnjR2hMDBUxlCXSjyfkb9ZAEoWVweUGS4++9JC4G2TC/ arvOLeDzIAv/+79qc1ppUG+3CvyKLrZupGTiipVJMHBfAnGSflYtu/9FydG5LRDlU6fs zOF6ebj49TGjhRibFV6k8Grod0Fk17AAU3R3FxOrNBxXps/R9VV7rRsWCEvPzcLDEgBr pkUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:organization:references:in-reply-to:date:cc:to:from :message-id; bh=iC6/riVpS5o5cWUasaNZsG4T7P1BASgZB+cj4dBpxeM=; b=GfQkRmtMz1ceXgAEat2vojZMw2xFOk35aEw7XimwsIwCBibd77dp9pAeMjXh+VJjci hTEKMi6dWM+1zpQsSM57X21CMgsIUO/hxBtoRqi7rEPygnV+RZiYddmCiE/+cRUM9zw+ ErWG3H+njE3TS4Lnr4A1GlG/cPFiBLeNEL3d4Ac+o1vx2y9ZAZSWv9NyeIXXc5yLaB2H R9PegUbYnxvyJV5IqFsyzdcYTkngmIOestBro6eVUYW4GRgj2xLO6jFuymBJ6yC2SMqQ eEAjFbgVWVlIXMm6+FBk1wkln08nBvAjOua38NSG3DuNhyUloVlX7WjeLpwmk9yPTrNT DBlg== 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 v10si26394414plg.82.2018.12.23.08.31.15; Sun, 23 Dec 2018 08:31:30 -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 S2405012AbeLVU1H (ORCPT + 99 others); Sat, 22 Dec 2018 15:27:07 -0500 Received: from baldur.buserror.net ([165.227.176.147]:41358 "EHLO baldur.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404987AbeLVU04 (ORCPT ); Sat, 22 Dec 2018 15:26:56 -0500 Received: from [2601:449:8400:7293:12bf:48ff:fe84:c9a0] by baldur.buserror.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gaZ0s-0000VD-Fz; Fri, 21 Dec 2018 22:35:47 -0600 Message-ID: <5f83750ca7c146f7080444b85dc58f51cc0b3b35.camel@buserror.net> From: Scott Wood To: Andy Tang Cc: "mturquette@baylibre.com" , "sboyd@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "benh@kernel.crashing.org" , "paulus@samba.org" , "mpe@ellerman.id.au" , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" Date: Fri, 21 Dec 2018 22:35:45 -0600 In-Reply-To: References: <20181031065736.32719-1-andy.tang@nxp.com> <09ee2f91765add47e628e0ab03776d468cec0914.camel@buserror.net> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2601:449:8400:7293:12bf:48ff:fe84:c9a0 X-SA-Exim-Rcpt-To: andy.tang@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org X-SA-Exim-Mail-From: oss@buserror.net X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on baldur.localdomain X-Spam-Level: X-Spam-Status: No, score=-17.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -1.5 GREYLIST_ISWHITE The incoming server has been whitelisted for * this recipient and sender Subject: Re: [PATCH 1/2 v3] powerpc/fsl: Use new clockgen binding X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on baldur.buserror.net) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-12-12 at 01:57 +0000, Andy Tang wrote: > > -----Original Message----- > > From: Scott Wood > > Sent: 2018年11月26日 9:19 > > To: Andy Tang > > Cc: mturquette@baylibre.com; sboyd@kernel.org; robh+dt@kernel.org; > > mark.rutland@arm.com; benh@kernel.crashing.org; paulus@samba.org; > > mpe@ellerman.id.au; linux-clk@vger.kernel.org; > > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; > > linuxppc-dev@lists.ozlabs.org > > Subject: Re: [PATCH 1/2 v3] powerpc/fsl: Use new clockgen binding > > > > On Wed, 2018-10-31 at 14:57 +0800, Yuantian Tang wrote: > > > From: Scott Wood > > > > > > The driver retains compatibility with old device trees, but we don't > > > want the old nodes lying around to be copied, or used as a reference > > > (some of the mux options are incorrect), or even just being clutter. > > > > > > > > > +sysclk: sysclk { > > > + compatible = "fixed-clock"; > > > + #clock-cells = <0>; > > > + clock-frequency = <100000000>; > > > + clock-output-names = "sysclk"; > > > +}; > > > + > > > clockgen: global-utilities@e1000 { > > > > The U-Boot fixup won't work with this. U-Boot patches the frequency > > directly into the clockgen node (BTW, this is another reason to preserve > > the generic > > 1.0/2.0 compatible string). The new binding does not require an input > > clock node when it is provided as clock-frequency directly in the clockgen > > node -- and the sysclk node was not in my original patch (nor did you note > > that you made changes from that original). Why did you add it? > > > > I would just remove it when applying, but I'm concerned that this > > indicates > > a lack of testing (and I don't have the hardware access to test it myself, > > except on t4240) -- unless the 100 MHz sysclk just happened to be correct > > on the machines you tested (which would also be a test coverage > > problem)? > > [Andy] You are right. Sysclk may not be useful anymore. > Uboot will fixup the clockgen node correctly. Please apply this patch > without sysclk. We will > test it and catch the error if the clock is not fixed correctly. OK. > BTW, which git tree are you going to apply it on? This one? > https://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git/log/?h=next That will be the branch I use to send the patches to Michael, but it's not a branch that is kept constantly updated. If you're asking what tree to base future patches on, that would generally be the next branch of powerpc/linux.git (unless you depend on something else that isn't there yet). -Scott