Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp755744imu; Fri, 16 Nov 2018 09:40:16 -0800 (PST) X-Google-Smtp-Source: AJdET5fCg8sx7KkpMZYQ8I4HJk80ZBfbs9jNG1aWJR2onlTCULD+dMhI6aUc8+ChVmtLb/bCOCSC X-Received: by 2002:a63:c051:: with SMTP id z17mr10609275pgi.20.1542390016020; Fri, 16 Nov 2018 09:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542390015; cv=none; d=google.com; s=arc-20160816; b=CWNG3dsqgiR7kr51lZRLxc90rwEadK2ydGKOLQhXJG4jvuZWChYWo3yQxd9TDiKUhO 1qSOorD3zSTHVDj4Ky5M4kcI39F5yh8tzd3OV3Qble+WUKzCcEmLxM76pa5Db35qTOW5 vlxyE/qdQfwUf4jsLx5anLLvuAJ0BojePbII6ULAgscP5E+Hh1vSd9fwkrGSviI61b4z Uzi7DUM4vGhU+M4fdZhU/V6wLBMRKmKxkQHOHetvlGZXi5vvlPB4vI3kz0DXvKEB7wv/ +4ktojxZK6S+PT7hzyLy5P8qQokgrdLoatJSRX/gaz5NGcQ2yTnN8ZFYvq/BH94hvZjX Zj4w== 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:dkim-signature; bh=CmPpK2D6N8MQ/pvjFtCGTT0PeJ0h32hFzTtesZGJZmM=; b=SKXzzWf3jvYateDBn2VcdOzfF9pwJueALkRIgAbUJZGVa+myeq6iK1i9gNHd12uPKT aR4k4iR3EX0s+XgSiuRgymI1yOJh6f2hr8CPrCXagN/uNZe0r2C/lEeXqZXbJjQ5Q9oh WSNfvi2JpL4HpXDqHcNaTmv4kMRdGl7VC1ckbS4lcJKw+qlX5IltqA+1+DIOmsZy5GLM iYMbSaW3q/uCMsYjVNyxwHk2Uo2Mp+nt+h5gwfLg16KEdOJBa/1lGW2P3yQpKZfTCvLh UKx8B230AgEMTlfOpkQbx/me9rFfvEaAUzZ+2fnn8YyGIIsHI6uqh9/5fJ/ZLTWpoNT4 WTEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DOW2X040; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si10059750pga.432.2018.11.16.09.40.00; Fri, 16 Nov 2018 09:40:15 -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=@chromium.org header.s=google header.b=DOW2X040; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729332AbeKQDwl (ORCPT + 99 others); Fri, 16 Nov 2018 22:52:41 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:42379 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729140AbeKQDwl (ORCPT ); Fri, 16 Nov 2018 22:52:41 -0500 Received: by mail-io1-f68.google.com with SMTP id h19-v6so17649625iog.9 for ; Fri, 16 Nov 2018 09:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CmPpK2D6N8MQ/pvjFtCGTT0PeJ0h32hFzTtesZGJZmM=; b=DOW2X040UHBUVDo/EtUB9HLM6pwacy0muJ2npQkEw4SQNAVCoGN0L9i1vkKw0r0cTo ryfQ0bnmj0DGNf02lqWjhotfj//AmFZpfb9A/2l0HpQx/rehafGi8I0P3Ewm8dLfIbtU Rjcaz9kGJJLRnC398ogrdQ1z9/5Iq38Rzv6sk= 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=CmPpK2D6N8MQ/pvjFtCGTT0PeJ0h32hFzTtesZGJZmM=; b=bj6ARCAG8MzSp4hJY2EH/fGuYMsqtHZ1KUi9XcgqpuDxsGIN93firrVDq9uEy6CXhi qnbzBtHr3nKc4QRemlTI16x8hKWMImsEZ/LS4U2z9ccD9iPDGoUHuMZUmawprYdehHU3 43bwVeNPqPqOTYMehdTHBPYoavIexSLB8o3dJhF/BCifzo/2BOdBPzRce5xugDPexYrB NmME3F7o9N/ptLndKjTwBfYuZbqSZIh7xpe5yhE3k0ZkQdmO7GzfBU72mj7COGyo5OXF izdM5kqsChkH1j0J31vlRFhn7n2Uel/muAc6o0PRGS4mFjCQMFIUIi8bgTM1tcuni975 4lSQ== X-Gm-Message-State: AA+aEWYFdMOolkMllLN+sATG0iaAKkDSOOPUlHD2TQqp27aGRqCN0Sta cgM0PDODru3lPjXc4ZagPQVJljrl5sIzpkNvEUkMTg== X-Received: by 2002:a6b:be02:: with SMTP id o2-v6mr8702994iof.41.1542389961863; Fri, 16 Nov 2018 09:39:21 -0800 (PST) MIME-Version: 1.0 References: <20181116051719.23376-1-dbasehore@chromium.org> In-Reply-To: From: "dbasehore ." Date: Fri, 16 Nov 2018 09:39:09 -0800 Message-ID: Subject: Re: [PATCH] arm64: dts: rockchip: rk3399: Add xin32k clk To: Doug Anderson Cc: linux-kernel , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, =?UTF-8?B?6LCi5L+u6ZGr?= , Chris Zhong , ayaka@soulik.info, "nickey.yang" , Shunqian Zheng , klaus.goger@theobroma-systems.com, Brian Norris , enric.balletbo@collabora.com, =?UTF-8?Q?Heiko_St=C3=BCbner?= , Mark Rutland , robh+dt@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 Fri, Nov 16, 2018 at 8:01 AM Doug Anderson wrote: > > Hi, > > On Thu, Nov 15, 2018 at 9:17 PM Derek Basehore wrote: > > > > This adds the xin32k clock to the RK3399 CPU. Even though it's not > > directly used, muxes will end up traversing the entire clk tree on > > calls to determine_rate if it doesn't exist. > > > > Signed-off-by: Derek Basehore > > --- > > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 7 +++++++ > > 1 file changed, 7 insertions(+) > > nit: I would have expected ${SUBJECT} to have v2 in it somewhere. > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > > index 99e7f65c1779..3d09472978f8 100644 > > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > > Aww crud. I was at the airport yesterday and so I didn't notice that > you were touching rk3399, not rk3399-gru. This belongs in the gru > device tree file, not in the top level rk3399. As you have written > this it will break rk3399 boards that have an rk808 on them, AKA: Should this be moved to the rk3399.dtsi file? The RK3399 assumes that this clk exists (same as the 24MHz clk which is in rk3399.dtsi). While it can function without it defined, it really shouldn't. We can just assign the existing labels in the dts files you pointed out. > > arch/arm64/boot/dts/rockchip/rk3399-ficus.dts: > arch/arm64/boot/dts/rockchip/rk3399-firefly.dts: > arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi: > arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi: > > -Doug