Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8320398ybn; Tue, 1 Oct 2019 06:33:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8Sg5GTEQP6iKSQhY9atUDpmmcnXwjr6QPlJKVxZTfLRN3ptU0pA2yuIzW7SHdlompaqkx X-Received: by 2002:a1c:1f08:: with SMTP id f8mr3922812wmf.46.1569936830254; Tue, 01 Oct 2019 06:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569936830; cv=none; d=google.com; s=arc-20160816; b=RRAbaktCd93My4TLvaibiPMskuZiCNlHVNm3JIjgfeAa+RaE8mbtBI0HorAECYXhV9 79aKb9wpV0rqd09cz269lxiRUFcXsiel8qnOYTwzEBCwqFL0cL1kw+3dZ92rvCfn5PkO pAg0O5izw3F9nUMH/+WavgNVKJunzG6H5QfVk7GJDrqlpdDfYHphAXaQWGIFLCtxb8Uc SqQgssWgf4dWDTsKA9OgMbP4bVHb15myLI2N8HbYP6j88WNC5j/MdSpESdD57DCgfdg4 7kdLg179PImtGt1v8aluWlPh70aPsYoYUbPhI/saruo0i3azuUfySc+Xb7OglCFmP6ka zd3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=q8MDE5plyoRNJmUuOBtTSfs834j7Iqw1FfFcyxYnumg=; b=f1Fq+98VRK3Law7IgabR0vmwPs21mb+OvGnl1XkKq54lN+6N2+AVzgRZ43kHhd5/FD 6L+0OU6tRfZkj9JYhqaLs0/4De7h5BPZN9BMu7tcibkKYjnNUFgfnU2MgjiyZU84zptZ 2f9iLeX2gLjYkbUiBJs3KICJNmwm4n5JKR0m2AXGIr3gVz+R3EMjr9hr0tGNQw56pAdD akIvn2+rHcnpkktEyBcnkup+fadTyItCJbhF1HONRYS56d7wsCzdz1AtKNccc6NyAEAT nlFGjUyP4FkK7WyYmzg5LrqI31TR3sPYuxFKIaBmwxpV5i2eYGvfKuNzgZ7AvLIdhmbD 9KbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=WPpYuDJw; 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 y2si8881372ejw.308.2019.10.01.06.33.24; Tue, 01 Oct 2019 06:33:50 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=WPpYuDJw; 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 S2387651AbfJANdJ (ORCPT + 99 others); Tue, 1 Oct 2019 09:33:09 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43959 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbfJANdI (ORCPT ); Tue, 1 Oct 2019 09:33:08 -0400 Received: by mail-wr1-f65.google.com with SMTP id q17so15550566wrx.10 for ; Tue, 01 Oct 2019 06:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=q8MDE5plyoRNJmUuOBtTSfs834j7Iqw1FfFcyxYnumg=; b=WPpYuDJwCz9iNVKgfF0rxipBxqDz6nlIWJyQIYTX2tjmWW31ckS60u4AMpswyn2LXa t/z/KbgIpMw0jeuBWup6RQaWXmzgbkMuviyWh7pu/BS7MFjCd5YodsekhVnLC2jJbeM5 v1Xlo9Ye4EKeKfKyubaQzvhchUSVrEKefUqWTNWKoD+agXHS2Lj4h/Nwmk+haJiKOpad +6zU2nJo+igVlwYj/14q/YChadBZJmS+2yMEomfmzDXPJZsF994+SqMSkXntC1anNA/L 0SMsHeTkXHiS5IZ5boMwcT5i8VVU2Aev2dTD23LStWXuQi8qaFI7OmkknTiLH5NWqaCm 13kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=q8MDE5plyoRNJmUuOBtTSfs834j7Iqw1FfFcyxYnumg=; b=AKaWRtxdqEbdHFZMK4YV21GmHtP3kpqjZr25jB41OiJ073Qoj88OEMCoq1pFVKbIXp YoSSpQnoV3nf7RheWswE+1mRndoVJbWupbTDDgAQ6pL4MdB5vxnfRNCYDoXboQAacGfg 8QyWJ75MWfEFRSg0ITUE2BoTyBvPtIKI8rG5t4pyZNh2OHtbTbaYfiAaeN7jlIBystZ4 gJzVTkpZAHSZ61HTLHW+ShMKkiK/Oy1DmUUPm3tjmjVThOyMTdQWsJ7e+Sk2m8Z7QspM xAnEBBK7ymQo04yLurcvNYHc81DDIHY8KMeFczNpdADE7hhKfWEYF9Rl9EajxBFm5e0w VsSg== X-Gm-Message-State: APjAAAUg6Dx7zRU4n816MMGLPRfaFDh4JWWMpE0zGTh2DMcoIAEbceYj TnhSuThQjo92cSC32nC1DvWXDg== X-Received: by 2002:adf:ee05:: with SMTP id y5mr17074158wrn.291.1569936786513; Tue, 01 Oct 2019 06:33:06 -0700 (PDT) Received: from localhost (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id a18sm24360812wrh.25.2019.10.01.06.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 06:33:05 -0700 (PDT) References: <20190921151835.770263-1-martin.blumenstingl@googlemail.com> <1jsgons4wy.fsf@starbuckisacylon.baylibre.com> User-agent: mu4e 1.3.3; emacs 26.2 From: Jerome Brunet To: Martin Blumenstingl Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 0/6] add the DDR clock controller on Meson8 and Meson8b In-reply-to: Date: Tue, 01 Oct 2019 15:33:04 +0200 Message-ID: <1jeezwr3ov.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 23 Sep 2019 at 22:49, Martin Blumenstingl wrote: > Hi Jerome, > > On Mon, Sep 23, 2019 at 12:06 PM Jerome Brunet wrote: >> >> On Sat 21 Sep 2019 at 17:18, Martin Blumenstingl wrote: >> >> > Meson8 and Meson8b SoCs embed a DDR clock controller in their MMCBUS >> > registers. This series: >> > - adds support for this DDR clock controller (patches 0 and 1) >> > - wires up the DDR PLL as input for two audio clocks (patches 2 and 3) >> >> Have you been able to validate somehow that DDR rate calculated by CCF >> is the actual rate that gets to the audio clocks ? > no, I haven't been able to validate this (yet) > >> While I understand the interest for completeness, I suspect the having >> the DDR clock as an audio parent was just for debugging purpose. IOW, >> I'm not sure if adding this parent is useful to an actual audio use >> case. As far as audio would be concerned, I think we are better of >> without this parent. > there at least three other (potential) consumers of the ddr_pll clocks > on the 32-bit SoCs: > - CPU clock mux [0] > - clk81 mux [1] > - USB PHY [2] > > I have not validated any of these either > Then I would suggest to leave patch 4 out until we can somehow validate this. > > > Martin > > > [0] https://github.com/endlessm/u-boot-meson/blob/345ee7eb02903f5ecb1173ffb2cd36666e44ebed/board/amlogic/m8b_m201_v1/firmware/timming.c#L441 > [1] https://github.com/endlessm/u-boot-meson/blob/345ee7eb02903f5ecb1173ffb2cd36666e44ebed/board/amlogic/m8b_m201_v1/firmware/timming.c#L452 > [2] https://github.com/endlessm/u-boot-meson/blob/f1ee03e3f7547d03e1478cc1fc967a9e5a121d92/arch/arm/cpu/aml_meson/m8/firmware/usb_boot/platform.c#L22